/*--------------------------------------------------------------
# Font, Color Variables & Smooth Scroll
--------------------------------------------------------------*/
:root {
  /* Fonts */
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;

  /* Global Colors */
  --background-color: #ffffff;
  --default-color: #666666;
  --heading-color: #333333;
  --accent-color: #b30000;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  /* Navigation Menu Colors */
  --nav-color: #ffffff;
  --nav-hover-color: #b30000;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #666666;
  --nav-dropdown-hover-color: #b30000;

  /* Smooth scroll */
  scroll-behavior: smooth;
}

/* Color Presets - Can be applied to specific sections */
.light-background {
  --background-color: #f7f7f7;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}


/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #b30021;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

.header {
  --background-color: transparent;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: transparent;
  padding: 0;
  transition: all 0.4s ease-in-out;
  z-index: 997;
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 90%;
  border-radius: 16px;
  box-shadow: none;
}

.scrolled .header {
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Logo */
.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  border-left: 4px solid var(--accent-color);
  padding-left: 8px;
}

/*--------------------------------------------------------------
# Navigation Menu - Desktop
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu {
    padding: 10px 30px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-between;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 13px;
    font-family: var(--nav-font);
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation (unchanged)
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    font-size: 32px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9999;
  }
}



/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.footer a:hover {
  color: #fff;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
}

.footer-links {
  margin-top: 10px;
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 85px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section (Split-Screen)
--------------------------------------------------------------*/
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
  padding: 0 2rem;
  position: relative;
  background: var(--background-color); /* your dark background */
  color: #fff;
  overflow: visible;
  z-index: 1;
}

.hero-split .hero-content {
  flex: 1 1 50%;
  max-width: 600px;
  z-index: 2;
}
.hero-split .hero-content h1,
.hero-split .hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeInDown 1s both;
}
.hero-split .hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeInDown 1s both 0.2s;
}
.hero-split .btn-get-started {
  display: inline-block;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background 0.3s;
  animation: fadeInUp 1s both 0.4s;
}
.hero-split .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero-split .hero-image {
  flex: 1 1 45%;
  text-align: right;
  z-index: 2;
}
.hero-split .hero-image img {
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  object-fit: cover;
}

/* Slanted divider at bottom of hero */
.hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 80px;
  background: var(--bg-section);
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-split {
    flex-direction: column-reverse;
    text-align: center;
    padding: 2rem 1rem;
  }
  .hero-split .hero-image {
    margin-bottom: 2rem;
  }
  .hero-split .hero-content h1,
  .hero-split .hero-content h2 {
    font-size: 2rem;
  }
}

/*————————————————————————
  Mobile: extra space after hero
————————————————————————*/
@media (max-width: 768px) {
  /* 1) Push the hero down so the next section's curve/button can't tuck under it */
  #hero,                /* or whatever your hero wrapper’s ID/class is */
  .hero-section {       /* fallback if you used a .hero-section class */
    padding-bottom: 4rem;
  }

  /* 2) Nudge the next section (services, about, etc) away from the hero */
  #services,            /* swap for the actual ID of your next section */
  .about,               /* fallback if it’s an “about” section */
  .services-section {   /* or a generic .section class you’re using */
    padding-top: 2rem;
  }
}



/*--------------------------------------------------------------
# About + Stats Section
--------------------------------------------------------------*/
.about {
  background: #fff;
  position: relative;
  z-index: 10;
  padding: 140px 0 80px; /* top padding for floating header + bottom for spacing */
  margin-top: -80px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -25px 40px rgba(0, 0, 0, 0.15);
  overflow: visible;
}

/* Floating box "Who We Are" */
.section-header-box {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  padding: 20px clamp(40px, 10vw, 120px);
  border-radius: 10px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.section-header-box h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
}

/* Introductory tagline */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title p {
  color: #555;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

/* About content */
.about-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--heading-color, #222);
}
.about-subtitle {
  font-size: 18px;
  color: var(--accent-color);
  margin-bottom: 20px;
  font-weight: 500;
}
.about-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}
.btn-contact-us {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s;
  margin-bottom: 40px;
}
.btn-contact-us:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* Inline stats grid */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2rem;
}
.stat-item {
  flex: 1 1 40%;
  max-width: 120px;
  text-align: center;
}
.stat-item h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0 0 5px;
}
.stat-item p {
  margin: 0;
  font-size: 14px;
  color: #777;
  text-transform: capitalize;
}

/* About image */
.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/*--------------------------------------------------------------
# Responsive adjustments
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .stats-grid {
    justify-content: space-between;
  }
  .stat-item {
    flex: 1 1 45%;
    max-width: none;
  }
}
@media (max-width: 768px) {
  .about {
    padding-top: 100px;
  }
  .stats-grid {
    justify-content: space-around;
  }
  .stat-item {
    flex: 1 1 45%;
  }
}
@media (max-width: 576px) {
  .stats-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .stat-item {
    flex: none;
    width: 100px;
  }
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services.section {
  padding: 80px 0;
  background: #f8f8f8;
}

.services .section-title {
  text-align: center;
  margin-bottom: 40px;
}
.services .section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #222;
}
.services .section-title p {
  font-size: 1rem;
  color: #666;
  font-style: italic;
}

/* Grid wrapper */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Each row */
.service-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Base flip-card container */
.service-card {
  position: relative;
  width: calc(33.333% - 20px);
  min-width: 260px;
  perspective: 1000px;
  outline: none;            /* allow focus without ugly outline */
}

/* Make the service-card focusable for tap/keyboard */
.service-card.flip-hover {
  cursor: pointer;
}
.service-card.flip-hover {
  tabindex: 0;
}

/* Inner flippable wrapper */
.card-inner {
  position: relative;
  width: 100%;
  min-height: 260px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

/* Flip on hover or focus-within (keyboard & tap) */
.service-card.flip-hover:hover  .card-inner,
.service-card.flip-hover:focus-within .card-inner {
  transform: rotateY(180deg);
}

/* Faces */
.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: #fff;
  border: 2px solid #b30021;
  border-radius: 10px;
  backface-visibility: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Back face initially rotated */
.card-back {
  transform: rotateY(180deg);
}

/* Icon circle */
.card-front .icon {
  font-size: 1.8rem;
  background: #b30021;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* Headings */
.card-front h4,
.card-back h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 8px 0;
  color: #222;
}

/* Body text */
.card-front p,
.card-back p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #444;
  margin: 4px 0;
  text-align: center;
}

/* “Click Me” hint under the front face */
.flip-hint {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #b30021;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.service-card.flip-hover:hover .flip-hint,
.service-card.flip-hover:focus-within .flip-hint {
  opacity: 1;
}

/* Back-face link */
.btn-link {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #b30021;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
.btn-link:hover {
  color: #7a0014;
}

/* Wide bottom card override */
.service-card.wide-card .card-front,
.service-card.wide-card .card-back {
  border-width: 2px;
}

/* Responsiveness */
@media (max-width: 992px) {
  .service-card {
    width: calc(50% - 20px);
  }
}
@media (max-width: 600px) {
  .service-card {
    width: 100%;
  }
}





/*--------------------------------------------------------------
# Team Section (Group Photo + Stats)
--------------------------------------------------------------*/
.team-section {
  padding: 80px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.team-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

/* 1) Title & Tagline */
.team-section__title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}
.team-section__tagline {
  font-size: 1.1rem;
  color: #555;
  font-style: italic;
  margin-bottom: 2rem;
}

/* 2) Image Wrapper + Subtle Overlay */
.team-section__image-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-height: 500px;
}
.team-section__image-wrapper::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
  pointer-events: none;
}

/* Ensure the image fills its container */
.team-section__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;    /* ↓ new */
  object-fit: cover;    /* ensures it crops nicely if its aspect ratio doesn’t match exactly */
}

/* 3) Description with fade-up */
.team-section__description {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards 0.3s;
}

/* Fade-up keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 4) Stats Grid with mini “cards” */
.team-section__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.team-stat {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  width: 140px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.team-stat__number {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-color, #b30021);
}

.team-stat__label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

/* 5) Breathing room above stats */
.team-section__description + .team-section__stats {
  padding-top: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .team-section__image-wrapper {
    margin-bottom: 2rem;
  }
  .team-section__description {
    margin-bottom: 2rem;
  }
}
@media (max-width: 768px) {
  .team-section__title {
    font-size: 2.25rem;
  }
  .team-section__tagline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .team-section__description {
    font-size: 0.95rem;
  }
  .team-section__stats {
    gap: 1.5rem;
  }
  .team-stat {
    width: calc(50% - 1.5rem);
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .team-stat {
    width: 100%;
    max-width: 240px;
  }
}





/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials-section {
  padding: 80px 0;
  background: #fff;
}

.testimonials-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section Header */
.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: #555;
  font-style: italic;
}

/* Testimonials Grid */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}

/* Testimonial Card */
.testimonial-card {
  position: relative;
  flex: 1 1 350px;
  max-width: 380px;
  background: #fafafa;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 3rem 2rem 2rem;
  text-align: center;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Avatar */
.testimonial-avatar {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-color, #b30021);
  background: #fff;
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.testimonial-content {
  margin-top: 2.5rem;
}

.testimonial-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.25rem;
}

.testimonial-role {
  display: block;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: #444;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}







/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
  padding: 80px 0;
  background: #fdfdfd;
}
.contact-section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.contact-section__header h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #222;
}
.contact-section__header p {
  font-size: 1rem;
  color: #555;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Body grid */
.contact-section__body {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Info column */
.contact-info {
  flex: 1 1 300px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info__item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s;
}
.contact-info__item:hover {
  transform: translateY(-5px);
}
.contact-info__item i {
  font-size: 1.5rem;
  color: #b30021;
  margin-bottom: 0.75rem;
  display: inline-block;
}
.contact-info__item h4 {
  margin: 0.25rem 0;
  font-size: 1.1rem;
  color: #222;
  font-weight: 600;
}
.contact-info__item p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}
.contact-info__item a {
  color: #b30021;
  text-decoration: none;
}
.contact-info__item a:hover {
  text-decoration: underline;
}

/* Form column */
.contact-form {
  flex: 1 1 350px;
  max-width: 500px;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.contact-form__row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.contact-form__row input,
.contact-form__row textarea {
  flex: 1 1 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}
.contact-form__row input:focus,
.contact-form__row textarea:focus {
  outline: none;
  border-color: #b30021;
}
.btn-contact {
  display: inline-block;
  background: #b30021;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-contact:hover {
  background: #7a0014;
}

/*————————————————————————
  Responsive Adjustments
————————————————————————*/
@media (max-width: 992px) {
  .contact-section__body {
    flex-direction: column;
    align-items: center;
  }
  .contact-form__row {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 1rem; /* more vertical breathing room */
  }
  /* Stack info + form */
  .contact-section__body {
    flex-direction: column;
    gap: 2.5rem;
  }
  .contact-info,
  .contact-form {
    max-width: 100%;
    width: 100%;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .contact-form__row input,
  .contact-form__row textarea {
    width: 100%;
    box-sizing: border-box;
  }
  .btn-contact {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
  }
}

