/* --- Theme Variables --- */
:root {
  --primary-yellow: #ecb51d;
  --dark-blue: #345182;
  --text-dark: #333;
  --white: #ffffff;
  --transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat";
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  padding-top: 90px;
}

body.no-scroll {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
  height: 90px;
  background: var(--dark-blue);
  display: flex;
  align-items: center;
  position: fixed;
  /* Keeps it at the top */
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  /* Spans content across the header */
  align-items: center;
  width: 100%;
}

.logo {
  box-shadow: none !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--primary-yellow);
}

/* Language & Buttons */
.lang-dropdown {
  position: relative;
}

.dropbtn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  display: inline-flex;
  /* Use flex to align children */
  align-items: center;
  /* Centers everything vertically */
  justify-content: center;
  gap: 5px;
}

.dropbtn:hover {
  color: #ffffff;
}

.lang-icon {
  font-size: 18px !important;
  /* Adjust size to match your text */
  opacity: 0.9;
}

.arrow {
  transition: transform 0.3s;
  display: inline-block;
}

#banner {
  display: block;
}

#small_banner {
  display: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: var(--dark-blue);
  min-width: 100px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  z-index: 1001;
  margin-top: 10px;
}

.dropdown-content::before {
  content: "";
  position: absolute;
  top: -12px;
  /* Match the margin-top height */
  left: 0;
  width: 100%;
  height: 12px;
  /* Fills the gap */
  background: transparent;
  /* Invisible to the user */
}

.lang-dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

.lang-dropdown:hover .arrow {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
  font-size: 0.85rem;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.2s;
}

.dropdown-content a:first-child {
  border-radius: 6px 6px 0 0;
}

.dropdown-content a:last-child {
  border-radius: 0 0 6px 6px;
}

.dropdown-content a:hover {
  background: var(--primary-yellow);
  color: var(--dark-blue);
}

.cta-small {
  padding: 9px 22px;
  border: 1.5px solid var(--primary-yellow);
  border-radius: 4px;
  color: var(--primary-yellow);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.3s;
}

.cta-small:hover {
  background: var(--primary-yellow);
  color: var(--dark-blue);
}

/* Hamburger & Overlay */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.bar {
  width: 26px;
  height: 3px;
  background: var(--primary-yellow);
  transition: var(--transition);
}

.menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Hero Section --- */
.hero {
  padding: 60px 0;
  background: var(--white);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Large screen optimization */
@media (min-width: 1200px) {
  .hero {
    padding: 90px 0;
  }

  .hero-grid {
    gap: 100px;
  }

  .hero-main-title {
    font-size: 5.5rem;
  }
}

.hero-main-title {
  font-family: "Montserrat";
  font-weight: 900;
  font-size: 4.8rem;
  line-height: 1;
  color: var(--dark-blue);
  letter-spacing: -2px;
}

.hero-main-title .accent {
  /* color: var(--primary-yellow); */
  /* 1. Define the gradient as a background */
  background: linear-gradient(to right, #382ec2, #c56be4);
  /* 2. Clip the background to only show through the text characters */
  -webkit-background-clip: text;
  background-clip: text;
  /* 3. Make the default text color transparent to let the gradient show */
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-tagline {
  font-weight: 700;
  letter-spacing: 6px;
  color: #999;
  margin: 25px 0px 40px 0px;
}

.hero-img-box {
  position: relative;
}

.img-accent-bg {
  position: absolute;
  top: 25px;
  right: -25px;
  width: 100%;
  height: 100%;
  background: var(--primary-yellow);
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.18),
    0 30px 60px rgba(0, 0, 0, 0.22);
  border-radius: 2px;
}

.hero-btn {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  border: 2px solid var(--dark-blue);
  border-radius: 4px;
  color: var(--dark-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-btn:hover {
  background: var(--dark-blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(52, 81, 130, 0.15);
}

.hero-btn-wrapper {
  position: relative;
  display: inline-block;
}

.free-annotation {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(15px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--primary-yellow);
  font-weight: 700;
  pointer-events: none;
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}

.free-annotation svg {
  color: var(--primary-yellow);
  margin-top: 5px;
}

@keyframes float {
  0% {
    transform: translateY(-50%) translateX(15px) rotate(0deg);
  }

  50% {
    transform: translateY(-75%) translateX(5px) rotate(-8deg);
  }

  100% {
    transform: translateY(-50%) translateX(15px) rotate(0deg);
  }
}

@media (max-width: 991px) {
  .free-annotation {
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    animation: none;
  }

  .free-annotation svg {
    display: none;
    /* Hide arrow on small screens if it doesn't fit well, or we can keep it */
  }
}

/* --- About Section --- */
.about-section {
  padding: 100px 0;
  background: var(--primary-yellow);
  position: relative;
}

/* HEADER SETUP: Fixed title splitting and weird subtitles */
.about-header {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.about-label-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.about-line {
  width: 45px;
  height: 3px;
  background: var(--dark-blue);
  border-radius: 2px;
}

.about-main-title {
  font-family: "Montserrat";
  font-size: 3rem;
  font-weight: 900;
  color: var(--dark-blue);
  text-transform: uppercase;
  letter-spacing: 4px;
  white-space: nowrap;
  /* Ensures the header stays cleanly on 1 line */
}

.about-intro {
  line-height: 1.6;
  color: var(--dark-blue);
  font-weight: 600;
  max-width: 850px;
}

/* THE SPLIT INTERFACE ARCHITECTURE */
.about-content-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: stretch;
}

/* VALUES CARDS: Clean white frosted glass blocks */
.tip-values-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tip-card {
  background: rgba(255, 255, 255, 0.92);
  padding: 30px 35px;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.tip-card:hover {
  transform: translateX(8px);
  background: var(--white);
  box-shadow: 0 15px 35px rgba(52, 81, 130, 0.12);
}

.tip-index {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--dark-blue);
  opacity: 0.3;
  line-height: 1;
  padding-top: 4px;
}

.tip-text h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 8px;
}

.tip-text p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #475569;
}

/* RIGHT COLUMN RELEVANT GRAPHICS */
.about-graphics-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-wrapper img {
  width: 75%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 15%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.about-image-wrapper img:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/* RESPONSIVE SCALING BUILD OVERRIDES */
@media (max-width: 991px) {
  .about-main-title {
    white-space: normal;
    /* Allows wrapping on small tablet/mobile screens */
  }

  .about-content-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper {
    height: 300px;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 80px 0;
    margin-top: 50px;
  }

  .about-main-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .tip-card {
    padding: 25px;
    gap: 15px;
  }
}

/* --- Services Section --- */
.services-section {
  padding: 80px 0;
  background-color: var(--white);
}

.services-header {
  margin-bottom: 50px;
  text-align: left;
}

.services-label-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
}

.services-line {
  width: 45px;
  height: 3px;
  background: var(--dark-blue);
  /* Uses your clean teal/blue service color accent */
  border-radius: 2px;
}

.services-main-title {
  font-family: "Montserrat";
  font-size: 3rem;
  font-weight: 900;
  color: var(--dark-blue);
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 0;
  /* Reset */
}

.services-subtitle {
  color: #64748b;
  line-height: 1.8;
  margin-top: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #f0f4f8;
  border-radius: 12px;
  padding: 35px 30px;
  display: flex;
  align-items: flex-start;
  /* Aligns icon and content side-by-side */
  gap: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  /* Soft, modern shadow */
  transition:
    transform 0.3s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #0089a8;
  box-shadow:
    0 10px 30px rgba(11, 44, 92, 0.05),
    0 0 10px rgba(0, 210, 255, 0.2),
    0 0 20px rgba(0, 210, 255, 0.1);
}

.service-content h4 {
  font-family: "Montserrat";
  font-weight: 800;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-content p {
  font-size: 0.95rem;
  color: #718096;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Learn More Links */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0046ad;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.2s ease;
  /* display: none; */
}

.service-link .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.service-link:hover {
  opacity: 0.8;
}

.service-link:hover .material-symbols-outlined {
  transform: translateX(4px);
  /* Moves arrow slightly on hover */
  text-decoration: none;
}

/* --- Circular Icon Wrapper Styles --- */
.service-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  /* Prevents circle deformation */
}

.service-icon-wrapper .material-symbols-outlined {
  font-size: 28px;
}

/* Icon Color Combinations (Matches Screenshot Background/Fills) */
.icon-blue {
  background-color: #edf2f7;
  color: #2b6cb0;
}

.icon-green {
  background-color: #e6fffa;
  color: #234e52;
}

.icon-purple {
  background-color: #faf5ff;
  color: #553c9a;
}

.icon-orange {
  background-color: #fffaf0;
  color: #dd6b20;
}

.icon-yellow {
  background-color: #fefcbf;
  color: #744210;
}

.icon-teal {
  background-color: #e6fffa;
  color: #008080;
}

/* ==========================================================================
   WHY CHOOSE US SECTION (3-COLUMN SPLIT GRAPHIC SYMMETRY)
   ========================================================================== */
.why-us-section {
  padding: 100px 0;
  background: var(--dark-blue);
  /* High-contrast premium dark layout */
  color: var(--white);
  position: relative;
}

/* SECTION HEADER */
.why-us-header {
  margin-bottom: 50px;
  text-align: left;
}

.why-us-label-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.why-us-line {
  width: 45px;
  height: 3px;
  background: var(--primary-yellow);
  /* Your brand yellow acts as the focus point */
  border-radius: 2px;
}

.why-us-main-title {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 6px;
}

.why-us-subtitle {
  line-height: 1.8;
  margin-top: 20px;
  color: #f2f2f2;
}

/* THE 3-COLUMN CORE ENGINE */
.why-us-3col-layout {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  /* Two flexible sides with a crisp fixed image track */
  gap: 30px;
  align-items: stretch;
  /* Forces columns to take up equal height naturally */
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  /* Spreads the 2 cards perfectly top-to-bottom */
}

/* INDIVIDUAL FEATURING BOXES */
.choose-box {
  background: rgba(255, 255, 255, 0.04);
  /* Modern frosted glass translucency */
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 35px;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: calc(50% - 15px);
  /* Forces perfect proportional halves inside columns */
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease;
}

.choose-box:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.choose-bar {
  width: 4px;
  height: 48px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* High-contrast colors referencing your layout screenshot directly */
.accent-green .choose-bar {
  background: #10b981;
}

.accent-yellow .choose-bar {
  background: var(--primary-yellow);
}

.accent-teal .choose-bar {
  background: #06b6d4;
}

.accent-orange .choose-bar {
  background: #f97316;
}

.choose-box-content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.choose-box-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  /* Soft slate gray for reading clarity */
}

/* MIDDLE COL IMAGE WRAPPER SETUP */
.middle-image-showcase {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* RESPONSIVE HANDLING RULES */
@media (max-width: 1100px) {
  .why-us-3col-layout {
    grid-template-columns: 1fr 280px 1fr;
    /* Adjusts image size down slightly on laptop screens */
    gap: 20px;
  }

  .choose-box {
    padding: 25px;
  }
}

@media (max-width: 991px) {
  .why-us-intro {
    margin-left: 0;
  }

  .why-us-3col-layout {
    grid-template-columns: 1fr;
    /* Flattens smoothly to 1 column on tablets & phones */
    gap: 30px;
  }

  .side-stack {
    gap: 20px;
  }

  .choose-box {
    height: auto;
    /* Lets blocks expand freely based on screen text context */
  }

  .middle-image-showcase {
    height: 350px;
    /* Gives the image a nice balanced bounding landscape layout box on mobile */
    grid-row: 2;
    /* Intelligent UX order re-mapping: Puts image in the middle layout stack */
    display: none;
  }
}

@media (max-width: 768px) {
  .why-us-section {
    padding: 80px 0;
  }

  .why-us-main-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .middle-image-showcase {
    height: 260px;
  }
}

/* --- Tech marquee banner --- */
.tech-marquee-section {
  background-color: var(--primary-yellow) !important;
  /* Locks dark theme */
  padding: 0px;
  width: 100% !important;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.tech-marquee-container {
  width: 100% !important;
  overflow: hidden !important;
  position: relative;
  display: block;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-marquee-track {
  display: flex !important;
  width: max-content !important;
  flex-shrink: 0 !important;
  flex-wrap: nowrap !important;
  will-change: transform;
  animation: techMarqueeLoop 80s linear infinite !important;
}

.tech-marquee-group {
  display: flex !important;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0 !important;
  gap: 60px;
  /* Space between logos */
  padding-right: 60px;
  /* Must match gap size precisely */
}

.tech-marquee-group img {
  height: 35px !important;
  /* Controls the vertical thickness */
  width: auto !important;
  /* Maintains perspective ratio */
  max-width: 70px !important;
  /* Stops them from getting super large */
  object-fit: contain !important;
  display: block !important;
  filter: brightness(0) invert(1) !important;
  transition: opacity 0.2s ease;
}

/* animation */
@keyframes techMarqueeLoop {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
    /* Perfect infinite loop calculation */
  }
}

/* Responsive Scaling for Mobile Devices */
@media (max-width: 768px) {
  .tech-marquee-group img {
    height: 25px !important;
    /* Smaller sizes for phones */
  }

  .tech-marquee-group {
    gap: 40px;
    padding-right: 40px;
  }
}

/* --- FAQ section --- */
.faq-section {
  padding: 80px 0;
  background-color: #f8fafc;
  /* Crisp, bright off-white background */
  color: var(--text-dark);
  /* Switches baseline text color to dark gray */
}

.faq-layout-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  /* 1 part Left Column, 2 parts Right Column */
  gap: 60px;
  align-items: start;
  /* Aligns title and first question perfectly at the top */
}

.faq-header-side {
  position: sticky;
  top: 140px;
  /* Keeps the title in view as you scroll past long answers */
}

.faq-label-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
}

.faq-main-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin: 0;
  letter-spacing: 6px;
  line-height: 1.1;
}

.faq-subtitle {
  line-height: 1.8;
  color: #64748b;
  margin-top: 20px;
  font-weight: 500;
  max-width: 280px;
  /* Restricts the width so it wraps nicely in the left column */
}

.faq-accordion-side {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  /* Soft gray dividing line for light theme */
  transition: var(--transition);
}

.faq-question {
  font-family: "Montserrat";
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  /* Padding on top and bottom of the line */
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-blue);
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
  gap: 20px;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-yellow);
  /* Glows your theme's yellow on hover */
}

.faq-question:hover .faq-icon {
  color: var(--primary-yellow);
}

.faq-icon {
  color: var(--dark-blue);
  /* Muted gray icon color default state */
  transition: var(--transition);
}

/* Hidden Answer Reveal Block */
.faq-answer {
  max-height: 0;
  /* Managed via JavaScript */
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
  /* Balanced dark grey reading color */
  padding-bottom: 25px;
  margin: 0;
}

/* Rotates the arrow up when open */
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-yellow);
}

/* Optionally changes the text to your yellow accent when open */
.faq-item.active .faq-question {
  color: var(--primary-yellow);
}

@media (max-width: 991px) {
  .faq-layout-wrapper {
    grid-template-columns: 1fr;
    /* Stacks layout vertically */
    gap: 25px;
  }

  .faq-main-title {
    letter-spacing: 1px;
    font-size: 2rem;
  }

  .faq-subtitle {
    max-width: 100%;
    margin-bottom: 10px;
  }

  .faq-header-side {
    position: static;
    /* Disables sticky floating behavior on mobile devices */
  }

  .faq-question {
    font-size: 1.1rem;
    padding: 20px 0;
  }

  .faq-answer p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* --- Footer --- */
.footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 40px 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* Space between the logo row and the content grid */
}

/* 1. Logo Row */
.footer-top-logo {
  display: flex;
  justify-content: flex-start;
  /* Align logo to the left */
}

/* 2. Content Grid */
.footer-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Three equal-width columns */
  gap: 30px;
  /* Space between the columns */
}

/* 3. Common Column Styles */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* Spacing between items within a column */
}

/* The elegant thin border for each column */
.footer-border-box {
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Thin, semi-transparent white border */
  padding: 30px;
  /* Padding inside the border box */
  border-radius: 4px;
  /* Optional slight rounded corners */
}

/* 4. Text and List Styling */
.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.footer-list {
  list-style: none;
  /* Remove bullet points */
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Spacing between list items */
}

.footer-list li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  /* Slightly muted white for content */
}

/* 5. Contact / Hours Row Styling */
.footer-contact-item {
  display: flex;
  align-items: center;
  min-height: 24px;
  gap: 12px;
  /* Spacing between icon and text */
}

/* Separate styling for hours column to have the bold day text */
.hours-day {
  font-weight: 600;
  color: #fff;
}

.hours-time {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  padding-top: 30px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  /* This creates the missing gap */
  text-decoration: none;
  color: inherit;
  /* Keeps the text white */
  width: 100%;
  /* Ensures the link fills the container */
}

.footer-social-link svg {
  flex-shrink: 0;
  /* Prevents the icon from squishing */
  display: block;
}

/* Optional: Slight hover effect for the link */
.footer-social-link:hover {
  opacity: 0.8;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero {
    padding: 40px 0;
    min-height: 50vh;
  }

  .hero-main-title {
    font-size: 3.5rem;
    line-height: 1;
  }

  .hero-img-box {
    display: none;
  }

  .about-section {
    padding: 80px 0;
  }

  .services-main-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    /* Pushes toggle to the right on mobile */
  }

  #banner {
    display: none !important;
  }

  #small_banner {
    display: block;
  }

  .nav-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    height: 100vh;
    background: var(--dark-blue);
    flex-direction: column;
    padding: 100px 40px;
    transform: translateX(100%);
    transition: var(--transition);
    justify-content: flex-start;
    /* Reset for mobile menu layout */
    gap: 40px;
  }

  .nav-right.active {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 25px;
  }

  .about-hero-text {
    font-size: 1.8rem;
  }

  .footer-content-grid {
    grid-template-columns: 1fr;
    /* Stack columns vertically on mobile */
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    /* 1 column on phones */
  }

  .service-card {
    flex-direction: row;
    /* circle icon next to text on small devices */
    gap: 15px;
  }
}