/* --- Brand Theme Variables --- */
:root {
    --brand-green-bright: #7ED321; /* The vibrant green from "TECH" */
    --brand-green-dark: #1E5631;   /* The deep green from the frog icon */
    --bg-dark: #0a0e0a;            /* Dark, slightly green-tinted background */
    
    /* A dark, slightly green-tinted glass effect */
    --bg-glass: rgba(10, 14, 10, 0.5); 
  }
  
  body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark); 
  }
  
  /* --- The Overlay Container --- */
  #global-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh; 
    z-index: 100;
    
    /* CRITICAL: Lets user click through to the 3D canvas */
    pointer-events: none; 
    
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
  }
  
  /* --- Top Header (Glassmorphism) --- */
  .top-nav {
    /* CRITICAL: Re-enables clicking for the navigation bar */
    pointer-events: auto; 
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(126, 211, 33, 0.1); /* Subtle green border */
  }
  
  /* --- Brand Text Logo --- */
  .brand-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
  }
  
  .text-white {
    color: #ffffff;
  }
  
  .text-green {
    color: var(--brand-green-bright);
  }
  
  /* --- Navigation Links --- */
  .nav-links {
    display: flex;
    gap: 2.5rem;
  }
  
  .nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: var(--brand-green-bright);
  }
  
  /* --- Scroll Indicator --- */
  .scroll-indicator {
    pointer-events: auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 2.5rem;
    opacity: 0.8;
  }
  
  .scroll-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  /* --- Mouse Animation --- */
  .mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    box-sizing: border-box;
  }
  
  .wheel {
    width: 4px;
    height: 6px;
    background-color: var(--brand-green-bright); /* Green wheel */
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite; 
  }
  
  @keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
  }
  
  /* --- Responsive Design (Mobile) --- */
  @media (max-width: 768px) {
    .top-nav {
      padding: 1.2rem 1.5rem;
      flex-direction: column;
      gap: 1rem;
    }
    
    .nav-links {
      gap: 1.5rem;
    }
    
    .nav-links a {
      font-size: 0.85rem;
    }
  }

  /* --- The 3D Canvas Background --- */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1; /* Sits at the very back */
    outline: none; 
  }

  #canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1; /* Sits at the very back */
    outline: none; 
  }
  
  /* --- Hero Section Container --- */
  .hero-section {
    position: relative;
    z-index: 10; /* Sits above the canvas, below the navigation */
    width: 100vw;
    height: 100dvh;
    
    /* CRITICAL: Lets clicks pass through the empty parts to the 3D canvas */
    pointer-events: none; 
    
    display: flex;
    align-items: center;
    padding: 0 10vw; 
    box-sizing: border-box;
  }
  
  /* --- Hero Content Wrapper --- */
  .hero-content {
    /* Re-enable clicking for text highlighting and the button */
    pointer-events: auto; 
    max-width: 800px;
  }
  
  /* --- Typography --- */
  .hero-title {
    font-size: clamp(3rem, 6vw, 6rem); /* Fluid typography scales with screen size */
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
  }
  
  .text-accent {
    color: var(--brand-green-bright); /* Pulls the green from your logo */
  }
  
  .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.5;
  }
  
  /* --- Primary Button --- */
  .btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--brand-green-bright);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    
    /* A glowing border effect */
    border: 2px solid var(--brand-green-bright);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(126, 211, 33, 0.1);
    transition: all 0.3s ease;
  }
  
  .btn-primary:hover {
    background-color: var(--brand-green-bright);
    color: var(--bg-dark) !important;
    box-shadow: 0 0 25px rgba(126, 211, 33, 0.4);
    transform: translateY(-2px);
  }
  
  /* --- Mobile Responsiveness --- */
  @media (max-width: 768px) {
    .hero-section {
      padding: 0 1.5rem;
      justify-content: center;
      text-align: center;
    }
    
    .hero-content {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
}

/* --- Section Headers --- */
  .section-header {
    margin-bottom: 5rem;
    text-align: center;
  }
  
  .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1rem;
  }
  
  .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
  }
  
  /* --- Showcase Section Container --- */
.showcase-section {
    position: relative;
    z-index: 10;
    width: 100vw;
    min-height: 100vh;
    padding: 10rem 10vw;
    box-sizing: border-box;
    
    /* Continues the glassmorphism transition */
    background: rgba(10, 14, 10, 0.95); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }
  
  .showcase-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* --- Project Grid Layout --- */
  .project-grid {
    display: grid;
    /* Auto-fit creates columns that wrap intelligently on mobile */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
  }
  
  /* --- Project Cards --- */
  .project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden; /* Keeps images inside the rounded corners */
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .project-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-green-bright);
    box-shadow: 0 10px 30px rgba(126, 211, 33, 0.05);
  }
  
  /* --- Project Image Area --- */
  .project-image-wrapper {
    width: 100%;
    height: 220px;
    background: #111;
    overflow: hidden;
  }
  
  .project-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg-dark), var(--brand-green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-family: monospace;
    letter-spacing: 2px;
    transition: transform 0.5s ease;
  }
  
  .project-card:hover .project-image-placeholder {
    transform: scale(1.05); /* Slight zoom on hover */
  }
  
  /* --- Project Content Area --- */
  .project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  .center-content {
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 250px;
  }
  
  .project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-family: monospace;
    font-size: 0.9rem;
  }
  
  .project-number {
    color: var(--brand-green-bright);
  }
  
  /* --- Base Status Tag Styling --- */
/* This handles the shape, font, and spacing for ALL tags */
.project-status {
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* --- 1. Deployed (Green) --- */
.project-status.status-deployed {
  background: rgba(126, 211, 33, 0.15); /* Translucent FroshTech green */
  color: var(--brand-green-bright);
  border: 1px solid rgba(126, 211, 33, 0.3);
}

/* --- 2. In Progress (Grey) --- */
.project-status.status-progress {
  background: rgba(255, 255, 255, 0.08); /* Translucent white/grey */
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --- 3. Offline (Red) --- */
.project-status.status-offline {
  background: rgba(220, 38, 38, 0.15); /* Translucent clinical red */
  color: #ef4444; /* Bright red text */
  border: 1px solid rgba(220, 38, 38, 0.3);
}
  
  .project-title {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
  }
  
  .project-title.locked {
    color: rgba(255, 255, 255, 0.3);
  }
  
  .project-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Pushes the tech stack and buttons to the bottom */
  }
  
  /* --- Tech Stack Tags --- */
  .project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .project-tech-stack span {
    font-size: 0.8rem;
    color: #aaa;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
  }
  
  /* --- Buttons --- */
  .project-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .btn-secondary {
    padding: 0.8rem 1.5rem;
    background: var(--brand-green-bright);
    color: var(--bg-dark);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.3s ease;
  }
  
  .btn-secondary:hover {
    opacity: 0.8;
  }
  
  .btn-text {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .btn-text:hover {
    color: var(--brand-green-bright);
  }
  
  /* --- Placeholders (Upcoming Projects) --- */
  .upcoming-project {
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: transparent;
  }
  .upcoming-project:hover {
    border-color: rgba(126, 211, 33, 0.5);
    transform: translateY(-4px);
  }

  /* --- Founder Section Container --- */
.founder-section {
    position: relative;
    z-index: 10;
    width: 100vw;
    min-height: 80vh;
    padding: 8rem 10vw;
    box-sizing: border-box;
    
    /* Slightly darker glassmorphism to anchor the bottom of the page */
    background: rgba(10, 14, 10, 0.98); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .founder-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
  
  /* --- Biography Content --- */
  .left-align {
    text-align: left;
    margin-bottom: 2rem;
  }
  
  .founder-role {
    color: var(--brand-green-bright);
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-top: 0.5rem;
  }
  
  .founder-bio p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  
  .founder-highlights {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .highlight-item {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1rem;
  }
  
  .highlight-icon {
    color: var(--brand-green-bright);
    margin-right: 12px;
    font-size: 1.2rem;
  }
  
  /* --- Avatar Visual Frame --- */
  .founder-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .avatar-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5; /* Professional portrait ratio */
    padding: 15px;
  }
  
  .avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 86, 49, 0.2), rgba(126, 211, 33, 0.05));
    border: 1px solid rgba(126, 211, 33, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    /* When you add an <img>, apply object-fit: cover; to it */
  }
  
  .avatar-initials {
    color: rgba(255, 255, 255, 0.1);
    font-size: 5rem;
    font-weight: 800;
    font-family: monospace;
    height: 100%;
    width: 100%;
  }
  
  /* --- Technical Corner Accents --- */
  .corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: var(--brand-green-bright);
    border-style: solid;
    transition: all 0.3s ease;
  }
  
  .top-left { top: 0; left: 0; border-width: 2px 0 0 2px; }
  .top-right { top: 0; right: 0; border-width: 2px 2px 0 0; }
  .bottom-left { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
  .bottom-right { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
  
  .avatar-frame:hover .corner {
    width: 35px;
    height: 35px;
    border-color: #fff;
  }
  
  /* --- Mobile Responsiveness --- */
  @media (max-width: 900px) {
    .founder-container {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
    
    .founder-visual {
      order: -1; /* Puts the image above the text on mobile */
    }
    
    .left-align {
      text-align: center;
    }
  }

/* --- Contact Section --- */
.contact-section {
    position: relative;
    z-index: 10;
    width: 100vw;
    padding: 12rem 10vw;
    box-sizing: border-box;
    text-align: center;
    
    /* The final fade to near-solid black */
    background: rgba(10, 14, 10, 0.99); 
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  }
  
  .contact-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
  }
  
  .contact-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 3rem;
  }
  
  .contact-btn {
    /* Inherits styles from your global .btn-primary */
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
  }
  
  /* --- Global Footer --- */
  .froshtech-footer {
    position: relative;
    z-index: 10;
    width: 100vw;
    background: var(--bg-dark);
    border-top: 1px solid rgba(126, 211, 33, 0.15); /* Subtle green separator */
    padding: 4rem 10vw 2rem 10vw;
    box-sizing: border-box;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .footer-logo {
    color: #ffffff;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
  }
  
  .footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
    font-size: 0.9rem;
  }
  
  .footer-socials {
    display: flex;
    gap: 2rem;
  }
  
  .social-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .social-link:hover {
    color: var(--brand-green-bright);
    transform: translateY(-2px);
    display: inline-block;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
  }
  
  .back-to-top {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }
  
  .back-to-top:hover {
    color: var(--brand-green-bright);
  }
  
  /* --- Mobile Responsiveness --- */
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      text-align: center;
    }
    
    .footer-socials {
      justify-content: center;
    }
    
    .footer-bottom {
      flex-direction: column;
      text-align: center;
    }
}

/* --- Contact Section --- */
.contact-section {
    position: relative;
    z-index: 10;
    width: 100vw;
    padding: 12rem 10vw;
    box-sizing: border-box;
    text-align: center;
    
    /* The final fade to near-solid black */
    background: rgba(10, 14, 10, 0.99); 
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  }
  
  .contact-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
  }
  
  .contact-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 3rem;
  }
  
  .contact-btn {
    /* Inherits styles from your global .btn-primary */
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
  }
  
  /* --- Global Footer --- */
  .froshtech-footer {
    position: relative;
    z-index: 10;
    width: 100vw;
    background: var(--bg-dark);
    border-top: 1px solid rgba(126, 211, 33, 0.15); /* Subtle green separator */
    padding: 4rem 10vw 2rem 10vw;
    box-sizing: border-box;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .footer-logo {
    color: #ffffff;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
  }
  
  .footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
    font-size: 0.9rem;
  }
  
  .footer-socials {
    display: flex;
    gap: 2rem;
  }
  
  .social-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .social-link:hover {
    color: var(--brand-green-bright);
    transform: translateY(-2px);
    display: inline-block;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
  }
  
  .back-to-top {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }
  
  .back-to-top:hover {
    color: var(--brand-green-bright);
  }
  
  /* --- Mobile Responsiveness --- */
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      text-align: center;
    }
    
    .footer-socials {
      justify-content: center;
    }
    
    .footer-bottom {
      flex-direction: column;
      text-align: center;
    }
  }

  /* --- Testimonials Section Container --- */
.testimonials-section {
    position: relative;
    z-index: 10;
    width: 100vw;
    padding: 8rem 0; /* Padding top/bottom only, let it stretch full width */
    background: rgba(10, 14, 10, 0.98); 
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden; /* Critical: Hides the cards outside the screen */
  }
  
  /* --- Marquee Logic --- */
  .marquee-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    margin-top: 4rem;
    /* Adds a subtle fade on the left and right edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }
  
  .marquee-track {
    display: flex;
    width: fit-content;
    animation: scrollMarquee 40s linear infinite;
  }
  
  /* Pause the animation when the user hovers over a card to read it */
  .marquee-track:hover {
    animation-play-state: paused;
  }
  
  .marquee-content {
    display: flex;
    gap: 2rem;
    padding-right: 2rem; /* Ensures consistent spacing between the loops */
  }
  
  /* --- The Animation Keyframe --- */
  @keyframes scrollMarquee {
    0% {
      transform: translateX(0);
    }
    100% {
      /* Shifts exactly the width of one .marquee-content block */
      transform: translateX(-50%); 
    }
  }
  
  /* --- Testimonial Cards --- */
  .testimonial-card {
    width: 400px; /* Fixed width so they stay uniform */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0; /* Prevents flexbox from squishing the cards */
    transition: border-color 0.3s ease, transform 0.3s ease;
  }
  
  .testimonial-card:hover {
    border-color: var(--brand-green-bright);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
  }
  
  .quote-icon {
    font-family: serif;
    font-size: 4rem;
    color: var(--brand-green-dark);
    line-height: 0.5;
    margin-bottom: 1rem;
  }
  
  .testimonial-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    flex-grow: 1; /* Pushes the author info to the bottom */
    margin-bottom: 2rem;
  }
  
  .testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(126, 211, 33, 0.2);
    padding-top: 1rem;
  }
  
  .author-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
  }
  
  .author-role {
    color: var(--brand-green-bright);
    font-family: monospace;
    font-size: 0.9rem;
    margin-top: 0.3rem;
  }
  
  /* --- Mobile Responsiveness --- */
  @media (max-width: 768px) {
    .testimonial-card {
      width: 300px;
      padding: 2rem;
    }
    .testimonials-section {
      padding: 5rem 0;
    }
  }
.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block; 
    border: 1px solid rgba(126, 211, 33, 0.2); 
  }

  /* --- Client Carousel Section --- */
.client-section {
  position: relative;
  z-index: 10;
  width: 100vw;
  padding: 10rem 0; /* Removed side padding to let the carousel bleed off-screen */
  background: rgba(10, 14, 10, 0.90); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.client-container .section-header {
  padding: 0 10vw; /* Keeps the header aligned with the rest of the site */
}

/* --- The Carousel Track --- */
.carousel-wrapper {
  width: 100%;
  margin-top: 4rem;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 0 10vw 4rem 10vw; /* Adds padding inside the scroll area */
  
  /* The Native Scroll Snap Magic */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  
  /* Hide scrollbar for a cleaner look */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* --- Individual Carousel Cards --- */
.carousel-card {
  flex: 0 0 450px; /* Forces cards to stay exactly 450px wide */
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  
  /* Snaps the start of each card to the left edge of the viewport */
  scroll-snap-align: start; 
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.carousel-card:hover {
  border-color: var(--brand-green-bright);
  transform: translateY(-5px);
}

/* --- Card Image Area --- */
.card-image {
  width: 100%;
  height: 250px;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, var(--bg-dark), var(--brand-green-dark));
  color: rgba(255,255,255,0.3);
  font-family: monospace;
}

/* --- Card Content Area --- */
.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.client-tag {
  color: var(--brand-green-bright);
  font-family: monospace;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.card-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 2rem;
  flex-grow: 1; /* Pushes the button to the bottom */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 85vw; /* Takes up 85% of screen width on mobile to hint more cards exist */
  }
  
  .carousel-track {
    padding: 0 1.5rem 3rem 1.5rem;
  }
}

/* --- Services Section Container --- */
.services-section {
  position: relative;
  z-index: 10;
  width: 100vw;
  min-height: 100vh;
  padding: 10rem 10vw;
  box-sizing: border-box;
  
  /* The Glassmorphism Fade Effect */
  background: rgba(10, 14, 10, 0.85); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-container {
  max-width: 1200px;
  width: 100%;
}

/* --- Services Grid Layout --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* --- Individual Service Cards --- */
.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-green-bright);
}

.card-title {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.service-focus {
  color: var(--brand-green-bright);
  font-size: 0.9rem;
  font-family: monospace;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(126, 211, 33, 0.2);
  padding-bottom: 1rem;
}

/* --- Service Lists --- */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.service-list li::before {
  content: "▹";
  color: var(--brand-green-bright);
  margin-right: 10px;
  font-size: 1.2rem;
  line-height: 1.1;
}

/* --- Global Navigation Overlay --- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000; /* Stays above the 3D canvas and all sections */
  background: rgba(10, 14, 10, 0.85); /* Glassmorphism */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 5vw;
  box-sizing: border-box;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Text Logo (FROSHTECH) --- */
.nav-logo {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-decoration: none;
  font-family: monospace; /* Fits the engineering theme */
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: var(--brand-green-bright);
}

/* --- Desktop Links --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--brand-green-bright);
}

/* --- Mobile Menu Button (Hamburger) --- */
.mobile-menu-btn {
  display: none; /* Hidden on desktop by default */
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001; /* Keeps the button above the dropdown menu */
}

.hamburger-line {
  display: block;
  width: 30px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* --- Mobile Dropdown Menu --- */
.mobile-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  
  /* Darker glassmorphism to block out distractions when open */
  background: rgba(10, 14, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999; /* Below the nav bar so the logo/button remain visible */
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  
  /* Hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Active state triggered by JavaScript */
.mobile-dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-link {
  color: #ffffff;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.dropdown-link:hover {
  color: var(--brand-green-bright);
}

/* --- Mobile Breakpoint --- */
@media (max-width: 900px) {
  .nav-links {
    display: none; /* Hide desktop links on smaller screens */
  }
  
  .mobile-menu-btn {
    display: flex; /* Show the hamburger button */
  }
}

/* --- Disabled Button State --- */
.btn-text.disabled {
  color: rgba(255, 255, 255, 0.3); /* Greyed out text */
  cursor: not-allowed; /* Shows a 'crossed out' circle on desktop */
  pointer-events: none; /* Physically prevents any hover or click events */
}