:root {
  --primary: #40b0e5;
  --primary-light: #6bc3f3;
  --secondary: #1c2242;
  --text: #1e293b;
  --text-light: #64748b;
  --background: #1c2242;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--white);
  background: #1c2242;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--secondary);
  letter-spacing: -0.3px;
}

h1 { 
  font-size: 2.8rem;
  font-weight: 500;
}

h2 { 
  font-size: 2.2rem;
  font-weight: 500;
}

h3 { 
  font-size: 1.8rem;
  font-weight: 500;
}

p {
  margin-bottom: 1.5rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.3px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn:hover::before {
  width: 100%;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Navigation */
.navbar {
  width: 100%;
  background: transparent !important;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Navigation Container */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.desktop-nav a {
  color: white;
  font-weight: 400;
  padding: 8px 0;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  font-size: 1rem;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

.desktop-nav a:hover {
  color: var(--primary-light);
}

.desktop-nav a.active {
  font-weight: 500;
  color: var(--primary-light);
}

/* ============================================
   Mobile Menu Styles - Consolidated and Optimized
   ============================================ */

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #1c2242;
  padding: 100px 0 30px;
  transition: all 0.4s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
}

/* Active State */
#main-nav.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Links */
.mobile-nav a {
  display: block;
  padding: 20px 30px;
  color: white !important;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 5px;
  border-radius: 8px;
  background: transparent;
  text-align: center;
}

/* Mobile Menu Hover/Focus States */
.mobile-nav a:hover,
.mobile-nav a:focus,
.mobile-nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-light) !important;
  transform: translateX(5px);
}

/* Remove any existing underlines or borders from mobile nav */
.mobile-nav a::after {
  display: none !important;
}

/* Menu toggle button - Hidden on desktop by default */
.menu-toggle {
  display: none !important; /* Hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  padding: 0;
  margin-left: auto;
  opacity: 1 !important;
  visibility: visible !important;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white !important;
  margin: 4px 0;
  transition: all 0.3s ease;
  position: relative;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: white !important;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  background: white !important;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: white !important;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Close button in menu */
.menu-close {
  position: fixed;
  top: 30px;
  right: 25px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
}

#main-nav.active + .menu-close {
  opacity: 1;
  visibility: visible;
}

.menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
  /* Ensure menu items stack vertically and take full width */
  #main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 80px;
  }
  
  #main-nav a {
    padding: 16px 25px;
    margin: 0;
    border-radius: 0;
    text-align: left;
  }
  
  /* Make sure menu toggle is always visible */
  .menu-toggle {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 48px;
    height: 48px;
  }
  
  /* Show menu toggle on mobile */
  .menu-toggle {
    display: flex !important;
  }
  
  /* Adjust logo and menu toggle positioning */
  .navbar .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
  
  /* Ensure menu items are properly spaced */
  #main-nav a:not(:last-child) {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Desktop Styles */
@media (min-width: 993px) {
  /* Hide mobile menu and toggle on desktop */
  .mobile-nav,
  .menu-toggle {
    display: none !important;
  }
  
  /* Ensure desktop nav is visible */
  .desktop-nav {
    display: flex !important;
  }
  
  /* Hide mobile menu on desktop */
  .mobile-nav {
    display: none !important;
  }
}

/* Background when scrolling */
.navbar.scrolled {
  background: var(--secondary) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Body padding for fixed header */
body {
  padding-top: 0; /* Reset default padding */
}

/* Add padding to the first section after header to prevent content from being hidden behind fixed header */
.hero {
  padding-top: 80px; /* Height of the header */
}

/* Reset any potential inline styles */
.navbar, .navbar * {
  background-color: transparent !important;
  background-image: none !important;
}

/* Menu items color when header is scrolled */
.navbar.scrolled nav a {
  color: white !important;
}

.navbar.scrolled nav a:hover,
.navbar.scrolled nav a.active {
  color: var(--primary-light) !important;
}

.navbar.scrolled nav a::after {
  background: white !important;
}

.navbar.scrolled nav a.active::after {
  background: var(--primary-light) !important;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
  width: auto;
  display: block;
  max-width: 100%;
  /* Shadow removed as per request */
}

.navbar nav {
  display: flex;
  gap: 30px;
}

.navbar a {
  color: white;
  font-weight: 400;
  padding: 8px 0;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

/* Remove underline effect from logo link */
.navbar > .container > a::after {
  display: none;
}

/* Logo link should have no hover effect */
.navbar > .container > a {
  transition: none;
}

.navbar a:not(.logo):hover {
  color: rgba(255, 255, 255, 0.9);
}

.navbar a:hover::after {
  width: 100%;
}

/* Active navigation link */
.navbar a.active {
  font-weight: 500;
  color: white;
}

.navbar a.active::after {
  width: 100%;
  background: white;
  height: 2px;
}

.navbar.scrolled a.active {
  color: var(--primary);
}

.navbar.scrolled a.active::after {
  background: var(--primary);
}

/* Scrolled state */
.navbar.scrolled a {
  color: var(--secondary);
  text-shadow: none;
}

.navbar.scrolled a::after {
  background: var(--primary);
}

.navbar.scrolled a:not(.logo):hover {
  color: var(--primary);
}

/* Hero Section */
@keyframes zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero {
  position: relative;
  min-height: 80vh;
  max-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 0;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
  background-color: #1c2242;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  z-index: -1;
  animation: zoom 15s ease-in-out infinite alternate;
  transform-origin: center;
  will-change: transform;
}

/* Hero overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

/* Ensure the hero content stays above the background and overlay */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  padding-left: 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Background image classes - these will be used by the JavaScript */
.hero.bg-default {
  background-image: url('../assets/hero.jpg');
}

.hero.bg-general-haulage {
  background-image: url('../assets/General Haulage.jpg');
}

.hero.bg-traction-only {
  background-image: url('../assets/Traction Only.jpg');
}

.hero.bg-van-delivery {
  background-image: url('../assets/Van Delivery.jpg');
}

/* Gradient overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(28, 34, 66, 0.8) 70%,
    #1c2242 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Hero Indicators */
.hero-indicators {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
  padding: 15px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.hero-indicators .indicator {
  width: 5px;
  height: 40px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: none;
  overflow: hidden;
}

.hero-indicators .indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  transform: scale(0);
  border-radius: 50%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  will-change: transform;
}

.hero-indicators .indicator.active {
  background: #40b0e5;
  transform: scaleX(2.2);
}

.hero-indicators .indicator.active::before {
  display: none;
}

.hero-indicators .indicator:hover {
  transform: scaleX(1.8);
}

.hero-indicators .indicator::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-indicators .indicator:hover::after {
  opacity: 1;
  transform: scale(1.1);
}

/* Animation for indicator change */
@keyframes indicatorPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1.2); }
}

.hero-indicators .indicator.active {
  animation: indicatorPulse 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Smooth background image change on slide transition */
.hero {
  will-change: background-image;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
}

/* Overlay for hero image only - now using direct gradient on hero */
.hero .overlay {
  display: none; 
}

.hero .container {
  width: 100%;
  max-width: 1200px;
  padding: 0;
  margin: 0 auto;
  position: relative;
  z-index: 2; 
  transition: transform 0.3s ease-out;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Removed container scale on hover */

.hero-content {
  max-width: 800px;
  color: white;
  margin: 0;
  text-align: left;
  padding-left: 0;
  padding: 0;
  width: 100%;
  position: relative;
  z-index: 4; /* Ensure content is above everything else */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  min-height: 200px; /* Prevent layout shift */
  padding: 100px 0 150px;
}

.hero h1 {
  font-size: 3.5rem;
  margin: 0 0 20px 0;
  line-height: 1.2;
  color: white;
  font-weight: 500; /* Explicitly set to match other headings */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  padding: 0;
  position: relative;
  display: block;
}

.hero p {
  font-size: 1.25rem;
  margin: 0 0 30px 0;
  color: white;
  text-shadow: none;
  opacity: 0.9;
  padding: 0;
  position: relative;
  display: block;
  font-weight: 400;
}

.page-header p {
  font-size: 1.25rem;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: transform, opacity;
}

/* Hero Text Animations */
.hero .desktop-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  color: white;
}

.hero .mobile-text {
  display: none;
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 100%;
  color: white;
  line-height: 1.5;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  opacity: 1;
  font-weight: 400;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

/* Animation for text when changing slides */
.hero-content.animating h1,
.hero-content.animating p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure smooth initial load */
.hero-content.ready h1,
.hero-content.ready p {
  opacity: 0;
  transform: translateY(20px);
}

.hero-content.animate-in h1,
.hero-content.animate-in p {
  opacity: 1;
  transform: translateY(0);
}

/* Remove old animation classes */
.hero h1.animate-out,
.hero p.animate-out,
.hero h1.animate-in,
.hero p.animate-in {
  opacity: 1 !important;
  transform: none !important;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2.5rem;
}

.service-buttons .btn {
  margin: 0;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 200px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.service-buttons .icon {
  font-size: 1.2rem;
  margin: 0 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
}

.service-buttons .btn:hover .icon {
  transform: translateX(3px);
}

/* Individual button colors */
.service-buttons .btn:nth-child(1) {
  border-left: 3px solid #40b0e5;
}

.service-buttons .btn:nth-child(2) {
  border-left: 3px solid #10b981;
}

.service-buttons .btn:nth-child(3) {
  border-left: 3px solid #8b5cf6;
}

/* About Section */
.about .section-title {
  max-width: 100%;
  padding: 0 20px;
  margin-bottom: 20px;
}

.about-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 10px;
  align-items: center;
  padding: 0 20px;
}

.about-overview .about-text {
  flex: 1;
  min-width: 300px;
  padding: 0 20px 0 0;
}

.about-overview .about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-overview .about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.about-tabs {
  display: flex;
  width: 100%;
  margin-top: 30px;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}

.tab-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 200px;
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
  padding-top: 10px;
}

.tab-btn {
  background: white;
  border: 1px solid #e2e8f0;
  color: var(--text);
  padding: 15px 20px;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

.tab-btn:hover, .tab-btn:focus {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  outline: none;
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}


.tab-content {
  position: relative;
  min-height: 300px;
}

.tab-pane {
  display: none;
  gap: 30px;
}

.tab-pane.active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.tab-text {
  flex: 1;
  min-width: 300px;
}

.tab-text p {
  color: black;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: translateY(-5px);
}

.highlight {
  background: rgba(64, 176, 229, 0.1);
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #40b0e5;
  margin-top: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .about-tabs {
    flex-direction: column;
  }
  
  .tab-buttons {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    min-width: 100%;
  }
  
  .tab-btn {
    white-space: nowrap;
  }
  
  .tab-btn.active::after {
    right: 0;
    bottom: -10px;
    left: 0;
    top: auto;
    width: 100%;
    height: 2px;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 40px 0;
  }
  
  .about .container {
    padding: 0 20px !important; /* Important to override any other styles */
    width: 100%;
    box-sizing: border-box;
  }
  
  .about-overview {
    margin: 0 0 30px 0;
    padding: 20px 0;
    width: 100%;
  }
  
  .about-text {
    padding: 0;
    width: 100%;
  }
  
  .about-tabs {
    margin: 0;
    width: 100%;
  }
  
  .tab-buttons {
    padding: 0 15px;
  }
  
  .tab-content {
    padding: 20px 15px;
  }
  
  .about-tabs {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  
  .about-overview {
    flex-direction: column;
    gap: 25px;
    padding: 0;
  }
  
  .about-text, 
  .about-image {
    padding: 0;
  }
  
  .about-text p {
    margin-bottom: 15px;
    font-size: 0.95rem;
  }
  
  .highlight {
    margin: 20px 0;
    padding: 12px;
  }
  
  .tab-buttons {
    flex-direction: column;
    overflow-x: visible;
    padding-bottom: 0;
    margin-bottom: 0;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    border-right: none;
    border-bottom: none;
  }
  
  .tab-btn {
    white-space: normal;
    flex: 1 1 auto;
    width: 100%;
    min-width: 100%;
    text-align: left;
    padding: 15px 20px;
    margin-bottom: 8px;
  }
  
  .tab-pane.active {
    flex-direction: column;
  }
  
  .tab-text, 
  .about-image {
    min-width: 100%;
  }
}

/* Services Section */
.services {
  padding: 60px 0 100px;
  position: relative;
  background-color: #1c2242;
  width: 100%;
  box-sizing: border-box;
  color: white;
  margin: 0;
}

.services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 30px;
  align-items: start;
}

.section-title {
  position: relative;
  background: transparent;
  padding: 20px 30px 20px 0;
  border: none;
  height: auto;
  max-height: none;
  overflow: visible;
  margin: 0;
  transition: none;
}

.section-title:hover {
  /* No hover effects */
}

.section-title h2 {
  font-size: 2.5rem;
  margin: 0 0 15px 0;
  color: white;
  font-weight: 500;
  padding: 0;
  position: relative;
  display: block;
}

.section-title p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
  text-shadow: none;
  opacity: 0.9;
  padding: 0;
  position: relative;
  display: block;
  font-weight: 400;
}

.services-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin: 20px 0 0 0;
  padding: 0;
  max-width: 100%;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.services-grid {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px;
  justify-content: center;
}

.services::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, 
    transparent 0%,
    rgba(28, 34, 66, 0.9) 30%,
    #1c2242 100%
  );
  z-index: 1;
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 2;
  background: #1c2242;
  padding: 0 40px;
  margin-top: -20px;
}

.section-title {
  text-align: left;
  margin-bottom: 50px;
  max-width: 100%;
  padding: 0 20px;
  transition: none;
}

/* Custom scrollbar styling */
/* For Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(28, 34, 66, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #40b0e5;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a9cd9;
  box-shadow: 0 0 10px rgba(64, 176, 229, 0.5);
}

/* Custom scrollbar for section title */
.section-title::-webkit-scrollbar {
  width: 8px;
}

.section-title::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 10px 0;
}

.section-title::-webkit-scrollbar-thumb {
  background: #40b0e5;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.section-title::-webkit-scrollbar-thumb:hover {
  background: #3a9cd9;
  box-shadow: 0 0 10px rgba(64, 176, 229, 0.8);
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #40b0e5 rgba(28, 34, 66, 0.2);
}

.section-title {
  scrollbar-width: thin;
  scrollbar-color: #40b0e5 rgba(255, 255, 255, 0.1);
}

/* For IE and Edge */
* {
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 30px;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
  position: relative;
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.service-card:hover {
  transform: translateY(-5px);
  border: none;
  border-top: 2px solid var(--primary);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-5px);
  border: none;
  border-top: 3px solid var(--primary);
  padding: 37px 30px; /* Adjust top padding to account for top border */
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 1.5rem;
  margin: 0 0 25px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(64, 176, 229, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: rgba(64, 176, 229, 0.2);
}

.service-card h3 {
  font-size: 1.5rem;
  margin: 0 0 15px 0;
  color: white;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.3;
  padding: 0 10px;
  position: relative;
  display: block;
  text-align: left;
}

.service-card h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin: 15px 0 0 0;
  transition: all 0.3s ease;
}

.service-card:hover h3:after {
  width: 80px;
  background: var(--primary-light);
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s ease, background 0.3s ease;
  transform: none;
}

.service-card:hover h3::after {
  width: 80px;
  background: var(--primary-light);
}

.service-card p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 30px 0;
  font-weight: 400;
  line-height: 1.7;
  font-size: 0.9rem;
  padding: 0 5px;
  max-width: 320px;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.service-card .btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: white;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 160px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.service-card .btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(64, 176, 229, 0.3);
}

.service-card .btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #818cf8);
  transition: width 0.3s ease;
  z-index: -1;
}

.service-card .btn-outline:hover {
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
  background: var(--primary);
  color: white !important;
}

.service-card .btn-outline:hover::before {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .services-grid {
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 0 20px;
  }
  
  .service-card {
    padding: 35px 25px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 25px;
    padding: 0 10px;
    margin: 0;
  }
  
  .service-card {
    width: 100%;
    margin: 0;
    padding: 30px 25px;
    box-sizing: border-box;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
  }
  
  .service-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .btn-outline {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
  }
}

@media (max-width: 900px) {
  .services {
    padding: 80px 0;
    min-height: auto;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .section-title {
    max-width: 100%;
    padding: 25px 20px;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 40px 0 60px;
  }
  
  .section-title {
    padding: 0 15px;
    margin-bottom: 20px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
  }
  
  .section-title {
    padding: 20px 15px;
    margin-bottom: 10px;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .services-intro {
    font-size: 1rem;
  }
  
  .service-card {
    padding: 30px 20px;
  }
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--gray-100);
}

.about .container {
  padding-left: 20px;
  padding-right: 20px;
}

.about .section-title h2 {
  color: black;
}

.about .section-title p {
  color: rgba(0, 0, 0, 0.8);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

/* Service Detail Page */
.page-header {
  position: relative;
  padding: 120px 0 80px;
  color: white;
  text-align: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: none;
  text-align: left;
  max-width: 100%;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0;
  text-align: left;
  opacity: 0.9;
}

.service-detail {
  padding: 60px 0;
  background: #f8fafc;
}

.service-content {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.service-text {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  border-radius: 12px;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 50px 0;
  padding: 0;
}

.feature {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
  display: inline-block;
}

.feature h3 {
  margin: 15px 0 10px;
  font-size: 1.2rem;
  color: var(--secondary);
}

.feature p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.benefits {
  list-style: none;
  margin: 20px 0 30px;
  padding: 0;
}

.benefits li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--text);
}

.benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.cta-section {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  padding: 40px;
  border-radius: 12px;
  margin: 60px 0 20px;
  text-align: center;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.cta-section h3 {
  margin-top: 0;
  color: var(--secondary);
}

.cta-section .btn {
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(64, 176, 229, 0.3);
  margin-top: 10px;
  width: auto;
  min-width: 180px;
}

.cta-section .btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.cta-section .btn i {
  font-size: 0.9em;
}

/* Responsive styles for service detail */
@media (max-width: 1024px) {
  .service-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-text {
    padding: 30px 20px;
  }
  
  .service-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }
  
  .cta-section {
    margin: 40px 0 0;
    padding: 30px 20px;
  }
  
  .feature {
    padding: 25px 20px;
  }
  
  .benefits li {
    padding: 10px 0 10px 25px;
  }
}

@media (max-width: 768px) {
  .service-text {
    padding: 20px 15px;
  }
  
  .service-features {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
  }
  
  .feature {
    padding: 20px 15px;
  }
  
  .benefits li {
    padding: 10px 0 10px 20px;
  }
}

/* Contact Section - Minimal Modern */
.contact {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact h2 {
  text-align: center;
  color: #1a1a1a;
  margin: 0 auto 50px;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.2;
  max-width: 800px;
  padding: 0 20px 20px;
  position: relative;
  display: inline-block;
}

.contact h2::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: #e5e7eb;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  gap: 60px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.contact-info {
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #1a1a1a;
}

.contact-info h3 {
  color: var(--secondary);
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 35px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 600;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 4px;
  transition: width 0.3s ease;
}

.contact-info h3:hover::after {
  width: 80px;
}

.contact-form {
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.contact-form:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.form-intro {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f2f5;
}

.form-intro .greeting {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.form-intro .response-time {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
  font-style: italic;
}

.form-group {
  margin-bottom: 28px;
  position: relative;
  width: 100%;
  transition: all 0.3s ease;
  padding: 12px 0;
  border-radius: 8px;
  background: #fff;
}

.form-group:focus-within {
  background: #f8fafc;
  padding: 12px 15px;
  margin-left: -15px;
  margin-right: -15px;
}

.form-group:focus-within {
  transform: translateX(3px);
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: #1a1a1a;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.form-group:focus-within label {
  color: var(--primary);
  transform: translateX(3px);
}

.optional {
  color: #6b7280;
  font-weight: 400;
  font-size: 0.85em;
  margin-left: 4px;
}

.hint {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 6px;
  font-style: italic;
  line-height: 1.4;
  opacity: 0.9;
}

.required {
  color: #ef4444;
  font-weight: bold;
}

.input-with-icon,
.select-wrapper,
.textarea.input-with-icon,
.textarea-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-with-icon i,
.textarea-wrapper i {
  position: absolute;
  left: 15px;
  color: #9ca3af;
  transition: all 0.2s ease;
}

.form-group:focus-within .input-with-icon i,
.form-group:focus-within .textarea-wrapper i {
  color: var(--primary);
  transform: scale(1.1);
}

/* Ensure proper icon alignment in select wrapper */
.select-wrapper::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 2;
}

/* Specific icons for each input type */
.input-with-icon[data-icon="user"] i::before { content: '\f007'; }
.input-with-icon[data-icon="envelope"] i::before { content: '\f0e0'; }
.input-with-icon[data-icon="phone"] i::before { content: '\f095'; }
.textarea-wrapper i::before { content: '\f075'; }

.input-with-icon i,
.textarea-wrapper i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Specific adjustments for textarea icon */
.textarea-wrapper i {
  top: 25px; /* Adjusted for textarea's padding */
  transform: none;
}

.input-with-icon input,
.select-wrapper select,
.textarea-wrapper textarea {
  width: 100%;
  padding: 14px 15px 14px 50px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: #fff;
  color: #334155;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  height: 50px; /* Fixed height for consistency */
}

/* Adjust textarea specifically */
.textarea-wrapper textarea {
  height: auto;
  min-height: 150px;
  padding-top: 15px;
  line-height: 1.5;
  resize: vertical;
}

.input-with-icon input:focus,
.select-wrapper select:focus,
.textarea-wrapper textarea:focus {
  border-color: #40b0e5;
  box-shadow: 0 0 0 3px rgba(64, 176, 229, 0.2);
  outline: none;
  background-color: #fff;
}

.textarea-wrapper textarea {
  min-height: 150px;
  padding-top: 15px;
  resize: vertical;
}

.select-wrapper::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 15px;
  color: var(--gray-400);
  pointer-events: none;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.input-with-icon input:focus,
.select-wrapper select:focus,
.textarea-wrapper textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background-color: white;
}

.input-with-icon input:focus + i,
.textarea-wrapper textarea:focus + i {
  color: var(--primary);
}

.error-message {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.btn-primary {
  background: #40b0e5;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(64, 176, 229, 0.3);
  margin-top: 10px;
  width: auto;
  min-width: 180px;
}

.btn-primary:hover {
  background: #2e9cdb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 176, 229, 0.4);
}

.btn-primary i {
  font-size: 0.9em;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.form-note {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 10px;
  line-height: 1.5;
}

/* Form validation styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ef4444;
  padding-right: 45px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
  border-color: #10b981;
  padding-right: 45px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .contact-info,
  .contact-form {
    padding: 35px 25px;
  }
  
  .btn-primary {
    width: 100%;
  }
}

.form-success {
  display: flex;
  align-items: center;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 15px 20px;
  border-radius: 8px;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.form-success.show {
  opacity: 1;
  transform: translateY(0);
}

.form-success i {
  margin-right: 12px;
  font-size: 1.5rem;
}

.form-success p {
  margin: 0;
  font-size: 0.95rem;
}

/* Mobile Footer */
@media (max-width: 992px) {
  .footer-content > *:not(.footer-bottom) {
    display: none;
  }
  
  .footer-bottom {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    margin: 0;
    border-top: none;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-info,
  .contact-form {
    padding: 40px;
  }
}

@media (max-width: 576px) {
  .contact {
    padding: 60px 0;
  }
  
  .contact h2 {
    font-size: 2rem;
  }
  
  .contact-info,
  .contact-form {
    padding: 30px 20px;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 20px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 3px solid var(--primary);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-item i {
  font-size: 20px;
  color: white;
  background: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover i {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.contact-item-content {
  flex: 1;
}

.contact-item h4 {
  margin: 0 0 8px;
  color: var(--secondary);
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.contact-link:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}

.contact-item i {
  font-size: 24px;
  color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover i {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
}

.contact-item h4 {
  color: var(--dark);
  margin: 0 0 5px;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-item p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.6;
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--secondary);
  position: relative;
  padding-bottom: 10px;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

.contact-info p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info p strong {
  min-width: 80px;
  display: inline-block;
}

.contact-form {
  background: var(--gray-100);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-progress {
  margin-bottom: 2.5rem;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  color: #a0aec0;
  transition: color 0.3s ease;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 60%;
  right: -40%;
  height: 2px;
  background-color: #e2e8f0;
  z-index: -1;
}

.step.active:not(:last-child)::after {
  background-color: #4299e1;
}

.step.active {
  color: #4299e1;
}

.step.completed {
  color: #48bb78;
}

.step.completed .step-number {
  background-color: #48bb78;
  color: white;
  border-color: #48bb78;
}

.step.completed:not(:last-child)::after {
  background-color: #48bb78;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background-color: #4299e1;
  color: white;
  border-color: #4299e1;
}

.step-text {
  font-size: 0.875rem;
  font-weight: 500;
}

.progress-bar {
  height: 4px;
  background-color: #e2e8f0;
  border-radius: 2px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.progress {
  height: 100%;
  background-color: #4299e1;
  transition: width 0.3s ease;
  width: 25%;
}

/* Form Steps */
.form-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-step.active {
  display: block;
}

/* Service Options */
.service-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-option {
  position: relative;
}

.service-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.service-option label {
  display: flex;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: white;
}

.service-option:hover label {
  border-color: #cbd5e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.service-option input[type="radio"]:checked + label {
  border-color: #4299e1;
  background-color: #ebf5ff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.service-icon {
  margin-right: 1rem;
  color: #4299e1;
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.service-content h4 {
  margin: 0 0 0.25rem;
  color: #2d3748;
  font-size: 1rem;
}

.service-content p {
  margin: 0;
  color: #718096;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Timeline Options */
.timeline-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.timeline-option {
  position: relative;
}

.timeline-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.timeline-option label {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: white;
  margin: 0;
}

.timeline-option:hover label {
  border-color: #cbd5e0;
}

.timeline-option input[type="radio"]:checked + label {
  border-color: #4299e1;
  background-color: #ebf5ff;
}

.timeline-option i {
  margin-right: 0.75rem;
  color: #718096;
  font-size: 1.125rem;
  width: 24px;
  text-align: center;
}

/* Review Section */
.review-section {
  background-color: #f8fafc;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.review-item {
  margin-bottom: 1.5rem;
}

.review-item:last-child {
  margin-bottom: 0;
}

.review-item h4 {
  margin: 0 0 1rem;
  color: #4a5568;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-content p {
  margin: 0.5rem 0;
  color: #4a5568;
  line-height: 1.5;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.btn-prev {
  background-color: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.btn-prev:hover {
  background-color: #edf2f7;
  border-color: #cbd5e0;
}

.btn-next,
.btn-submit {
  background-color: #4299e1;
  color: white;
  margin-left: auto;
}

.btn-next:hover,
.btn-submit:hover {
  background-color: #3182ce;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success Message */
.form-success {
  text-align: center;
  padding: 2rem 1rem;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  font-size: 3.5rem;
  color: #48bb78;
  margin-bottom: 1.5rem;
}

.success-message h3 {
  margin: 0 0 1rem;
  color: #2d3748;
  font-size: 1.5rem;
}

.success-message p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-new-request {
  background-color: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-new-request:hover {
  background-color: #edf2f7;
  border-color: #cbd5e0;
}

.btn-new-request i {
  margin-right: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (min-width: 640px) {
  .service-options {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-options {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .form-navigation {
    justify-content: flex-end;
  }
  
  .btn-prev {
    margin-right: 1rem;
  }
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #2d3748;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn i {
  margin-left: 0.5rem;
}

.btn-primary {
  background-color: #4299e1;
  color: white;
}

.btn-primary:hover {
  background-color: #3182ce;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #e2e8f0;
  color: #4a5568;
}

.btn-outline:hover {
  background-color: #f7fafc;
  border-color: #cbd5e0;
}

/* Footer */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Desktop Footer */
footer {
  background: #1a1f36;
  color: #e2e8f0;
  padding: 40px 0 0;
  margin-top: auto;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
}

.footer-logo {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  max-width: 140px;
  width: auto;
  height: auto;
  margin-bottom: 10px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  color: white;
  font-size: 1rem;
  margin: 0 0 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-services li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--primary);
}

.footer-contact p {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding: 15px 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.3px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 40px;
}

/* Mobile Footer */
@media (max-width: 768px) {
  footer {
    padding: 0;
    border-top: none;
  }

  .footer-content {
    display: none;
  }

  .footer-bottom {
    margin: 0;
    padding: 15px;
    font-size: 0.8rem;
    border-top: none;
  }
}

/* Footer */
footer {
  background: #1c2242;
  color: rgba(255, 255, 255, 0.9);
  padding: 50px 0 20px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo img {
  max-width: 180px;
  margin-bottom: 15px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-services li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-services a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-services a:hover,
.footer-contact a:hover {
  color: var(--primary-light);
  transform: translateX(3px);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .services .container {
    grid-template-columns: 1fr 2fr;
    gap: 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .services .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .section-title {
    position: static;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    max-height: none;
    overflow: visible;
    padding: 25px;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero h1 {
    font-size: 3rem;
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  transition: color 0.3s ease;
}

.menu-toggle:focus {
  outline: none;
  color: var(--primary);
}

.menu-toggle.active {
  color: var(--primary);
}

@media (max-width: 992px) {
  /* Show mobile menu toggle and hide desktop nav on mobile */
  .menu-toggle {
    display: flex !important;
  }
  
  /* Show mobile menu when active */
  .mobile-nav.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  /* Hide desktop nav on mobile */
  .desktop-nav {
    display: none;
  }
  
  /* Hide desktop navigation on mobile */
  .navbar nav:not(#main-nav) {
    display: none;
  }
  
  /* Make header fixed on mobile */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
    transition: all 0.3s ease;
    padding: 15px 0;
  }
  
  .navbar.scrolled {
    background: var(--secondary) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Ensure hero section starts below the header */
  .hero {
    margin-top: 70px;
  }
  
  /* Navigation */
  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 100%;
  }
  
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    transition: color 0.3s ease;
  }
  
  .navbar.scrolled .menu-toggle {
    color: white;
  }
  
  .menu-toggle:hover {
    color: var(--primary-light);
  }
  
  /* Mobile menu */
  #main-nav {
    position: fixed;
    top: 60px; /* Height of the header */
    left: 0;
    width: 100%;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--secondary);
    padding: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  #main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  #main-nav a {
    display: block;
    padding: 15px 30px;
    color: white !important;
    text-align: center;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: var(--secondary);
  }
  
  #main-nav a:last-child {
    border-bottom: none;
  }
  
  #main-nav a:hover,
  #main-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light) !important;
  }
  
  #main-nav a::after {
    display: none;
  }
  
  /* Menu icon color when scrolled */
  .scrolled .menu-toggle {
    color: white;
  }
  
  .scrolled .menu-toggle:hover,
  .scrolled .menu-toggle.active {
    color: var(--primary-light);
  }
  
  /* Add padding to the first section after header to account for fixed header */
  .hero {
    padding-top: 0;
  }
  
  /* Ensure content starts below the header */
  body {
    padding-top: 0;
  }
  
  /* Mobile menu styles */
  #main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  
  #main-nav.active {
    background: var(--secondary);
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  #main-nav a {
    display: block;
    padding: 15px 30px;
    color: white !important;
    text-align: center;
    font-size: 1.1rem;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  #main-nav a:last-child {
    border-bottom: none;
  }
  
  #main-nav a:hover,
  #main-nav a.active {
    color: var(--primary-light) !important;
    background: rgba(255, 255, 255, 0.1);
  }
  
  #main-nav a::after {
    display: none;
  }
  
  /* Hide the duplicate nav element */
  nav {
    display: none;
  }
  
  /* Hero Section */
  .hero-content {
    padding: 60px 20px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* General Layout */
  .container {
    padding: 0 15px;
  }
  
  /* Headings */
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* About Section */
  .about .container {
    flex-direction: column;
  }
  
  .about-content, .about-image {
    width: 100%;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-group {
    width: 100%;
    margin-bottom: 15px;
  }
  
  /* Footer */
  footer {
    padding: 30px 0 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
    text-align: left;
  }
  
  .footer-logo {
    text-align: center;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .footer-logo img {
    max-width: 120px;
    margin: 0 auto 10px;
  }
  
  .footer-links,
  .footer-services,
  .footer-contact {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
  }
  
  .footer-links h4,
  .footer-services h4,
  .footer-contact h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
  
  .footer-links h4::after,
  .footer-services h4::after,
  .footer-contact h4::after {
    position: static;
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
  }
  
  .footer-links h4.collapsed::after,
  .footer-services h4.collapsed::after,
  .footer-contact h4.collapsed::after {
    transform: rotate(-90deg);
  }
  
  .footer-links ul,
  .footer-services ul,
  .footer-contact p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin: 0;
  }
  
  .footer-links ul.show,
  .footer-services ul.show,
  .footer-contact p.show {
    max-height: 1000px;
    margin-bottom: 15px;
  }
  
  .footer-bottom {
    margin-top: 10px;
    padding: 15px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hero .desktop-text {
    display: none;
  }
  
  .hero .mobile-text {
    display: block;
  }
  
  body {
    padding-top: 0;
  }
  
  .hero {
    padding-top: 60px; /* Reduced padding for mobile */
    min-height: calc(100vh - 60px); /* Adjust min-height to account for header */
    margin-top: 0; /* Ensure no margin is adding space */
  }
  
  .container {
    padding: 0 15px;
  }
  
  .navbar .logo {
    height: 40px;
  }
  
  .hero .hero-indicators {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: 100%;
    margin: 0 auto;
    top: auto !important;
    right: auto !important;
    flex-wrap: nowrap;
    overflow: visible;
  }
  
  .hero .hero-indicators .indicator {
    flex: 0 0 auto;
    width: 12px !important;
    height: 12px !important;
    margin: 0 8px !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    position: relative;
    background: transparent !important;
    transform: none !important;
  }
  
  .hero .hero-indicators .indicator::before,
  .hero .hero-indicators .indicator::after {
    display: none !important;
  }
  
  .hero .hero-indicators .indicator:hover,
  .hero .hero-indicators .indicator.active {
    transform: scale(1.3) !important;
    background: var(--primary) !important;
    border-color: var(--primary) !important;
  }
  
  .hero .hero-indicators .indicator.active {
    width: 30px !important;
    border-radius: 5px !important;
  }
  
  .hero-content {
    padding: 40px 20px;
    margin: 0;
    text-align: left;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .service-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .service-buttons .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 450px;
    margin-top: 0;
    padding-top: 60px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .hero p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }
  
  .footer-logo,
  .footer-links,
  .footer-services,
  .footer-contact {
    padding: 0;
  }
  
  .footer-links h4,
  .footer-services h4,
  .footer-contact h4 {
    margin-bottom: 15px;
  }
  
  .footer-bottom {
    margin-top: 15px;
    padding: 15px 10px;
    text-align: center;
  }
  
  .hero p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 25px 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
