/* Base Styles */
/* Add this to your CSS file */
html, body {
  width: 100%;
  overflow-x: hidden; /* Horizontal scrolling block */
  position: relative; /* Positioning context */
}

/* Container fix */
.container, .hero-container {
  width: 100%;
  max-width: 1200px; /* Maximum width for large screens */
  margin: 0 auto; /* Centers the container */
  padding: 0 15px; /* Prevents content from touching edges */
  position: relative; /* For absolute positioning context */
}


/* Add this after your normal CSS */
body.prevent-scroll {
  overflow: hidden;
}


:root {
  --primary-color: #2671a5;
  --primary-dark: #1a6da3;
  --primary-light: #e6f2f9;
  --secondary-color: #f8f9fa;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --accent-color: #ff6b6b;
  --text-color: #333;
  --text-light: #777;
  --white: #ffffff;
  --black: #000000;
  --gray: #f5f5f5;
  --dark-gray: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  text-align: center;
  position: relative;
  margin-bottom: 42px;
  padding-bottom: 0px;
}

/* Features Section Heading */
.features h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

/* Brand Section Heading */
.brands h2 {
  color: white; /* For black background */
  font-size: 32px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  h2 {
    font-size: 28px;
    padding-bottom: 10px;
  }
}


p {
  margin-bottom: 15px;
}

.subtitle {
  color: var(--text-light);
  margin-bottom: 40px;
  text-align: center;
  font-size: 18px;
}

/* Modern Button Styles */
.modern-btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 4px 15px rgba(42, 127, 186, 0.3);
  position: relative;
  overflow: hidden;
}

.modern-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 127, 186, 0.4);
}

.modern-btn:active {
  transform: translateY(1px);
}

.modern-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.modern-btn:hover i {
  transform: translateX(3px);
}

/* Top Contact Bar - Fixed Responsive */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: var(--dark-color);
  color: var(--white);
  padding: 12px 0;
  font-size: 14px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar span, .top-bar a {
  margin: 0 10px;
  display: flex;
  align-items: center;
}

.top-bar i {
  margin-right: 8px;
  font-size: 16px;
}

.top-bar a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 8px;
  }
  
  .top-bar span, .top-bar a {
    margin: 2px 0;
  }
}

@media (max-width: 992px) {
  .top-bar {
    position: relative;
  }
}

/* Top Bar Styling */
.top-bar {
  background: #2a7fba;
  color: white;
  padding: 8px 0;
  font-size: 14px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  transition: transform 0.3s ease;
}

.top-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s;
}

.top-bar a:hover {
  opacity: 0.9;
}

/* Header Styling */
header {
  position: fixed;
  top: 40px; /* Height of top bar */
  left: 0;
  right: 0;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 80px; /* Fixed height for header */
}

header .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
}

/* Add padding to body to account for fixed header */
body {
  padding-top: 120px; /* Height of top-bar + header */
}

/* When scrolled, make header stick to top */
body.scrolled header {
  top: 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

body.scrolled .top-bar {
  transform: translateY(-100%);
}

/* Adjust logo size */
.logo img {
  max-width: 200px;
  height: auto;
  transition: all 0.3s ease;
}

/* Add padding to body to account for fixed header */
body {
  padding-top: 120px; /* Height of top-bar + header */
}

/* Mobile menu button - hidden on desktop */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #2a7fba;
  z-index: 1002;
  padding: 10px;
  margin-left: 10px;
}

/* Mobile menu styles */
.mega-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
  z-index: 1003;
  padding: 20px;
  padding-top: 70px; /* Space for close button */
}

.mega-menu.active {
  right: 0;
}

/* Desktop menu */
@media (min-width: 993px) {
  .mega-menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    overflow: visible;
    display: block !important;
    flex: 1;
    margin-left: 40px; /* Space between logo and menu */
  }
  
  .mega-menu > ul {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
  }
  
  .mega-menu > ul > li {
    position: relative;
    margin: 0 10px;
  }
  
  .mega-menu > ul > li > a {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .mega-menu > ul > li > a:hover,
  .mega-menu > ul > li:hover > a {
    color: #2a7fba;
    border-bottom-color: #2a7fba;
  }
  
  /* Submenu styles for desktop */
  .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1002;
    pointer-events: none;
    transform: translateY(15px) scale(0.95);
    transform-origin: top center;
  }
  
  /* Center submenu under parent */
  .mega-menu > ul > li {
    position: relative;
  }
  
  /* Position submenu for center items */
  .mega-menu > ul > li:not(:first-child):not(:last-child) > .sub-menu {
    left: 50%;
    transform: translateX(-50%) translateY(15px) scale(0.95);
  }
  
  /* Position submenu for first two items */
  .mega-menu > ul > li:nth-child(-n+2) > .sub-menu {
    left: 0;
    transform: translateY(15px) scale(0.95);
  }
  
  /* Position submenu for last two items */
  .mega-menu > ul > li:nth-last-child(-n+2) > .sub-menu {
    left: auto;
    right: 0;
    transform: translateY(15px) scale(0.95);
  }
  
  /* Hover/Active states */
  .mega-menu > ul > li.active > .sub-menu,
  .mega-menu > ul > li:hover > .sub-menu,
  .mega-menu > ul > li .sub-menu.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  
  .mega-menu > ul > li:not(:first-child):not(:last-child):hover > .sub-menu {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  
  /* Submenu items animation */
  .sub-menu li {
    transform: translateX(-10px);
    opacity: 0;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
  }
  
  .mega-menu > ul > li:hover .sub-menu li {
    transform: translateX(0);
    opacity: 1;
  }
  
  /* Staggered animation for submenu items */
  .mega-menu > ul > li:hover .sub-menu li:nth-child(1) { transition-delay: 0.05s; }
  .mega-menu > ul > li:hover .sub-menu li:nth-child(2) { transition-delay: 0.1s; }
  .mega-menu > ul > li:hover .sub-menu li:nth-child(3) { transition-delay: 0.15s; }
  .mega-menu > ul > li:hover .sub-menu li:nth-child(4) { transition-delay: 0.2s; }
  .mega-menu > ul > li:hover .sub-menu li:nth-child(5) { transition-delay: 0.25s; }
  
  .mega-menu > ul > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .sub-menu li {
    margin: 0;
    padding: 0;
  }
  
  .sub-menu li:before {
    display: none;
  }
  
  .sub-menu a {
    padding: 10px 25px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    background: transparent;
  }
  
  .sub-menu a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #2a7fba;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
  }
  
  .sub-menu a:hover {
    color: #2a7fba;
    background: rgba(42, 127, 186, 0.05);
    padding-left: 30px;
  }
  
  .sub-menu a:hover:before {
    transform: scaleY(1);
  }
}

/* Menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* Menu close button */
.menu-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: #2a7fba;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.menu-close-btn:hover {
  background: #2a7fba;
  color: white;
  transform: rotate(90deg);
}

/* Menu items */
.mega-menu > ul {
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.mega-menu > ul > li {
  margin-bottom: 0;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.mega-menu > ul > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mega-menu > ul > li > a i {
  transition: transform 0.3s ease;
  margin-left: 10px;
  font-size: 14px;
}

.mega-menu > ul > li.active > a i {
  transform: rotate(180deg);
}

.mega-menu > ul > li > a:hover {
  color: #2a7fba;
}

/* Submenu styles */
.sub-menu {
  display: none;
  padding: 0 0 0 15px;
  margin: 0;
  background-color: #f9f9f9;
  border-radius: 4px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.mega-menu > ul > li.active > .sub-menu {
  display: block;
  max-height: 500px; /* Adjust based on your content */
  padding: 10px 0 10px 15px;
  margin: 5px 0;
}

.sub-menu li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 10px;
}

.sub-menu li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: #2a7fba;
  border-radius: 50%;
}

/* Mega Menu Container */
.mega-menu {
  transition: all 0.3s ease;
  display: flex;
}

/* ===== DESKTOP STYLES (default) ===== */
.mega-menu > ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-menu li {
  position: relative;
}

/* Menu Items */
.mega-menu > ul > li {
  position: relative;
  margin: 0 10px; /* Reduced gap between categories */
}

.mega-menu > ul > li > a {
  color: #333;
  font-weight: 500;
  padding: 10px 15px; /* Reduced padding */
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}

.mega-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  width: 220px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.mega-menu li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}

.mega-menu > ul > li > a:hover {
  color: #2a7fba;
}

 /* Chevron icon rotation */
.mega-menu > ul > li > a i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
.hero-section, .about-section, .counters-section, .contact-hero, .contact-container {
  animation: fadeInUp 0.8s cubic-bezier(.4,0,.2,1) 0.1s both;
}

/* Responsive */
@media (max-width: 900px) {
  .about-row, .contact-container {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .about-img, .about-content, .contact-info-card, .contact-map-form {
    max-width: 100%;
  }
  .counters-section {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .hero-overlay h1 { font-size: 1.5rem; }
  .about-section { padding: 30px 0 10px 0; }
  .counters-section { padding: 18px 0 24px 0; }
  .counter-box { padding: 18px 8px; min-width: 90px; }
  .contact-hero { padding: 28px 5px 15px 5px; }
  .contact-container { padding: 18px 5px 20px 5px; }
  .contact-info-card, .slot-booking-form { padding: 15px 5px; }
}

/* ==================== */
/* About & Contact Pages */
/* ==================== */

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 350px;
  background: linear-gradient(rgba(38,113,165,0.8), rgba(38,113,165,0.8)), url('Images/about-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
}

.hero-overlay h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 15px;
  animation: fadeInUp 1s ease;
}

.hero-overlay p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1s ease 0.2s both;
}

/* About Page Styles */
.about-section {
  padding: 60px 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}

.about-row {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.about-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-row.reverse {
  flex-direction: row-reverse;
}

.about-img {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-img:hover {
  transform: translateY(-5px);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.about-content {
  flex: 1;
}

.about-content h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-content h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.about-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* Counters Section */
.counters-section {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  padding: 60px 0;
  color: white;
  text-align: center;
}

.counter-box {
  display: inline-block;
  margin: 0 20px;
  padding: 30px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  min-width: 180px;
  transition: transform 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.counter {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

/* Contact Page Styles */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info-card {
  flex: 1;
  min-width: 300px;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
}

.contact-info-card h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-card p, 
.contact-info-card a {
  color: #555;
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--accent-color);
}

.contact-info-card i {
  color: var(--accent-color);
  width: 20px;
  text-align: center;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  margin-top: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.map-btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-map-form {
  flex: 2;
  min-width: 300px;
}

.contact-map {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.slot-booking-form {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.slot-booking-form h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.slot-booking-form input[type="text"],
.slot-booking-form input[type="email"],
.slot-booking-form input[type="tel"],
.slot-booking-form input[type="date"],
.slot-booking-form input[type="time"],
.slot-booking-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.slot-booking-form input:focus,
.slot-booking-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(38,113,165,0.1);
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

.form-success {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin-top: 20px;
  display: none;
  animation: fadeIn 0.5s ease;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-row {
    flex-direction: column;
    text-align: center;
  }
  
  .about-row.reverse {
    flex-direction: column;
  }
  
  .about-content h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .counter-box {
    margin: 10px;
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2.2rem;
  }
  
  .hero-overlay p {
    font-size: 1rem;
  }
  
  .about-section {
    padding: 40px 0;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info-card,
  .contact-map-form {
    width: 100%;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 300px;
    padding: 60px 15px;
  }
  
  .hero-overlay h1 {
    font-size: 1.8rem;
  }
  
  .counter-box {
    width: 100%;
    max-width: 200px;
    margin: 10px auto;
  }
  
  .slot-booking-form {
    padding: 20px 15px;
  }
}

/* --- End Custom Styles --- */

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.mega-menu > ul > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}

/* Improved Menu Transitions */
.mega-menu > ul > li .sub-menu {
  transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease;
}

.mega-menu > ul > li:hover > a i {
  transform: rotate(180deg);
}

.sub-menu li {
  margin: 0;
  padding: 0;
}

.sub-menu li a {
  display: block;
  padding: 8px 20px;
  color: #555;
  transition: all 0.3s ease;
}

.sub-menu li a:hover {
  background: #f5f5f5;
  color: #2a7fba;
  padding-left: 25px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
   display: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--primary-color);
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}

.menu-close-btn {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #2a7fba;
}

/* ===== MOBILE/TABLET STYLES ===== */
@media (max-width: 992px) {
  .logo img {
    max-width: 200px; /* Adjusted for mobile */
    height: auto;
  }

  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
  }

  .mobile-menu-btn i {
    font-size: 24px;
    color: #2a7fba;
  }

  header .container {
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  /* Menu Close Button */
  .menu-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #2a7fba;
    cursor: pointer;
    z-index: 1003;
    padding: 5px;
    display: none;
  }
  
  /* Mega Menu */
  .mega-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    padding: 70px 20px 30px;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 1001;
  }
  
  .mega-menu.active {
    left: 0;
  }

  .mega-menu.active + .menu-close-btn {
    display: block;
  }
  
  .mega-menu > ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }
  
  .mega-menu > ul > li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
  }
  
  .menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .menu-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  /* Submenu Styles */
  .sub-menu {
    padding-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #f9f9f9;
    margin: 5px 0;
    border-radius: 4px;
  }

  .mega-menu > ul > li.active > .sub-menu {
    max-height: 1000px; /* Adjust based on your content */
  }

  .mega-menu > ul > li.active > .menu-link i {
    transform: rotate(180deg);
  }

  .sub-menu li a {
    display: block;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
  }

  .sub-menu li a:hover {
    color: #2a7fba;
    padding-left: 20px;
  }
  
  .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
  }
  
  .mega-menu > ul > li.active .sub-menu {
    max-height: 1000px;
  }
  
  .mega-menu > ul > li.active > a i {
    transform: rotate(180deg);
  }

  .mega-menu li.active .sub-menu {
    max-height: 1000px; /* Adjust based on content */
  }
  
  .sub-menu li a {
     padding: 8px 15px !important;
    font-size: 14px !important;
  }
  
  /* .menu-close-btn {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
  } */
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

/* Tablet Specific Styles */
@media (min-width: 768px) and (max-width: 992px) {

  .logo img {
    max-width: 150px; /* Smaller for mobile */
    height: 60px;
  }

  .mega-menu > ul > li > a {
    padding: 15px 0;
  }
  
  .sub-menu li a {
    padding: 10px 0 10px 20px !important;
  }

  header .container {
    height: 80px;
  }
}



/* Hero Section with Background image */
.hero {
  min-height: 80vh;
  background: linear-gradient(to right, rgba(0,0,0,0.2), transparent), 
              url('images/1-desktop-hero.png'); /* Desktop image */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-container {
  width: 100%;
  max-width: 1200px;  /* Same as your main container */
  margin: 0 auto;
  padding: 0 20px;    /* For mobile spacing */
}

.hero-content {
  max-width: 600px;
  padding: 40px;
  background: rgba(255, 255, 255, 0);
  border-radius: 10px;
  color: var(--primary-color);
  margin-left: 50px;  /* Adjust this value for left spacing */
}


@media (max-width: 768px) {
  .hero {
    min-height: 40vh; /* 40vh aapke liye best rahega */
    background-position: center 64%; /* 64% focus point */
    background-attachment: scroll; /* Important for mobile */
  }
  
  .hero-content {
    margin: 0 auto;
    padding: 25px; /* Slightly reduced padding */
    width: 92%; /* Better side spacing */
    max-width: 380px; /* Optimal content width */
    transform: translateY(-10px); /* Slight upward shift */
    -webkit-backdrop-filter: blur(10px);
    /* backdrop-filter: blur(10px); Subtle glass effect */
  }
  
  .hero h1 {
    font-size: 26px; /* Perfect mobile heading */
    line-height: 1.35;
    margin-bottom: 12px;
  }
  
  .hero p {
    font-size: 15px;
    margin-bottom: 18px;
    line-height: 1.5;
  }
  
  .modern-btn {
    padding: 11px 22px;
    font-size: 13px;
    min-width: 130px; /* Better tap target */
  }
}


.modern-btn {
  min-width: 140px; /* Better for touch */
  padding: 14px 20px; /* Larger tap area */
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 16px;
  }
}

/* Features Section with image Backgrounds */
.features {
  padding: 80px 0;
  background: var(--gray);
}

.feature-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 20px;
}

.box {
  height: 463px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.box:hover {
  transform: translateY(-10px);
}

.box-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 25px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.box:hover .box-content {
  transform: translateY(0);
}

.box h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.box p {
  margin-bottom: 20px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .feature-boxes {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .feature-boxes {
    grid-template-columns: 1fr;
  }
  
  .box {
    height: 228px;
  }
}

/* image + Content Section - Responsive Fixed */
.image-content {
  padding: 80px 0;
  background: var(--white);
}

.content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.text-side {
  flex: 1;
}

.image-side {
  flex: 1;
}

.image-side img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.text-side h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.text-side p {
  margin-bottom: 15px;
  color: var(--text-light);
}

@media (max-width: 992px) {
  .content-wrapper {
    flex-direction: column-reverse;
  }
  
  .text-side, .image-side {
    width: 100%;
  }
  
  .text-side {
    text-align: center;
  }
}

/* 3 Easy Steps Section - Responsive Fixed */
.easy-steps {
  padding: 80px 0;
  background: var(--primary-light);
}

.steps-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.steps-image {
  flex: 1;
}

.steps-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.steps-content {
  flex: 1;
}

.steps-content h2 {
  font-size: 29px;
  margin-bottom: 10px;
}

.step {
  display: flex;
  gap: 10px;
  margin-bottom: 0px;
  align-items: flex-start;
}

.step i {
  color: var(--primary-color);
  font-size: 24px;
  margin-top: 3px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.step p {
  color: var(--text-light);
}

@media (max-width: 992px) {
  .steps-wrapper {
    flex-direction: column;
  }
  
  .steps-content, .steps-image {
    width: 100%;
  }
}

/* Certificates Section with Scrolling */
.certificates {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.certificates.dark {
  background: linear-gradient(rgba(42, 127, 186, 0.9), rgba(42, 127, 186, 0.9)), url('images/cert-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.cert-list {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.cert-scroller {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.cert-scroller img {
  width: 200px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.service-process-section {
  font-size: 18px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 25px;
  color: var(--text-light)
}

/* Why Different Section */
.why-different {
  padding: 80px 0;
  background: var(--white);
}
 

.why-different-layout {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/Fetchpik.com-jMUHI.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
}

.diff-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.diff-image {
  flex: 1;
}

.diff-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.diff-content {
  flex: 1;
}

.diff-content h2 {
  font-size: 30px;
  margin-bottom: 6px;
}

.diff-content p {
  margin-bottom: 10px;
  color: var(--text-light);
}

.diff-content ul {
  margin-bottom: 13px;
}

.diff-content li {
  margin-bottom: 5px;
  display: flex;
  align-items: flex-start;
}

.diff-content li i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 3px;
}

@media (max-width: 992px) {
  .diff-wrapper {
    flex-direction: column;
  }
  
  .diff-content, .diff-image {
    width: 100%;
  }
}

/* Why dif with bg*/
.diff-content-bg {
  flex: 1;
}

.diff-content-bg h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.diff-content-bg p {
  margin-bottom: 10px;
  color: var(--white);
}

.diff-content-bg ul {
  margin-bottom: 30px;
}

.diff-content-bg li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.diff-content-bg li i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 3px;
}

@media (max-width: 992px) {
  .diff-wrapper {
    flex-direction: column;
  }
  
  .diff-content-bg, .diff-image {
    width: 100%;
  }
}


/* Why Best Section with Background and Logos */
.why-best {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/background-2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
}

.logos-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.2;
  pointer-events: none;
}

.logos-overlay img {
  margin: 0 30px;
  max-width: 150px;
  height: auto;
}

.icons-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.icon-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 30px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 1.2);
  transition: all 0.3s ease;
}

.icon-box:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.icon-box i {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 15px;
  display: block;
}

.icon-box h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

.icon-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

@media (max-width: 768px) {
  .icons-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .icons-list {
    grid-template-columns: 1fr;
  }
}

/* Product Grid - 6 Products */
.products {
  padding: 80px 0;
  background: #f8f9fa; /* Light background */
}

.products .container {
  max-width: 1200px;
  padding: 0 20px;
}

/* Heading and Subtitle Styling */
.products h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 15px;
  color: #2a7fba; /* Primary color */
}

.products .subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Product Grid Layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

/* Individual Product Card */
.product {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Hover Effects */
.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Product image */
.product-image {
  height: 200px;
  overflow: hidden;
  margin-bottom: 0; /* Remove any default margin */
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Remove bottom space */
}

/* Content Container */
.product-details {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center; /* Center all text */
}

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

/* Product Content - Center Aligned */
.product-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center horizontally */
  text-align: center; /* Text center alignment */
}

/* Text Elements */
.product h3 {
  font-size: 20px;
  margin: 15px 0 10px;
  color: #333;
  line-height: 1.3;
}

/* Button Styling */
.product .modern-btn {
  margin: 15px auto 0;
  padding: 10px 25px;
  display: inline-block; /* Better than flex for centering */
  width: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .product-content {
    padding: 20px;
  }
  
  .product h3 {
    font-size: 18px;
    margin: 10px 0 8px;
  }
  
  .product p {
    font-size: 14px;
    margin-bottom: 15px;
  }

   .product .modern-btn {
    padding: 8px 20px;
    font-size: 13px;
  }
}

.product p {
  color: #666;
  margin: 0 0 20px;
  padding: 0 10px;
  line-height: 1.5;
  flex-grow: 1;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Brand Partner Section */
.brands {
  padding: 80px 0;
  background-color: #000000; /* Pure black */
  text-align: center;
  color: white; /* White text for contrast */
}

.brand-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.brand-logos img {
  max-width: 150px;
  height: 63px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1);
}

.brand-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-content hr {
  width: 750px;
  margin: 20px auto;
  border: none;
  border-top: 5px solid var(--primary-color);
  
}

/* Map Section with Cities */
.map-section {
  padding: 80px 0;
  background: var(--gray);
}

.map-city {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.map {
  flex: 2;
  height: 500px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
}

.map-placeholder i {
  font-size: 60px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.cities {
  flex: 1;
}

.cities h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.city-grid {
  display: flex;
  gap: 20px;
}

.city-col {
  flex: 1;
}

.city {
  padding: 12px 15px;
  background: var(--white);
  border-radius: 5px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.city:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateX(5px);
}

.city i {
  margin-right: 8px;
}

@media (max-width: 992px) {
  .map-city {
    flex-direction: column;
  }
  
  .city-grid {
    flex-wrap: wrap;
  }
  
  .city-col {
    flex: 1 1 45%;
  }
}

/* Reviews Section with Testimonials */
.reviews {
  padding: 80px 0;
  background: var(--white);
}

.review-container {
  margin-top: 40px;
}

.rating-cards {
  display: flex;
  gap: 30px;
}

.rating-card {
  flex: 1;
  background: var(--gray);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
}

.rating-card.google {
  border-top: 5px solid #4285F4;
}

.rating-card.trustpilot {
  border-top: 5px solid #00B67A;
}

.rating-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.rating-header i {
  font-size: 40px;
  margin-right: 15px;
}

.rating-header h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.stars {
  display: flex;
  align-items: center;
}

.stars i {
  font-size: 16px;
  color: #FFD700;
  margin-right: 3px;
}

.stars span {
  margin-left: 10px;
  font-weight: 600;
  color: var(--text-color);
}

.testimonials {
  margin-top: 20px;
}

.testimonial {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--dark-gray);
}

.testimonial:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-light);
}

.author {
  font-weight: 600;
  margin-top: 10px;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .rating-cards {
    flex-direction: column;
  }
}

/* FAQ Section - Improved Design */
.faq {
  padding: 80px 0;
  background: var(--gray);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.faq-question.active {
  background: var(--primary-color);
  color: var(--white);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--white);
}

.faq-question.active + .faq-answer {
  padding: 20px 25px;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-light);
}

/* CTA Section with Modern Buttons */
.cta {
  padding: 80px 0;
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.cta-options {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.cta-card {
  flex: 1;
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  color: var(--text-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.cta-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cta-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 30px;
}

.cta-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.cta-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .cta-options {
    flex-direction: column;
  }
}

/* Footer - Responsive Fixed */
footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-col ul li i {
  margin-right: 8px;
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-info i {
  margin-right: 10px;
  margin-top: 3px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Sticky Icons */
.sticky-icons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
  transform: none !important; /* Remove any transforms causing drift */
}

@media (max-width: 768px) {
  .sticky-icons {
    right: 10px;
    bottom: 10px;
  }
}

.sticky-icons a, .sticky-icons div {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.sticky-icons a:hover, .sticky-icons div:hover {
  transform: translateY(-5px) scale(1.1);
}

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

.whatsapp {
  background: #25D366;
}

.chatbot {
  background: var(--accent-color);
  cursor: pointer;
}

/* Popup Form */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
}

.popup.active {
  display: flex;
  opacity: 1;
}

.popup-content {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
  transform: translateY(20px);
  transition: transform 0.3s ease-in-out;
}

.popup.active .popup-content {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: color 0.3s ease;
  z-index: 10;
}

.popup-close:hover {
  color: var(--primary-color);
}

.popup-close:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.popup-header {
  margin-bottom: 20px;
  padding-right: 30px;
}

.popup-header h2 {
  margin: 0 0 10px;
  color: var(--primary-color);
  text-align: left;
}

.popup-body {
  margin-bottom: 20px;
}

/* Form elements in popup */
.popup .form-group {
  margin-bottom: 15px;
}

.popup .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.popup .form-group input,
.popup .form-group select,
.popup .form-group textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.popup .form-group input:focus,
.popup .form-group select:focus,
.popup .form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(42, 113, 255, 0.2);
}

.popup .btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  text-align: center;
}

.popup .btn:hover {
  background: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .popup {
    padding: 15px;
    align-items: flex-start;
  }
  
  .popup-content {
    padding: 25px 20px;
    margin: 20px 0;
  }
  
  .popup-close {
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    font-size: 20px;
  }
  
  .popup-header {
    padding-right: 25px;
  }
  
  .popup-header h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .popup {
    padding: 10px;
  }
  
  .popup-content {
    padding: 20px 15px;
    margin: 10px 0;
  }
  
  .popup-close {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    font-size: 18px;
  }
  
  .popup-header {
    margin-bottom: 15px;
    padding-right: 20px;
  }
  
  .popup-header h2 {
    font-size: 18px;
    margin-bottom: 5px;
  }
  
  .popup-body {
    margin-bottom: 15px;
  }
}

/* Prevent body scroll when popup is open */
body.popup-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}


h2 {
  font-size: 21px;
  padding-bottom: 10px;
}

@media (max-width: 600px) {
  .popup-content {
    padding: 18px 8px;
    max-width: 82vw;
    width: 98vw;
  }

  .popup {
    padding: 0px;
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.close-btn:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.popup h2 {
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--dark-gray);
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 127, 186, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .features h2, .image-content h2, .easy-steps h2, 
  .why-different h2, .why-best h2, .products h2, 
  .brands h2, .map-section h2, .reviews h2, 
  .faq h2, .cta h2 {
    font-size: 28px;
  }
  
  .popup-content {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {

  .popup {
    padding: 35px;
  }
  .feature-boxes, .icons-list, .product-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .sticky-icons {
    bottom: 20px;
    right: 20px;
  }
  
  .sticky-icons a, .sticky-icons div {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Rounded border */
hr.rounded {
  border-top: 8px solid #bbb;
  border-radius: 5px;
}

/* Auto-Scrolling Carousel Styles */
.auto-scroll-carousel {
  padding: 80px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.product-track {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  width: max-content; /* Allows content to expand beyond container */
  animation: scroll 20s linear infinite;
}

.product-card {
  flex: 0 0 300px;
  text-align: center;
  transition: all 0.3s ease;
}

.product-img-container {
  width: 100%;
  height: 220px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-name {
  font-size: 20px;
  color: #2a3f5f;
  margin-top: 15px;
}

/* Animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Scrolls half the width */
}

/* Pause on hover */
.product-track:hover {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-card {
    flex: 0 0 250px;
  }
  
  .product-img-container {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .product-track {
    gap: 15px;
  }
  
  .product-card {
    flex: 0 0 200px;
  }
  
  .product-img-container {
    height: 150px;
  }
}

/* This is for Book Hearing Aid Trial Aid */

/* Booking Page Styles */
.trial-hero {
  background: linear-gradient(rgba(42, 127, 186, 0.8), rgba(42, 127, 186, 0.8)), 
              url('../images/trial-hero-bg.jpg') center/cover;
  color: white;
  text-align: center;
  padding: 100px 0;
}

.trial-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.booking-section {
  padding: 60px 0;
  background: #f9fbfd;
}

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

.booking-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.booking-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 500px;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(42, 127, 186, 0.9);
  color: white;
  padding: 30px;
}

.image-overlay h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.image-overlay ul {
  list-style: none;
  padding: 0;
}

.image-overlay li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.image-overlay i {
  font-size: 1.2rem;
}

.booking-form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #2a3f5f;
}

.text-primary {
  color: #2a7fba;
}

.interactive-form {
  display: grid;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2a3f5f;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  padding: 12px 15px;
  min-height: 100px;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 40px;
  color: #2a7fba;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2a7fba;
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 127, 186, 0.2);
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #2a7fba;
  color: white;
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.cta-btn:hover {
  background: #1a6fa0;
  transform: translateY(-2px);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.cta-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Brands Section */
.brands-section {
  padding: 60px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2a3f5f;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.brand-item {
  display: flex;
  justify-content: center;
  padding: 20px;
  background: #f9fbfd;
  border-radius: 5px;
}

.brand-item img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 60px 0;
  background: #f9fbfd;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: #e6f2fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #2a7fba;
  font-size: 1.8rem;
}

.feature-card h3 {
  color: #2a3f5f;
  margin-bottom: 15px;
}

/* Locations Section */
.locations-section {
  padding: 60px 0;
  background: white;
}

.map-container {
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.location-card {
  background: #f9fbfd;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.location-card h3 {
  color: #2a3f5f;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-card p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-card i {
  color: #2a7fba;
  width: 20px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
  
  .booking-image img {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .trial-hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .form-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .booking-form {
    padding: 25px;
  }
  
  .image-overlay {
    padding: 20px;
  }
  
  .feature-card {
    padding: 20px;
  }
}

