/* =============== Above the Line AI - CSS - 2025 =============== */
   
 
        
        /* --------------------------------------------------
                Variables, Reset & Base
           -------------------------------------------------- */
        :root {
            --color-nav-bg: #0a1a0f; 
            --color-nav-link: #ffffff;
            --color-nav-hover: hsla(205, 78%, 60%, 1);
            --nav-height: 14rem;
            --color-gold: hsla(41, 60%, 39%, 1);
            --atl-logo: url(img/atl_logo.png);
            
            /* Responsive breakpoints */
            --breakpoint-sm: 576px;
            --breakpoint-md: 768px;
            --breakpoint-lg: 992px;
            --breakpoint-xl: 1200px;

            --primary-color: #12682f; /* #ff5c5c  */
            --primary-variant: #c89832;
            --secondary-color: #c2e6c9; /* #1b9999  */
            --secondary-variant: #e4cb95;
        }
        
        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            font-size: 62.5%;
        }
        
        body {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            font-family: Arial, sans-serif;
            color: #e1e1e1;
            background-color: #0a0a0a; /* Dark base background */
            overflow-x: hidden;
        }
/* gradient-container and .wave rules stay exactly the same */

#canvas-fast,
#canvas-slow {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

#canvas-slow {
  z-index: -1;  /* drifting dots sit just above the gradient */
  mix-blend-mode: overlay;
  opacity: 1;
}

#canvas-fast {
  z-index: 0;   /* sparkly dots sit on top of the drifters */
  mix-blend-mode: overlay;
  opacity: 1;
}

/* responsive overrides for fast + slow */
@media (max-width: 768px) {
  #canvas-fast,
  #canvas-slow {
    height: 400px;
  }
}
@media (max-width: 480px) {
  #canvas-fast,
  #canvas-slow {
    height: 300px;
  }
}


/* --------------------------------------------------
   Gold Shimmer
-------------------------------------------------- */
    /* 1) keyframes for the shimmer */
    @keyframes shimmer {
        0%   { background-position: -200% 0; }
        100% { background-position:  200% 0; }
    }

/* --------------------------------------------------
   Fixed Nav
-------------------------------------------------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  height: var(--nav-height);
  width: 100%;
  background: var(--color-nav-bg);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  opacity: 0; /* fade-in */
  animation: fadeIn 1s ease-in-out forwards;
}

/* bottom-stripe pseudo */
#navbar::after {
  content: "";
  position: absolute;
  bottom: 0;         /* hug the very bottom */
  left: 0;
  right: 0;
  height: 2px;       /* border thickness */

  /* your duo-radial gold gradients */

  background:
    radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%, #fdb931 8%, #9f7928 30%, #8a6e2f 40%, transparent 80%
    ),
    radial-gradient(
      ellipse farthest-corner at left top,
      #fff 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%
    );

  border-bottom-left-radius: 2px;   /* match your corners if desired */
  border-bottom-right-radius: 2px;
  pointer-events: none;  /* so it doesn’t block clicks */
}

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .nav-links {
            display: flex;
            align-items: center;
            justify-content: center;
            grid-gap: 2rem;
            width: 100%;
            list-style: none;
            margin: 0;
            padding: 0 2rem;
        }

        .nav-links a {
            font-family: var(--font-primary);
            font-size: 1.6rem;
            color: var(--color-nav-link);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--color-nav-hover);
            transform: scale(1.05);
        }


.logo-wrapper {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
}

.logo-wrapper::after {
  content: "";               /* ← without this, no pseudo‐element */
  position: absolute;        /* ← anchors it over the logo */
  inset: 0;                  /* shorthand for top:0;right:0;bottom:0;left:0 */
  pointer-events: none;
  z-index: 1;                /* ← above the <img> */

  /* now your animated shimmer */
  background:
    linear-gradient(
      90deg,
      transparent 30%,
      rgba(255,255,255,0.6) 50%,
      transparent 70%
    ) no-repeat;
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;

  /* and finally the mask so it only shows on the opaque pixels */
  mask-image: url("img/Above_the_Line_AI_LOGO_large_alpha.png");
  mask-mode: alpha;
  mask-size: cover;
  mask-repeat: no-repeat;

  /* WebKit prefix */
  -webkit-mask-image: url("img/Above_the_Line_AI_LOGO_large_alpha.png");
  -webkit-mask-mode: alpha;
  -webkit-mask-size: cover;
  -webkit-mask-repeat: no-repeat;
}


/* Keep the <img> below it */
.logo {
  position: relative;
  z-index: 0;
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

        /* --------------------------------------------------
                Main content sits below nav
           -------------------------------------------------- */
        #main {
            padding-top: var(--nav-height);
        }

        #welcome-section {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
        }
        
/* --------------------------------------------------
            Typography
-------------------------------------------------- */
h1, h2, h3, h4 {
    filter: drop-shadow(-1px 6px 3px rgba(0, 0, 0, 0.1));
}

.disable-select {
    user-select: none; /* supported by Chrome and Opera */
    -webkit-user-select: none; /* Safari */
    -webkit-touch-callout: none; /* IOS Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

/* --------------------------------------------------
    Gradient-clipped "gold" text shared by both #name
    and .projects-header
-------------------------------------------------- */
#name,
#name2,
.projects-header {
  display: inline-block;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  
  /* 1) three-layer background: 
        — moving flash on top,
        — your two radial gold gradients underneath */
  background:
    /* shimmer stripe */
    linear-gradient(
      90deg,
      transparent 30%,
      rgba(255,255,255,0.6) 50%,
      transparent 70%
    ) no-repeat,
    /* gold glow bottom-right */
    radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%, #fdb931 8%, #9f7928 30%, #8a6e2f 40%, transparent 80%
    ),
    /* highlight top-left */
    radial-gradient(
      ellipse farthest-corner at left top,
      #fff 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%
    );

  /* clip to text, transparent fill */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* make the flash sweep across */
  background-size:
    200% 100%,  /* shimmer stripe wide enough to sweep */
    cover,      /* cover the text bounds for the gold */
    cover;
  animation: shimmer 3s ease-in-out infinite;

  filter: drop-shadow(-1px 6px 3px rgba(28, 28, 28, 0.5));
}

/* Padding only on the #name instance */
#name {
    padding: 0.5rem;
    opacity: 0; /* Start with invisible text for typing animation */
}

#name2,
.projects-header {
    display: inline-block;
    font-size: clamp(1.5rem, 4vw, 2rem); /* Responsive font size */
    padding-top: 0.5rem;
    opacity: 0; /* Start with invisible text for typing animation */
} 

/* Projects-header gets its own max-width, margin & underline */
.projects-header {
    max-width: 900px; /* Increased from 800px */
    margin: 0 auto 0.02rem; 
    position: relative;
}

/* Animated border with wave effect */
.border-wave {
    position: relative;
    border-bottom: 1px solid var(--color-gold);
}

/* Original Scrolling Page Styles */
.gradient-container {
    position: fixed; /* Fixed instead of absolute to stay during scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background: conic-gradient(
        from 0deg at 50% 50%,
        #0a1a0f 0%,
        #0d231a 25%,
        #064525 50%,
        #05603a 75%,
        #0a1a0f 100%
    );
    filter: blur(50px);
}

.wave:nth-child(1) {
    animation: wave-move 12s ease-in-out infinite alternate;
}

.wave:nth-child(2) {
    background: conic-gradient(
        from 180deg at 50% 50%,
        #071509 0%,
        #0a1f0c 25%,
        #0e2e14 50%,
        #0d4b22 75%,
        #071509 100%
    );
    opacity: 0.25;
    animation: wave-move 18s ease-in-out infinite alternate-reverse;
}

.wave:nth-child(3) {
    background: conic-gradient(
        from 90deg at 50% 50%,
        #050505 0%,
        #0f0f0f 25%,
        #00361d 50%,
        #0f0f0f 75%,
        #050505 100%
    );
    opacity: 0.2;
    animation: wave-move 20s ease-in-out infinite alternate;
}

@keyframes wave-move {
    0% {
        transform: translate(-25%, -25%) rotate(0deg) scale(1.5);
    }
    50% {
        transform: translate(5%, 5%) rotate(180deg) scale(1.7);
    }
    100% {
        transform: translate(25%, 25%) rotate(360deg) scale(1.5);
    }
}

/* Hero section at the top */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--nav-height); /* Add padding to account for the navbar */
}

/* --------------------------------------------------
    MODIFIED: Increased content container scale
-------------------------------------------------- */
.content {
    text-align: center;
    padding: clamp(2rem, 5vw, 4.5rem); /* Responsive padding */
    border-radius: 12px; /* Increased from 10px */
    z-index: 1;
    max-width: 950px; /* Increased from 800px */
    transform: scale(1.2); /* Increased from 1.1 */
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.content h1 {
    margin-top: 0;
    font-size: clamp(3rem, 8vw, 5rem); /* Responsive font size */
    color: #e1e1e1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: textPulse 4s ease-in-out infinite;
    text-align: center;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-style: normal;
}

@keyframes textPulse {
    0% {
        color: #a1a1a1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
    50% {
        color: #ffffff;
        text-shadow: 0 2px 15px rgba(255, 255, 255, 0.3), 0 0 5px rgba(220, 255, 230, 0.2);
    }
    100% {
        color: #a1a1a1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
}

/* --------------------------------------------------
    FIXED: Service Image Containers
-------------------------------------------------- */

.service-image {
  position: relative;
  z-index: 0;
  padding: 2rem;
  margin: 2rem 0;
  background-color: rgba(20, 40, 30, 0.3);
  border-radius: 15px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.service-image::before {
  content: "";
  position: absolute;
  top: -2px;    /* border thickness */
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  z-index: -2;

  /* 2) three‐layer background: 
      — top layer is a narrow white stripe to shimmer,
      — then your two radial gradients */
  background: 
    /*  a moving flash */
    linear-gradient(
      90deg,
      transparent 30%,
      rgba(255,255,255,0.6) 50%,
      transparent 70%
    ) no-repeat,
    /* bottom‐right gold glow */
    radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%, #fdb931 8%, #9f7928 30%, #8a6e2f 40%, transparent 80%
    ),
    /* top‐left highlight */
    radial-gradient(
      ellipse farthest-corner at left top,
      #fff 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%
    );

  background-size:
    /* make the flash stripe wide so it sweeps cleanly across */
    200% 100%,
    /* let the radial gradients fill the box */
    cover,
    cover;

  /* 3) animate just that top layer */
  animation: shimmer 3s ease-in-out infinite;
}

/* 2) opaque “inner” to cover the center of that gradient */
.service-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  z-index: -1;
  background-color: rgba(20, 40, 30, 0.93);

  /* add this so the color change will animate */
  transition: background-color 0.3s ease;
}

/* on hover, switch the inner bg to your green tint */
.service-image:hover::after {
  background-color: rgba(37, 74, 55, 0.95);
}


.service-image:hover {
    background-color: rgba(37, 74, 55, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

}

.service-icon {
    width: clamp(60px, 10vw, 100px); /* Responsive icon size */
    height: clamp(60px, 10vw, 100px);
    margin-bottom: 1.5rem;
    filter: brightness(1.2) saturate(1.1)
            drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
    transition:
                transform 0.3s ease,
                filter    0.3s ease;
}

.service-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.2) saturate(1.1)
            drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.service-image h3 {
    font-size: clamp(1.5rem, 4vw, 2rem); /* Responsive heading size */
    color: #c2e6c9;
    margin-bottom: 1rem;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    animation: h2Pulse 4s ease-in-out infinite;
    animation-delay: 1s;
}

.service-image p {
    font-size: clamp(1rem, 2.5vw, 1.4rem); /* Responsive paragraph size */
    line-height: 1.6;
    color: #b8b8b8;
    margin-bottom: 1rem;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
}

.service-image li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-image li p {
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
}

/* --------------------------------------------------
    MODIFIED: Increased paragraph font size
-------------------------------------------------- */

/* --------------------------------------------------
    MODIFIED: 27th December 2025 - START
-------------------------------------------------- */

/*--- Add proper spacing after fixed navbar ---*/
.hero.cro-attention {
    padding-top: calc(var(--nav-height) + 20rem); /* Navbar height + breathing room */
    min-height: 100vh;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .hero.cro-attention {
        padding-top: calc(var(--nav-height) + 2rem);
    }
}

@media (max-width: 575px) {
    .hero.cro-attention {
        padding-top: calc(var(--nav-height) + 1.5rem);
    }
}

/*--- Add breathing room before video/VSL ---*/
.hero-subheadline {
    margin-bottom: 3.5rem; /* Generous space before video */
    font-size: 1.8rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure video container has proper spacing */
.hero-visual {
    margin-top: 3rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-subheadline {
        margin-bottom: 2.5rem;
        font-size: 1.6rem;
    }
    
    .hero-visual {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 575px) {
    .hero-subheadline {
        margin-bottom: 2rem;
        font-size: 1.4rem;
    }
    
    .hero-visual {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}
/* --------------------------------------------------
    MODIFIED: 27th December 2025 - END
-------------------------------------------------- */

p {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem); /* Responsive paragraph size */
    line-height: 1.8; /* Increased from 1.6 */
    color: #c7c7c7;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-style: normal;
}

/* Scrolling content section */
.scrolling-section {
    background-color: rgba(0, 0, 0, 0.00); 
  /*  backdrop-filter: blur(5px); */
    padding: clamp(3rem, 6vw, 5rem) clamp(5%, 10vw, 20%); /* Responsive padding */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* --------------------------------------------------
    MODIFIED: Increased scrolling-content container scale
-------------------------------------------------- */

.scrolling-content {
  position: relative;
  z-index: 0;

  /* keep all your existing sizing/layout */
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 12px;
  background-color: rgba(15, 30, 20, 0.99);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.45);
  width: 100%;
  transform: scale(1.15);
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-style: normal;

  /* remove the old border so the pseudo-border shows instead */
  border: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* 1) the “gold ring” behind everything */
.scrolling-content::before {
  content: "";
  position: absolute;
  top: -3px;      /* adjust for desired border thickness */
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: inherit;
  z-index: -2;

  background:
    /* bottom-right gold glow */
    radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%, #fdb931 8%, #9f7928 30%, #8a6e2f 40%, transparent 80%
    ),
    /* top-left highlight */
    radial-gradient(
      ellipse farthest-corner at left top,
      #fff 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%
    );
}

/* 2) re-paint the inner rectangle so only the ring remains */
.scrolling-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  z-index: -1;
  background-color: rgba(15, 30, 20, 0.99);
}


.feature {
    margin-bottom: 1rem; /* Increased from 3rem */
}

.feature h2 {
    font-size: clamp(2rem, 5vw, 2.8rem); /* Responsive heading size */
    color: #c2e6c9;
    border-bottom: 2px solid #0d4b22; /* Increased from 1px */
    padding-bottom: 0.8rem; /* Increased from 0.5rem */
    margin-bottom: 1.5rem; /* Increased from 1rem */
    animation: h2Pulse 4s ease-in-out infinite;
    animation-delay: 1s;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-style: italic;
}

#name2 h2 {
    margin-top: 0;
}

.section p {
    animation: h2Pulse 4s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes h2Pulse {
    0% {
        color: #82a688;
        text-shadow: none;
    }
    50% {
        color: #d4ffe0;
        text-shadow: 0 0 8px rgba(194, 255, 209, 0.4);
    }
    100% {
        color: #82a688;
        text-shadow: none;
    }
}


/* --------------------------------------------------
    Mobile Responsive Adjustments
-------------------------------------------------- */
@media (max-width: 768px) {
    #navbar {
        padding: 0 1rem;
    }
    
    .nav-links {
        flex-direction: row; /* Keep horizontal layout on mobile */
        gap: 1rem;
        padding: 0.5rem;
        justify-content: center; /* Keep centered layout */
    }
    
    .nav-header {
        margin-right: 0.5rem; /* Reduce spacing on mobile */
    }
    
    .content {
        transform: scale(1);
        padding: 2rem 1rem;
    }
    
    .scrolling-content {
        transform: scale(1);
        padding: 1.5rem;
    }
    
    .service-image {
        margin: 1rem 0;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo, .logo-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .scrolling-section {
        padding: 2rem 5%;
    }
}
        /* --------------------------------------------------
            FOUNDER - Section: 
        -------------------------------------------------- */
        
        /* ========== Make Academy Badges ========== */ 
        
        .badge {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: contain; /* Maintains aspect ratio */
            display: inline-block; /* Removes any baseline alignment issues */
            margin: 10px;
        }
        
        /* ========== Pierson Animator Photo ========== */ 
        
        .pierson {
            width: 450px;
            height: 450px;
            border-radius: 50%;
            object-fit: contain; /* Maintains aspect ratio */
            display: inline-block; /* Removes any baseline alignment issues */
            margin: 10px;
        }
        
        
        /* ========== Social Media Icons ========== */
        .social-icons {
            text-align: center;
        }
        .fab {
            font-size: 3rem;
            margin: 3rem;
            cursor: pointer;
            color: var(--primary-color); 
        }
        .fab:hover {
            color: var(--secondary-color);
        }
        .icon-anchor:hover {
            background: rgba(255, 0, 0, 0);
            filter: drop-shadow(-1px 6px 3px rgba(0, 0, 0, 0.1));
        }

        /* ========== Social Media Icons Resonsive ========== */
        @media screen and (min-width: 768px) {
            .fab {
                font-size: 5rem;
                margin: 3rem;
            }
            .slide-container {
                min-height: 45rem;
            }

            .icon-anchor:visited,
            .icon-anchor:focus,
            .icon-anchor:active {
                background: rgba(255, 0, 0, 0);
                color: rgba(255, 0, 0, 0);
            }
        }
        
        
/* Container for the founder section layout */
.founder-container {
    display: flex;
    flex-direction: row-reverse; /* Image on the left, text on the right */
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Style for the image container */
.founder-image {
    flex: 0 0 auto; /* Don't grow or shrink */
}

/* Style for the text container */
.founder-text {
    flex: 1; /* Take up remaining space */
}

/* Footer area containing buttons, icons and badges */
.founder-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}
.founder-footer h2 {
    animation: h2Pulse 4s ease-in-out infinite;
    animation-delay: 1s;
    border-bottom: 2px solid #0d4b22;
}

/* Badge container */
.badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .founder-container {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-image {
        margin-bottom: 2rem;
    }
    
    /* Adjust pierson image size for screens between 768px and 1024px */
    .pierson {
        width: 350px;
        height: 350px;
    }
}

/* Extra small device adjustments */
@media (max-width: 575px) {
    .pierson {
        width: 250px;
        height: 250px;
    }
}
        
        /* ========== Modal Contact Form Logo ========== */
        .form-logo {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: contain; /* Maintains aspect ratio */
            display: block; /* Removes any baseline alignment issues */
        }
        /* ========== Modal Contact Form Header ========== */ 
        #callus {
            font-size: 2.8rem; /* Added explicit font size */
            border-bottom: 2px solid #0d4b22; /* Increased from 1px */
            padding-bottom: 0.8rem; /* Increased from 0.5rem */
            margin-bottom: 1.5rem; /* Increased from 1rem */
            font-family: "DM Sans", sans-serif;
            font-weight: 500;
            font-style: normal;
            color: #0d4b22;
        }
        /* ========== Modal Contact Form Body ========== */
        .hidden {
            display:none;
        }
        .modal {
            position:fixed;
            z-index:1000;
            left:0;
            top:0;
            width:100%;
            height:100%;
            background:rgba(0,0,0,.6);
            display:flex;
            justify-content:center;
            align-items:center;
        }
        .modal-content {
            background:#cafce7;
            padding:2rem;
            max-width:480px;
            width:90%;
            border-radius:12px;
            overflow-y:auto;
            max-height:90vh;
            font-family: "DM Sans", sans-serif;
            font-weight: 500;
            font-style: italic;
        }
        .modal-close { 
            position:absolute;
            right:1.5rem;
            top:1rem;
            font-size:1.5rem;
            cursor:pointer;}
        form { 
            display:grid;
            gap:1rem;
            margin-top:1rem;
        }
        label {
            display:flex;
            flex-direction:column;
            color: #0d4b22;
            font-family: "DM Sans", sans-serif;
            font-weight: 500;
            font-style: italic;
            font-size: 2rem;
        }
        input, select, textarea {
            padding:.6rem;
            border:1px solid #ccc;
            border-radius:6px;
        }

       /* ---------- Hide Honeypot Start ---------- */
        /* hide the honeypot input from all users */

        .hidden-field {
            display: none !important;
            visibility: hidden;
        }
       /* ---------- Hide Honeypot End ---------- */
     
        /* ---------- Contact Form End ---------- */



        
        /* ========== Emerald Buttons ========== */
        .btn {
            display: inline-block;
            padding: 1.3rem 2.5rem; /* Increased from 1rem 2rem */
            margin-top: 2rem; /* Increased from 1.5rem */
            background: linear-gradient(135deg, #064525, #05603a);
            color: #e1e1e1;
            border: none;
            border-radius: 50px;
            font-size: 1.5rem; /* Increased from 1.2rem */
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); /* Enhanced shadow */
            position: relative;
            overflow: hidden;
        }
        
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 50%;
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
            border-radius: 50px 50px 0 0;
        }
        
        .btn:hover {
            background: linear-gradient(135deg, #05603a, #064525);
            transform: translateY(-3px); /* Increased from -2px */
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5); /* Enhanced shadow */
        }
        
        .btn:hover::before {
            opacity: 0.5;
        }
        
        /* ========== Footer Section ========== */
        footer {
            background: var(--color-grey-1);
            padding: 5rem 1rem;
        }
        footer p {
            letter-spacing: var(--spacing);

            color: #c2e6c9; 
            text-transform: capitalize;
            text-align: center;
            margin-bottom: 0;
        }
         
 
        
        /* --------------------------------------------------
                Responsive Media Queries
           -------------------------------------------------- */
        
        /* Extra Large Devices (1200px and up) */
        @media (min-width: 1200px) {
            :root {
                --nav-height: 14rem;
            }
            
            .content {
                max-width: 950px;
                transform: scale(1.2);
            }
            
            .scrolling-content {
                max-width: 1200px;
                transform: scale(1.15);
            }
            
            p {
                font-size: 2rem;
            }
            
            #name {
                font-size: 4.75rem;
            }
            
            #name2 {
                font-size: 2rem;
            }
            
            .content h1 {
                font-size: 6rem;
            }
            
            .feature h2 {
                font-size: 3.5rem;
            }
        }
        
        /* Large Devices (992px - 1199px) */
        @media (min-width: 992px) and (max-width: 1199px) {
            :root {
                --nav-height: 12rem;
            }
            
            .content {
                max-width: 850px;
                transform: scale(1.1);
                padding: 4rem;
            }
            
            .scrolling-content {
                max-width: 900px;
                transform: scale(1.05);
                padding: 3.5rem;
            }
            
            p {
                font-size: 1.5rem;
            }
            
            #name {
                font-size: 4rem;
            }
            
            #name2 {
                font-size: 1.8rem;
            }
            
            .content h1 {
                font-size: 4.5rem;
            }
            
            .feature h2 {
                font-size: 2.5rem;
            }
            
            .scrolling-section {
                padding: 4rem 15%;
            }
        }
        
        /* Medium Devices (768px - 991px) */
        @media (min-width: 768px) and (max-width: 991px) {
            :root {
                --nav-height: 10rem;
            }
            
            .content {
                max-width: 700px;
                transform: scale(1);
                padding: 3rem;
            }
            
            .scrolling-content {
                max-width: 700px;
                transform: scale(1);
                padding: 3rem;
            }
            
            p {
                font-size: 1.4rem;
            }
            
            #name {
                font-size: 3.5rem;
            }
            
            #name2 {
                font-size: 1.6rem;
            }
            
            .content h1 {
                font-size: 3.8rem;
            }
            
            .feature h2 {
                font-size: 2.2rem;
            }
            
            .btn {
                padding: 1.1rem 2.2rem;
                font-size: 1.3rem;
            }
            
            .scrolling-section {
                padding: 4rem 10%;
            }
        }
        
        /* Small Devices (576px - 767px) */
        @media (min-width: 576px) and (max-width: 767px) {
            :root {
                --nav-height: 9rem;
            }
            
            .content {
                max-width: 520px;
                transform: scale(1);
                padding: 2rem;
            }
            
            .scrolling-content {
                max-width: 520px;
                transform: scale(1);
                padding: 2.5rem;
            }
            
            p {
                font-size: 1.3rem;
                line-height: 1.6;
            }
            
            #name {
                font-size: 3rem;
            }
            
            #name2 {
                font-size: 1.5rem;
            }
            
            .content h1 {
                font-size: 3.2rem;
            }
            
            .feature h2 {
                font-size: 2rem;
                padding-bottom: 0.6rem;
            }
            
            .btn {
                padding: 1rem 2rem;
                font-size: 1.2rem;
            }
            
            .scrolling-section {
                padding: 3rem 5%;
            }
            
            .feature {
                margin-bottom: 3rem;
            }
        }
        
        /* Extra Small Devices (575px and below) */
        @media (max-width: 575px) {
            :root {
                --nav-height: 8rem;
            }
            
            .content {
                max-width: 100%;
                transform: scale(1);
                padding: 1.5rem;
                border-radius: 8px;
            }
            
            .scrolling-content {
                max-width: 100%;
                transform: scale(1);
                padding: 2rem;
                border-radius: 8px;
            }
            
            p {
                font-size: 1.2rem;
                line-height: 1.5;
            }
            
            #name {
                font-size: 2.5rem;
            }
            
            #name2 {
                font-size: 1.3rem;
            }
            
            .content h1 {
                font-size: 2.8rem;
            }
            
            .feature h2 {
                font-size: 1.8rem;
                padding-bottom: 0.5rem;
                margin-bottom: 1rem;
            }
            
            .btn {
                padding: 0.8rem 1.8rem;
                font-size: 1.1rem;
            }
            
            .scrolling-section {
                padding: 2rem 1rem;
                min-height: auto;
            }
            
            .feature {
                margin-bottom: 2.5rem;
            }
            
            .wave {
                filter: blur(30px);
            }
        }


/* ─── Section 1: Three-column layout for “What We Do” on desktop ─── */

@media (min-width: 992px) {
  /* Target the first feature (the “What We Do” block) */
  #features .scrolling-content .feature:first-of-type {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;               /* space between cards */
  }

  /* Keep the heading & intro paragraph full-width */
  #features .scrolling-content .feature:first-of-type > h2,
  #features .scrolling-content .feature:first-of-type > p {
    flex: 0 0 100%;
  }

  /* Make each service-image flex equally */
  #features .scrolling-content
     .feature:first-of-type .service-image {
    flex: 1 1 calc(33.333% - 1.33rem);
    min-width: 0;
  }
}

/* Below 992px the cards will naturally stack */

/* ─── Section 3: Two-column Founder layout on desktop ─── */
@media (min-width: 992px) {
  /* Center the whole feature */
  .scrolling-section:last-of-type .scrolling-content .feature {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Side-by-side image + text */
  .founder-container {
    display: flex;
    flex-direction: row;       /* image left, text right */
    gap: 3rem;                 /* space between columns */
    align-items: center;
  }

  .founder-image,
  .founder-text {
    flex: 1 1 0;
  }

  /* Make the “Get in Touch” footer stand out */
  .founder-footer {
    padding: 4rem 2rem;
   /* background: rgba(0, 0, 0, 0.5); */
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
  }
}


/* ─── Section 2: Client-slider & marquee headline ─── */
.clients-section .scrolling-content {
    text-align: center;
}

/* Headline animation - Pulsing brightness effect */
.slider-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    opacity: 1; /* Always visible */
    color: #e1e1e1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: textPulse 4s ease-in-out infinite;
    text-align: center;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-style: normal;
}

@keyframes textPulse {
    0% {
        color: #a1a1a1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
    50% {
        color: #ffffff;
        text-shadow: 0 2px 15px rgba(255, 255, 255, 0.3), 0 0 5px rgba(220, 255, 230, 0.2);
    }
    100% {
        color: #a1a1a1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
}

/* Slider setup */
.client-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0;
}
.slide-track {
  display: flex;
  width: calc((250px + 2rem) * 8);  /* (slide-width + total margins) * number of slides */
  animation: scrollLogos 20s linear infinite;
}
.slide {
  flex: 0 0 250px;         /* fixed width per logo slot */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 1rem;
}
.slide img {
  max-height: 80px;
  object-fit: contain;
  transition: filter 0.3s ease;
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    filter: brightness(0.7) saturate(0.8);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.1) saturate(1.2);
    transform: scale(1.05);
  }
}
/*
.slide:nth-child(1) img { animation-delay: 0s; }
.slide:nth-child(2) img { animation-delay: 0.5s; }
.slide:nth-child(3) img { animation-delay: 1s; }
.slide:nth-child(4) img { animation-delay: 1.5s; } */ 
/* Repeat for duplicates */         
/*
.slide:nth-child(5) img { animation-delay: 0s; }  
.slide:nth-child(6) img { animation-delay: 0.5s; }
.slide:nth-child(7) img { animation-delay: 1s; }
.slide:nth-child(8) img { animation-delay: 1.5s; } */

/* Infinite scroll animation - KEEP THIS OUTSIDE MEDIA QUERY */
@keyframes scrollLogos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc((-250px - 2rem) * 4)); }
  /* Move exactly 4 slides worth (half the track) for seamless loop */
}

/* Make it responsive: fewer logos in viewport on small screens */
@media (max-width: 768px) {
  .slide {
    flex: 0 0 180px;
    margin: 0 0.5rem;
  }
  
  .slide-track {
    width: calc((180px + 1rem) * 8);  /* Update track width for mobile */
    animation: scrollLogosMobile 20s linear infinite;
  }
  
  /* Separate animation for mobile */
  @keyframes scrollLogosMobile {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc((-180px - 1rem) * 4)); }
  }
}

/*---TEST CSS---*/

/* ─── Unified Interest Section with Your Styling ─── */
.unified-interest-section {
    padding: 4rem 0;
    background: transparent; /* Dark background to match your theme */
}

.unified-interest-section .scrolling-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Headlines */
.section-headline {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #c2e6c9;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    animation: h2Pulse 4s ease-in-out infinite;
}

.section-subheadline {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #b8b8b8;
    margin-bottom: 3rem;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
}

/* Three Column Grid Layout */
.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Transformation Steps - Using Your Service Style */
.transformation-container {
    margin-bottom: 5rem;
}

.step-card {
    position: relative;
    z-index: 0;
    padding: 2rem;
    background-color: rgba(20, 40, 30, 0.3);
    border-radius: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    text-align: center;
}

/* Your shimmer effect */
.step-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    z-index: -2;
    background: 
        linear-gradient(
            90deg,
            transparent 30%,
            rgba(255,255,255,0.6) 50%,
            transparent 70%
        ) no-repeat,
        radial-gradient(
            ellipse farthest-corner at right bottom,
            #fedb37 0%, #fdb931 8%, #9f7928 30%, #8a6e2f 40%, transparent 80%
        ),
        radial-gradient(
            ellipse farthest-corner at left top,
            #fff 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%
        );
    background-size: 200% 100%, cover, cover;
    animation: shimmer 3s ease-in-out infinite;
}

.step-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    z-index: -1;
    background-color: rgba(20, 40, 30, 0.93);
    transition: background-color 0.3s ease;
}

.step-card:hover::after {
    background-color: rgba(37, 74, 55, 0.95);
}

.step-card:hover {
    background-color: rgba(37, 74, 55, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Step Icons - Using your service-icon style */
.step-icon {
    width: clamp(60px, 10vw, 100px);
    height: clamp(60px, 10vw, 100px);
    margin-bottom: 1.5rem;
    filter: brightness(1.2) saturate(1.1)
            drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.2) saturate(1.1)
            drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.step-card h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #c2e6c9;
    margin-bottom: 1rem;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    animation: h2Pulse 4s ease-in-out infinite;
    animation-delay: 1s;
}

.step-card p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    color: #b8b8b8;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
}

/* Benefits Section - Similar style but different color accent */
.benefits-container {
    margin-bottom: 5rem;
}

.benefit-card {
    position: relative;
    z-index: 0;
    padding: 2rem;
    background-color: rgba(115, 88, 30, 0.3);
    border-radius: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    text-align: center;
}

/* Purple/blue gradient for benefits */
.benefit-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    z-index: -2;
    background: 
        linear-gradient(
            90deg,
            transparent 30%,
            rgba(255,255,255,0.6) 50%,
            transparent 70%
        ) no-repeat,
        radial-gradient(
            ellipse farthest-corner at right bottom,
            #fedb37 0%, #fdb931 8%, #9f7928 30%, #8a6e2f 40%, transparent 80%
        ),
        radial-gradient(
            ellipse farthest-corner at left top,
            #fff 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%, #5d4a1f 100%
        );
    background-size: 200% 100%, cover, cover;
    animation: shimmer 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.benefit-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    z-index: -1;
    background-color: rgba(92, 70, 24, 0.93);
    transition: background-color 0.3s ease;
}

.benefit-card:hover::after {
    background-color: rgba(156, 120, 42, 0.95);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: clamp(50px, 8vw, 80px);
    height: clamp(50px, 8vw, 80px);
    margin-bottom: 1.5rem;
    filter: brightness(1.2) saturate(1.1)
            drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(-5deg);
    filter: brightness(1.3) saturate(1.2)
            drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.benefit-card h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #c2e6c9;
    margin-bottom: 1rem;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    animation: h2Pulse 4s ease-in-out infinite;
    animation-delay: 1s;
}

.benefit-card p {
    font-size: clamp(0.95rem, 2.3vw, 1.2rem);
    line-height: 1.6;
    color: #b8b8b8;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
}

/* Shimmer animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0, 0 0, 0 0;
    }
    100% {
        background-position: 200% 0, 0 0, 0 0;
    }
}

/* Contrast/Pain Points Section */
.contrast-container {
    margin-bottom: 4rem;
}

.contrast-headline {
    color: #ff6b6b;
}

.pain-points {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.pain-point {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(21, 58, 33, 0.3);
    border-left: 4px solid #CFB364;
    border-radius: 5px;
    backdrop-filter: blur(5px);
}

.pain-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 107, 0.3));
}

.pain-point p {
    margin: 0;
    color: #b8b8b8;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(0.95rem, 2.3vw, 1.2rem);
}

/* Calendly Container */
/* If you want the Calendly container to have a slight tint but still see through */
.calendly-container {
    text-align: center;
    padding: 3rem 2rem;
    /* More transparent background */
    background: rgba(30, 40, 35, 0.1); /* Reduced opacity from 0.2 to 0.1 */
    border-radius: 15px;
    border: 1px solid rgba(194, 230, 201, 0.1);
    backdrop-filter: blur(10px);
}

.calendly-headline {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 0.5rem;
    color: #c2e6c9;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
}

.calendly-subheadline {
    color: #b8b8b8;
    margin-bottom: 2rem;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(0.95rem, 2.3vw, 1.2rem);
}

/* Responsive Design */
@media (max-width: 992px) {
    .three-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .three-column-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card, .benefit-card {
        padding: 1.5rem;
    }
    
    .unified-interest-section .scrolling-content {
        padding: 0 1rem;
    }
    
    .pain-point {
        flex-direction: column;
        text-align: center;
    }
    
    .pain-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}