/*----------------------------------
 Je-Lux Logistics - Modern Design
 Complete CSS Redesign
----------------------------------*/

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* CSS Variables */
:root {
  /* Colors */
  --primary-color: #109c3d;
  --primary-dark: #0d7a30;
  --primary-light: #52b788;
  --secondary-color: #74c69d;
  --accent-color: #95d5b2;
  --success-color: #40916c;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font_secondary: "Poppins", sans-serif;

  /* Spacing */
  --section-padding: 80px;
  --container-padding: 20px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font_secondary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#preloader .spinner-grow {
  width: 3rem;
  height: 3rem;
  color: var(--white);
}

/* Header */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
}

.modern-header .navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-normal);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-brand .logo-img {
  height: 55px;
  width: 170px;
}

/* Desktop Navigation */
.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(16, 156, 61, 0.1);
  border-radius: 6px;
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

.navbar-nav .dropdown-toggle.active {
  color: var(--primary-color) !important;
  background-color: rgba(16, 156, 61, 0.1);
  border-radius: 6px;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 1px;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: 1rem 0;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition-normal);
}

.dropdown-item:hover {
  background-color: rgba(16, 156, 61, 0.1);
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  color: var(--gray-600);
  transition: var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-quote {
  background: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition-normal);
}

.btn-quote:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Mobile Menu Toggle Button */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  background: transparent;
  width: 50px;
  height: 50px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  z-index: 1002;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger Animation */
.navbar-toggler.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--white);
}

.navbar-toggler.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.navbar-toggler.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--white);
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
  /* Show mobile toggle button */
  .navbar-toggler {
    display: flex;
  }

  /* Hide desktop navigation */
  .navbar-nav {
    display: none !important;
  }

  /* HIDE SOCIAL MEDIA ICONS ON MOBILE */
  .header-actions {
    display: none !important;
  }

  /* Mobile Menu Backdrop */
  .mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: none; /* Hidden by default */
  }

  .mobile-menu-backdrop.show {
    opacity: 1;
    visibility: visible;
    display: block;
  }

  /* Mobile Menu Sidebar */
  .mobile-menu-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default */
  }

  .mobile-menu-sidebar.show {
    right: 0;
    display: block;
  }

  /* Mobile Menu Header */
  .mobile-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-color);
    color: var(--white);
  }

  .mobile-menu-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    width: 180px;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
  }

  .mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Mobile Menu Content */
  .mobile-menu-content {
    padding: 1rem 0;
  }

  .mobile-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-item {
    border-bottom: 1px solid var(--gray-100);
  }

  .mobile-menu-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link.active {
    background: var(--gray-50);
    color: var(--primary-color);
  }

  .mobile-menu-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
  }

  /* Mobile Dropdown */
  .mobile-menu-dropdown {
    position: relative;
  }

  .mobile-menu-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--gray-700);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-normal);
  }

  .mobile-menu-dropdown-toggle:hover {
    background: var(--gray-50);
    color: var(--primary-color);
  }

  .mobile-menu-dropdown-icon {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
  }

  .mobile-menu-dropdown.active .mobile-menu-dropdown-icon {
    transform: rotate(180deg);
  }

  .mobile-menu-dropdown-content {
    max-height: 0;
    overflow: hidden;
    background: var(--gray-50);
    transition: max-height 0.3s ease;
  }

  .mobile-menu-dropdown.active .mobile-menu-dropdown-content {
    max-height: 300px;
  }

  .mobile-menu-dropdown-link {
    display: block;
    padding: 0.75rem 2.5rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-normal);
    border-bottom: 1px solid var(--gray-200);
  }

  .mobile-menu-dropdown-link:hover {
    background: var(--white);
    color: var(--primary-color);
  }

  .mobile-menu-dropdown-link:last-child {
    border-bottom: none;
  }

  /* Mobile Menu Footer */
  .mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
  }

  .mobile-menu-social-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .mobile-menu-social {
    display: flex;
    gap: 0.75rem;
  }

  .mobile-menu-social a {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
  }

  .mobile-menu-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  /* Prevent body scroll when menu is open */
  body.mobile-menu-open {
    overflow: hidden;
  }

  /* Adjust logo size for mobile */
  .navbar-brand .logo-img {
    height: 45px;
    width: 140px;
  }
}

/* Tablet Adjustments */
@media (max-width: 768px) {
  .navbar-brand .logo-img {
    height: 40px;
    width: 120px;
  }

  .mobile-menu-sidebar {
    width: 280px;
  }
}

/* Small Mobile Adjustments */
@media (max-width: 576px) {
  .modern-header .navbar {
    padding: 0.75rem 0;
  }

  .navbar-brand .logo-img {
    height: 35px;
    width: 110px;
  }

  .mobile-menu-sidebar {
    width: 100%;
    max-width: 100vw;
  }

  .hamburger-line {
    width: 22px;
    height: 2.5px;
  }
}

/* Desktop Navigation (show only on desktop) */
@media (min-width: 992px) {
  .navbar-nav {
    display: flex !important;
    flex-direction: row;
    column-gap: 15px;
    padding-right: 15px;
  }

  .navbar-toggler {
    display: none !important;
  }

  /* Show social media icons only on desktop */
  .header-actions {
    display: flex !important;
  }

  /* HIDE ALL MOBILE MENU ELEMENTS ON DESKTOP */
  .mobile-menu-backdrop,
  .mobile-menu-sidebar,
  .mobile-menu-header,
  .mobile-menu-content,
  .mobile-menu-nav,
  .mobile-menu-footer,
  .mobile-menu-dropdown,
  .mobile-menu-dropdown-content {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* Scrolled Header State */
.modern-header .navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

@media (max-width: 991.98px) {
  .modern-header .navbar.scrolled {
    padding: 0.75rem 0;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--accent-color) 100%);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(16, 156, 61, 0.9) 0%, rgba(82, 183, 136, 0.8) 100%);
  z-index: -1;
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  top: 80%;
  left: 20%;
  animation-delay: -10s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 30%;
  animation-delay: -15s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
  }
  75% {
    transform: translateY(-30px) rotate(270deg);
  }
}

.hero-content {
  color: var(--white);
  z-index: 1;
  padding-top: 30px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  position: relative;
}

.title-line {
  display: block;
}

.title-line.highlight {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  color: white;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.125rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.btn-primary-large:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
  color: var(--primary-color);
}

.btn-secondary-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: var(--white);
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.125rem;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.btn-secondary-large:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-features .feature-item i {
  color: var(--accent-color);
}

.hero-visual {
  position: relative;
  height: 600px;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-normal);
}

.hero-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
}

.card-1 {
  top: 50px;
  left: 0;
  width: 200px;
}

.card-2 {
  top: 200px;
  right: 0;
  width: 180px;
}

.card-3 {
  bottom: 150px;
  left: 50px;
  width: 190px;
}

.hero-card .card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.hero-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.hero-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

.hero-stats {
  position: absolute;
  bottom: 50px;
  right: 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 500;
}

.stat-description {
  font-size: 0.875rem;
  color: var(--white);
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: var(--transition-normal);
}

.scroll-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Section Styles */
section {
  padding: var(--section-padding) 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 156, 61, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  background: var(--gray-50);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 0;
}

.feature-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  background: rgba(16, 156, 61, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Services Section */
.services-section {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
}

.service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(16, 156, 61, 0.8), rgba(82, 183, 136, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-link {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: var(--transition-normal);
}

.service-link:hover {
  transform: scale(1.1);
}

.service-content {
  padding: 2rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.service-content p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-btn {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: var(--transition-normal);
}

.service-btn::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-normal);
}

.service-btn:hover::after {
  width: 100%;
}

/* About Section */
.about-section {
  background: var(--gray-50);
}

.about-images {
  position: relative;
  height: 600px;
}

.image-grid {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-item {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image {
  width: 300px;
  height: 400px;
  top: 0;
  left: 0;
  z-index: 3;
}

.secondary-image {
  width: 250px;
  height: 300px;
  top: 100px;
  right: 0;
  z-index: 2;
}

.tertiary-image {
  width: 200px;
  height: 250px;
  bottom: 0;
  left: 150px;
  z-index: 1;
}

.image-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
}

.experience-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.experience-badge .years {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.9;
}

.about-content {
  padding: 5rem 0;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  position: relative;
}

.about-content h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: var(--radius-full);
}

.about-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.about-features {
  margin-bottom: 2.5rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--gray-700);
}

.about-feature i {
  color: var(--primary-color);
  font-size: 1.125rem;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition-normal);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info i {
  width: 50px;
  height: 50px;
  background: rgba(16, 156, 61, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
}

.contact-label {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

.contact-number {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* Stats & CTA Section */
.stats-cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="90" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.stats-container {
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-normal);
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.stat-label {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.stat-description {
  font-size: 0.875rem;
  color: var(--white);
  opacity: 0.9;
}

.cta-container {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--white);
  opacity: 0.95;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--white);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
  color: var(--primary-color);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--white);
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--gray-50);
}

.testimonials-carousel .owl-stage-outer {
  padding: 2rem 0;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin: 0 1rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
}

.testimonial-content {
  margin-bottom: 2rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.stars i {
  color: #fbbf24;
  font-size: 1.125rem;
}

.testimonial-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-700);
  font-style: italic;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--gray-900);
}

.author-info span {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Partners Section */
.partners-section {
  background: var(--white);
  padding: 4rem 0;
}

.partners-carousel .owl-stage-outer {
  padding: 2rem 0;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin: 0 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.partner-logo {
  max-height: 60px;
  width: auto;
  opacity: 0.7;
  transition: var(--transition-normal);
}

.partner-item:hover .partner-logo {
  opacity: 1;
}

/* Fixed: Contact Section - Matching Heights */
.contact-section {
  background: var(--gray-50);
}

.contact-section .row {
  align-items: stretch;
}

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.contact-header {
  margin-bottom: 2rem;
}

.contact-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  position: relative;
}

.contact-header h3::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: var(--radius-full);
}

.contact-details {
  flex: 1;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(16, 156, 61, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-content {
  flex: 1;
}

.contact-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-content a {
  display: block;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: var(--transition-normal);
}

.contact-content a:hover {
  color: var(--primary-color);
}

.contact-social {
  margin-bottom: 2rem;
}

.social-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-social .social-links {
  justify-content: flex-start;
}

.btn-contact-full {
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-normal);
}

.btn-contact-full:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

/* Footer */
.modern-footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, #0a0f1c 100%);
  color: var(--gray-300);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--accent-color));
}

.modern-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 2rem;
}

/* Mobile-First Footer Brand */
.footer-brand {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.footer-logo:hover {
  transform: translateY(-2px);
  color: var(--primary-light);
}

.footer-logo img {
  height: 50px;
  width: auto;
  max-width: 160px;
  transition: var(--transition-normal);
}

.footer-logo:hover img {
  filter: brightness(1.1);
}

.footer-brand p {
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Mobile Social Links */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-social a {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 1.25rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  opacity: 0;
  transition: var(--transition-normal);
  z-index: -1;
}

.footer-social a:hover {
  color: var(--white);
  transform: translateY(-4px) scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(16, 156, 61, 0.3);
}

.footer-social a:hover::before {
  opacity: 1;
}

/* Mobile-Optimized Footer Links */
.footer-links {
  margin-bottom: 2.5rem;
  text-align: center;
  padding: 0 1rem;
}

.footer-links h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-full);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.footer-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(16, 156, 61, 0.1), rgba(82, 183, 136, 0.05));
  opacity: 0;
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  z-index: -1;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateY(-2px);
  border-color: rgba(16, 156, 61, 0.3);
  box-shadow: 0 4px 15px rgba(16, 156, 61, 0.2);
}

.footer-links a:hover::before {
  opacity: 1;
}

/* Enhanced Mobile Contact Section */
.footer-contact {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.footer-contact h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-contact h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-full);
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-contact .contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 156, 61, 0.1), transparent);
  transition: left 0.5s ease;
}

.footer-contact .contact-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(16, 156, 61, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 156, 61, 0.15);
}

.footer-contact .contact-item:hover::before {
  left: 100%;
}

.footer-contact .contact-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 156, 61, 0.2);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.footer-contact .contact-item:hover i {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.footer-contact .contact-item span {
  color: var(--gray-300);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* Enhanced Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.footer-bottom .container {
  text-align: center;
}

.copyright {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.developer {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 400;
}

.developer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-normal);
  position: relative;
}

.developer a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-normal);
}

.developer a:hover {
  color: var(--primary-light);
}

.developer a:hover::after {
  width: 100%;
}

/* Tablet Responsive Design (768px and up) */
@media (min-width: 768px) {
  .footer-content {
    padding: 5rem 0 3rem;
  }

  .footer-brand {
    text-align: left;
    margin-bottom: 0;
    padding: 0;
  }

  .footer-brand p {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .footer-social {
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .footer-links {
    text-align: left;
    margin-bottom: 2rem;
    padding: 0;
  }

  .footer-links h4::after {
    left: 0;
    transform: none;
  }

  .footer-links ul {
    align-items: flex-start;
  }

  .footer-links a {
    justify-content: flex-start;
    padding: 0.5rem 0;
    background: none;
    border: none;
  }

  .footer-links a:hover {
    transform: translateX(8px);
    box-shadow: none;
    border-color: transparent;
  }

  .footer-contact {
    text-align: left;
    padding: 0;
  }

  .footer-contact h4::after {
    left: 0;
    transform: none;
  }

  .footer-contact .contact-item {
    justify-content: flex-start;
    background: none;
    border: none;
    padding: 0.75rem 0;
  }

  .footer-contact .contact-item:hover {
    background: none;
    transform: none;
    box-shadow: none;
    border-color: transparent;
  }

  .footer-contact .contact-item:hover::before {
    display: none;
  }

  .footer-contact .contact-item span {
    text-align: left;
  }

  .footer-bottom .container {
    text-align: left;
  }

  .copyright {
    margin-bottom: 0;
  }
}

/* Desktop Responsive Design (992px and up) */
@media (min-width: 992px) {
  .footer-content {
    padding: 6rem 0 3rem;
  }

  .footer-social a {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
  }

  .footer-social a:hover {
    transform: translateY(-3px) scale(1.1);
  }

  .footer-links h4 {
    font-size: 1.125rem;
  }

  .footer-contact h4 {
    font-size: 1.125rem;
  }
}

/* Large Desktop Enhancements (1200px and up) */
@media (min-width: 1200px) {
  .footer-content {
    padding: 7rem 0 4rem;
  }

  .footer-brand p {
    font-size: 1.05rem;
  }

  .footer-social {
    gap: 1.25rem;
  }

  .footer-social a {
    width: 52px;
    height: 52px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .modern-footer {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
  }

  .footer-social a {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  }

  .footer-contact .contact-item {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    border-top-color: rgba(255, 255, 255, 0.05);
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .modern-footer {
    background: #000;
    color: #fff;
  }

  .footer-social a {
    background: #333;
    border: 2px solid #fff;
    color: #fff;
  }

  .footer-links a {
    border: 1px solid transparent;
    color: #fff;
  }

  .footer-links a:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }

  .footer-contact .contact-item {
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .footer-social a,
  .footer-links a,
  .footer-contact .contact-item,
  .footer-logo {
    transition: none;
  }

  .footer-social a:hover,
  .footer-links a:hover,
  .footer-contact .contact-item:hover,
  .footer-logo:hover {
    transform: none;
  }

  .footer-contact .contact-item::before {
    display: none;
  }
}

/* Print Styles */
@media print {
  .modern-footer {
    background: none !important;
    color: #000 !important;
    padding: 2rem 0 !important;
  }

  .footer-social,
  .footer-bottom::before {
    display: none !important;
  }

  .footer-links a,
  .footer-contact .contact-item span {
    color: #000 !important;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 2rem;
  }
}

@media (max-width: 992px) {
  :root {
    --section-padding: 80px;
  }

  .hero-visual {
    margin-top: 4rem;
    height: 400px;
  }

  .hero-stats {
    position: static;
    margin-top: 2rem;
    justify-content: center;
  }

  .about-content {
    padding-left: 0;
    margin-top: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-visual {
    height: auto; /* Changed from 300px to auto for better mobile layout */
    padding: 2rem 0;
  }

  /* Enhanced mobile hero card styles to ensure all cards are visible */
  .hero-card {
    position: static !important;
    width: 100% !important;
    margin-bottom: 1.5rem;
    transform: none !important; /* Reset any hover transforms */
  }

  /* Ensure all three cards are displayed in mobile */
  .card-1,
  .card-2,
  .card-3 {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-bottom: 1.5rem;
  }

  /* Stack cards in a specific order for mobile */
  .hero-image-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions {
    flex-direction: column;
  }

  .contact-section .row {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .contact-info-card {
    margin-bottom: 2rem;
  }

  /* Adding mobile responsive styles for about section */
  /* About Section Mobile Fixes */
  .about-images {
    height: auto;
    padding: 1rem 0;
  }

  .image-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    height: auto;
  }

  .image-item {
    position: relative;
    width: 100% !important;
    height: 200px !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .main-image {
    grid-column: 1 / -1;
    height: 250px !important;
  }

  .secondary-image {
    grid-column: 1;
  }

  .tertiary-image {
    grid-column: 2;
  }

  .experience-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 1rem auto 0;
    width: fit-content;
  }

  .about-content {
    padding: 2rem 0;
  }

  .about-content h2 {
    font-size: 1.875rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-card,
  .service-card,
  .testimonial-card {
    margin: 0;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-nav {
  margin-top: 2rem;
  text-align: center;
}

.owl-carousel .owl-nav button {
  width: 50px;
  height: 50px;
  background: var(--primary-color) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  margin: 0 0.5rem !important;
  font-size: 1.25rem !important;
  transition: var(--transition-normal) !important;
}

.owl-carousel .owl-nav button:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-3px);
}

.owl-carousel .owl-dots {
  margin-top: 2rem;
  text-align: center;
}

.owl-carousel .owl-dot {
  width: 12px;
  height: 12px;
  background: var(--gray-300) !important;
  border-radius: var(--radius-full) !important;
  margin: 0 0.5rem !important;
  transition: var(--transition-normal) !important;
}

.owl-carousel .owl-dot.active {
  background: var(--primary-color) !important;
  transform: scale(1.2);
}

.testimonials-carousel .owl-dots {
  display: none !important;
}

/* Modern Page Header Styles */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 8rem 0 4rem;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header .breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  margin: 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
}

.page-header .breadcrumb-item {
  font-weight: 500;
}

.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-normal);
}

.page-header .breadcrumb-item a:hover {
  color: var(--white);
}

.page-header .breadcrumb-item.active {
  color: var(--white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  content: "→";
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0.5rem;
}

/* Modern Value Cards */
.value-card-modern {
  position: relative;
  height: 100%;
  perspective: 1000px;
}

.value-card-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  overflow: hidden;
  transform-style: preserve-3d;
}

.value-card-modern:hover .value-card-inner {
  transform: translateY(-15px) rotateX(5deg);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(76, 175, 80, 0.3);
  box-shadow: 0 25px 50px rgba(76, 175, 80, 0.2);
}

.value-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.1) 0%,
    rgba(129, 199, 132, 0.05) 50%,
    rgba(165, 214, 167, 0.1) 100%
  );
  opacity: 0;
  transition: var(--transition-normal);
  border-radius: var(--radius-xl);
}

.value-card-modern:hover .value-card-bg {
  opacity: 1;
}

.value-icon-modern {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--white);
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.value-icon-modern::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light), #81c784);
  border-radius: var(--radius-full);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-normal);
}

.value-card-modern:hover .value-icon-modern {
  transform: scale(1.1) rotateY(10deg);
  box-shadow: 0 15px 40px rgba(76, 175, 80, 0.4);
}

.value-card-modern:hover .value-icon-modern::before {
  opacity: 1;
}

.value-card-inner h4 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  transition: var(--transition-normal);
}

.value-card-modern:hover .value-card-inner h4 {
  color: var(--primary-color);
  transform: translateZ(20px);
}

.value-card-inner p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
  transition: var(--transition-normal);
}

.value-card-modern:hover .value-card-inner p {
  color: var(--gray-700);
  transform: translateZ(10px);
}

/* Enhanced floating animation for value cards */
.value-card-modern:nth-child(1) .value-card-inner {
  animation: float1 6s ease-in-out infinite;
}

.value-card-modern:nth-child(2) .value-card-inner {
  animation: float2 6s ease-in-out infinite 1.5s;
}

.value-card-modern:nth-child(3) .value-card-inner {
  animation: float3 6s ease-in-out infinite 3s;
}

.value-card-modern:nth-child(4) .value-card-inner {
  animation: float4 6s ease-in-out infinite 4.5s;
}

@keyframes float1 {
  0%,
  100% {
    transform: translateY(0px) rotateZ(0deg);
  }
  50% {
    transform: translateY(-10px) rotateZ(1deg);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translateY(0px) rotateZ(0deg);
  }
  50% {
    transform: translateY(-15px) rotateZ(-1deg);
  }
}

@keyframes float3 {
  0%,
  100% {
    transform: translateY(0px) rotateZ(0deg);
  }
  50% {
    transform: translateY(-8px) rotateZ(1.5deg);
  }
}

@keyframes float4 {
  0%,
  100% {
    transform: translateY(0px) rotateZ(0deg);
  }
  50% {
    transform: translateY(-12px) rotateZ(-0.5deg);
  }
}

/* Responsive adjustments for value cards */
@media (max-width: 768px) {
  .value-card-inner {
    padding: 2rem 1.5rem;
  }

  .value-icon-modern {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }

  .value-card-inner h4 {
    font-size: 1.25rem;
  }
}

/* Services Page Styles */
.services-overview {
  background: var(--gray-50);
  padding: 4rem 0;
}

.service-detail-section {
  padding: 5rem 0;
  position: relative;
}

.service-detail-section:nth-child(even) {
  background: var(--gray-50);
}

.service-detail-reverse .row {
  flex-direction: row-reverse;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  transition: var(--transition-normal);
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.service-detail-content {
  padding: 2rem 0;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.service-detail-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.service-detail-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.service-features {
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.125rem;
}

.service-cta-btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.service-detail-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-detail-card:hover .service-detail-image img {
  transform: scale(1.05);
}

.services-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.services-cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}

.services-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--white);
  opacity: 0.9;
}

.cta-button {
  background: var(--white);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
  color: var(--primary-color);
}

/* Responsive adjustments for services page */
@media (max-width: 768px) {
  .service-detail-card {
    padding: 2rem;
  }

  .service-detail-title {
    font-size: 2rem;
  }

  .service-detail-reverse .row {
    flex-direction: column;
  }

  .service-detail-content {
    padding: 1rem 0;
  }
}

/* ================ Back to Top Button ================ */
/* Adding comprehensive back-to-top button styling for better visibility and user experience */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.back-to-top:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}
