/* ========================================
   THEME AIT - Main Stylesheet
   Observatoire des Innovations dans les Transports
   Inspired by Huona Transport Theme
   ======================================== */

/* ========================================
   ROOT & CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  --primary-color: #5AAFA9;
  --secondary-color: #1B2A4A;
  --accent-color: #F4A124;
  --text-color: #555555;
  --heading-color: #1B2A4A;
  --light-bg: #F8F9FA;
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ========================================
   BASE & RESET
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.8;
}

/* ========================================
   CONTAINER & GRID
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* ========================================
   TYPOGRAPHY & LINKS
   ======================================== */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 14px 32px;
  border-radius: 4px;
}

.btn-primary:hover {
  background-color: #4a9b98;
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  padding: 14px 32px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
}

/* ========================================
   SECTION UTILITIES
   ======================================== */
.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--primary-color);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: 42px;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 20px;
}

.section-desc {
  max-width: 650px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.8;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
  background-color: var(--secondary-color);
  color: white;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(90, 175, 169, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 25px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item i {
  color: var(--primary-color);
  font-size: 14px;
}

.top-bar-right {
  display: flex;
  gap: 0;
}

.social-link {
  padding: 6px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  text-transform: uppercase;
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
}

.social-link:last-child {
  border-right: none;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
  background-color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
}

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

.site-branding {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.site-logo img {
  max-height: 50px;
  width: auto;
}

.site-title {
  font-size: 28px;
  font-family: var(--heading-font);
  color: var(--secondary-color);
  margin: 0;
  font-weight: 700;
}

.site-title a {
  color: var(--secondary-color);
}

.site-title a:hover {
  color: var(--primary-color);
}

.header-cta-info {
  border-left: 2px solid var(--primary-color);
  padding-left: 15px;
  display: flex;
  flex-direction: column;
}

.header-cta-label {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 2px;
}

.header-cta-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
}

/* Main Navigation */
.main-navigation {
  flex: 1;
  margin: 0 40px;
}

.main-navigation ul.primary-menu {
  list-style: none;
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.main-navigation ul.primary-menu li {
  position: relative;
}

.main-navigation ul.primary-menu li a {
  padding: 10px 15px;
  font-weight: 500;
  color: var(--heading-color);
  transition: var(--transition);
  display: block;
}

.main-navigation ul.primary-menu li a:hover,
.main-navigation ul.primary-menu li.current-menu-item > a {
  color: var(--primary-color);
}

/* Submenu */
.main-navigation .sub-menu {
  position: absolute;
  background-color: white;
  box-shadow: var(--shadow-md);
  min-width: 220px;
  display: none;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  border-radius: 4px;
  z-index: 100;
}

.main-navigation li:hover > .sub-menu {
  display: block;
}

.main-navigation .sub-menu li a {
  padding: 12px 20px;
  color: var(--heading-color);
  font-weight: 400;
}

.main-navigation .sub-menu li a:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  margin-left: auto;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: var(--heading-color);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
}

.single-slide {
  height: 85vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.single-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 42, 74, 0.75) 0%,
    rgba(27, 42, 74, 0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-left: 5%;
}

.hero-subtitle {
  color: var(--primary-color);
  font-size: 18px;
  font-style: italic;
  font-family: var(--heading-font);
  margin-bottom: 15px;
}

.hero-title {
  color: white;
  font-size: 58px;
  line-height: 1.15;
  font-family: var(--heading-font);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 550px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  gap: 15px;
  align-items: center;
}

/* Hero Navigation Buttons */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.hero-nav-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

/* Hero Dots/Indicators */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
  position: relative;
  margin-top: -60px;
  z-index: 5;
  padding-bottom: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.feature-box {
  background-color: var(--primary-color);
  padding: 40px 30px;
  text-align: center;
  color: white;
  transition: var(--transition);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-box:last-child {
  border-right: none;
}

.feature-box:hover {
  background-color: var(--secondary-color);
}

.feature-box i {
  font-size: 40px;
  margin-bottom: 18px;
  display: block;
}

.feature-box h4 {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: var(--heading-font);
  color: white;
}

.feature-box p {
  font-size: 14px;
  opacity: 0.85;
  margin: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
  padding: var(--section-padding);
  background-color: white;
}

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

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 130px;
  height: 130px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-lg);
}

.badge-number {
  font-size: 42px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.badge-text {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-content .about-subtitle {
  color: var(--primary-color);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-weight: 600;
}

.about-content .about-title {
  font-size: 38px;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.about-content .about-desc {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 15px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-item i {
  color: var(--primary-color);
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.about-feature-item h5 {
  font-size: 16px;
  margin-bottom: 3px;
}

.about-feature-item p {
  font-size: 14px;
  color: var(--text-color);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.why-choose-section {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.why-choose-item {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  display: flex;
  gap: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.why-choose-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.why-choose-item .item-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background-color: rgba(90, 175, 169, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 22px;
}

.why-choose-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
  font-family: var(--heading-font);
}

.why-choose-item p {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
}

/* ========================================
   SERVICES CAROUSEL SECTION
   ======================================== */
.services-carousel-section {
  padding: var(--section-padding);
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 25px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.service-card {
  min-width: calc(25% - 19px);
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  height: 200px;
  overflow: hidden;
  background-color: var(--light-bg);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 25px;
}

.service-card-content h4 {
  font-size: 18px;
  font-family: var(--heading-font);
  margin-bottom: 10px;
}

.service-card-content p {
  font-size: 14px;
  color: var(--text-color);
  margin: 0;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: none;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 10;
}

.carousel-nav-btn:hover {
  background-color: var(--secondary-color);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(27, 42, 74, 0.88);
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.stat-box .stat-number {
  font-size: 56px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-box .stat-suffix {
  font-size: 24px;
  font-weight: 400;
  color: white;
}

.stat-box .stat-title {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0 8px;
  font-family: var(--heading-font);
}

.stat-box .stat-desc {
  font-size: 14px;
  opacity: 0.75;
}

/* ========================================
   SERVICES GRID SECTION
   ======================================== */
.services-grid-section {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

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

.service-grid-card {
  background-color: white;
  padding: 35px 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.service-grid-card:hover {
  border-bottom-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-grid-card .card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: rgba(90, 175, 169, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-grid-card:hover .card-icon {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.service-grid-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  font-family: var(--heading-font);
}

.service-grid-card p {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.6;
}

.service-grid-card .read-more {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-block;
}

.service-grid-card .read-more:hover {
  padding-left: 5px;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects-section {
  padding: var(--section-padding);
}

.projects-carousel {
  position: relative;
  overflow: hidden;
}

.projects-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.project-card {
  min-width: calc(25% - 15px);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 350px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 42, 74, 0) 0%,
    rgba(27, 42, 74, 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay .project-category {
  color: var(--primary-color);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.project-overlay h4 {
  color: white;
  font-size: 20px;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-section {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

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

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.process-step {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.step-number {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.step-content h4 {
  font-size: 20px;
  font-family: var(--heading-font);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.8;
}

.process-image {
  text-align: center;
}

.process-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

/* ========================================
   COUNTER SECTION
   ======================================== */
.counter-section {
  padding: 70px 0;
  background-color: var(--primary-color);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  color: white;
}

.counter-item .counter-number {
  font-size: 50px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 8px;
}

.counter-item .counter-title {
  font-size: 15px;
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}

.testimonial-stars {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 17px;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 25px;
  position: relative;
  padding: 0 40px;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  position: absolute;
  font-size: 48px;
  color: var(--primary-color);
  opacity: 0.3;
}

.testimonial-text::before {
  left: 0;
  top: -10px;
}

.testimonial-text::after {
  right: 0;
  bottom: -20px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.author-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.author-name {
  font-weight: 700;
  color: var(--heading-color);
  font-size: 18px;
  font-family: var(--heading-font);
}

.author-role {
  font-size: 14px;
  color: var(--text-color);
}

.testimonials-nav {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(90, 175, 169, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
  padding: var(--section-padding);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.faq-image-side {
  position: relative;
}

.faq-image-side img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.faq-question {
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--heading-color);
  font-size: 16px;
  font-family: var(--heading-font);
  transition: var(--transition);
  background-color: white;
}

.faq-question:hover {
  color: var(--primary-color);
  background-color: var(--light-bg);
}

.faq-toggle {
  transition: transform 0.3s ease;
  font-size: 20px;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  line-height: 1.8;
  color: var(--text-color);
  font-size: 15px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

/* ========================================
   QUOTE FORM SECTION
   ======================================== */
.quote-section {
  padding: var(--section-padding);
  background-color: var(--secondary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background-color: rgba(90, 175, 169, 0.05);
  border-radius: 50%;
}

.quote-badges {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.quote-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 14px;
}

.quote-badge i {
  color: var(--primary-color);
  font-size: 18px;
}

.quote-form-wrap {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.quote-form .form-row.full {
  grid-template-columns: 1fr;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 15px;
  font-family: var(--body-font);
  transition: var(--transition);
}

.quote-form input::placeholder,
.quote-form select::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  background-color: rgba(255, 255, 255, 0.12);
}

.quote-form textarea {
  min-height: 120px;
  resize: vertical;
}

.quote-form .submit-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 16px 40px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
}

.quote-form .submit-btn:hover {
  background-color: #4a9b98;
}

/* ========================================
   BLOG SECTION
   ======================================== */
.blog-section {
  padding: var(--section-padding);
  background-color: var(--light-bg);
}

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

.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--light-bg);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.blog-card-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #999;
  margin-bottom: 12px;
}

.blog-meta a {
  color: #999;
  transition: var(--transition);
}

.blog-meta a:hover {
  color: var(--primary-color);
}

.blog-card-content h3 {
  font-size: 20px;
  font-family: var(--heading-font);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-content p {
  color: var(--text-color);
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.read-more:hover {
  gap: 8px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background-color: var(--secondary-color);
  color: rgba(255, 255, 255, 0.75);
}

.footer-main {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo img {
  max-height: 50px;
  margin-bottom: 20px;
  display: block;
}

.footer-site-title {
  color: white;
  font-size: 24px;
  font-family: var(--heading-font);
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.footer-title {
  color: white;
  font-size: 20px;
  font-family: var(--heading-font);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 700;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact-item i {
  color: var(--primary-color);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 40px;
}

.copyright {
  text-align: center;
  font-size: 13px;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--secondary-color);
}

/* ========================================
   POST/ARCHIVE PAGES
   ======================================== */
.post-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  margin-bottom: 30px;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.post-card-image {
  width: 250px;
  height: 250px;
  flex-shrink: 0;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.post-card-content h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.post-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #999;
  margin-bottom: 12px;
}

.post-excerpt {
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.page-numbers {
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: white;
  color: var(--heading-color);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  text-align: center;
}

.page-numbers:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.page-numbers.current {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.prev,
.next {
  font-weight: 600;
}

/* ========================================
   SINGLE POST PAGES
   ======================================== */
.single-post-header {
  padding: 60px 0;
  background-color: var(--light-bg);
  border-bottom: 2px solid rgba(90, 175, 169, 0.1);
}

.single-post-header h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.single-post-meta {
  display: flex;
  gap: 25px;
  font-size: 14px;
  color: var(--text-color);
  flex-wrap: wrap;
}

.single-post-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 16px;
}

.single-post-content p {
  margin-bottom: 20px;
}

.single-post-content h2 {
  font-size: 32px;
  margin: 40px 0 20px;
}

.single-post-content h3 {
  font-size: 24px;
  margin: 30px 0 15px;
}

.single-post-content ul,
.single-post-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.single-post-content li {
  margin-bottom: 10px;
}

.single-post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin: 30px 0;
  background-color: var(--light-bg);
  font-style: italic;
  color: var(--text-color);
}

/* WordPress Block Classes */
.alignwide {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 20px;
}

.alignfull {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 20px;
}

.wp-block-image {
  margin-bottom: 20px;
}

.wp-block-image img {
  border-radius: 6px;
  max-width: 100%;
  height: auto;
}

.wp-block-image figcaption {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
  text-align: center;
  font-style: italic;
}

.wp-block-quote {
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin: 30px 0;
  background-color: var(--light-bg);
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-accent {
  color: var(--accent-color);
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

.bg-light {
  background-color: var(--light-bg);
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 15px;
}

.mt-2 {
  margin-top: 30px;
}

.mt-3 {
  margin-top: 45px;
}

.mt-4 {
  margin-top: 60px;
}

.mt-5 {
  margin-top: 80px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 15px;
}

.mb-2 {
  margin-bottom: 30px;
}

.mb-3 {
  margin-bottom: 45px;
}

.mb-4 {
  margin-bottom: 60px;
}

.mb-5 {
  margin-bottom: 80px;
}

.pt-0 {
  padding-top: 0;
}

.pt-1 {
  padding-top: 15px;
}

.pt-2 {
  padding-top: 30px;
}

.pt-3 {
  padding-top: 45px;
}

.pt-4 {
  padding-top: 60px;
}

.pt-5 {
  padding-top: 80px;
}

.pb-0 {
  padding-bottom: 0;
}

.pb-1 {
  padding-bottom: 15px;
}

.pb-2 {
  padding-bottom: 30px;
}

.pb-3 {
  padding-bottom: 45px;
}

.pb-4 {
  padding-bottom: 60px;
}

.pb-5 {
  padding-bottom: 80px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.display-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.gap-1 {
  gap: 10px;
}

.gap-2 {
  gap: 20px;
}

.gap-3 {
  gap: 30px;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.rounded {
  border-radius: 8px;
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

/* ========================================
   RESPONSIVE MEDIA QUERIES
   ======================================== */
@media (max-width: 1199px) {
  .container {
    padding: 0 30px;
  }

  .features-grid,
  .services-grid,
  .stats-grid,
  .counter-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    gap: 40px;
  }

  .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 36px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    z-index: 999;
  }

  .main-navigation.active {
    display: flex;
  }

  .main-navigation ul.primary-menu {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation ul.primary-menu li a {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-bg);
  }

  .main-navigation .sub-menu {
    position: static;
    display: none;
    background-color: var(--light-bg);
    box-shadow: none;
    padding: 10px 15px;
    margin: 0;
  }

  .main-navigation li.active > .sub-menu {
    display: block;
  }

  .main-navigation .sub-menu li a {
    padding: 10px 0;
    font-size: 14px;
  }

  .top-bar-left {
    flex-direction: column;
    gap: 10px;
  }

  .features-grid,
  .services-grid,
  .stats-grid,
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-box,
  .feature-box:last-child {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .feature-box:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image-wrap {
    order: -1;
  }

  .experience-badge {
    position: static;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
  }

  .service-card {
    min-width: calc(50% - 13px);
  }

  .carousel-wrapper {
    padding: 0 60px;
  }

  .carousel-prev {
    left: 0;
  }

  .carousel-next {
    right: 0;
  }

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

  .blog-card {
    flex-direction: column;
  }

  .blog-card-image {
    height: 250px;
  }

  .post-card {
    flex-direction: column;
  }

  .post-card-image {
    width: 100%;
    height: 250px;
  }

  .quote-form .form-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-prev,
  .hero-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  .stats-grid,
  .counter-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .header-cta-info {
    display: none;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 15px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 12px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-section {
    min-height: 500px;
  }

  .single-slide {
    height: 70vh;
    min-height: 400px;
  }

  .feature-box {
    padding: 25px 15px;
  }

  .feature-box h4 {
    font-size: 16px;
  }

  .feature-box p {
    font-size: 12px;
  }

  .why-choose-item {
    padding: 20px;
    gap: 15px;
  }

  .why-choose-item h4 {
    font-size: 16px;
  }

  .service-card {
    min-width: 100%;
  }

  .service-card-image {
    height: 150px;
  }

  .service-card-content {
    padding: 15px;
  }

  .blog-grid,
  .blog-card {
    display: block;
  }

  .blog-card-image {
    height: 200px;
  }

  .blog-card-content {
    padding: 15px;
  }

  .quote-badges {
    gap: 10px;
  }

  .quote-badge {
    font-size: 12px;
    padding: 8px 15px;
  }

  .quote-form input,
  .quote-form textarea,
  .quote-form select {
    padding: 12px 15px;
    font-size: 14px;
  }

  .testimonial-text {
    font-size: 15px;
    padding: 0 20px;
  }

  .footer-main {
    padding: 50px 0 30px;
  }

  .footer-grid {
    gap: 25px;
  }

  .faq-question {
    padding: 15px 18px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 18px;
    font-size: 14px;
  }

  .top-bar {
    font-size: 11px;
  }

  .top-bar-left {
    gap: 12px;
  }

  .top-bar-right {
    display: none;
  }

  .site-title {
    font-size: 22px;
  }

  .stat-box .stat-number {
    font-size: 40px;
  }

  .counter-item .counter-number {
    font-size: 36px;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .top-bar,
  .site-header,
  .back-to-top,
  .main-navigation,
  .quote-section,
  .carousel-wrapper,
  .hero-nav-btn,
  .hero-dots {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.6;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  .container {
    max-width: 100%;
  }
}
