/* Begin Body */
body {
      margin: 0;
      padding: 0;
        padding-top: 80px;
      background: #161616;
      /* background: white; */
      color: #fff;
      /* font-family: Arial, sans-serif; */
      /* background-image: */
                /* A large, faint patch in the top-left */
                /* radial-gradient(
                    circle at 20% 0%,
                     rgba(255, 255, 255, 0.25),
                    transparent 20%
                ),
                radial-gradient(
                    circle at 50% 22%,
                     rgba(255, 255, 255, 0.1),
                    transparent 10%
                ),
                
                radial-gradient(
                    ellipse at 90% 40%,
                     rgba(128, 128, 128, 0.25),
                    transparent 20%
                ),
                radial-gradient(
                    circle at 10% 60%,
                     rgba(255, 255, 255, 0.1),
                    transparent 20%
                ); */

            /* Prevents the gradients from repeating */
            /* background-repeat: no-repeat; */
    }
/* End Body */
:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Raleway', sans-serif;
}

h1, h2, h3 {
  font-family: var(--font-heading);
}
p, li, a {
  font-family: var(--font-body);
}

/*  */
/* =====================================
   TYPOGRAPHY SYSTEM – OPTIMIZED VERSION
   ===================================== */

html {
  font-size: 100%; /* 16px base on desktop */
    scroll-behavior: smooth;
}
section {
  scroll-margin-top: 80px; /* height of your navbar */
}

@media (max-width: 768px) {
  html {
    font-size: 90%; /* 14.4px base */
  }
}

@media (max-width: 480px) {
  html {
    font-size: 87.5%; /* 14px base */
  }
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}

/* ================================
   HEADING HIERARCHY
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: inherit;
}

/* Fluid scaling for natural text flow */
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }   /* 40–60px */
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }      /* 32–40px */
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }      /* 24–32px */
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }/* 18–24px */
h5, h6 { font-size: 1rem; }                      /* 16px */

/* Paragraphs & small text */
p, li, a, span {
  font-size: 1rem;   /* 16px base */
  line-height: 1.6;
}

small {
  font-size: 0.875rem; /* 14px */
}
/* GRID IMAGE */
.section-with-svg-bg {
  position: relative;
  overflow: hidden;
}

.section-with-svg-bg .section-bg-svg{
  position: absolute;
  top: 0;
  left: 0;
  /* width: 100%;
  height: 100%; */
  z-index: 0;
  pointer-events: none;
}
 
.section-with-svg-bg > * {
  position: relative;
  z-index: 1;
}

/* GRID IMAGE */
/* ================================
   SECTION-SPECIFIC TYPOGRAPHY
   ================================ */

/* Hero Title */
.new-hero h1 {
  font-size: clamp(3.25rem, 6vw, 3.75rem);
  line-height: 1.1;
  font-weight: 700;
}

.new-hero .trusted,
.new-hero .highlight {
    font-size: inherit; /* inherit font size from h1 */
    line-height: inherit; /* optional: match h1's line height */
}

/* .new-hero.trusted h1 {
  font-size: clamp(3rem, 6vw, 3.75rem);
  line-height: 1.1;
  font-weight: 700;
} */
/* Section Titles */
.ready-text h2,
.faq-title,
.footer-column h4 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
}

/* Statistic Numbers */
.stat h2 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
}

/* Navbar Links */
.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Buttons */
.btn,
.btn-primary,
.btn-outline {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.5px;
}
.circular-grid {
  opacity: 0.2;
  /* You may still want this to prevent it from blocking clicks */
  pointer-events: none; 
}
/* ================================
   RESPONSIVE FINE-TUNING
   ================================ */
@media (max-width: 768px) {
  h1 { line-height: 1.15; }
  h2 { line-height: 1.25; }
  p { line-height: 1.7; }

  .new-hero h1 {
    font-size: 7.5rem;
    text-align: left;
  }

  .ready-text h2 {
    font-size: 2rem;
  }

  .stat h2 {
    font-size: 3.5rem;
  }
}

@media (max-width: 480px) {
  .new-hero h1 {
    font-size: 2.25rem;
  }

  .ready-text h2 {
    font-size: 1.75rem;
  }

  p, li, a {
    font-size: 0.9375rem; /* ~15px */
  }
}

/*  */


/* Begin Navbar */
.navbar {
   position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 70px;
    height: 80px;
    box-sizing: border-box;
     /* position: sticky; */
    top: 0;                /* Stick to the top */
    left: 0;
    right: 0;
    color: #fff;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    z-index: 10000;
   
}

.navbar.scrolled {
    background: #0f0f0fbf;  /* dark semi-transparent background */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);          /* subtle glassy effect (optional) */
}
  /* @media (max-width: 768px) {
  .navbar.scrolled {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
} */

/* ... existing CSS for .navbar.scrolled ... */

/* UNDO the scroll effect for small screens using a CSS media query */
/* @media (max-width: 992px) {
    .navbar.scrolled {
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }
    
    
    .navbar {
        background: transparent !important; 
    }
} */
/* @media (max-width: 992px) {
  .navbar {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(6px);
  }
} */

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    /* font-size: 16px; */
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.dropdown {
  position: relative;
}

/* Dropdown toggle link */
.dropdown-toggle {
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%; /* below the parent link */
  left: 0;
  background: #0F1012;
  border-radius: 10px;
  min-width: 160px;
  padding: 10px 0;
  display: none; /* hidden by default */
  flex-direction: column;
  z-index: 1000;
}

/* Dropdown items */
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #fff;
  /* font-family: 'Lato', sans-serif; */
  /* font-size: 16px; */
  text-decoration: none;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
}

.dropdown-menu .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;    /* fixed slot for icon */
  width: 20px;
  height: 20px;
}

/* resize & rotate the SVG and ensure correct transform-origin */
.dropdown-menu .icon svg {
  width: 14px !important;
  height: 14px !important;
  display: block;
  transform: rotate(90deg);       /* rotate to match Figma */
  transform-origin: center center;
}

/* Show menu on hover (desktop) */  
.dropdown.open .dropdown-menu {
  display: flex;
}

/* Mobile-friendly: keep submenu visible when nav expands */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
  }
  .dropdown-menu {
    position: static;
    display: none;
  }
  /* .navbar{
     position: fixed;
  } */
}
  /*.dropdown.open .dropdown-menu {
    display: flex;
  }*/

.contact-btn {
    border: 1px solid #E3F919;
    padding: 8px 18px;
    /* font-size: 14px; */
    border-radius: 8px;
    /* font-family: 'Manrope', sans-serif; */
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: #E3F919;
    color: #000;
}

.logo img {
    width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* --- Hamburger Icon CSS --- */
.hamburger {
    display: none; /* Hidden by default on desktop */
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Make sure it's on top */
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}


/* --- RESPONSIVE STYLES (Mobile View) --- */
@media (max-width: 992px) {
    .navbar {
        padding: 15px 30px; /* Reduce padding on smaller screens */
       
    }

    /* Show the hamburger icon */
    .hamburger {
        display: block;
    }

    /* Hide the original contact button in the header */
    .navbar > .contact-btn {
        display: none;
    }
    
    /* Style the navigation menu for mobile */
    .nav-links {
        position: fixed; /* Position it relative to the viewport */
        top: 0;
        right: -100%; /* Start off-screen to the right */
        width: 50%; /* Take up 70% of the screen width */
        max-width: 300px; /* But not more than 300px */
        height: 50vh; /* Full viewport height */
        background: #1a1a1a; /* Dark background for the menu */
        flex-direction: column; /* Stack links vertically */
        justify-content: center; /* Center links vertically */
        align-items: center;
        gap: 30px;
        padding: 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }

    /* --- The "Active" State --- */
    
    /* When navbar has .nav-active, slide the menu in */
    .navbar.nav-active .nav-links {
        right: 0;
    }

    /* Animate hamburger to an "X" when active */
    .navbar.nav-active .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .navbar.nav-active .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .navbar.nav-active .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

.dropdown.open .icon svg {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

/* Navbar End */
/* Begin Hero */
.new-hero {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            min-height: 75vh; /* A bit more height for visual space on desktop */
            color: #fff;
            overflow: visible;
            /* padding: 20px;  */
        }

        .hero-content {
    position: relative;
    z-index: 2;
    max-width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Adjust this value for more/less space */
}

        .new-hero h1 {
          /* font-family: 'Mansfield', sans-serif; */
            /* font-size: 3.918rem; */
            font-weight: 600;
            line-height:1.33;
            margin: 0;
        }

        .new-hero .trusted {
            color: #ccc;
        }

        .new-hero .highlight {
            color: #d8ff00;
        }

        .new-hero p {
            margin: 0;
            /* font-size: 1.1rem; */
            color: #aaa;
            max-width: inherit; /* Constrains line length for readability */
        }
.hero-art {
    position: absolute;
    /* Stretch the element from 10% above the top to 10% below the bottom */
    top: -10%;
    bottom: -10%;
    left: 0;
    right: 0;
    /* We no longer need width and height here */
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

.hero-art svg {
    width: 100%;
    height: 100%; 
}

.hero-content {
  position: relative;
  z-index: 0;
}
.glow-dot {
  fill: rgba(216, 255, 0, 0.6);
  filter: blur(30px);
  transition: all 0.4s ease-out;
}

.glow-line-image {
  opacity: 0.2; /* Adjust this value between 0 (invisible) and 1 (fully visible) */
  transition: opacity 0.3s ease; /* Optional: adds a smooth transition effect */
}



* {
  /* outline: 1px solid red; */
}



*,
*::before,
*::after { box-sizing: border-box; }

/* Glow Ellipses */

/* 
/*  */

@keyframes float {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-30px) rotate(15deg); }
}
h1, p {
  margin: 0; /* reset */
}
section {
  margin: 0;
  padding: 0;
}




.btn {
  padding: 16px 52px;
  border-radius: 15px;
  /* font-family: 'Raleway', sans-serif; */
  /* font-size: 16px; */
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
}

/* Base button styles for consistent shape and size */
.hero-buttons {
  display: flex;
  justify-content: center; /* Center the buttons horizontally */
  align-items: center;
  flex-wrap: wrap; /* Allows buttons to wrap if needed on medium screens */
  gap: 20px; /* Modern way to add space between items, works horizontally and vertically! */
}

/* --- Consolidated & Cleaned Button Styles --- */

/* Base button styles for consistent shape and size */
.btn {
  padding: 12px 28px; /* A good middle-ground padding */
  border: 1px solid #E3F919;
  border-radius: 8px;
  /* font-family: 'Raleway', sans-serif; */
  /* font-size: 16px; */
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

/* Primary button - solid background */
.btn.primary {
  background-color: #E3F919;
  color: #000;
}

/* Secondary button - transparent background */
.btn.secondary {
  background-color: transparent;
  color: #E3F919;
  /* We removed margin-left here because 'gap' on the parent handles spacing now */
}

/* --- Hover Effects --- */

.btn.primary:hover {
  background-color: #c8da15; /* A slightly darker shade */
  border-color: #c8da15;
}

.btn.secondary:hover {
  background-color: rgba(227, 249, 25, 0.2); /* A subtle glow effect */
}


/* --- THE RESPONSIVE MAGIC --- */
/* On screens 600px wide or less, stack the buttons */
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column; /* Stack the buttons vertically */
   align-items: stretch;
        width: 100%;
        border-radius: 100rem;
  }
}
/* Hero image */
.hero-image img {
  max-width: 500px;
}

@media (max-width: 768px) {
  .new-hero {
    min-height: auto; /* Let it adapt naturally */
    padding: 60px 20px; /* More breathing space */
  }
   .hero-buttons {
    flex-direction: column; /* Stack the buttons vertically */
   align-items: stretch;
        width: 100%;
        border-radius: 100rem;
  }
 body {
    background-image: none;
    background-color: #161616; /* fallback solid color */
  }
  /* .hero-art svg {
    height: auto;
    max-height: 300px; 
  } */

  .hero-content h1 {
    font-size: 3.5rem; /* scale down heading */
    line-height: 1.2;
  }
  .hero-content.large-hero-content h1 {
    font-size: 2.5rem; /* scale down heading */
    line-height: 1.2;
  }

  .new-hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .glow-dot {
    display: none;
  }

  .glow-line-image {

    display: none;
  }
}

/* .hero-art svg {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1; 
} */

/* End Hero */


/* Begin Slider Logo */
 .logo-slider {
      overflow: hidden;
      position: relative;
      width: 100%;
      background: transparent;
       /* background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.1)); */
      /* margin-top: 100px; */
       /* background: rgba(255, 255, 255, 0.05);  */
      /* background: #111; */
      padding: 40px 0;
      /* z-index: -1; */
    }

    .logo-track {
      display: flex;
      width: max-content;
      animation: scroll 120s linear infinite;
      background: transparent;
        /* background: rgba(255, 255, 255, 0.05);  */
    }

    .logo-item {
      position: relative;
      flex: 0 0 auto;
      margin: 0 40px;
    }

    .logo-item img {
  width: auto;
    height: 60px; 
  /* filter: grayscale(1); */
   filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: 0.3s;
}

  .logo-item img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

    /* Tooltip */
    /* .tooltip {
      visibility: hidden;
      background: #222;
      color: #fff;
      text-align: center;
      border-radius: 6px;
      padding: 5px 10px;
      position: absolute;
      z-index: 1;
      bottom: -35px;
      left: 50%;
      transform: translateX(-50%);
      white-space: nowrap;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .logo-item:hover .tooltip {
      visibility: hidden;
      opacity: 1;
    } */

    @keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo-slider {
    padding: 20px 0;
  }

  .logo-item {
    margin: 0 20px; /* Reduce spacing */
  }

  .logo-item img {
    height: 40px; /* Smaller logo size */
    opacity: 0.8;
  }

  .logo-track {
    animation: scroll 60s linear infinite; /* Faster scroll on mobile */
  }
}

/* End Slider Logo */

/* This is not necessarily services I just named it and now I don't want to change it  */
section.services {
      padding: 100px 20px;
      text-align: center;
      position: relative;
      z-index: 2;
    }
.services-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* centers the h2 */
}
    section.services h2 {
      /* font-family: 'Mansfield', serif; */
      font-weight: 600;
      /* font-size: 36px; */
      background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.19) 93%, rgba(255, 255, 255, 0) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 20px;
    }

    section.services p.intro {
      max-width: 750px;
      margin: 0 auto 60px;
      font-weight: 300;
      /* font-size: 16px; */
      line-height: 24px;
      color: #fff;
    }

.services-btn {
    border: 1px solid #E3F919;
    padding: 8px 18px;
    position: absolute;
    right: 200px;
    /* font-size: 14px; */
    border-radius: 8px;
    /* font-family: 'Manrope', sans-serif; */
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.services-btn:hover {
    background: #E3F919;
    color: #000;
}
@media (max-width: 600px) {
  .services-header {
    flex-direction: column;
  }

  .services-btn {
    display: none;
  }
}
/* End Services  */




/* Begin Glassy Contact */
.ready-section {
    position: relative;
    /* From fixed width to flexible width */
    width: 90%;
    max-width: 1248px; 
    /* Remove fixed height to let content define it */
    
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(80px);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 60px;
    box-sizing: border-box;
    color: #fff;

    /* Center horizontally */
    margin: 80px auto;
}

.ready-section img {
    max-width: 350px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 0.7;
    filter: drop-shadow(0 0 10px #d5ff00);
}

.ready-text {
    /* Add a max-width for better text readability */
    max-width: 550px;
}

.ready-text h2 {
    /* font-size: 2.5rem;  */
    margin-bottom: 15px;
}

.ready-text p {
    /* font-size: 1.1rem; */
    color: #ccc;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    background-color: #E3F919;
    color: #000;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #c8da15;
}

/* --- RESPONSIVE STYLES FOR MOBILE --- */
@media (max-width: 768px) {
    .ready-section {
        /* Stack items vertically */
        flex-direction: column;
        
        /* Reduce side padding on mobile */
        padding: 40px 30px;

        /* Add space between stacked items */
        gap: 40px;
    }

    .ready-text {
        /* Center the text content */
        text-align: center;
    }

    .ready-section img {
        /* Optional: reduce image size slightly on mobile */
        max-width: 280px;
    }
}

/* End Glassy Contact */

/* Begin Stat Section */
.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px; /* similar to your 112px gap */
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  margin: 80px auto;
  text-align: center;
  color: #fff;
}

.stat h2 {
  /* font-family: 'Mansfield', sans-serif; */
  font-weight: 600;
  /* font-size: 90px; */
  line-height: 1;
  margin: 0;

  /* Gradient text */
  background: linear-gradient(
    180deg,
    #E3F919 34%,
    rgba(227, 249, 25, 0.15) 60%,
    rgba(227, 249, 25, 0) 68%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
   min-width: 5ch; /* Reserve space for up to 4 digits */
  font-variant-numeric: tabular-nums; /* Equal width digits */
  /* opacity: 0; 
  transform: translateY(10px); 
  transition: opacity 0.8s ease, transform 0.8s ease; */
}
/* .stats .stat.visible h2 {
  opacity: 1;
  transform: translateY(0);
} */
.stat p {
  /* font-family: 'Mansfield', sans-serif; */
  font-weight: 400;
  /* font-size: 22px; */
  margin-top: 10px;
   /* transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
  opacity: 0;
  transform: translateY(5px); */
}

/* .stats .stat.visible p {
  opacity: 1;
  transform: translateY(0);
} */
/* End Stat Section */

/* Begin FAQ Section */
.faq-section {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.faq-section svg {
  position: absolute;
  top: 0;           /* Position it at the top of the section */
  left: 0;          /* Position it at the left of the section */
  width: 100%;      /* Make it fill the section's width */
  height: 100%;     /* Make it fill the section's height */
  z-index: -1;      /* Send it behind the text */
  pointer-events: none; /* Makes the SVG unclickable */
}
.faq-title {
  /* font-family: 'Mansfield', sans-serif; */
  font-weight: 600;
  /* font-size: 36px; */
  text-align: center;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255,255,255,0.19) 93.65%, rgba(255,255,255,0) 101.89%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.faq-subtitle {
  text-align: center;
  font-weight: 300;
  /* font-size: 16px; */
  line-height: 24px;
  margin-bottom: 40px;
  color: #FFFFFF;
}

/* make items fit inside container */
.faq-item {
  background: #0F1012;
  border-radius: 20px;
  margin: 15px 0;       /* vertical spacing handled by section */
  padding: 20px;
  width: 100%;          /* always fill parent */
  overflow: hidden;     /* prevents visual overflow from children */
}

/* flex row for question */
.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;            /* space between star, text, toggle */
}

/* ensure star & toggle don't stretch */
.faq-star,
.faq-toggle {
  flex: 0 0 auto;       /* fixed size items */
}

/* IMPORTANT: allow the question text to shrink */
.faq-question > span {
  flex: 1 1 auto;       /* grow & shrink */
  min-width: 0;         /* <-- fixes overflow in flex containers */
  overflow-wrap: anywhere; /* break very long words / URLs */
  word-break: break-word;
  hyphens: auto;
  /* font-size: 18px; */
  line-height: 1.27;
}

/* small tidy for toggle button */
.faq-toggle {
  background: none;
  border: none;
  color: #EFEFEB;
  /* font-size: 24px; */
  cursor: pointer;
  padding: 6px 8px;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}

/* answer */
.faq-answer {
  display: none;
  margin-top: 15px;
  /* font-size: 16px; */
  line-height: 24px;
  opacity: 0.9;
  white-space: normal;  /* make sure text wraps */
}

/* expanded */
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }

/* responsive tweaks */
@media (max-width: 900px) {
  /* .faq-title { font-size: 30px; } */
  .faq-item { padding: 16px; border-radius: 14px; }
  /* .faq-question > span { font-size: 16px; } */
  /* .faq-answer { font-size: 15px; line-height: 22px; } */
}

@media (max-width: 480px) {
  /* .faq-title { font-size: 22px; } */
  .faq-item { padding: 12px; }
  .faq-question { gap: 8px; }
  /* .faq-toggle { font-size: 20px; min-width: 32px; height: 32px; } */
  /* .faq-question > span { font-size: 15px; } */
}
/* End FAQ Section */

/* Begin Footer */
.footer {
  background: #050505;
  color: #fff;
  padding: 60px 150px 20px;
  /* font-family: 'Mansfield', sans-serif; */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 100px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column h4 {
  /* font-size: 16px; */
  margin-bottom: 20px;
  font-weight: 400;
  color: #fff;
}

.footer-column a {
  display: block;
  /* font-size: 16px; */
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #e3f919;
}

.footer-brand {
  text-align: right;
}

.footer-logo {
  width: 200px;
  margin-bottom: 20px;
}

.footer-socials a {
  margin-left: 15px;
  /* font-size: 20px; */
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #e3f919;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  /* font-size: 16px; */
}

/* Responsive Footer */
/* Tablet breakpoint: stack links + brand */
@media (max-width: 992px) {
  .footer {
    padding: 40px 60px 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 40px;
    width: 100%;
  }

  .footer-brand {
    text-align: left;
  }
}

/* Mobile breakpoint: everything in one column + centered brand */
@media (max-width: 576px) {
  .footer {
    padding: 30px 20px 15px;
  }

  .footer-links {
    grid-template-columns: 1fr; /* single column */
    gap: 25px;
  }

  .footer-logo {
    width: 150px;
    margin: 0 auto 15px; /* center logo */
    display: block;
  }

  .footer-brand {
    text-align: center; /* center logo + socials */
    width: 100%;
  }

  .footer-column h4,
  .footer-column a,
  .footer-bottom {
    /* font-size: 14px; */
  }

  .footer-socials a {
    /* font-size: 18px; */
    margin: 0 8px; /* equal spacing instead of only left */
  }
}

/* End Footer */


.with-grid-background {
  /* 1. Use the variable for the image */
  background-image: var(--grid-image-url);

  /* 2. Set your desired properties */
  background-size: 500px 500px;  /* Example: size of the grid tile */
  background-position: center center; /* Center the grid */
  background-repeat: repeat;      /* Tile the grid */
  opacity: 0.1;                   /* Set the desired faintness */
  
  /* 3. Make sure it stays in the background */
  position: relative;
  z-index: 0;
}

/* This pseudo-element contains the background */
.with-grid-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1; 
  pointer-events: none;

  /* --- KEY CHANGE HERE --- */
  background-image: 
    /* Layer 1: The Dark Overlay (This is on top) */
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
    /* Layer 2: The Grid Image (This is behind the overlay) */
    var(--grid-image-url);
    
  /* Set the properties for BOTH background images, separated by a comma */
  background-size: 
    auto,           /* Size for gradient (auto covers the area) */
    500px 500px;    /* Size for grid (adjust as needed) */
    
  background-position: 
    0 0,            /* Position for gradient */
    center center;  /* Position for grid */
    
  background-repeat: 
    no-repeat,      /* Gradient doesn't need to repeat */
    repeat;         /* Grid repeats */
    
  /* Remove the main opacity: 0.1 property from the parent element if you still have it, 
     as we are now controlling opacity with the rgba value in the gradient. 
  */
}