/* General Page Styling */
body {
    background-color: #000 !important;
    color: white;
    margin: 0;
    padding: 0;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

.body-hover {
    box-shadow: 0 0 60px rgba(100, 255, 218, 0.15), 
                inset 0 0 80px rgba(100, 255, 218, 0.1);
    background: radial-gradient(
        circle at center,
        rgba(100, 255, 218, 0.03) 0%,
        rgba(0, 0, 0, 1) 80%
    );
}



/* Hero Section */
.hero {
    width: 100vw;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10vw;
    text-align: left;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 0 5vw;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Typewriter Effect for Name */
#typed {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ccd6f6;
}

.title {
    font-size: 4rem;
    font-weight: bold;
    color: #64ffda;
    margin-top: 10px;
}

.summary {
    font-size: 1.8rem;
    margin-top: 15px;
    color: #8892b0;
    max-width: 600px;
    text-align: left;
}

@media (max-width: 768px) {
    #typed {
        font-size: 2.2rem;
    }

    .title {
        font-size: 2.5rem;
    }

    .summary {
        font-size: 1.2rem;
        text-align: center;
    }
}

/* Shared Section Headings */
.section-heading {
    font-size: 2.8rem;
    font-weight: bold;
    color: #64ffda;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    animation: fadeIn 1s ease-out;
}

.section-heading:hover {
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

/* About Section */

/* Base Styles */
/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    background: #121212; /* Dark background for contrast */
    color: #f0f0f0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* About Section */
.about {
    width: min(90vw, 800px);
    margin: 5rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(100, 255, 218, 0.15);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.05), inset 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    color: #e0e0e0;
    text-align: center;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  }
  
  /* Appear on scroll */
  .about.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Heading */
  .about h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 5vw, 2.6rem);
    color: #64ffda;
    font-weight: 700;
    position: relative;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
  }
  
  /* Animated underline */
  .about h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #64ffda, #00d1b2);
    border-radius: 2px;
    animation: underlineGlow 2s ease-in-out infinite;
  }
  
  @keyframes underlineGlow {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.3); }
  }
  
  /* Paragraph */
  .about p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    line-height: 1.75;
    color: #c0c0c0;
    max-width: 680px;
    margin: 0 auto;
    padding: 1rem 0;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  /* Hover for desktop only */
  @media (hover: hover) {
    .about p:hover {
      color: #64ffda;
      transform: translateY(-4px);
    }
  }
  
  /* Responsive adjustments */
  @media (max-width: 480px) {
    .about {
      padding: 1.8rem 1rem;
      border-radius: 14px;
      margin: 3rem auto;
    }
  
    .about h2 {
      font-size: clamp(1.4rem, 5vw, 2rem);
      margin-bottom: 1rem;
    }
  
    .about p {
      font-size: clamp(0.95rem, 4vw, 1.1rem);
      padding: 0.5rem 0;
      text-align: justify;
    }
  
    .about h2::after {
      width: 40px;
      height: 2px;
    }
  }
  

/* Project Section */
.projects {
    padding: 4rem 2rem;
    text-align: center;
    overflow-x: auto;
}

.projects-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #64ffda; /* Bright color for title */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4); /* Added shadow for style */
}

/* Horizontal Layout */
.projects-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 2rem;
}

/* Glass Card Base */
.glass-card {
    position: relative;
    flex: 0 0 300px;
    min-height: 280px;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    z-index: 0;
}

/* Card Hover Shadow - Increase glow effect */
.glass-card:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5); /* Increased glow intensity */
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white; /* Ensures text is visible */
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Button */
.view-more-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #00c9ff, #92fe9d);
    color: #000;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

.view-more-btn:hover {
    background: linear-gradient(135deg, #92fe9d, #00c9ff);
}

/* Background Tile Area */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 0;
}

.glass-card:hover .background {
    opacity: 1;
}

/* Tile */
/* Tile */
.tile {
    height: 40px;
    background: rgba(0, 255, 255, 0.08);
    border: 0.1px solid rgba(0, 255, 255, 0.15); /* Ultra-thin border with a soft glow effect */
    animation: pulseLight 2s ease-in-out infinite;
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
}

/* Add more subtle glow when tiles are hovered */
.glass-card:hover .tile:nth-child(odd) {
    transform: translateY(-4px);
    opacity: 0.75;
    box-shadow: 0 0 4px rgba(0, 255, 255, 0.4); /* Subtle glow effect */
}

.glass-card:hover .tile:nth-child(even) {
    transform: translateY(4px);
    opacity: 0.55;
    box-shadow: 0 0 4px rgba(0, 255, 255, 0.4); /* Subtle glow effect */
}

/* Tile Animation - Enhance Pulse Effect */
@keyframes pulseLight {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6; /* Slightly increased opacity for stronger pulse */
        transform: scale(1.05); /* Slightly larger scale for a more noticeable effect */
    }
}


/* Light Sweep Effect */
.light-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.05), rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    transform: skewX(-20deg);
    opacity: 0.6;
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 3;
}

/* Responsive Layout */
@media screen and (max-width: 768px) {
    .projects-title {
        font-size: 2rem;
    }

    .glass-card {
        flex: 0 0 90%; /* Card will take 90% width on smaller screens */
        margin-bottom: 1.5rem;
    }

    .projects-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Skills Section Container ===== */
/* Root styling for smooth font rendering and modern layout */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* General Styles */



/* Skills Section */
/* General Skills Section */
.skills-section {
    padding: 60px 20px;
    background-color: #121212;
    text-align: center;
}

/* Container to center and spread skill categories evenly */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Space between skill categories */
    gap: 20px; /* Uniform space between categories */
}

/* Skill Category */
.skill-category {
    flex: 1 1 22%; /* Each category takes about 22% of container width */
    min-width: 250px; /* Ensures minimum width for smaller screens */
    max-width: 350px; /* Max width for larger screens */
    text-align: center;
    padding: 20px;
    background-color: #1e1e1e; /* Dark background for categories */
    border-radius: 8px;
    margin-bottom: 20px; /* Space between categories */
}

/* Skill Category Header */
.skill-category h2 {
    font-size: 1.8rem;
    color: #2ea994;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Skills inside each category displayed horizontally */
.skills {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping of skill items if necessary */
    justify-content: center; /* Center skill items horizontally */
    gap: 20px; /* Uniform space between skill items */
}

/* Skill Items */
.skill {
    text-align: center;
    max-width: 120px; /* Ensures each skill item has a consistent size */
    flex: 0 1 120px; /* Ensures skill items have equal space and will wrap accordingly */
    margin-bottom: 20px;
}

/* Skill Item Text */
.skill p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
    color: #fff;
    font-family: 'Helvetica Neue', sans-serif;
    text-transform: capitalize;
}

/* Circular Progress */
.circle-progress {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.circle-progress svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.circle-progress .bg {
    fill: none;
    stroke: #444;
    stroke-width: 12;
}

.circle-progress .progress {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    stroke: #2ea994;
    transition: stroke-dashoffset 1s ease-out;
}

.circle-progress .percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .skills-container {
        justify-content: space-between;
    }
}

@media screen and (max-width: 768px) {
    .skills-container {
        justify-content: center;
    }

    .skill-category {
        flex: 1 1 45%; /* Each category takes up 45% width on smaller screens */
        margin-bottom: 20px;
    }

    .circle-progress {
        width: 90px;
        height: 90px;
    }

    .skill p {
        font-size: 1rem; /* Smaller font size on smaller screens */
    }
}

@media screen and (max-width: 480px) {
    .skills-container {
        flex-direction: column; /* Stack categories vertically on very small screens */
        align-items: center;
    }

    .skill-category {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .circle-progress {
        width: 80px;
        height: 80px;
    }

    .skill p {
        font-size: 0.9rem; /* Smaller font size on very small screens */
    }
}

/* Progress Bar Animation */
@keyframes fillCircle {
    0% {
        stroke-dashoffset: 440;
    }
    100% {
        stroke-dashoffset: 0;
    }
}


/* Find Me Online Section */
.find-me-online {
    width: 80vw;
    text-align: center;
    margin: 1rem auto 4rem auto; /* Top margin reduced to 2rem */
}


.find-title {
    font-size: 2.8rem;
    color: #64ffda;
    text-transform: uppercase;
    font-weight: bold;
    animation: fadeIn 1s ease-out;
}

.find-title:hover {
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.button-group > div {
    cursor: pointer;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(to top, #242424, #303030);
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.button-group > div.active {
    background: linear-gradient(to top, #151515, #1d1d1d);
    box-shadow: inset 0px 0px 10px rgba(255, 255, 255, 0.2);
}

.button-group > div:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

.button-group svg {
    height: 50px;
    width: 50px;
    fill: #ccd6f6;
    transition: 0.2s ease-in-out;
}

.button-group > div:hover svg {
    fill: #64ffda;
}

/* Footer Wrap */
#footer-wrap {
    width: 100%;
    padding: 30px 0;
    text-align: center;
    background: #000;
    position: relative;
    bottom: 0;
    left: 0;
    overflow: hidden;
    animation: glowEffect 2s infinite alternate;
    z-index: 10;
}

/* Ensure footer stays at the bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

/* Footer Text */
.footer-text {
    font-size: 1.4rem;
    color: #ccd6f6;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
}

/* Glowing Animation */
@keyframes glowEffect {
    0% { box-shadow: 0 0 10px 5px #64ffda; }
    50% { box-shadow: 0 0 20px 10px #64ffda; }
    100% { box-shadow: 0 0 10px 5px #64ffda; }
}

/* Decorative Lighting */
#footer-lightings {
    position: absolute;
    bottom: -60px;
    width: 100%;
}

/* ===== Responsive Footer Adjustments ===== */
@media (max-width: 768px) {
    #footer-wrap {
        padding: 20px 10px;
        animation: glowEffectMobile 2s infinite alternate;
    }

    .footer-text {
        font-size: 1rem;
        padding: 0 10px;
    }

    @keyframes glowEffectMobile {
        0% { box-shadow: 0 0 6px 3px #64ffda; }
        50% { box-shadow: 0 0 12px 6px #64ffda; }
        100% { box-shadow: 0 0 6px 3px #64ffda; }
    }
}


/* Ensure body content doesn’t overlap */
body {
    margin-bottom: 80px; /* Adjusts space to avoid content overlap */
}
/* Case Study Section */
/* === CASE STUDIES SECTION === */
.case-studies {
    background: #121212;  /* Dark background for contrast */
    padding: 6rem 2rem;
    width: 80vw;
    margin: 5rem auto;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.1); /* Soft glow shadow */
}

/* Section Heading */
.case-studies h2 {
    font-size: 3rem;
    color: #64ffda;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out;
    letter-spacing: 1px;
}

.case-studies h2:hover {
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
}

/* === INDIVIDUAL CASE STUDY ARTICLE === */
.case-study-article {
    background: #121212;
    color: #ffffff;
    padding: 2rem 2rem;
    margin-bottom: 3rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.case-study-article h3 {
    font-size: 2rem;
    color: #64ffda;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-article p {
    color: #dddddd;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Image Styling */
.case-study-article .case-study-img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures the image covers the space */
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

/* Image Hover Effect */
.case-study-article:hover .case-study-img {
    transform: scale(1.05); /* Slight zoom-in effect */
}

/* Live Session Button */
.live-session-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #64ffda;
    color: #121212;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.live-session-btn:hover {
    background-color: #52e6c4;
}

/* Responsive Layout for Case Studies */
@media screen and (max-width: 768px) {
    .case-studies {
        width: 90vw; /* Make section width smaller on mobile */
    }

    .case-study-article {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .case-study-article h3 {
        font-size: 1.6rem;
    }

    .case-study-article p {
        font-size: 1rem;
    }

    .live-session-btn {
        padding: 8px 16px;
    }
}
