@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap");

/* === RESET STYLES === */
/* Ensures consistent spacing and box model across browsers */
/* RESET */
:root {
  --main-colour: #2971fd; /* Main brand color */
}

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

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f9f9f6;
  color: #1f2937;
  line-height: 1.6;
  transition: background-color 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

/* === HERO SECTION STYLES === */
/* Fullscreen intro with video background and overlay text */
/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 1s ease-in-out;
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.3)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.4); /* dark overlay */
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
}
.hero-content p {
  margin-top: 1rem;
  font-size: 1.3rem;
  color: #e5e7eb;
}
.cta-buttons {
  margin-top: 2rem;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  margin: 0.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  background: #d4af37;
  color: #1f2937;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.btn:hover {
  background: #c49e2f;
  transform: translateY(-2px);
}
.btn.outline {
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
}
.btn.outline:hover {
  background: #d4af37;
  color: #1f2937;
}

/* === GENERAL PAGE SECTION STYLES === */
/* Used for full-screen content blocks with overlays */
/* SECTIONS */
.section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  background-attachment: fixed;
}
.section .overlay {
  background: rgba(31, 41, 55, 0.75); /* charcoal overlay */
  padding: 3rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  max-width: 800px;
}
.section h2 {
  font-size: 2.2rem;
  color: #d4af37;
  margin-bottom: 1rem;
}
.section p {
  font-size: 1.1rem;
  color: #f9f9f6;
}

/* === BACKGROUND IMAGE CLASSES FOR SECTION THEMING === */
/* BACKGROUND IMAGES */
.services {
  background: url("Assets/Services-background-img1.jpeg") center/cover no-repeat;
}
.consulting {
  background: url("Assets/consultancy-background-img1.jpeg") center/cover
    no-repeat;
}

.about {
  background: url("Assets/about-background-img1.jpeg") center/cover no-repeat;
}
.contact {
  background: url("Assets/contact-background-img1.jpeg") center/cover no-repeat;
}

/* === DETAILED STYLES FOR SERVICES SECTION === */
/* SERVICES SECTION */
.services {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.services .overlay {
  background: rgba(31, 41, 55, 0.8);
  padding: 3rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  max-width: 1100px;
}
.services h2 {
  font-size: 2.4rem;
  color: #d4af37;
  margin-bottom: 1rem;
}
.services p {
  font-size: 1.1rem;
  color: #f9f9f6;
  margin-bottom: 2rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: #f9f9f6;
  text-align: left;
}
.service-card h3 {
  font-size: 1.3rem;
  color: #d4af37;
  margin-bottom: 0.8rem;
}
.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e5e5e5;
}

/* === FOOTER STYLES === */
footer {
  border-top: 2px solid #e5e7eb;
  padding: 3rem 0;
  background-color: #caf0f8;
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2rem;
  margin: 0 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1000px; /* Limits the width */
  margin: 0 auto; /* Centers it within its parent */
}

.footer-brand img {
  width: 300px;
  height: auto;
  max-width: none;
  display: block;
}

.footer-brand img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem; /* row gap, column gap */
  margin: 2rem 0;
}

.footer-badges img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--main-colour);
  margin-bottom: 1rem;
  margin-left: 70px;
}

.footer-section h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  position: relative;
  font-size: 0.875rem;
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-section ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--main-colour);
  transform: scaleX(0);
  transform-origin: right;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.footer-section ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

/* === ANIMATION: SLOW ZOOM EFFECT === */
@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15); /* Zoom in 10% over time */
  }
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;

  /* Add the zoom animation */
  animation: slowZoom 4s ease-in-out infinite alternate;
}

.page-content {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.page-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #1f2937;
}
.page-content p {
  font-size: 1rem;
  color: #4b5563;
}

.scroll-down {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  opacity: 0.7;
}

/* === ANIMATION: BOUNCE EFFECT === */
@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
}

/* === PROBLEM–AGITATE–SOLUTION SECTION === */
.pain-agitate-solution-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
  text-align: left;
  margin-right: 0.5rem;
  color: #d4af37;
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
  padding: 4rem 2rem;
  min-height: 100vh; /* Full screen height */
  width: 100%; /* Full viewport width */
  display: flex;
  align-items: center; /* Vertical centring */
  justify-content: center;
  padding: 80px 20px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  text-align: left;
}

.pain-agitate-solution-section .container {
  max-width: 900px;
  margin: 0 auto;
  border-left: 6px solid #d4af37;
  padding-left: 2rem;
}

.pain-agitate-solution-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.2rem;
}

.pain-agitate-solution-section .lead-paragraph {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #374151;
}

.pain-agitate-solution-section p {
  font-size: 1.05rem;
  color: #4b5563;
  margin-bottom: 1.25rem;
}

.pain-agitate-solution-section h3 {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: #d4af37;
}

/* === PARALLAX BACKGROUND STYLE === */
.parallax-bg {
  background-image: url("../Assets/parrallax-background.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* === Homepage Services Section === */

/* === HOMEPAGE SERVICES OVERVIEW SECTION === */
.homepage-services-section {
  min-height: 100vh;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
}

.homepage-services-section .bg-overlay {
  position: absolute;
  inset: 0;
  filter: blur(8px) brightness(0.85);
  z-index: 0;
}

.homepage-services-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 50px;
  text-align: center;
}

/* === Services Grid === */

/* === FLEXBOX GRID FOR SERVICES === */
.homepage-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

/* === Individual Card === */

/* === SERVICE CARDS WITH HOVER EFFECT === */
.homepage-service-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  text-align: center;
  max-width: 320px;
  flex: 1 1 300px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  min-height: 450px;
}

.homepage-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* === Card Image === */
.homepage-service-card img {
  height: 50px;
  margin-bottom: 20px;
}

/* === Card Title === */
.homepage-service-card h3 {
  font-size: 1.3rem;
  color: #000000;
  font-weight: 700;
  margin-bottom: 15px;
}

/* === Card Description === */
.homepage-service-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 25px;
}

/* === CTA Button === */
.homepage-service-card .btn {
  display: inline-block;
  background-color: #0077b6;
  color: white;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.homepage-service-card .btn:hover {
  background-color: #023e8a;
}

/* === SNAP SCROLL SECTION === */
.snap-section {
  height: 100vh;
  scroll-behavior: smooth;
  scroll-snap-align: start;
  overflow: hidden;
}

.service-card {
  background: linear-gradient(180deg, #f7ecd4 0%, #f3e3b8 100%);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* === ICON CIRCLE STYLING INSIDE SERVICE CARDS === */
.icon-circle {
  width: 60px;
  height: 60px;
  background: #0077b6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 20px;
}

.service-card .btn.learn-more {
  background-color: #0077b6;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.service-card .btn.learn-more:hover {
  background-color: #0096c7;
}

/* === ABOUT + TESTIMONIALS SECTION === */
.about-testimonials-section {
  background-color: #f9f9f6;
  padding: 120px 20px 100px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: #000;
  min-height: 100vh;
}

.about-intro h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
  color: #0b2c48;
}

.about-intro p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
  color: #0b2c48;
}

/* === Testimonial Heading === */
.testimonial-heading h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #000;
}

/* === TESTIMONIALS GRID === */
.testimonials-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  max-width: 360px;
  flex: 1 1 320px;
  position: relative;
  text-align: left;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #1f2937;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-card .client-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0077b6;
  display: block;
  text-align: left;
  margin-left: 10px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background-color: #0077b6;
  margin: 30px auto;
  border: none;
  border-radius: 5px;
}

.stars {
  color: hsl(46, 67%, 58%);
  margin-top: 10px;
  font-size: 1.1rem;
  text-align: left;
}

.about-testimonials-section {
  background-color: linear-gradient(to bottom, #e6faff 0%, #c9f4ff 100%);
  padding: 100px 0 80px 0;
  position: relative;
  z-index: 0;
}

/* FEATURES SECTION STYLING */
.features-section {
  height: 100vh;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: #0b2c48;
}

.features-container {
  max-width: 1100px;
  width: 100%;
}

.features-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
  color: #0b2c48;
}

.features-subheading {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #1f2937;
}

.features-list-wrapper {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  flex: 1;
  min-width: 300px;
}

.features-list li {
  font-size: 1.05rem;
  margin-bottom: 18px;
  line-height: 1.7;
  position: relative;
  padding-left: 35px;
  color: #1f2937;
}

.features-list li i {
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 1.1rem;
  color: #0077b6;
}

.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.logo-strip img {
  height: 40px;
  object-fit: contain;

  opacity: 0.8;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.logo-strip img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .features-section {
    height: auto;
    padding: 60px 20px;
  }
  .features-list-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .features-list li {
    font-size: 1rem;
    padding-left: 30px;
  }
  .features-list li i {
    font-size: 1rem;
    top: 2px;
  }
}

/* Final CTA Section */
.cta-section {
  height: 100vh;
  background: linear-gradient(135deg, #0077b6, #00b4d8, #48cae4, #90e0ef);
  background-size: 600% 600%;
  animation: gradientShift 15s ease infinite;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.dynamic-bg {
  background: linear-gradient(
    -45deg,
    #0077b6,
    #00b4d8,
    #48cae4,
    #90e0ef,
    #00b4d8,
    #0077b6
  );
  background-size: 400% 400%;
  animation: gradientWaves 18s ease infinite;
}

@keyframes gradientWaves {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cta-container {
  max-width: 800px;
}

.cta-heading {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.cta-subheading {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: #0077b6;
  padding: 1rem 2.25rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  background-color: #caf0f8;
  color: #03045e;
  transform: translateY(-3px);
}

/* === Our Services styling === */
/* Taxation Services Page Styles */

/* Hero Section */
.services-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 0;
  margin: 100px 0 0 0;
  position: relative;
  overflow: hidden;
}

.service-hero-container {
  max-width: 1200px;
  margin: 0;
  padding: 0;
  height: 52vh;
  min-height: 0px;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.service-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 77px 20px;
  color: white;
}

.service-hero-title {
  font-size: 36px;
  line-height: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 1rem;
}

.service-hero-title span {
  background-color: #000;
  color: #fff;
  padding: 0.75rem 1.25rem;
  margin: 0; /* no margin to avoid spacing */
  line-height: 1; /* keep height tight */
  display: inline-block;
}

.service-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.tax-breadcrumb {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 10px 140px;
  font-size: 14px;
  font-weight: bold;
  opacity: 0.8;
  max-width: none;
  margin: 0;
}

.tax-breadcrumb span {
  color: #1e3a8a;
}

.tax-breadcrumb a {
  color: black;
  text-decoration: none;
}

.tax-breadcrumb a:hover {
  text-decoration: underline;
}

.service-hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tax-btn {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
}

.tax-btn::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5em;
  font-size: 1em;
  vertical-align: middle;
}

.tax-btn.tax-secondary {
  background: white;
  color: #1e3a8a;
}

.tax-btn.tax-secondary:hover {
  background: black;
  color: white;
}

.tax-btn.tax-primary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.tax-btn.tax-primary:hover {
  background: black;
  border: 2px solid black;
}

.tax-hero-video {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tax-hero-video::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1); /* tiny dark overlay */
  pointer-events: none; /* so it doesn’t catch any clicks */
}

.tax-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.05) brightness(1.05);
}

.services-header {
  font-size: 2rem;
  text-align: center;
  color: #1e3a8a;
  font-weight: bold;
  margin-bottom: 1rem;
  position: relative;
  margin-top: 3rem;
}

.services-header::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #0a1f44;
  margin: 0.5rem auto 0;
}

/* Services Grid */
.tax-services-grid-section {
  padding: 30px 0;
  background: white;
}

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

.tax-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.tax-service-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.tax-service-item {
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.tax-service-link:hover .tax-service-item {
  transform: translateY(-50px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.tax-service-item:hover h3,
.tax-service-item:hover p {
  color: white;
}

.tax-service-item:hover .tax-service-icon {
  background: white;
  color: #0077b6;
}

.tax-service-item:nth-child(1) {
  animation-delay: 0.1s;
}
.tax-service-item:nth-child(2) {
  animation-delay: 0.2s;
}
.tax-service-item:nth-child(3) {
  animation-delay: 0.3s;
}
.tax-service-item:nth-child(4) {
  animation-delay: 0.4s;
}
.tax-service-item:nth-child(5) {
  animation-delay: 0.5s;
}
.tax-service-item:nth-child(6) {
  animation-delay: 0.6s;
}

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

.tax-service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #1e3a8a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 24px;
}

.tax-service-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e3a8a;
}

.tax-service-item p {
  color: #64748b;
  font-size: 14px;
}

/* Main Content Layout */
.tax-main-content-section {
  padding: 80px 0;
  background: white;
}

.tax-content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.tax-main-content {
  max-width: none;
}

.tax-content-block {
  margin-bottom: 40px;
}

.tax-content-block h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.tax-content-block h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.tax-content-block p {
  line-height: 1.7;
  margin-bottom: 20px;
  color: #475569;
}

.tax-service-list {
  list-style: none;
  padding: 0;
}

.tax-service-list li {
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
}

.tax-service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.tax-service-list strong {
  color: #1e3a8a;
}

/* Reviews Section */
.tax-reviews-section {
  background: #dffaff;
  border-radius: 12px;
  margin-top: 40px;
  padding: 24px;
}

.tax-reviews-section h3 {
  margin-bottom: 20px;
}

.tax-review-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.tax-stars {
  color: #fbbf24;
  font-size: 18px;
}

.tax-rating-text {
  font-weight: 600;
  color: #1e3a8a;
}

.tax-review-item {
  margin-bottom: 20px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
  transition: transform 0.2s ease;
}

.tax-review-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.tax-review-item p {
  font-style: italic;
  margin-bottom: 10px;
}

.tax-review-item cite {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}

/* Sidebar */
.tax-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Expert Card */
.tax-expert-card {
  background: white;
  border: 1px solid #3b82f6; /* your brand-blue border as default */
  border-radius: 12px;
  padding: 30px;
  text-align: center;

  /* default (previous hover) shadow */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

  /* smooth transitions */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.tax-expert-card:hover {
  transform: translateY(-5px) scale(1.02); /* lift + slight pop */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); /* deeper shadow */
  border-color: #1e40af; /* darker-blue border */
}

/* keep your image accent if you like */
.tax-expert-card .tax-expert-image img {
  border: 2px solid #3b82f6;
  transition: border-color 0.3s ease;
}

.tax-expert-card:hover .tax-expert-image img {
  border-color: #1e40af;
}

.tax-expert-image {
  margin-bottom: 20px;
}

.tax-expert-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e2e8f0;
}

.tax-expert-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #1e3a8a;
}

.tax-expert-title {
  color: #64748b;
  margin-bottom: 10px;
}

.tax-expert-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
  font-size: 14px;
}

.tax-expert-description {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #475569;
}

.tax-expert-btn {
  background: #3b82f6;
  color: white;
  width: 100%;
  text-align: center;
}

.tax-expert-btn:hover {
  background: #1e3a8a;
}

/* Contact Form Card */
.tax-contact-form-card {
  background: white;
  border: 1px solid #dc2626; /* default strong red border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* default lifted shadow */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  text-align: left;
}

.stop-stretch {
  height: auto;
  align-self: start;
}

/* Hover state – lift and deepen */
.tax-contact-form-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: #991b1b; /* darker red on hover */
}

/* Keep headings consistent */
.tax-contact-form-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e3a8a;
}

/* Inputs remain same but accent on focus in red */
.tax-form-group input:focus,
.tax-form-group select:focus,
.tax-form-group textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Submit button default red to match border */
.tax-form-submit {
  background: #dc2626;
  color: white;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Darker red on hover */
.tax-form-submit:hover {
  background: #991b1b;
}

.tax-contact-form-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.tax-form-group {
  margin-bottom: 20px;
}

.tax-form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.tax-form-group input,
.tax-form-group select,
.tax-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.tax-form-group input:focus,
.tax-form-group select:focus,
.tax-form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tax-form-submit {
  background: #3b82f6;
  color: white;
  width: 100%;
  border: none;
  cursor: pointer;
}

.tax-form-submit:hover {
  background: #1e3a8a;
}
/* Animations for tax-expert-card and tax-contact-form-card */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* initial hidden state */
.animate-on-scroll {
  opacity: 0;
}

/* single “slide in from right” class */
.slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

/* Contact CTA */
.tax-contact-cta {
  background:
    linear-gradient(
      135deg,
      rgba(30, 58, 138, 0.7) 0%,
      rgba(59, 130, 246, 0.7) 100%
    ),
    url("../Assets/cta-bg.jpg") center/cover fixed no-repeat;
  color: white;
  padding: 60px 0;
}

.tax-cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.tax-cta-text {
  max-width: 62%;
}

.tax-cta-text h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.tax-cta-text p {
  opacity: 0.9;
}

.tax-cta-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tax-phone-number {
  color: white;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tax-phone-number i {
  display: inline-block;
  transform-origin: center 4px; /* pivot near the “ear” of the handset */
}

/* only runs once when .ring is applied */
.tax-phone-number i.ring {
  animation: phoneRing 1s ease-in-out forwards;
}

.tax-phone-number:hover {
  opacity: 0.8;
}

.tax-cta-btn {
  background: white;
  color: #1e3a8a;
  white-space: nowrap;
}

.tax-cta-btn:hover {
  background: #f8fafc;
  cursor: pointer;
}

.callback-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.callback-form-container {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.callback-form-container form {
  display: flex;
  flex-direction: column;
}

.callback-form-container input,
.callback-form-container textarea {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.callback-form-container button {
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  background: #3b82f6;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.5rem;
}

.callback-form-container button[type="button"] {
  background: #ccc;
  color: #000;
}

.callback-form-container button:hover {
  background: #2563eb;
}

.callback-form-container label,
.callback-form-container h3 {
  color: black;
}

@keyframes phoneRing {
  0% {
    transform: rotate(0deg);
  }
  1% {
    transform: rotate(30deg);
  }
  3% {
    transform: rotate(-28deg);
  }
  5% {
    transform: rotate(34deg);
  }
  7% {
    transform: rotate(-32deg);
  }
  9% {
    transform: rotate(30deg);
  }
  11% {
    transform: rotate(-28deg);
  }
  13% {
    transform: rotate(26deg);
  }
  15% {
    transform: rotate(-24deg);
  }
  17% {
    transform: rotate(22deg);
  }
  19% {
    transform: rotate(-20deg);
  }
  21% {
    transform: rotate(18deg);
  }
  23% {
    transform: rotate(-16deg);
  }
  25% {
    transform: rotate(14deg);
  }
  27% {
    transform: rotate(-12deg);
  }
  29% {
    transform: rotate(10deg);
  }
  31% {
    transform: rotate(-8deg);
  }
  33% {
    transform: rotate(6deg);
  }
  35% {
    transform: rotate(-4deg);
  }
  37% {
    transform: rotate(2deg);
  }
  39% {
    transform: rotate(-1deg);
  }
  41% {
    transform: rotate(1deg);
  }
  43% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Team Section */
.tax-team-section {
  padding: 80px 0;
  background: white;
}

.tax-team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #1e3a8a;
}

.tax-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.tax-team-member {
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.tax-team-member:hover {
  transform: translateY(-5px);
}

.tax-member-image {
  margin-bottom: 20px;
}

.tax-member-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e2e8f0;
}

.tax-member-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #1e3a8a;
}

.tax-member-title {
  color: #64748b;
  margin-bottom: 5px;
}

.tax-member-credentials {
  font-size: 14px;
  color: #10b981;
  font-weight: 600;
  margin-bottom: 10px;
}

.tax-member-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 14px;
}

.tax-team-cta {
  text-align: center;
}

.tax-btn.tax-outline {
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.tax-btn.tax-outline:hover {
  background: #3b82f6;
  color: white;
}

/* News Section */
.tax-news-section {
  padding: 80px 0;
  background: white;
}

.tax-news-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1e3a8a;
}

.tax-news-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 60px;
}

.tax-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.tax-news-item {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.tax-news-item:hover {
  transform: translateY(-3px);
}

.tax-news-image {
  height: 220px;
  overflow: hidden;
}

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

.tax-news-content {
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tax-news-content time {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.tax-news-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.4;
}

.tax-news-content p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.tax-read-more {
  display: inline-block;
  margin-top: 10px;
  color: #1e40af;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.tax-read-more:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

.tax-news-cta {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-hero-container {
    grid-template-columns: 1fr;
    height: auto;
  }

  .tax-hero-video {
    height: 300px;
  }

  .services-hero h1 {
    font-size: 2.5rem;
  }

  .tax-content-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tax-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    margin: 0;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto; /* Centers it within its parent */
  }
}

/* Accessibility */
.tax-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tax-sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  z-index: 1000;
}

/* Reset and Base Styles */
.svc-page * {
  box-sizing: border-box;
}

.svc-page {
  line-height: 1.6;
  background-color: #fff;
}

.svc-page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Button Styles */
.svc-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.svc-btn:focus-visible {
  outline: none; /* kill the UA default */
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.8),
    /* white halo */ 0 4px 12px rgba(0, 0, 0, 0.1); /* gentle lift */
}

.svc-btn::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  font-size: 1em;
  vertical-align: middle;
}

.svc-btn-primary {
  background: white;
  color: #1e3a8a;
  border: 2px solid transparent;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.svc-btn-primary:hover {
  background: black;
  color: white;
}

.svc-btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.svc-btn-secondary:hover {
  background: black;
  border: 2px solid black;
}

/* Header Styles */
.svc-header {
  background: #2563eb;
  color: white;
  padding: 12px 0;
  font-size: 14px;
}

.svc-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.svc-header-contact {
  display: flex;
  gap: 24px;
}

.svc-header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.svc-header-nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.svc-header-nav a:hover {
  color: #93c5fd;
}

/* Hero Section */
.svc-hero {
  background: linear-gradient(135deg, #1e3a8a 20%, #3b82f6 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 120px 0 112px;
}

.svc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.2) 0%,
    transparent 100%
  );
}

.svc-hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 96px;
  fill: white;
}

.svc-hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.svc-hero-text {
  opacity: 0;
  transform: translateX(-100px);

  animation: slideInFromLeft 0.8s ease-out 0.2s forwards;
}

.svc-hero-text h1 {
  font-size: 60px;
  font-weight: bold;
  line-height: 0.9;
  margin-bottom: 16px;
}

.svc-hero-text p {
  font-size: 20px;
  color: #dbeafe;
  margin-top: 30px;
  margin-bottom: 62px;
  line-height: 1.6;
}

.svc-hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.svc-hero-image {
  position: relative;
  margin-left: auto;
}

.svc-hero-image-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.svc-hero-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Breadcrumb */
.svc-breadcrumb-container {
  background: white;
  padding: 16px 0;
}

.svc-breadcrumb {
  max-width: 1280px; /* match your main content container */
  margin: 0 auto;
  padding: 0 24px;
  font-size: 14px;
  font-weight: bold;
  opacity: 0.8;
}

.svc-breadcrumb span {
  color: #1e3a8a;
}

.svc-breadcrumb a {
  color: black;
  text-decoration: none;
}

.svc-breadcrumb a:hover {
  text-decoration: underline;
}

/* Main Content */
.svc-main-content {
  padding: 54px 0;
}

.svc-content-grid {
  display: grid;
  grid-template-columns: 2fr 0.75fr;
  gap: 48px;
}

.svc-content-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.svc-content-section p {
  line-height: 1.7;
  margin-bottom: 20px;
  color: #475569;
}

.svc-key-points {
  margin-bottom: 48px;
}

.svc-key-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.svc-check-icon {
  width: 24px;
  height: 24px;
  color: #1e3a8a;
  flex-shrink: 0;
  margin-top: 4px;
}

.svc-key-point p {
  color: #374151;
  line-height: 1.6;
  margin: 0;
  font-size: 16px;
}

/* CTA Section */
.callback-cta-section {
  padding-bottom: 54px !important;
}

.svc-cta-section {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  color: white;
  padding: 32px;
  border-radius: 8px;
  margin-bottom: 48px;
}

.svc-cta-section h3 {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 24px;
}

.svc-cta-section p {
  color: #d1d5db;
  margin-bottom: 32px;
  line-height: 1.6;
}

.svc-cta-box {
  background: transparent;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 32px;
  color: white;
  position: relative;
  z-index: 1;

  /* animation setup */
  opacity: 0;
  transform: translateX(-100px);
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out;
}

.svc-cta-parallax-wrapper {
  width: 100%;
  background:
    linear-gradient(
      135deg,
      rgba(30, 58, 138, 0.7) 0%,
      rgba(59, 130, 246, 0.7) 100%
    ),
    url("../Assets/images/cta-bg2\ 18.19.40.jpg") center/cover no-repeat;
  background-attachment: fixed;
  border-radius: 8px;
  box-sizing: border-box;
  margin-top: 2.5rem;
}

.svc-cta-box.slide-in {
  animation: slideInFromLeft 0.8s ease-out 0.2s forwards;
}

.svc-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 32px;
  margin: 0 40px;
}

.svc-cta-phone {
  text-align: left;
}

.svc-cta-divider {
  position: relative; /* for the pseudo‐elements */
  flex: none;
  padding: 0 24px;
  color: white;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  /* no height here! let it size to the text */
}

/* common line styling */
.svc-cta-divider::before,
.svc-cta-divider::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 45px; /* control how tall each little stroke is */
  background: rgba(255, 255, 255, 0.608);
  left: 50%;
  transform: translateX(-50%);
}

/* line above the text */
.svc-cta-divider::before {
  top: 2; /* flush to the top edge */
  transform: translate(-50%, -100%); /* move it up so it sits above the “OR” */
}

/* line below the text */
.svc-cta-divider::after {
  bottom: 2; /* flush to the bottom edge */
  transform: translate(-50%, 100%); /* move it down so it sits below the “OR” */
}

.svc-cta-phone p {
  color: white;
  margin-bottom: 8px;
  font-size: 14px;
}
.svc-phone-number {
  display: flex;
  align-items: center;
  font-size: 1.875rem;
  font-weight: 300;
  gap: 12px;
}

.svc-btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  white-space: nowrap;
}

.large-text {
  font-size: 19px !important;
  display: flex;
  align-items: center;
}

/* Contact Form */
.svc-contact-form {
  border: 2px solid #fbbf24;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  background: white;
}

.svc-form-header {
  text-align: center;
  margin-bottom: 24px;
}

.svc-form-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 8px;
}

.svc-form-header h4 {
  font-size: 1.125rem;
  color: #fbbf24;
  font-weight: 500;
  margin-bottom: 8px;
}

.svc-form-header p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.svc-form-group {
  margin-bottom: 16px;
}

.svc-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

.svc-form-group input,
.svc-form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.svc-form-group input:focus,
.svc-form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.svc-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.svc-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #6b7280;
}

.svc-checkbox-group input[type="checkbox"] {
  margin-top: 4px;
}

.svc-btn-submit {
  width: 100%;
  background: #2563eb;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.svc-btn-submit:hover {
  background: #1d4ed8;
}

.svc-helpline {
  text-align: center;
  margin-top: 24px;
}

.svc-helpline p:first-child {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

.svc-helpline p:last-child {
  font-size: 1.5rem;
  font-weight: 300;
  color: #2563eb;
  margin: 0;
}

/* Other Services */
.svc-other-services {
  padding: 64px 0;
  background: #f9fafb;
}

.svc-services-header {
  text-align: center;
  margin-bottom: 48px;
}

.svc-services-header h2 {
  font-size: 2rem;
  font-weight: 300;
  color: #2563eb;
  margin-bottom: 16px;
}

.svc-services-divider {
  width: 96px;
  height: 4px;
  background: #fbbf24;
  margin: 0 auto;
}

.svc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.svc-service-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
  border-left: 4px solid transparent;
  transition: all 0.3s;
}

.svc-service-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left-color: #fbbf24;
  transform: translateY(-2px);
}

.svc-service-icon {
  width: 32px;
  height: 32px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  transition: background-color 0.3s;
}

.svc-service-icon::after {
  content: "";
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.svc-service-item:hover .svc-service-icon {
  background: #2563eb;
}

.svc-service-indicator {
  width: 16px;
  height: 16px;
  background: #fbbf24;
  border-radius: 50%;
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.3s;
}

.svc-service-item:hover .svc-service-indicator {
  opacity: 1;
}

/* Message Styles */
.svc-error-message {
  background: #fee2e2;
  color: #dc2626;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid #fecaca;
  font-size: 14px;
}

.svc-success-message {
  background: #dcfce7;
  color: #166534;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid #bbf7d0;
  font-size: 14px;
}

/*Contact Us Page */
/* Hero */
.cln-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.cln-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Container */
.ct-container {
  margin: 0 auto;
  padding: 100px 80px;
  background-color: white;
}

/* Contact Section */
.ct-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .ct-contact-wrapper {
    grid-template-columns: 1fr 2fr;
  }
}
/* Sidebar Container */
/* Sidebar Container */
.ct-sidebar {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  padding: 30px 25px;
  border-radius: 12px;
  color: #fff;
  font-family: "Helvetica Neue", sans-serif;
}

/* Sidebar Image */
.ct-sidebar-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

/* Contact Item Wrapper */
.ct-contact-item {
  position: relative;
  margin-bottom: 25px;
  padding: 10px 0;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  cursor: pointer;
  padding: 10px 20px;
}

/* Hover: slide + glow */
.ct-contact-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(6px);
}

/* Contact Label (e.g. “Call us on”) */
.ct-contact-label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #d4af37; /* subtle gold accent */
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

/* Hover: label turns white */
.ct-contact-item:hover .ct-contact-label {
  color: #fff;
}

/* Contact Value (e.g. phone number) */
.ct-contact-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-block;
  padding-bottom: 2px;
}

/* Link inside value */
.ct-contact-value a {
  position: relative;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Underline effect */
.ct-contact-value a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #d4af37;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

/* Hover: link turns gold + underline expands */
.ct-contact-item:hover .ct-contact-value a {
  color: #d4af37;
}
.ct-contact-item:hover .ct-contact-value a::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Form Section */
.ct-form-title {
  color: #d4af37;
  margin-bottom: 10px;
  text-align: center;
}
.ct-form-subtitle {
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}
.ct-form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 10px;
}
@media (min-width: 600px) {
  .ct-form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.ct-form-full {
  grid-template-columns: 1fr;
}
.ct-form input[type="text"],
.ct-form input[type="email"],
.ct-form select,
.ct-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}
.ct-form textarea {
  resize: vertical;
  min-height: 180px;
}
.ct-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

.ct-checkbox a {
  color: black;
  text-decoration: underline;
}

.ct-checkbox a:hover {
  color: #d4af37;
}

.ct-checkbox input {
  margin-right: 8px;
}

/* Base button */
.ct-submit-btn {
  position: relative;
  display: inline-block;
  padding: 12px 72px;
  margin-left: 10px;
  border: none;
  border-radius: 50px;
  background: #e0d09d;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  overflow: hidden;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Shine overlay */
.ct-submit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
}

/* Hover state: lift + color + shadow + trigger shine */
.ct-submit-btn:hover {
  background: #d4af37;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.ct-submit-btn:hover::after {
  animation: shine 0.75s forwards;
}

/* Pressed state */
.ct-submit-btn:active {
  transform: scale(0.96);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Keyframes for the shine sweep */
@keyframes shine {
  from {
    left: -100%;
  }
  to {
    left: 200%;
  }
}

/* Map Section */
.ct-map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-bottom: 40px;
}
.ct-map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Offices Section */
/* === Variables & Base Section Styling === */
:root {
  --ct-bg-light: #eef3f8;
  --ct-white: #ffffff;
  --ct-primary: #0a1d3f;
  --ct-accent: #d4af37;
  --ct-shadow: rgba(0, 0, 0, 0.08);
}

.ct-offices {
  background: var(--ct-bg-light);
  padding: 80px 20px;
  overflow: hidden;
  border-radius: 12px;
}
.ct-offices-main-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ct-primary);
  text-align: center;
  margin-bottom: 12px;
}
.ct-office-location-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ct-primary);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.ct-office-location-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--ct-accent);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* === Grid Layout & Entry Animation === */
.ct-office-list {
  max-width: 1200px;
  margin: 0 auto;
}
.ct-office-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ct-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--ct-shadow);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  animation: fadeInUp 0.8s ease-out both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* === Details Panel (Left) === */
.ct-office-details {
  position: relative;
  padding: 40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.ct-office-details::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 4px;
  height: calc(100% - 40px);
  background: var(--ct-accent);
  border-radius: 2px;
}
.ct-office-details p {
  margin: 16px 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}
.ct-office-details p strong {
  color: var(--ct-primary);
}

/* Lift details on hover */
.ct-office-item:hover .ct-office-details {
  transform: translateX(20px);
  box-shadow: 0 8px 24px var(--ct-shadow);
}

/* === Map Panel (Right) === */
.ct-office-map {
  position: relative;
  overflow: hidden;
}
.ct-office-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  transform: scale(1);
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
  filter: brightness(0.95);
}

/* Zoom & brighten on hover */
.ct-office-item:hover .ct-office-map iframe {
  transform: scale(1.04);
  filter: brightness(1);
}

/* === Responsive Adjustments === */
@media (max-width: 767px) {
  .ct-office-item {
    grid-template-columns: 1fr;
  }
  .ct-office-details {
    padding: 24px;
  }
  .ct-office-details::before {
    display: none;
  }
  .ct-office-map iframe {
    min-height: 240px;
  }
}

/* Reviews Section */
/* Carousel container */
.ct-review-carousel {
  position: relative;
  overflow: hidden;
  min-height: 160px;
}
.ct-reviews {
  background: #f5faff;
  padding: 40px 20px;
  border-radius: 12px;
  margin-top: 40px;
}
.ct-reviews-title {
  text-align: center;
  margin-bottom: 20px;
  color: #0a1d3f;
}
.ct-review-item {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.ct-stars {
  color: #adff00;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.ct-review-text {
  font-style: italic;
  margin-bottom: 10px;
}
.ct-review-author {
  font-weight: bold;
}

/* Each slide */
.ct-review-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  padding: 20px;
  box-sizing: border-box;
  transition: opacity 0.6s ease;
}

/* The visible slide */
.ct-review-item.active {
  opacity: 1;
  position: relative;
}

/* Dots */
.ct-dots {
  text-align: center;
  margin-top: 16px;
}
.ct-dots .ct-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.ct-dots .ct-dot.active {
  background: #0a1d3f;
}

/* === Mobile (up to 599px) === */
@media (max-width: 599px) {
  /* Container: tighter padding */
  .ct-container {
    padding: 30px 16px;
  }

  /* Contact: stack fully, center sidebar content */
  .ct-contact-wrapper {
    grid-template-columns: 1fr;
  }
  .ct-sidebar {
    text-align: center;
    padding: 20px 16px;
  }
  .ct-contact-item {
    justify-content: center;
    padding: 8px 0;
  }

  /* Form title/subtitle: left align on narrow */
  .ct-form-title,
  .ct-form-subtitle {
    text-align: left;
  }

  /* Form rows: single-column with tighter gaps */
  .ct-form-row {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 0;
  }

  /* Map: shorter on mobile */
  .ct-map-container {
    padding-bottom: 75%;
  }

  /* Offices: stack details/map, full-width card */
  .ct-office-item {
    grid-template-columns: 1fr !important;
    margin-bottom: 24px;
  }
  .ct-office-map iframe {
    min-height: 200px;
  }

  /* Reviews: smaller text, tighter padding */
  .ct-reviews {
    padding: 24px 16px;
  }
  .ct-review-item {
    padding: 16px;
  }
  .ct-review-text {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  .ct-stars {
    font-size: 1.3rem;
  }
  .ct-dots .ct-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
}

/* === Small tablets & large phones (600px–767px) === */
@media (min-width: 600px) and (max-width: 767px) {
  /* Forms: two-column for inputs, full-width selects/textareas */
  .ct-form-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .ct-form-full {
    grid-column: 1/ -1 !important;
  }

  /* Sidebar: reduce padding */
  .ct-sidebar {
    padding: 24px 20px;
  }
}

/* === Tablets & small desktops (768px–1023px) === */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Contact: sidebar + form two-column */
  .ct-contact-wrapper {
    grid-template-columns: 1fr 2fr;
  }
  .ct-container {
    padding: 60px 40px;
  }

  /* Offices: two-column details + map */
  .ct-office-item {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px;
  }
  .ct-office-details {
    padding: 32px;
  }
  .ct-office-map iframe {
    min-height: 280px;
  }

  /* Reviews: slightly bigger fonts */
  .ct-review-text {
    font-size: 1rem;
  }
  .ct-stars {
    font-size: 1.4rem;
  }
}

/* === Desktops (1024px and up) === */
@media (min-width: 1024px) {
  .ct-container {
    padding: 100px 80px;
  }

  /* Map: standard 16:9 */
  .ct-map-container {
    padding-bottom: 56.25%;
  }

  /* Offices: cap width, center content */
  .ct-offices {
    max-width: 1200px;
    margin: 0 auto 80px;
  }
  .ct-office-item {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px;
  }
  .ct-office-map iframe {
    min-height: 320px;
  }

  /* Reviews: comfortable padding */
  .ct-reviews {
    padding: 40px 60px;
  }
  .ct-review-carousel {
    min-height: 200px;
  }
}

/* prevent hero from hiding under fixed navbar on narrow phones */
@media (max-width: 375px) {
  .cln-hero-section {
    /* assume your navbar is ~64px tall — tweak as needed */
    padding-top: 64px !important;
    height: auto !important; /* let it grow to fit content */
  }
  /* if your actual content lives in .ct-container inside the hero: */
  .cln-hero-section .ct-container {
    margin-top: 16px; /* small extra gap below nav */
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .svc-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .svc-hero-text h1 {
    font-size: 3rem;
  }

  .svc-content-grid {
    grid-template-columns: 1fr;
  }

  .svc-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .svc-hero-image {
    display: none;
  }

  .svc-cta-divider::before {
    display: none;
  }
  .svc-cta-divider::after {
    display: none;
  }

  .svc-cta-parallax-wrapper {
    display: none;
  }

  .footer-badges {
    display: none;
  }
}

@media (max-width: 768px) {
  .svc-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .svc-hero-buttons .svc-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .svc-services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 640px) {
  .svc-page-container {
    padding: 0 16px;
  }

  .svc-header-content {
    flex-direction: column;
    gap: 16px;
  }

  .svc-header-nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .svc-hero {
    padding: 120px 0 80px;
  }

  .svc-hero-text h1 {
    font-size: 2.5rem;
  }

  .svc-hero-text p {
    font-size: 18px;
  }

  .svc-hero-buttons {
    flex-direction: column;
  }

  .svc-hero-image {
    display: none;
  }

  .svc-hero-image-circle {
    width: 250px;
    height: 250px;
  }

  .svc-main-content {
    padding: 32px 0;
  }

  .svc-content-section h2 {
    font-size: 1.75rem;
  }

  .svc-content-section p {
    font-size: 16px;
  }

  .svc-other-services {
    padding: 32px 0;
  }

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

  .svc-cta-content {
    flex-direction: column;
    gap: 24px;
  }

  .svc-cta-phone .svc-phone-number {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .svc-hero-text h1 {
    font-size: 2rem;
  }

  .svc-hero-image-circle {
    width: 200px;
    height: 200px;
  }

  .svc-contact-form {
    padding: 16px;
  }

  .svc-cta-section {
    padding: 24px 16px;
  }

  .svc-services-header h2 {
    font-size: 1.75rem;
  }
}

/* Print Styles */
@media print {
  .svc-header,
  .svc-hero-buttons,
  .svc-contact-form,
  .svc-cta-section {
    display: none;
  }

  .svc-hero {
    background: white;
    color: black;
    padding: 20px 0;
  }

  .svc-hero-text h1 {
    color: #2563eb;
  }

  .svc-page {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .svc-page * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles for Better Accessibility */
.svc-form-group input:focus,
.svc-form-group textarea:focus,
.svc-service-item:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .svc-hero {
    background: #000;
  }

  .svc-btn-primary {
    border: 2px solid #2563eb;
  }

  .svc-service-item {
    border: 1px solid #2563eb;
  }
}

/* ==========================================================================
   About Us Page Styles
   ========================================================================== */

/* Container for the entire about section */
.about-main {
  width: 100%;
  background: #fff;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   Hero & Tagline
   ========================================================================== */

.about-hero {
  text-align: center;
  padding-top: 110px; /* account for 100px nav + 10px gap */
  padding-bottom: 60px;
  background-color: #fff;
}

.about-hero-art {
  display: block;
  margin: 0 auto 40px;
  max-width: 460px;
  width: 100%;
  height: auto;
}

.about-tagline {
  /* vertical blue gradient clipped into text */
  background: linear-gradient(to bottom, #007acc 0%, #005ea5 50%, #003f7f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-size: 2.25rem;
  font-weight: 300; /* thin weight */
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto 30px;
  padding-bottom: 10px;
  text-align: center;
}

/* ==========================================================================
   Intro Paragraphs
   ========================================================================== */

.about-intro {
  color: #333;
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 1150px;
  margin: 0 auto 30px;
  text-align: center;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Gallery: 3 images in one row
   ========================================================================== */

.about-gallery {
  background: #fff;
  padding: 2rem 1rem;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
  margin: 0 20px;
}

.about-gallery-item {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0 cover 40%;
}

.about-gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes appear {
  from {
    opacity: 0;
    scale: 0.5;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

/* ---------------------------------------------------
   About Values List
   --------------------------------------------------- */
.about-values-list {
  margin: 0;
  padding: 0;
  margin-top: 100px;
  background-color: #c2ebf2;
}

.about-values-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 8px;
  padding-top: 100px;
  color: #111;
}

.about-values-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: #111;
}

/* Each full-screen panel */
.about-values-item {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
  gap: 30px;
}

@keyframes revealFromCenter {
  from {
    clip-path: inset(0 50% 0 50%);
    transform: scale(0.96);
  }
  to {
    clip-path: inset(0 0% 0 0%);
    transform: scale(1);
  }
}

.reveal-on-scroll {
  overflow: hidden;
  view-timeline-name: --revealTimeline;
  view-timeline-axis: block;

  animation-name: revealFromCenter;
  animation-timeline: --revealTimeline;
  animation-range: entry 15% cover 40%;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
  transform-origin: center;
}

.about-values-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: clip-path 0.4s ease;
}

/* Image styling */
.about-values-image {
  width: 100%;
}
.about-values-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Text styling */
.about-values-text {
  width: 100%;
  text-align: center;
}
.about-values-text h3 {
  font-size: 2rem;
  margin-bottom: 0.5em;
  color: #111;
}
.about-values-text .subtitle {
  font-weight: 600;
  margin-bottom: 1em;
  color: #111;
}
.about-values-text p {
  margin-bottom: 1.5em;
  line-height: 1.6;
  color: #111;
}
.about-values-learn-more {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: #0073e6;
  transition: color 0.2s ease;
}
.about-values-learn-more:hover {
  color: #005bb5;
}

/* ==========================================================================
   Leadership Section
   ========================================================================== */
.leader-section {
  padding: 80px 20px;
  text-align: center;
  min-height: 100vh;
}

.leader-heading {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 500;
  color: #111;
  padding-top: 100px;
}

.leader-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.leader-profile {
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
}

.leader-profile img {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.scale-in {
  animation-name: scaleIn;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 30% cover 60%;
  transform-origin: center;
  scale: 0.7;
}

@keyframes scaleIn {
  from {
    scale: 0.7;
    opacity: 0.6;
  }
  to {
    scale: 1;
    opacity: 1;
  }
}

.leader-name {
  font-size: 1.25rem;
  color: #0066b2;
  margin-bottom: 8px;
}

.leader-title {
  font-size: 0.95rem;
  color: #444;
}

.leader-description {
  flex: 1 1 380px;
  max-width: 600px;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.about-contact-cta {
  background-color: #caf0f8; /* mint blue tone */
  padding: 80px 20px;
  text-align: center;
  color: #023e8a;
}

.about-contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.about-contact-content p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 32px;
  color: #023e8a;
}

.about-contact-button {
  display: inline-block;
  padding: 12px 28px;
  background-color: #1a73e8; /* Primary blue, matches header */
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 9999px; /* pill-style like your nav button */
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.about-contact-button:hover {
  background-color: #0f5dc7;
  transform: translateY(-1px);
}

/* Tablet & up: two-column and alternate order */
@media (min-width: 768px) {
  .about-values-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 60px 40px;
    gap: 40px;
  }
  .about-values-image,
  .about-values-text {
    width: 50%;
  }
  /* flip even items */
  .about-values-item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* Desktop tweaks */
@media (min-width: 1024px) {
  .about-values-item {
    padding: 80px 60px;
  }
  .about-values-text h3 {
    font-size: 2.5rem;
  }
}

/* Mobile spacing fallback */
@media (max-width: 480px) {
  .about-values-heading {
    padding-bottom: 124px;
  }
  .leader-profile img {
    width: 280px;
    height: 280px;
  }
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 1024px) {
  .about-gallery-grid {
    /* collapse to two columns on medium screens */
    grid-template-columns: 1fr 1fr;
  }
  .about-gallery-item {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .about-gallery-grid {
    /* single column on small screens */
    grid-template-columns: 1fr;
  }
  .about-gallery-item {
    height: 250px;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding-top: 180px;
    padding-bottom: 40px;
  }
  .about-hero-art {
    max-width: 360px;
    margin-bottom: 30px;
  }
  .about-tagline {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  .about-intro {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  /* collapse gallery into single column */
  .about-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding-top: 100px;
    padding-bottom: 30px;
  }
  .about-hero-art {
    max-width: 280px;
    margin-bottom: 20px;
  }
  .about-tagline {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  .about-intro {
    font-size: 0.9rem;
    margin-bottom: 6px;
    padding: 0 10px;
  }
}

/* === Privacy Section Styles === */

.privacy-section {
  padding: 60px 20px;
  background: white;
  color: #222;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.privacy-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #003566;
}

.privacy-intro {
  margin-bottom: 30px;
  font-size: 1rem;
}

.privacy-heading {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #003566; /* Match main title color */
}

.privacy-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 25px;
}

.privacy-list li {
  margin-bottom: 12px;
  font-size: 1rem;
}

.privacy-container p {
  margin-bottom: 20px;
  font-size: 1rem;
}

/* Responsive Typography */
@media screen and (max-width: 768px) {
  .privacy-title {
    font-size: 1.6rem;
  }
}
