 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
    overflow-x: hidden;

}
html {
  scroll-behavior: smooth;
}

    /* Mobile menu animation */
.menu-toggle span {
      transition: all 0.3s;
    }
    
.menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    
.menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }
    
.menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }   

    
/* Hamburger animation */
.hamburger span {
    transition: all 0.3s ease;
}

/* Active state */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* Update your CSS block with these specific fixes */
/* Add these to your index.css */

:root {
  --neon-green: #00ff9d; /* This matches your logo span color */
}

.text-neon-green {
  color: var(--neon-green) !important;
}

 /* Ensure the container doesn't collapse */
        .hero-section {
          width: 100%;
          position: relative;
          background-color: #000;
          margin-top: 0;
          padding-top: 0;
        }

        /* 1. This is the fix for the "Cut" at the top */
        /* Replace 70px with the actual height of your navbar */
        .hero-margin-top {
          margin-top: 30px; 
        }

        @media (max-width: 768px) {
          .hero-margin-top {
            margin-top: 37px;
          }
        }

        .fade-slide {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: auto;
          display: block;
          opacity: 0;
          transition: opacity 1.2s ease-in-out;
          object-fit: contain;
        }

        .fade-slide.active {
          position: relative;
          opacity: 1;
          z-index: 1;
        }

        /* NEW: Faded black background overlay for entire hero section */
/* NEW: Faded black background overlay - only covers left side where text is */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%; /* Changed: Only covers 60% of the width (where text is) */
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(0, 0, 0, 0.7) 0%,      /* Changed: Darker at the start */
    rgba(0, 0, 0, 0.6) 40%,     /* Changed: Still dark in the middle */
    rgba(0, 0, 0, 0.3) 70%,     /* Changed: Start fading */
    transparent 100%            /* Changed: Completely transparent at the end */
  );
  z-index: 10;
  pointer-events: none;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .hero-section::before {
    width: 85%; /* Changed: Covers more width on mobile since text takes more space */
  }
}
        .text-neon-green {
          color: #00ff9d;
        }

        .bg-neon-green {
          background-color: #00ff9d;
        }

        .font-anton {
          font-family: 'Anton', sans-serif;
        }
/* ==================================== */
/* SERVICES WE PROVIDE SECTION - RESPONSIVE */
/* ==================================== */
.continuous-carousel-section {
  background: transparent;
  padding: 20px 0;
  margin-top: -50px; 
  overflow: hidden;
  width: 100%;
}

.continuous-carousel {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Adjust height naturally based on content */
  height: auto; 
  padding: 40px 0;
}

.continuous-track {
  display: flex;
  /* Responsive gap: smaller on mobile, larger on desktop */
  gap: 20px; 
  animation: scrollInfinite 30s linear infinite;
}

/* The Secret: Use 'vw' for sizes so they scale with the screen */
.slide {
  flex: 0 0 auto;
  width: 70vw;    /* 70% of screen width on mobile */
  max-width: 400px; /* But never bigger than 400px on desktop */
  aspect-ratio: 16 / 10; /* Keeps the same shape regardless of size */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Hover effect for desktop */
.slide:hover img {
  transform: scale(1.05);
}

/* Desktop Adjustments */
@media (min-width: 768px) {
  .continuous-track {
    gap: 40px;
  }
  .slide {
    width: 400px; /* Fixed size for larger screens */
  }
}

@keyframes scrollInfinite {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==================================== */
/* PROJECTS SECTION - RESPONSIVE */
/* ==================================== */
.projects-section {
  background: #000000;
  margin-top: -2.5rem; /* Reduces space from above section */
  color: #fff;
  padding: 10px 40px;
}

.projects-heading {
  font-family: "Anton", sans-serif;
  font-size: 2.2rem; 
  text-align: left;
  margin-bottom: 30px;
  font-weight: 100;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.projects-heading span {
  color: #00ff9d;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-card {
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.1);
  transition: all 0.3s ease;
}

.project-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

@media (min-width: 768px) {
  .projects-section {
    margin-top: -3.5rem; /* Reduces space from above section */
    padding: 10px 80px;
  }

  .projects-heading {
    font-size: 3.5rem;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

@media (hover: hover) {
  .project-card:hover {
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.3);
    transform: translateY(-5px);
  }

  .project-card:hover .project-img img {
    transform: scale(1.1);
  }

  .project-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 255, 157, 0.4), transparent);
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
}

/* ==================================== */
/* TECHNOLOGIES SECTION - RESPONSIVE */
/* ==================================== */

.tech-section {
    padding: 60px 0; /* Reduced padding for mobile */
    text-align: center;
    background: #000000;
    overflow: hidden;
}

.tech-title {
    /* scales between 2rem and 3.5rem based on screen width */
    font-size: clamp(2rem, 8vw, 3.5rem); 
    font-family: "Anton", sans-serif;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 2px;
    padding: 0 20px;
}

.tech-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* Optional: adds a fade effect to the edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.tech-track {
    display: flex;
    align-items: center;
    gap: 60px; /* Space between logos */
    width: max-content;
    animation: scroll 25s linear infinite;
}

.tech-track img {
    height: 60px; /* Mobile height */
    width: auto;
    opacity: 1; /* Made them fully visible */
    /* REMOVED: filter: grayscale(100%); */
    transition: all 0.3s ease;
}
.tech-track img:hover {
    transform: scale(1.1);
}
/* TABLET & DESKTOP ADJUSTMENTS */
@media (min-width: 768px) {
    .tech-track img {
        height: 90px; /* Desktop height */
    }
    
    .tech-track {
        gap: 100px; /* Larger gap for desktop */
    }
    
    .tech-track img {
        height: 90px; /* Larger logos for desktop */
    }
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover for better UX */
.tech-carousel:hover .tech-track {
    animation-play-state: paused;
}

/* ==================================== */
/* FEEDBACK SECTION - RESPONSIVE */
/* ==================================== */

/* FEEDBACK SECTION */
        .feedback-section {
            position: relative;
            background: #000000;
            padding: 60px 20px;
            text-align: center;
            overflow: hidden;
        }

        .feedback-heading {
            font-family: 'Anton', sans-serif;
            font-size: clamp(1.8rem, 5vw, 3rem);
            color: #ffffff;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }

.feedback-subheading {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    /* Reduced from 50px to 10px to close the gap */
    margin-bottom: 10px; 
}

.feedback-carousel {
    margin-top: -1rem; /* Reduces space from above section */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Reduced height so cards sit higher up */
    height: 300px; 
    perspective: 1500px;
    padding: 0;
}

.flag-carousel-card {
    position: absolute;
    background: #111111;
    width: 280px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    /* Smoother cubic-bezier for natural movement */
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

        .flag-link {
            text-decoration: none;
            display: block;
            height: 100%;
        }

        .carousel-flag {
            width: 100%;
            height: 155px;
            object-fit: cover;
            display: block;
        }

        .country-name {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            color: #ffffff;
            text-align: center;
            padding: 10px 0;
            display: block;
            background: #111;
        }

        /* CAROUSEL POSITIONS */
        .flag-carousel-card {
            opacity: 0;
            transform: translateX(0) scale(0.6) translateZ(-300px);
            z-index: 1;
            pointer-events: none;
        }

/* Active center card */
.flag-carousel-card.active {
    opacity: 1;
    transform: translateX(0) scale(1.1) translateZ(50px);
    z-index: 10;
    border: 2px solid rgba(0, 255, 157, 0.4);
    box-shadow: 0 20px 60px rgba(0, 255, 157, 0.3);
    pointer-events: auto;
}
/* Side cards */
.flag-carousel-card.left {
    opacity: 0.6;
    transform: translateX(-300px) scale(0.8) rotateY(20deg);
    z-index: 5;
    pointer-events: auto;
}

.flag-carousel-card.right {
    opacity: 0.6;
    transform: translateX(300px) scale(0.8) rotateY(-20deg);
    z-index: 5;
    pointer-events: auto;
}

/* "Staging" positions to make entering/exiting seamless */
.flag-carousel-card.far-left {
    opacity: 0;
    transform: translateX(-500px) scale(0.5) rotateY(40deg);
    z-index: 1;
}

.flag-carousel-card.far-right {
    opacity: 0;
    transform: translateX(500px) scale(0.5) rotateY(-40deg);
    z-index: 1;
}
        /* Hover effects */
        .flag-carousel-card:hover {
            transform: translateX(0) scale(1.2) translateZ(20px);
        }

        .flag-carousel-card.left:hover,
        .flag-carousel-card.right:hover {
            opacity: 0.8;
            transform: translateX(-320px) scale(0.9) translateZ(-50px) rotateY(10deg);
        }

        .flag-carousel-card.right:hover {
            transform: translateX(320px) scale(0.9) translateZ(-50px) rotateY(-10deg);
        }

        /* Dots Navigation */
        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 40px;
        }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .feedback-carousel {
        margin-top: -2rem;
        height: 280px; /* Adjusted height for mobile */
        perspective: 1000px;
    }

    .flag-carousel-card {
        width: 200px;
        height: 150px;
        /* Keep transition consistent for smoothness */
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .carousel-flag {
        height: 110px;
    }

    .country-name {
        font-size: 0.85rem;
        padding: 6px 0;
    }

    /* Active center card */
    .flag-carousel-card.active {
        transform: translateX(0) scale(1.1) translateZ(0);
        opacity: 1;
    }

    /* Side cards - tightened spacing for smaller screens */
    .flag-carousel-card.left {
        opacity: 0.5;
        transform: translateX(-160px) scale(0.8) rotateY(15deg);
    }

    .flag-carousel-card.right {
        opacity: 0.5;
        transform: translateX(160px) scale(0.8) rotateY(-15deg);
    }

    /* Staging positions - IMPORTANT: Removed display:none to allow smooth exit */
    .flag-carousel-card.far-left {
        opacity: 0;
        transform: translateX(-300px) scale(0.6);
        pointer-events: none;
    }

    .flag-carousel-card.far-right {
        opacity: 0;
        transform: translateX(300px) scale(0.6);
        pointer-events: none;
    }
}

@media (max-width: 480px) {
    .feedback-carousel {
        height: 240px;
    }

    .flag-carousel-card {
        width: 160px;
        height: 120px;
    }

    .carousel-flag {
        height: 85px;
    }

    /* Even tighter spacing for very small phones */
    .flag-carousel-card.left {
        transform: translateX(-120px) scale(0.75) rotateY(15deg);
    }

    .flag-carousel-card.right {
        transform: translateX(120px) scale(0.75) rotateY(-15deg);
    }

    .flag-carousel-card.far-left {
        transform: translateX(-220px) scale(0.5);
    }

    .flag-carousel-card.far-right {
        transform: translateX(220px) scale(0.5);
    }
}
    /* Floating animation for Desktop Granny */
    @keyframes floatGranny {
        0% { transform: translateY(0) translateX(0); }
        50% { transform: translateY(-15px) translateX(-5px); }
        100% { transform: translateY(0) translateX(0); }
    }

    .granny-floating {
        animation: floatGranny 6s ease-in-out infinite;
    }

    /* Modal Backdrop (Kept for desktop functionality if needed, 
       but mobile now displays form directly) */
    .modal-backdrop {
        backdrop-filter: blur(12px);
        background: rgba(0, 0, 0, 0.8);
    }

    body.modal-open {
        overflow: hidden;
    }