/* ====================================
 * Color System - Bati Polytech Theme - OPTIMIZED RESPONSIVE VERSION
 * ==================================== */
 :root {
  /* Primary Colors */
  --primary-blue: #00AEEF;   /* The blue/cyan from POLYTECH */
  --primary-orange: #FF8200; /* The orange/amber from BATI */
  --primary-color: var(--primary-blue);
  --secondary-color: #e53935;
  
  /* Secondary Colors - Variations */
  --secondary-blue-light: #4CCBF4;
  --secondary-blue-dark: #0076A8;
  --secondary-orange-light: #FFA64D;
  --secondary-orange-dark: #CC6800;
  
  /* Text and Background Colors */
  --heading-color: #212529;
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #777777;
  --text-color: #6c757d;
  
  --background-light: #FFFFFF;
  --background-medium: #F9F9F9;
  --background-dark: #0D2138;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --white-color: #ffffff;
  --border-color: #e9ecef;
  
  /* Accent/Functional Colors */
  --accent-red: #E53935;
  --accent-green: #4CAF50;
  --accent-yellow: #FFD700;
  --success: #4CAF50;
  --warning: #FFC107;
  --error: #E53935;
  --info: var(--primary-blue);
  
  /* UI Effect Colors */
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  --overlay-light: rgba(0, 0, 0, 0.3);
  --overlay-medium: rgba(0, 0, 0, 0.5);
  --overlay-dark: rgba(0, 0, 0, 0.7);
  
  /* Animation and Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --transition: all 0.3s ease;
}

/* ====================================
 * Base Styles
 * ==================================== */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-medium);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px; /* Base font size for responsive typography */
}

/* ====================================
 * Header Styles - OPTIMIZED FOR RESPONSIVE DESIGN
 * ==================================== */
.header-output {
  /* Header output specific styles */
}

@media (max-width: 990px) {
  .header-output {
    background-color: white !important;
  }
}

/* Site Header */
.site-header {
  position: relative;
  z-index: 999;
}

/* Top Bar */
.top-bar {
  background-color: var(--background-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  padding: 8px 0; /* Reduced padding */
}

.top-bar-info {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.info-item {
  display: flex;
  align-items: center;
  margin-right: 20px; /* Slightly reduced margin */
  margin-bottom: 4px; /* Added for wrapping items */
}

.info-item i {
  color: var(--primary-color);
  margin-right: 8px;
  font-size: 0.9em; /* Slightly reduced icon size */
}

.social-icons {
  display: flex;
  justify-content: flex-end;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; /* Reduced size */
  height: 28px; /* Reduced size */
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  margin-left: 6px; /* Reduced margin */
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-3px);
}

/* Main Header */
.main-header {
  background-color: var(--white-color);
  box-shadow: var(--shadow);
  padding: 12px 0; /* Reduced padding */
  position: relative;
  z-index: 999;
  transition: var(--transition);
}

.main-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  animation: slideDown 0.5s forwards;
  padding: 8px 0; /* Reduced padding */
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.header-logo img {
  max-height: 55px; /* Reduced size */
  transition: var(--transition);
}

.sticky .header-logo img {
  max-height: 45px; /* Reduced size */
}

/* Navigation */
.nav-list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
  margin: 0 12px; /* Reduced margin */
}

.nav-link {
  color: var(--heading-color);
  font-size: 15px; /* Reduced font size */
  font-weight: 500;
  padding: 20px 0; /* Reduced padding */
  display: block;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--primary-blue) !important;
}

.nav-link:before {
  content: '';
  position: absolute;
  bottom: 15px; /* Adjusted position */
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: var(--transition);
}

.nav-link:hover:before,
.nav-item.active .nav-link:before {
  width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 200px; /* Reduced width */
  padding: 12px 0; /* Reduced padding */
  margin: 0;
  background-color: var(--white-color);
  border: none;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 7px 20px; /* Reduced padding */
  font-size: 14px;
  color: var(--text-color);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: rgba(0, 153, 255, 0.05);
  color: var(--primary-blue);
  border-left-color: var(--primary-blue);
}

/* CTA Button - OPTIMIZED FOR BETTER UX */
.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white-color);
  border: none;
  border-radius: 50px;
  padding: 10px 25px; /* Reduced padding */
  font-size: 13px; /* Reduced font size */
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 153, 255, 0.25); /* Reduced shadow */
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--secondary-blue-light);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 153, 255, 0.3); /* Adjusted shadow */
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--background-light);
  padding: 10px 25px; /* Reduced padding */
  border-radius: 30px;
  font-weight: 500;
  font-size: 13px; /* Reduced font size */
  display: inline-block;
  transition: var(--transition-normal);
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--secondary-blue-dark);
  color: var(--background-light);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--background-light);
  padding: 10px 25px; /* Reduced padding */
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px; /* Reduced font size */
  display: inline-block;
  transition: var(--transition-normal);
  border: 2px solid var(--background-light);
  text-decoration: none;
}

.btn-outline:hover {
  background-color: var(--background-light);
  color: var(--text-dark);
  text-decoration: none;
  transform: translateY(-3px);
}

.btn-outline-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  padding: 10px 25px; /* Reduced padding */
  border-radius: 30px;
  font-weight: 500;
  font-size: 13px; /* Reduced font size */
  display: inline-block;
  transition: var(--transition-normal);
  border: 2px solid var(--primary-blue);
  text-decoration: none;
}

.btn-outline-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--background-light);
  text-decoration: none;
}

.btn-rounded {
  border-radius: 50px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  width: 30px;
  height: 30px;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 15px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--heading-color);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 6px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 14px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 22px;
}

/* Mobile Menu */
.mobile-menu-wrapper {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px; /* Slightly reduced width */
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-wrapper.active {
  right: 0;
  visibility: visible;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-dark);
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-wrapper.active .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-container {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px; /* Slightly reduced width */
  height: 100%;
  background-color: var(--white-color);
  z-index: 99;
  padding: 20px; /* Reduced padding */
  overflow-y: auto;
  transition: var(--transition);
}

.mobile-menu-wrapper.active .mobile-menu-container {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px; /* Slightly reduced size */
  height: 32px; /* Slightly reduced size */
  background-color: var(--background-medium);
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
}

.mobile-menu-close:hover {
  background-color: var(--primary-orange);
  color: var(--background-light);
}

.mobile-menu-logo {
  margin-bottom: 25px; /* Reduced margin */
}

.mobile-menu-logo img {
  max-width: 140px; /* Reduced size */
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu li a {
  display: block;
  padding: 10px 0; /* Reduced padding */
  color: var(--heading-color);
  transition: var(--transition);
  font-size: 14px; /* Reduced font size */
}

.mobile-menu li a:hover,
.mobile-menu li.active > a {
  color: var(--primary-color);
}

.mobile-menu .menu-item-has-children > a:after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 12px;
  transition: var(--transition);
}

.mobile-menu .menu-item-has-children.active > a:after {
  transform: rotate(180deg);
}

.mobile-menu .sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 0 15px;
}

.mobile-menu-contact {
  margin-top: 25px; /* Reduced margin */
  padding-top: 15px; /* Reduced padding */
  border-top: 1px solid var(--border-color);
}

.mobile-menu-contact h5 {
  margin-bottom: 12px; /* Reduced margin */
  font-size: 15px; /* Reduced font size */
  color: var(--heading-color);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* Reduced margin */
}

.contact-address .row {
  margin-left: -15px;
  margin-right: -15px;
  padding: 0 15px;
}

.contact-address .col-lg-3 {
  padding: 0 15px; 
}

.contact-item i {
  width: 32px; /* Reduced size */
  height: 32px; /* Reduced size */
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 0.9em; /* Reduced icon size */
}

.mobile-menu-contact .social-icons {
  display: flex;
  margin-top: 15px; /* Reduced margin */
}

.mobile-menu-contact .social-icons a {
  width: 32px; /* Reduced size */
  height: 32px; /* Reduced size */
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading-color);
  margin-right: 8px; /* Reduced margin */
  transition: var(--transition);
}

.mobile-menu-contact .social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* ====================================
 * Hero Section - OPTIMIZED
 * ==================================== */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  height: 80vh; /* Reduced height for better UX */
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--overlay-dark) 0%, var(--overlay-medium) 50%, var(--overlay-light) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  padding: 30px; /* Reduced padding */
  background: var(--overlay-medium);
  border-radius: 10px;
  backdrop-filter: blur(5px);
  max-width: 550px; /* Reduced max-width */
}

.hero-subtitle {
  display: inline-block;
  color: var(--primary-orange);
  font-size: 0.9rem; /* Reduced font size */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(255, 130, 0, 0.1);
  padding: 6px 12px; /* Reduced padding */
  border-radius: 30px;
  margin-bottom: 15px; /* Reduced margin */
  border: 1px solid rgba(255, 130, 0, 0.2);
}

.hero-text h1 {
  color: var(--background-light);
  font-size: 3rem; /* Reduced from 3.5rem */
  font-weight: 700;
  margin-bottom: 15px; /* Reduced margin */
  line-height: 1.2;
  text-shadow: 0 2px 5px var(--shadow-dark);
}

.hero-text p {
  color: var(--background-light);
  font-size: 1.1rem; /* Reduced font size */
  margin-bottom: 25px; /* Reduced margin */
  text-shadow: 0 1px 3px var(--shadow-dark);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* Reduced gap */
}

/* Carousel Controls */
.carousel-indicators {
  bottom: 20px; /* Reduced distance */
}

.carousel-indicators li {
  width: 10px; /* Reduced size */
  height: 10px; /* Reduced size */
  border-radius: 50%;
  margin: 0 4px; /* Reduced margin */
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  transition: var(--transition-normal);
}

.carousel-indicators li.active {
  background-color: var(--primary-orange);
  width: 25px; /* Reduced size */
  border-radius: 30px;
}

.carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px; /* Reduced size */
  height: 45px; /* Reduced size */
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: var(--transition-normal);
}

.carousel-arrow:hover {
  background-color: var(--primary-orange);
}

.carousel-arrow i {
  font-size: 20px; /* Reduced size */
  color: var(--background-light);
}

.slider-scroll-down {
  position: absolute;
  bottom: 25px; /* Reduced distance */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-down-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; /* Reduced size */
  height: 36px; /* Reduced size */
  border-radius: 50%;
  background-color: var(--background-light);
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-normal);
  animation: bounce 2s infinite;
}

.scroll-down-btn:hover {
  background-color: var(--primary-orange);
  color: var(--background-light);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px); /* Reduced distance */
  }
  60% {
    transform: translateY(-4px); /* Reduced distance */
  }
}

/* ====================================
 * Services & Features - OPTIMIZED
 * ==================================== */
.services-highlights {
  padding: 70px 0; /* Reduced padding */
  background-color: var(--background-medium);
  position: relative;
  z-index: 1;
  margin-top: -40px;
}

.service-card {
  background: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 5px 25px var(--shadow-light);
  padding: 4px;
  margin-bottom: 25px; /* Reduced margin */
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px); /* Reduced distance */
  box-shadow: 0 12px 30px var(--shadow-dark);
}

.service-icon {
  width: 65px; /* Reduced size */
  height: 65px; /* Reduced size */
  background: #f0f8ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px; /* Reduced margin */
}

.service-icon img {
  width: 35px; /* Reduced size */
  height: auto;
}

.service-content {
  flex-grow: 1;
  place-content: center;
}

.service-content h3 {
  font-size: 18px; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 12px; /* Reduced margin */
}

.service-content h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-normal);
}

.service-content h3 a:hover {
  color: var(--primary-orange);
}

.service-content p {
  margin-bottom: 15px; /* Reduced margin */
  font-size: 14px; /* Reduced font size */
}

.service-link {
  color: var(--primary-orange);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-normal);
  display: inline-block;
  font-size: 14px; /* Reduced font size */
}

.service-link:hover {
  color: var(--text-dark);
  text-decoration: none;
}

/* Services Section */
.services-section {
  padding: 65px 0; /* Reduced padding */
  background-color: var(--background-medium);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/front/assets/img/pattern-bg.png') repeat;
  opacity: 0.05;
}

.service-box {
  background-color: var(--background-light);
  border-radius: 10px;
  padding: 35px 25px; /* Reduced padding */
  text-align: center;
  margin-bottom: 25px; /* Reduced margin */
  box-shadow: 0 5px 25px var(--shadow-light);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-blue);
  transition: var(--transition-normal);
  z-index: -1;
}

.service-box:hover::before {
  height: 100%;
}

.service-box:hover {
  transform: translateY(-8px); /* Reduced distance */
}

.service-box:hover .service-title a,
.service-box:hover .service-desc {
  color: var(--background-light);
}

.service-title {
  font-size: 18px; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 12px; /* Reduced margin */
}

.service-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-normal);
}

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

.service-desc {
  color: var(--text-light);
  margin-bottom: 0;
  transition: var(--transition-normal);
  font-size: 14px; /* Reduced font size */
}

.btn-view-all {
  background-color: var(--primary-blue);
  color: var(--background-light);
  padding: 10px 25px; /* Reduced padding */
  border-radius: 30px;
  font-weight: 500;
  font-size: 14px; /* Reduced font size */
  display: inline-block;
  margin-top: 30px; /* Reduced margin */
  transition: var(--transition-normal);
  text-decoration: none;
}

.btn-view-all:hover {
  background-color: var(--primary-orange);
  color: var(--background-light);
  text-decoration: none;
}

/* ====================================
 * About Section - OPTIMIZED
 * ==================================== */
.about-section {
  padding: 80px 0; /* Reduced padding */
  background-color: var(--background-light);
}

.credential-logo{
  height: 100% !important;
}

.section-heading {
  margin-bottom: 35px; /* Reduced margin */
  display: flex;
  align-items: center;
}

.section-icon {
  margin-right: 15px; /* Reduced margin */
}

.section-title {
  font-size: 32px; /* Reduced font size */
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

.section-heading.text-center {
  display: block;
  text-align: center;
  margin-bottom: 50px; /* Reduced margin */
}

.section-heading.text-center .section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 12px; /* Reduced padding */
  margin-bottom: 12px; /* Reduced margin */
}

.section-heading.text-center .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px; /* Reduced width */
  height: 3px;
  background-color: var(--primary-orange);
}

.section-desc {
  max-width: 650px; /* Reduced max-width */
  margin: 0 auto;
  font-size: 15px; /* Reduced font size */
  color: var(--text-light);
}

.about-content {
  margin-bottom: 35px; /* Reduced margin */
}

.about-content p {
  font-size: 15px; /* Reduced font size */
  margin-bottom: 20px; /* Reduced margin */
}

.about-accordion {
  margin-top: 35px; /* Reduced margin */
}

.accordion .card {
  border: none;
  margin-bottom: 12px; /* Reduced margin */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow-light);
}

.accordion .card-header {
  padding: 0;
  background-color: var(--background-light);
  border: none;
}

.accordion-btn {
  width: 100%;
  padding: 18px; /* Reduced padding */
  text-align: left;
  background-color: var(--background-light);
  border: none;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  transition: var(--transition-normal);
  font-size: 15px; /* Reduced font size */
}

.accordion-btn:hover {
  color: var(--primary-blue);
}

.accordion-btn i {
  margin-right: 8px; /* Reduced margin */
  color: var(--primary-blue);
}

.accordion-icon {
  position: absolute;
  right: 18px; /* Reduced distance */
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-normal);
}

.accordion-btn[aria-expanded="true"] .accordion-icon i {
  transform: rotate(180deg);
}

.accordion .card-body {
  padding: 18px; /* Reduced padding */
  background-color: var(--background-medium);
  font-size: 14px; /* Reduced font size */
}

.about-images {
  padding-left: 20px; /* Reduced padding */
}

.about-img {
  margin-bottom: 25px; /* Reduced margin */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.about-img img {
  transition: var(--transition-slow);
}

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

.about-feature {
  background-color: var(--primary-blue);
  color: var(--background-light);
  padding: 25px 20px; /* Reduced padding */
  border-radius: 10px;
  height: calc(100% - 25px); /* Adjusted for reduced margin */
  margin-bottom: 25px; /* Reduced margin */
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.feature-icon {
  margin-bottom: 15px; /* Reduced margin */
}

.feature-icon img {
  width: 45px; /* Reduced size */
  height: auto;
}

.about-feature h3 {
  font-size: 18px; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 12px; /* Reduced margin */
}

.about-feature hr {
  background-color: rgba(255, 255, 255, 0.3);
  margin: 12px 0; /* Reduced margin */
}

.about-feature p {
  font-size: 13px; /* Reduced font size */
  opacity: 0.9;
}

/* ====================================
 * Call To Action (CTA) - OPTIMIZED
 * ==================================== */
.cta-section {
  padding: 70px 0; /* Reduced padding */
  background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue-light));
  color: var(--background-light);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/front/assets/images/pattern-light.webp") repeat;
  opacity: 0.1;
}

.cta-content h2 {
  font-size: 32px; /* Reduced font size */
  font-weight: 700;
  margin-bottom: 12px; /* Reduced margin */
}

.cta-content p {
  font-size: 16px; /* Reduced font size */
  opacity: 0.9;
  margin-bottom: 0;
}

.cta-section .btn-primary {
  background-color: var(--background-light);
  color: var(--primary-blue);
  border-color: var(--background-light);
}

.cta-section .btn-primary:hover {
  background-color: transparent;
  color: var(--background-light);
}

/* ====================================
 * Blog Section - OPTIMIZED
 * ==================================== */
.blog-section {
  padding: 80px 0; /* Reduced padding */
  background-color: var(--background-light);
}

.blog-card {
  background-color: var(--background-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px var(--shadow-light);
  margin-bottom: 25px; /* Reduced margin */
  transition: var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-8px); /* Reduced distance */
  box-shadow: 0 12px 35px var(--shadow-medium);
}

.blog-img {
  position: relative;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 220px; /* Reduced height */
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.blog-date {
  position: absolute;
  top: 15px; /* Reduced distance */
  left: 15px; /* Reduced distance */
  background-color: var(--primary-orange);
  color: var(--background-light);
  text-align: center;
  padding: 8px; /* Reduced padding */
  border-radius: 5px;
  min-width: 55px; /* Reduced width */
}

.blog-date .day {
  font-size: 20px; /* Reduced font size */
  font-weight: 700;
  display: block;
  line-height: 1;
}

.blog-date .month {
  font-size: 12px; /* Reduced font size */
  text-transform: uppercase;
}

.blog-content {
  padding: 20px; /* Reduced padding */
}

.blog-title {
  font-size: 18px; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 12px; /* Reduced margin */
}

.blog-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-normal);
}

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

.blog-meta {
  margin-bottom: 12px; /* Reduced margin */
  font-size: 13px; /* Reduced font size */
  color: var(--text-light);
}

.blog-meta span {
  margin-right: 12px; /* Reduced margin */
}

.blog-meta i {
  margin-right: 4px; /* Reduced margin */
  color: var(--primary-orange);
}

.read-more {
  color: var(--primary-orange);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition-normal);
  font-size: 14px; /* Reduced font size */
}

.read-more:hover {
  color: var(--text-dark);
  text-decoration: none;
}

/* ====================================
 * Clients Section - OPTIMIZED
 * ==================================== */
.clients-section {
  padding: 65px 0; /* Reduced padding */
  background-color: var(--background-medium);
  position: relative;
}

.client-logo {
  text-align: center;
  padding: 15px; /* Reduced padding */
  margin: 12px; /* Reduced margin */
  background-color: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow-light);
  transition: var(--transition-normal);
  height: 130px; /* Reduced height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-height: 85px; /* Reduced height */
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition-normal);
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px var(--shadow-medium);
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Owl Carousel Custom Styles */
.clients-carousel .owl-nav {
  margin-top: 15px; /* Reduced margin */
  text-align: center;
}

.clients-carousel .owl-nav button {
  width: 36px; /* Reduced size */
  height: 36px; /* Reduced size */
  background-color: var(--background-light) !important;
  border-radius: 50%;
  margin: 0 4px; /* Reduced margin */
  box-shadow: 0 3px 8px var(--shadow-medium);
  transition: var(--transition-normal);
}

.clients-carousel .owl-nav button:hover {
  background-color: var(--primary-orange) !important;
}

.clients-carousel .owl-nav button span {
  font-size: 20px; /* Reduced font size */
  line-height: 20px; /* Reduced line height */
  color: var(--text-dark);
}

.clients-carousel .owl-nav button:hover span {
  color: var(--background-light);
}

.clients-carousel .owl-dots {
  margin-top: 15px; /* Reduced margin */
  text-align: center;
}

.clients-carousel .owl-dots .owl-dot {
  width: 8px; /* Reduced size */
  height: 8px; /* Reduced size */
  margin: 0 4px; /* Reduced margin */
  background-color: #ddd;
  border-radius: 50%;
  transition: var(--transition-normal);
}

.clients-carousel .owl-dots .owl-dot.active {
  background-color: var(--primary-orange);
  width: 18px; /* Reduced size */
  border-radius: 10px;
}

/* ====================================
 * Counter Section - OPTIMIZED
 * ==================================== */
.counter-section {
  padding: 65px 0; /* Reduced padding */
  background: linear-gradient(to right, var(--overlay-dark), var(--overlay-dark)), 
              url('/front/assets/images/counter-bg.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.counter-item {
  text-align: center;
  margin-bottom: 25px; /* Reduced margin */
  padding: 25px 12px; /* Reduced padding */
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(5px);
  transition: var(--transition-normal);
}

.counter-item:hover {
  transform: translateY(-8px); /* Reduced distance */
  background-color: rgba(255, 255, 255, 0.15);
}

.counter-icon {
  font-size: 40px; /* Reduced font size */
  color: var(--primary-orange);
  margin-bottom: 15px; /* Reduced margin */
}

.counter-number {
  font-size: 42px; /* Reduced font size */
  font-weight: 700;
  color: var(--background-light);
  margin-bottom: 4px; /* Reduced margin */
  line-height: 1;
}

.counter-title {
  font-size: 16px; /* Reduced font size */
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ====================================
 * Testimonials Section - OPTIMIZED
 * ==================================== */
.testimonials-section {
  padding: 80px 0; /* Reduced padding */
  background-color: var(--background-light);
}

.testimonial-item {
  background-color: var(--background-medium);
  border-radius: 10px;
  padding: 25px; /* Reduced padding */
  margin-bottom: 25px; /* Reduced margin */
  box-shadow: 0 4px 25px var(--shadow-light);
  transition: var(--transition-normal);
}

.testimonial-item:hover {
  transform: translateY(-8px); /* Reduced distance */
  box-shadow: 0 12px 35px var(--shadow-medium);
}

.testimonial-content {
  position: relative;
  margin-bottom: 20px; /* Reduced margin */
}

.testimonial-icon {
  font-size: 26px; /* Reduced font size */
  color: var(--primary-orange);
  opacity: 0.3;
  margin-bottom: 12px; /* Reduced margin */
}

.testimonial-text {
  font-size: 15px; /* Reduced font size */
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 15px; /* Reduced margin */
}

.testimonial-rating {
  color: var(--accent-yellow);
  font-size: 13px; /* Reduced font size */
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 55px; /* Reduced size */
  height: 55px; /* Reduced size */
  border-radius: 50%;
  overflow: hidden;
  margin-right: 12px; /* Reduced margin */
}

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

.author-name {
  font-size: 16px; /* Reduced font size */
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px; /* Reduced margin */
}

.author-company {
  font-size: 13px; /* Reduced font size */
  color: var(--text-light);
  margin: 0;
}

.testimonial-more {
  margin-top: 15px; /* Reduced margin */
}

/* ====================================
 * FAQ Section - OPTIMIZED
 * ==================================== */
.faq-section {
  padding: 80px 0; /* Reduced padding */
  background-color: var(--background-medium);
}

.faq-image {
  position: relative;
  margin-bottom: 25px; /* Reduced margin */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 35px var(--shadow-medium);
}

.experience-badge {
  position: absolute;
  bottom: 25px; /* Reduced distance */
  right: 25px; /* Reduced distance */
  width: 110px; /* Reduced size */
  height: 110px; /* Reduced size */
  background-color: var(--primary-orange);
  border-radius: 50%;
  color: var(--background-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 25px rgba(255, 130, 0, 0.25);
}

.experience-badge .years {
  font-size: 32px; /* Reduced font size */
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px; /* Reduced margin */
}

.experience-badge .text {
  font-size: 13px; /* Reduced font size */
  line-height: 1.3;
}

.faq-accordion {
  margin-bottom: 35px; /* Reduced margin */
}

.faq-accordion .card {
  border: none;
  margin-bottom: 12px; /* Reduced margin */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow-light);
}

.faq-accordion .accordion-btn {
  padding: 16px; /* Reduced padding */
  font-weight: 600;
  color: var(--text-dark);
  background-color: var(--background-light);
  border: none;
  width: 100%;
  text-align: left;
  position: relative;
  transition: var(--transition-normal);
  font-size: 15px; /* Reduced font size */
}

.faq-accordion .accordion-btn:hover {
  color: var(--primary-orange);
}

.faq-accordion .accordion-icon {
  position: absolute;
  right: 16px; /* Reduced distance */
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-normal);
}

.faq-accordion .accordion-btn[aria-expanded="true"] .accordion-icon i {
  transform: rotate(45deg);
}

.faq-accordion .card-body {
  padding: 16px; /* Reduced padding */
  background-color: var(--background-medium);
  color: var(--text-medium);
  font-size: 14px; /* Reduced font size */
}

.faq-more {
  margin-top: 25px; /* Reduced margin */
}

.faq-more p {
  font-size: 15px; /* Reduced font size */
  color: var(--text-medium);
  margin-bottom: 15px; /* Reduced margin */
}

/* ====================================
 * Contact Info Section - OPTIMIZED
 * ==================================== */
.contact-info-section {
  padding: 65px 0; /* Reduced padding */
  background-color: var(--background-light);
  border-top: 1px solid #eee;
}

.contact-home {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 21px; /* Reduced line height */
  place-items: center !important;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px; /* Reduced margin */
  padding: 25px; /* Reduced padding */
  border-radius: 10px;
  background-color: #E4E4E4;
  box-shadow: 0 4px 25px var(--shadow-light);
  transition: var(--transition-normal);
  height: 100%;
}

.contact-info-item:hover {
  transform: translateY(-8px); /* Reduced distance */
  box-shadow: 0 12px 35px var(--shadow-medium);
  background-color: var(--primary-blue);
}

.contact-info-item:hover .contact-title,
.contact-info-item:hover .contact-text {
  color: var(--background-light);
}

.contact-info-item:hover .contact-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--background-light);
}

.contact-icon {
  width: 55px; /* Reduced size */
  height: 55px; /* Reduced size */
  background-color: #e6f4ff;
  color: var(--primary-blue);
  font-size: 22px; /* Reduced font size */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px; /* Reduced margin */
  transition: var(--transition-normal);
}

.contact-content {
  flex: 1;
}

.contact-title {
  font-size: 18px; /* Reduced font size */
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px; /* Reduced margin */
  transition: var(--transition-normal);
}

.contact-text {
  font-size: 14px; /* Reduced font size */
  color: var(--text-medium);
  margin: 0;
  transition: var(--transition-normal);
}

/* ====================================
 * Utility Classes & Components - OPTIMIZED
 * ==================================== */
/* Animations */
.fadeInUp {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px); /* Reduced distance */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 25px; /* Reduced distance */
  right: 25px; /* Reduced distance */
  width: 45px; /* Reduced size */
  height: 45px; /* Reduced size */
  background-color: var(--primary-orange);
  color: var(--background-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px; /* Reduced font size */
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  box-shadow: 0 4px 12px rgba(255, 130, 0, 0.25);
}

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

.back-to-top:hover {
  background-color: var(--secondary-orange-dark);
  color: var(--background-light);
  transform: translateY(-4px); /* Reduced distance */
}

/* ====================================
 * About Page Styles - OPTIMIZED
 * ==================================== */

/* Hero Section */
.page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 85px 0; /* Reduced padding */
  color: #ffffff;
  z-index: 1;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--overlay-dark) 0%, var(--overlay-medium) 70%, var(--overlay-light) 100%);
  z-index: -1;
}

.page-header-content h1 {
  font-size: 42px; /* Reduced font size */
  font-weight: 700;
  margin-bottom: 15px; /* Reduced margin */
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--primary-orange);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: #ffffff;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* About Section */
.about-section {
  padding: 85px 0; /* Reduced padding */
  background-color: var(--background-light);
}

.subtitle {
  font-size: 18px; /* Reduced font size */
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 15px; /* Reduced margin */
}

.about-content p {
  font-size: 15px; /* Reduced font size */
  line-height: 1.7; /* Slightly reduced line height */
  color: var(--text-medium);
  margin-bottom: 15px; /* Reduced margin */
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 35px var(--shadow-medium);
}

.about-stats {
  margin-top: 35px; /* Reduced margin */
}

.stat-item {
  text-align: center;
  background-color: #f8f9fa;
  padding: 18px; /* Reduced padding */
  border-radius: 10px;
  transition: var(--transition);
  height: 100%;
  place-content: center;
}

.stat-item:hover {
  transform: translateY(-8px); /* Reduced distance */
  background-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 174, 239, 0.2);
}

.stat-item h3 {
  font-size: 24px; /* Reduced font size */
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 4px; /* Reduced margin */
}

.stat-item:hover h3 {
  color: #ffffff;
}

.stat-item p {
  font-size: 13px; /* Reduced font size */
  margin-bottom: 0;
}

/* Action Card */
.action-card {
  display: block;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 18px; /* Reduced padding */
  border-radius: 10px;
  transition: var(--transition);
  color: #ffffff;
  text-decoration: none;
  height: 100%;
  place-items: center;
}

.action-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px); /* Reduced distance */
  color: #ffffff;
  text-decoration: none;
}

.action-icon {
  margin-bottom: 12px; /* Reduced margin */
}

.action-icon img {
  width: 35px; /* Reduced size */
  height: auto;
}

.action-card h4 {
  font-size: 15px; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 0;
}

/* Mission & Vision Section */
.mission-vision-section {
  padding: 85px 0; /* Reduced padding */
  background-color: #f8f9fa;
}

.mission-card, .vision-card {
  background-color: #ffffff;
  padding: 35px; /* Reduced padding */
  border-radius: 10px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: var(--transition);
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-8px); /* Reduced distance */
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 70px; /* Reduced size */
  height: 70px; /* Reduced size */
  background-color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px; /* Reduced margin */
  color: #ffffff;
  font-size: 26px; /* Reduced font size */
}

.vision-card .card-icon {
  background-color: var(--primary-orange);
}

.mission-card h3, .vision-card h3 {
  font-size: 22px; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 15px; /* Reduced margin */
  color: var(--text-dark);
}

.mission-card p, .vision-card p {
  font-size: 15px; /* Reduced font size */
  line-height: 1.7; /* Slightly reduced line height */
  color: var(--text-medium);
  margin-bottom: 0;
}

.about-image-circle {
  padding: 18px; /* Reduced padding */
}

.about-image-circle img {
  max-width: 100%;
  border-radius: 50%;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team-section {
  padding: 85px 0; /* Reduced padding */
  background-color: #f8f9fa;
}

.team-member {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px; /* Reduced margin */
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-8px); /* Reduced distance */
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.member-image {
  position: relative;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 230px; /* Reduced height */
  object-fit: cover;
  transition: var(--transition-slow);
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 20px; /* Reduced padding */
  text-align: center;
}

.member-info h4 {
  font-size: 18px; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 4px; /* Reduced margin */
  color: var(--text-dark);
}

.member-info p {
  font-size: 13px; /* Reduced font size */
  color: var(--primary-blue);
  margin-bottom: 12px; /* Reduced margin */
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 8px; /* Reduced gap */
}

.member-social a {
  width: 32px; /* Reduced size */
  height: 32px; /* Reduced size */
  background-color: #f0f8ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  transition: var(--transition);
}

.member-social a:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Partners Section */
.clients-section {
  padding: 70px 0; /* Reduced padding */
  background-color: #f8f9fa;
}

.client-logo {
  text-align: center;
  padding: 15px; /* Reduced padding */
  margin: 12px; /* Reduced margin */
  background-color: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 110px; /* Reduced height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-height: 70px; /* Reduced height */
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Service Box Styles */
.service-box {
  background-color: var(--background-light);
  border-radius: 10px;
  padding: 35px 25px; /* Reduced padding */
  text-align: center;
  margin-bottom: 25px; /* Reduced margin */
  box-shadow: 0 4px 25px var(--shadow-light);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
  place-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-blue);
  transition: var(--transition-normal);
  z-index: -1;
}

.service-box:hover::before {
  height: 100%;
}

.service-box:hover {
  transform: translateY(-8px); /* Reduced distance */
}

.service-box:hover .service-title a,
.service-box:hover .service-desc {
  color: var(--background-light);
}

.service-icon {
  margin-bottom: 15px; /* Reduced margin */
}

.service-icon img {
  width: 50px; /* Reduced size */
  height: auto;
}

.service-title {
  font-size: 18px; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 12px; /* Reduced margin */
}

.service-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-normal);
}

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

.service-desc {
  color: var(--text-light);
  margin-bottom: 0;
  transition: var(--transition-normal);
  font-size: 14px; /* Reduced font size */
}

.btn-view-all {
  background-color: var(--primary-blue);
  color: var(--background-light);
  padding: 10px 25px; /* Reduced padding */
  border-radius: 30px;
  font-weight: 500;
  font-size: 14px; /* Reduced font size */
  display: inline-block;
  margin-top: 30px; /* Reduced margin */
  transition: var(--transition-normal);
  text-decoration: none;
}

.btn-view-all:hover {
  background-color: var(--primary-orange);
  color: var(--background-light);
  text-decoration: none;
}

/* Section Titles */
.section-heading {
  margin-bottom: 50px; /* Reduced margin */
}

.section-heading .section-title {
  font-size: 32px; /* Reduced font size */
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px; /* Reduced margin */
  position: relative;
}

.section-heading.text-center .section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 12px; /* Reduced padding */
  margin-bottom: 12px; /* Reduced margin */
}

.section-heading.text-center .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px; /* Reduced width */
  height: 3px;
  background-color: var(--primary-orange);
}

.section-heading .section-desc {
  font-size: 15px; /* Reduced font size */
  color: var(--text-light);
  max-width: 650px; /* Reduced max-width */
  margin: 0 auto;
}

/* ====================================
 * Contact Page Styles - OPTIMIZED
 * ==================================== */

/* Contact Info Section */
.contact-address {
  padding: 70px 0 40px; /* Reduced padding */
  background: linear-gradient(135deg, #f6f9fc 0%, #edf2f7 100%);
  position: relative;
}

.contact-address::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239BA4B4' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.grid-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 30px; /* Reduced padding */
  border-radius: 18px; /* Slightly reduced radius */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.grid-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.grid-item:hover {
  transform: translateY(-8px); /* Reduced distance */
  box-shadow: 0 15px 35px rgba(0, 86, 179, 0.15);
}

.grid-item:hover::before {
  transform: scaleX(1);
}

.contact-icon {
  width: 45px; /* Reduced size */
  height: 45px; /* Reduced size */
  background: linear-gradient(135deg, #f0f5ff 0%, #e6f0ff 100%);
  border-radius: 16px; /* Slightly reduced radius */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: all 0.4s ease;
}

.grid-item:hover .contact-icon {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue-light) 100%);
}

.contact-icon i {
  font-size: 24px; /* Reduced font size */
  color: var(--primary-blue);
  transition: all 0.4s ease;
}

.grid-item:hover .contact-icon i {
  color: #ffffff;
  transform: scale(1.1);
}

.bottom-content .title {
  font-size: 18px; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 12px; /* Reduced margin */
  color: #1a202c;
}

.bottom-content a,
.bottom-content p {
  color: #4a5568;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px; /* Reduced font size */
  line-height: 1.5; /* Slightly reduced line height */
  margin: 0;
}

.bottom-content a:hover {
  color: var(--primary-blue);
  padding-left: 5px;
}

/* Contact Form Section */
.connect-us {
  padding: 75px 0; /* Reduced padding */
  background: #ffffff;
  position: relative;
}

.connect-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 450px; /* Reduced height */
  background: linear-gradient(180deg, rgba(246, 249, 252, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 0;
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 50px; /* Reduced margin */
}

.section-title {
  font-size: 32px; /* Reduced font size */
  font-weight: 700;
  color: #333;
  margin-bottom: 12px; /* Reduced margin */
  position: relative;
  display: inline-block;
  padding-bottom: 12px; /* Reduced padding */
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px; /* Reduced width */
  height: 3px;
  background: linear-gradient(90deg, #00AEEF, #4CCBF4);
}

.section-desc {
  font-size: 15px; /* Reduced font size */
  color: #666;
  max-width: 550px; /* Reduced max-width */
  margin: 0 auto;
}

.contact-form-wrapper {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 35px; /* Reduced padding */
  border-radius: 14px; /* Slightly reduced radius */
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 174, 239, 0.1);
}

.contact-form-wrapper:hover {
  box-shadow: 0 12px 45px rgba(0, 174, 239, 0.15);
}

.form-field {
  margin-bottom: 20px; /* Reduced margin */
}

.form-field label {
  display: block;
  margin-bottom: 6px; /* Reduced margin */
  font-weight: 500;
  color: #333;
  font-size: 14px; /* Reduced font size */
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 18px; /* Reduced padding */
  border: 2px solid #e8eef3;
  border-radius: 9px; /* Slightly reduced radius */
  font-size: 14px; /* Reduced font size */
  transition: all 0.3s ease;
  background: #f8fafc;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #00AEEF;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.form-field textarea {
  height: 160px; /* Reduced height */
  resize: none;
}

.recaptcha-container {
  display: flex;
  justify-content: center;
  margin-bottom: 25px; /* Reduced margin */
}

.submit-container {
  margin-top: 8px; /* Reduced margin */
}

.btn-submit {
  background: linear-gradient(135deg, #00AEEF 0%, #4CCBF4 100%);
  color: #fff;
  padding: 14px 35px; /* Reduced padding */
  border: none;
  border-radius: 50px;
  font-size: 15px; /* Reduced font size */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px; /* Reduced width */
  box-shadow: 0 8px 18px rgba(0, 174, 239, 0.2);
}

.btn-submit span {
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-submit i {
  margin-left: 8px; /* Reduced margin */
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FF8200 0%, #FFA64D 100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 174, 239, 0.3);
}

.btn-submit:hover::before {
  opacity: 1;
}

.btn-submit:hover i {
  transform: translateX(4px); /* Reduced distance */
}

.btn-submit:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.btn-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Loading State */
.btn-submit.loading {
  pointer-events: none;
}

.btn-submit.loading span {
  opacity: 0;
}

.btn-submit.loading::after {
  content: '';
  position: absolute;
  width: 18px; /* Reduced size */
  height: 18px; /* Reduced size */
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Support Section */
.support-section {
  background: #f8fafc;
  padding: 70px 0; /* Reduced padding */
}

.support-item {
  background: #ffffff;
  padding: 35px; /* Reduced padding */
  border-radius: 18px; /* Slightly reduced radius */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.support-item:hover {
  transform: translateY(-8px); /* Reduced distance */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.icon-area {
  margin-bottom: 20px; /* Reduced margin */
}

.icon-area img {
  width: 50px; /* Reduced size */
  height: auto;
}

.support-title {
  font-size: 20px; /* Reduced font size */
  margin-bottom: 12px; /* Reduced margin */
}

.support-title a {
  color: #1a202c;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.support-text {
  color: #4a5568;
  line-height: 1.6; /* Slightly reduced line height */
  margin: 0;
  font-size: 14px; /* Reduced font size */
}

/* ====================================
 * Footer Styles - OPTIMIZED
 * ==================================== */
.site-footer {
  position: relative;
  background-color: var(--background-dark);
  color: rgba(255, 255, 255, 0.8);
}

/* Footer Top Area */
.footer-top {
  position: relative;
  padding: 45px 0 15px; /* Reduced padding */
  background-color: var(--background-dark);
}

.footer-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/front/assets/img/pattern-bg.png') repeat;
  opacity: 0.05;
}

.footer-widget {
  margin-bottom: 25px; /* Reduced margin */
  position: relative;
}

.footer-widget-title {
  font-size: 18px; /* Reduced font size */
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px; /* Reduced margin */
  position: relative;
  padding-bottom: 12px; /* Reduced padding */
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px; /* Reduced width */
  height: 2px;
  background: linear-gradient(to right, var(--primary-blue), var(--primary-orange));
}

.footer-about-text {
  font-size: 13px; /* Reduced font size */
  line-height: 1.7; /* Slightly reduced line height */
  margin-bottom: 15px; /* Reduced margin */
}

.text-light-opacity {
  color: rgba(255, 255, 255, 0.7);
}

/* Footer Social Links */
.footer-social-links {
  display: flex;
  gap: 8px; /* Reduced gap */
}

.footer-social-links .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; /* Reduced size */
  height: 34px; /* Reduced size */
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.footer-social-links .social-link:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-4px); /* Reduced distance */
}

/* Footer Links */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px; /* Reduced margin */
}

.footer-menu li a {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px; /* Reduced font size */
  transition: var(--transition);
  padding-left: 15px;
  display: block;
  text-decoration: none;
}

.footer-menu li a::before {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-blue);
  transition: var(--transition);
}

.footer-menu li a:hover {
  color: #ffffff;
  padding-left: 18px; /* Slightly reduced movement */
  text-decoration: none;
}

.footer-menu li a:hover::before {
  color: var(--primary-orange);
}

/* Footer Contact Info */
.footer-contact-info .contact-item {
  display: flex;
  margin-bottom: 12px; /* Reduced margin */
}

.footer-contact-info .contact-item i {
  font-size: 20px !important; /* Reduced font size from 25px */
}

.footer-contact-info .contact-icon {
  width: 36px; /* Reduced size */
  height: 36px; /* Reduced size */
  background-color: rgba(0, 174, 239, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  margin-right: 12px; /* Reduced margin */
  flex-shrink: 0;
}

.footer-contact-info .contact-text {
  font-size: 13px; /* Reduced font size */
}

.footer-contact-info .contact-text p {
  margin-bottom: 4px; /* Reduced margin */
  color: rgba(255, 255, 255, 0.7);
}

/* Newsletter Section */
.footer-newsletter {
  background-color: var(--primary-blue);
  padding: 35px 0; /* Reduced padding */
  position: relative;
  overflow: hidden;
}

.footer-newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/front/assets/images/pattern-light.webp') repeat;
  opacity: 0.1;
}

.newsletter-content {
  margin-bottom: 15px; /* Reduced margin */
}

.newsletter-content h3 {
  font-size: 22px; /* Reduced font size */
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px; /* Reduced margin */
}

.newsletter-content p {
  font-size: 13px; /* Reduced font size */
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.newsletter-form .form-control {
  height: 48px; /* Reduced height */
  border-radius: 24px 0 0 24px; /* Adjusted for reduced height */
  border: none;
  padding: 0 18px; /* Reduced padding */
  font-size: 13px; /* Reduced font size */
}

.newsletter-form .btn {
  height: 48px; /* Reduced height */
  border-radius: 0 24px 24px 0; /* Adjusted for reduced height */
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  font-weight: 600;
  color: #ffffff;
  padding: 0 25px; /* Reduced padding */
  transition: var(--transition);
  font-size: 13px; /* Reduced font size */
}

.newsletter-form .btn:hover {
  background-color: var(--secondary-orange-dark);
  border-color: var(--secondary-orange-dark);
}

/* Footer Bottom */
.footer-bottom {
  background-color: #0a1929;
  font-size: 13px; /* Reduced font size */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0; /* Added padding */
}

.copyright-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.copyright-text a {
  color: var(--primary-blue);
  transition: var(--transition);
}

.copyright-text a:hover {
  color: var(--primary-orange);
  text-decoration: none;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 15px; /* Reduced margin */
  transition: var(--transition);
  text-decoration: none;
  font-size: 13px; /* Reduced font size */
}

.footer-bottom-links a:hover {
  color: var(--primary-orange);
}

/* ====================================
 * Quote Modal Styles - OPTIMIZED
 * ==================================== */

/* Modal Base Styles */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-backdrop.show {
  opacity: 1;
}

#quoteModal .modal-dialog {
  max-width: 800px; /* Reduced width */
}

#quoteModal .modal-content {
  border: none;
  border-radius: 18px; /* Slightly reduced radius */
  overflow: hidden;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.15);
}

.quote-modal-wrapper {
  position: relative;
}

/* Close Button */
#quoteModal .btn-close {
  position: absolute;
  top: 15px; /* Reduced distance */
  right: 15px; /* Reduced distance */
  width: 36px; /* Reduced size */
  height: 36px; /* Reduced size */
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 1;
  border: none;
  color: #fff;
  font-size: 14px; /* Reduced font size */
  transition: all 0.3s ease;
}

#quoteModal .btn-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Image Section */
.quote-modal-image {
  position: relative;
  background-image: url('../img/quote-bg.jpg');
  background-size: cover;
  background-position: center;
  min-height: 450px; /* Reduced height */
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.85) 0%, rgba(0, 103, 204, 0.95) 100%);
  z-index: 1;
}

.image-content {
  position: relative;
  z-index: 2;
  padding: 35px 25px; /* Reduced padding */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.image-content h3 {
  font-size: 24px; /* Reduced font size */
  font-weight: 700;
  margin-bottom: 12px; /* Reduced margin */
}

.image-content p {
  font-size: 14px; /* Reduced font size */
  line-height: 1.5; /* Slightly reduced line height */
  margin-bottom: 25px; /* Reduced margin */
  opacity: 0.9;
}

.quote-features {
  margin-top: auto;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px; /* Reduced margin */
}

.feature-item i {
  color: #FFD700;
  font-size: 18px; /* Reduced font size */
  margin-right: 10px; /* Reduced margin */
}

.feature-item span {
  font-size: 14px; /* Reduced font size */
  font-weight: 500;
}

/* Form Section */
.quote-modal-form {
  padding: 35px; /* Reduced padding */
  background: #fff;
}

.form-header {
  margin-bottom: 25px; /* Reduced margin */
  text-align: center;
}

.form-header h2 {
  font-size: 28px; /* Reduced font size */
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px; /* Reduced margin */
}

.form-header p {
  color: #64748b;
  font-size: 14px; /* Reduced font size */
  max-width: 380px; /* Reduced max-width */
  margin: 0 auto;
}

.form-group {
  margin-bottom: 16px; /* Reduced margin */
}

.form-group label {
  display: block;
  margin-bottom: 6px; /* Reduced margin */
  font-weight: 500;
  color: #1a202c;
  font-size: 13px; /* Reduced font size */
}

.form-control, .form-select {
  width: 100%;
  padding: 10px 14px; /* Reduced padding */
  border: 2px solid #e2e8f0;
  border-radius: 7px; /* Slightly reduced radius */
  font-size: 14px; /* Reduced font size */
  transition: all 0.3s ease;
  background-color: #f8fafc;
}

.form-control:focus, .form-select:focus {
  border-color: #00AEEF;
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

textarea.form-control {
  min-height: 100px; /* Reduced height */
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 8px; /* Reduced margin */
}

.btn-quote-submit {
  background: linear-gradient(135deg, #00AEEF 0%, #0067CC 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 28px; /* Reduced padding */
  font-size: 14px; /* Reduced font size */
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px; /* Reduced width */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 18px rgba(0, 174, 239, 0.2);
}
.btn-quote-submit i {
  margin-left: 8px; /* Reduced margin */
  transition: all 0.3s ease;
}

.btn-quote-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 174, 239, 0.3);
}

.btn-quote-submit:hover i {
  transform: translateX(4px); /* Reduced distance */
}

/* Loading State */
.btn-quote-submit.loading {
  background: #64748b;
  pointer-events: none;
}

.btn-quote-submit.loading span {
  visibility: hidden;
  opacity: 0;
}

.btn-quote-submit.loading::after {
  content: '';
  position: absolute;
  width: 18px; /* Reduced size */
  height: 18px; /* Reduced size */
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Header Button Styling */
.header-btn .btn-primary {
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.2); /* Reduced shadow */
  transition: all 0.3s ease;
}

.header-btn .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.3); /* Reduced shadow */
}

/* =========== 14. Cookie Consent Bar - OPTIMIZED =========== */
.cookie-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 12px 16px; /* Reduced padding */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2); /* Reduced shadow */
  transform: translateY(0);
  transition: transform 0.4s ease-in-out;
}

.cookie-consent-bar p {
  margin: 0;
  text-align: center;
  font-size: 13px; /* Reduced font size */
  line-height: 1.4; /* Slightly reduced line height */
  padding-right: 8px; /* Reduced padding */
}

.btn-cookie-accept {
  background-color: #00A8FF;
  color: white;
  border: none;
  padding: 7px 14px; /* Reduced padding */
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  margin-left: 8px; /* Reduced margin */
  transition: background-color 0.3s ease;
  font-size: 13px; /* Reduced font size */
}

.btn-cookie-accept:hover {
  background-color: #0089D1;
}

/* Preloader styles */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

/* CSS pour le bouton WhatsApp - OPTIMIZED */
.whatsapp-btn {
  position: fixed;
  bottom: 70px; /* Reduced from 80px */
  left: 15px; /* Reduced from 20px */
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 8px 16px 8px 12px; /* Reduced padding */
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2); /* Reduced shadow */
  text-decoration: none;
  font-weight: 500;
  font-size: 13px; /* Reduced from 14px */
  transition: all 0.3s ease;
  overflow: hidden;
}

.whatsapp-btn:hover {
  transform: translateY(-4px); /* Reduced distance */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); /* Reduced shadow */
  background-color: #1ea952;
  color: white;
  text-decoration: none;
}

.whatsapp-btn:active {
  transform: translateY(0px);
}

.whatsapp-btn .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px; /* Reduced margin */
  font-size: 20px; /* Reduced size */
}

.whatsapp-btn .text {
  white-space: nowrap;
}

.whatsapp-btn .pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background-color: #25D366;
  z-index: -1;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.05);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

/* ====================================
 * Enhanced Responsive Styles - OPTIMIZED FOR ALL SCREEN SIZES
 * ==================================== */
@media (max-width: 1199.98px) {
  /* Large devices (desktops, less than 1200px) */
  .header-logo img {
    max-height: 50px;
  }
  
  .nav-item {
    margin: 0 10px;
  }
  
  .nav-link {
    font-size: 14px;
    padding: 18px 0;
  }
  
  .hero-slide {
    height: 75vh;
  }
  
  .hero-text h1 {
    font-size: 2.8rem;
  }
  
  .hero-text {
    max-width: 500px;
    padding: 25px;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .experience-badge {
    width: 100px;
    height: 100px;
  }
  
  .experience-badge .years {
    font-size: 30px;
  }
  
  .service-box {
    padding: 30px 20px;
  }
  
  .team-image img {
    height: 220px;
  }
}

@media (max-width: 991.98px) {
  /* Medium devices (tablets, less than 992px) */
  /* Header & Navigation */
  .main-header {
    padding: 10px 0;
  }
  
  .header-logo img {
    max-height: 45px;
  }
  
  /* Hero Section */
  .hero-slide {
    height: 70vh;
  }
  
  .hero-text {
    padding: 22px;
    max-width: 450px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .hero-shape {
    clip-path: polygon(30% 0, 100% 0%, 100% 100%, 0% 100%);
  }
  
  /* Sections */
  .section-title {
    font-size: 28px;
  }
  
  .services-highlights,
  .services-section,
  .about-section,
  .blog-section,
  .clients-section,
  .counter-section,
  .testimonials-section,
  .faq-section,
  .contact-info-section {
    padding: 60px 0;
  }
  
  .section-heading {
    margin-bottom: 40px;
  }
  
  /* Content & Cards */
  .about-images {
    padding-left: 0;
    margin-top: 40px;
  }
  
  .service-box {
    padding: 25px 15px;
  }
  
  .service-icon img {
    width: 45px;
  }
  
  .team-image img {
    height: 200px;
  }
  
  /* Footer */
  .footer-widget-title {
    font-size: 17px;
  }
  
  .footer-menu li a {
    font-size: 13px;
  }
  
  /* CTA Section */
  .cta-content {
    text-align: center;
    margin-bottom: 25px;
  }
  
  .cta-section .text-lg-right {
    text-align: center !important;
  }
  
  /* About Page */
  .stat-item {
    margin-bottom: 20px;
  }
  
  /* Contact Page */
  .grid-item {
    margin-bottom: 20px;
  }
  
  /* Quote Modal */
  .quote-modal-image {
    min-height: auto;
    padding-bottom: 30px;
  }
  
  .image-content {
    text-align: center;
    padding: 30px 20px;
  }
  
  .feature-item {
    justify-content: center;
  }
  
  .quote-modal-form {
    padding: 25px;
  }
  
  /* Buttons */
  .btn-primary, 
  .btn-secondary,
  .btn-outline,
  .btn-outline-secondary,
  .btn-view-all {
    padding: 8px 20px;
    font-size: 13px;
  }
  
  .btn-submit,
  .btn-quote-submit {
    padding: 12px 25px;
    min-width: 160px;
    font-size: 14px;
  }
  
  /* Contact Page */
  .connect-us {
    padding: 60px 0;
  }
  
  .bottom-content .title {
    font-size: 17px;
  }
  
  .contact-form-wrapper {
    padding: 25px;
  }
  
  /* Floating Elements */
  .experience-badge {
    bottom: 20px;
    right: 20px;
    width: 90px;
    height: 90px;
  }
  
  .experience-badge .years {
    font-size: 28px;
  }
  
  .experience-badge .text {
    font-size: 12px;
  }
  
  /* Form Controls */
  .form-field input,
  .form-field textarea {
    padding: 12px 16px;
  }
  
  /* Utility Elements */
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 16px;
    right: 20px;
    bottom: 20px;
  }
  
  .whatsapp-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }
  
  .whatsapp-btn .text {
    display: none;
  }
  
  .whatsapp-btn .icon {
    margin-right: 0;
  }
}

@media (max-width: 767.98px) {
  /* Small devices (landscape phones, less than 768px) */
  /* Typography */
  body {
    font-size: 15px;
  }
  
  /* Header & Navigation */
  .top-bar {
    font-size: 12px;
  }
  
  .header-logo img {
    max-height: 40px;
  }
  
  /* Hero Section */
  .hero-slide {
    height: 60vh;
  }
  
  .hero-text {
    padding: 20px;
    max-width: 100%;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-text p {
    font-size: 0.95rem;
  }
  
  .hero-shape {
    display: none;
  }
  
  .hero {
    background-color: var(--primary);
    color: white;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
  
  /* Sections */
  .section-title {
    font-size: 26px;
  }
  
  .section-desc {
    font-size: 14px;
  }
  
  .services-highlights,
  .services-section,
  .about-section,
  .blog-section,
  .clients-section,
  .counter-section,
  .testimonials-section,
  .faq-section,
  .contact-info-section {
    padding: 50px 0;
  }
  
  /* Content & Cards */
  .service-box, 
  .feature-card,
  .testimonial-item,
  .blog-card,
  .team-member,
  .client-logo {
    margin-bottom: 20px;
  }
  
  .service-title,
  .feature-title,
  .team-name,
  .blog-title,
  .testimonial-author .author-name {
    font-size: 17px;
  }
  
  .service-desc,
  .feature-description,
  .team-bio,
  .blog-excerpt,
  .testimonial-text {
    font-size: 14px;
  }
  
  .team-image img,
  .blog-img img {
    height: 180px;
  }
  
  /* Footer */
  .footer-top {
    padding: 40px 0 10px;
  }
  
  .footer-widget-title {
    font-size: 16px;
    text-align: center;
  }
  
  .footer-widget-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-about-text,
  .footer-menu li a,
  .footer-contact-info .contact-text {
    font-size: 13px;
    text-align: center;
  }
  
  .footer-social-links {
    justify-content: center;
  }
  
  .footer-menu li a {
    padding-left: 0;
  }
  
  .footer-menu li a::before {
    display: none;
  }
  
  .footer-menu li a:hover {
    padding-left: 0;
  }
  
  .footer-contact-info .contact-item {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-contact-info .contact-icon {
    margin: 0 0 10px 0;
  }
  
  .footer-newsletter {
    padding: 30px 0;
  }
  
  .newsletter-content {
    text-align: center;
  }
  
  .newsletter-content h3 {
    font-size: 20px;
  }
  
  .newsletter-form .form-control,
  .newsletter-form .btn {
    height: 44px;
    font-size: 12px;
  }
  
  .newsletter-form .btn {
    padding: 0 20px;
  }
  
  /* CTA Section */
  .cta-section {
    padding: 50px 0;
  }
  
  .cta-content h2 {
    font-size: 26px;
  }
  
  .cta-content p {
    font-size: 15px;
  }
  
  /* About Page */
  .page-header {
    padding: 60px 0;
  }
  
  .page-header-content h1 {
    font-size: 32px;
  }
  
  .about-image {
    margin-bottom: 30px;
  }
  
  .mission-card, 
  .vision-card {
    padding: 25px;
    margin-bottom: 20px;
  }
  
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  /* Contact Page */
  .contact-address {
    padding: 50px 0 30px;
  }
  
  .grid-item {
    padding: 20px;
  }
  
  .connect-us {
    padding: 50px 0;
  }
  
  .section-heading .section-title {
    font-size: 26px;
  }
  
  .contact-form-wrapper {
    padding: 20px;
  }
  
  .form-field label {
    font-size: 13px;
  }
  
  .form-field input, 
  .form-field textarea {
    padding: 10px 15px;
    font-size: 13px;
  }
  
  .support-item {
    padding: 25px;
  }
  
  /* Quote Modal */
  .form-header h2 {
    font-size: 22px;
  }
  
  .form-header p {
    font-size: 13px;
  }
  
  .btn-quote-submit {
    width: 100%;
  }
  
  /* Utility Elements */
  .back-to-top {
    width: 38px;
    height: 38px;
    font-size: 15px;
    right: 15px;
    bottom: 15px;
  }
  
  .whatsapp-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
    bottom: 60px;
    left: 10px;
  }
  
  /* Buttons */
  .btn-primary, 
  .btn-secondary,
  .btn-outline,
  .btn-outline-secondary,
  .btn-view-all {
    padding: 8px 18px;
    font-size: 12px;
  }
  
  .btn-submit,
  .btn-quote-submit {
    padding: 10px 20px;
    min-width: 150px;
    font-size: 13px;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    text-align: center;
  }
  
  .footer-bottom-links {
    text-align: center !important;
    margin-top: 10px;
  }
  
  .footer-bottom-links a {
    margin: 0 8px;
    font-size: 12px;
  }
  
  .copyright-text {
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  /* Extra small devices (phones, less than 576px) */
  /* Typography */
  body {
    font-size: 14px;
  }
  
  /* Header & Navigation */
  .top-bar {
    padding: 6px 0;
  }
  
  .info-item {
    margin-right: 12px;
    font-size: 11px;
  }
  
  .social-icon {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  
  .header-logo img {
    max-height: 35px;
  }
  
  .mobile-menu-logo img {
    max-width: 120px;
  }
  
  /* Hero Section */
  .hero-slide {
    height: 450px; /* Fixed height instead of vh for very small screens */
  }
  
  .hero-text {
    padding: 15px;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .hero-text p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 0.7rem;
    padding: 4px 8px;
    margin-bottom: 10px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .carousel-indicators {
    bottom: 10px;
  }
  
  .carousel-indicators li {
    width: 8px;
    height: 8px;
  }
  
  .carousel-indicators li.active {
    width: 20px;
  }
  
  .carousel-arrow {
    width: 35px;
    height: 35px;
  }
  
  .carousel-arrow i {
    font-size: 16px;
  }
  
  /* Sections */
  .section-title {
    font-size: 22px;
  }
  
  .section-desc {
    font-size: 13px;
  }
  
  .services-highlights,
  .services-section,
  .about-section,
  .blog-section,
  .clients-section,
  .counter-section,
  .testimonials-section,
  .faq-section,
  .contact-info-section {
    padding: 40px 0;
  }
  
  /* Content & Cards */
  .service-box, 
  .feature-card,
  .testimonial-item,
  .blog-card,
  .team-member,
  .contact-info-item {
    padding: 20px 15px;
  }
  
  .service-icon,
  .feature-icon,
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .service-icon img {
    width: 30px;
  }
  
  .team-image img,
  .blog-img img,
  .portfolio-image img,
  .news-image img {
    height: 160px;
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .testimonial-author-image {
    margin: 0 auto 10px;
  }
  
  .blog-date {
    padding: 5px;
    min-width: 45px;
  }
  
  .blog-date .day {
    font-size: 16px;
  }
  
  .blog-date .month {
    font-size: 10px;
  }
  
  /* CTA Section */
  .cta-section {
    padding: 40px 0;
  }
  
  .cta-content h2 {
    font-size: 22px;
  }
  
  .cta-content p {
    font-size: 14px;
  }
  
  /* About Page */
  .page-header {
    padding: 50px 0;
  }
  
  .page-header-content h1 {
    font-size: 26px;
  }
  
  .about-content p {
    font-size: 14px;
  }
  
  .about-feature {
    padding: 20px 15px;
  }
  
  .experience-badge {
    width: 80px;
    height: 80px;
    bottom: 15px;
    right: 15px;
  }
  
  .experience-badge .years {
    font-size: 24px;
  }
  
  .experience-badge .text {
    font-size: 11px;
  }
  
  .mission-card, 
  .vision-card {
    padding: 20px;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .mission-card h3, 
  .vision-card h3 {
    font-size: 18px;
  }
  
  /* Contact Page */
  .grid-item {
    padding: 15px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .bottom-content .title {
    font-size: 15px;
    margin-bottom: 8px;
  }
  
  .bottom-content a, 
  .bottom-content p {
    font-size: 13px;
  }
  
  .contact-form-wrapper {
    padding: 15px;
  }
  
  .form-field {
    margin-bottom: 15px;
  }
  
  .support-item {
    padding: 20px;
  }
  
  .support-icon img {
    width: 40px;
  }
  
  .support-title {
    font-size: 17px;
  }
  
  /* Quote Modal */
  #quoteModal .modal-content {
    border-radius: 15px;
  }
  
  .quote-modal-image {
    min-height: 250px;
  }
  
  .image-content {
    padding: 20px 15px;
  }
  
  .image-content h3 {
    font-size: 20px;
  }
  
  .image-content p {
    font-size: 13px;
  }
  
  .quote-modal-form {
    padding: 15px;
  }
  
  .form-header h2 {
    font-size: 20px;
  }
  
  .form-header p {
    font-size: 12px;
  }
  
  .form-control, 
  .form-select {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  /* Cookie Consent */
  .cookie-consent-bar {
    flex-direction: column;
    padding: 10px;
  }
  
  .cookie-consent-bar p {
    margin-bottom: 10px;
    padding-right: 0;
    font-size: 12px;
  }
  
  .btn-cookie-accept {
    width: 100%;
    padding: 6px 15px;
    margin-left: 0;
    font-size: 12px;
  }
  
  /* Buttons */
  .btn-primary, 
  .btn-secondary,
  .btn-outline,
  .btn-outline-secondary,
  .btn-view-all {
    padding: 7px 15px;
    font-size: 12px;
  }
  
  .btn-submit,
  .btn-quote-submit {
    padding: 10px 18px;
    min-width: 140px;
    font-size: 12px;
  }
  
  /* Utility Elements */
  .back-to-top {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .whatsapp-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

/* ====================================
 * Accessibility & Performance Optimizations
 * ==================================== */

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-image,
  .service-card:hover,
  .portfolio-card:hover,
  .testimonial-item:hover,
  .team-member:hover,
  .blog-card:hover,
  .client-logo:hover,
  .back-to-top:hover,
  .btn:hover,
  .floating-card {
    transform: none !important;
  }
}

/* Touch targets for mobile */
@media (max-width: 767.98px) {
  .btn,
  .nav-link,
  .dropdown-item,
  .social-icon,
  .read-more,
  .service-link,
  .btn-view-all,
  .member-social a,
  .footer-social-links .social-link,
  .mobile-menu li a,
  .btn-cookie-accept {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Performance optimizations for animations */
@media (max-width: 767.98px) {
  :root {
    --transition: all 0.25s ease;
    --transition-normal: all 0.25s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.35s ease;
  }
}