/* ============================================
   TABLE OF CONTENTS
==============================================
  1. CSS Variables & Base Styles
  2. Header & Navigation
  3. Dropdown Styles
  4. Mobile Navigation
  5. Hero Section - Chemistry Specific
  6. Intro Section
  7. Services Tab Section
  8. About Section
  9. Clients Section
  10. Why Choose Us Section
  11. Blog Section
  12. Webinar Section
  13. Testimonials Section
  14. CTA Section
  15. Contact Section
  16. Footer Section
  17. Animations
  18. Media Queries
     - Large Devices (1200px and below)
     - Medium Devices (992px and below) 
     - Medium/Small Devices (768px and below)
     - Small Devices (576px and below)
     - Extra Small Devices (480px and below)
============================================= */

/* ============================================
   1. CSS Variables & Base Styles
============================================= */
:root {
  --primary-color: #3a86ff;
  --secondary-color: #4361ee;
  --accent-color: #f5c542;
  --dark-color: #2b2d42;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --success-color: #06d6a0;
  --white: #ffffff;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --dark-gray: #444;
  --medium-gray: #ccc;
  --light-gray: #f5f5f5;
}

/* Small Devices (576px and below) */
@media (max-width: 576px) {
  .client-grid {
    grid-template-columns: 1fr;
  }
  
  .tab-buttons {
    flex-direction: column;
  }
  
  .tab-btn {
    min-width: 100%;
    width: 100%;
  }
  
  .testimonial-text {
    font-size: 16px;
    padding-left: 0;
  }
  
  .quote-icon {
    display: none;
  }
  
  .blog-card,
  .client-card,
  .why-us-card,
  .webinar-card {
    padding: 20px;
  }
  
  .cta-content h2 {
    font-size: 24px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
  
  .contact-item {
    flex-direction: column;
  }
  
  .contact-item i {
    margin-bottom: 10px;
  }
  
  .contact-info, 
  .google-form {
    padding: 25px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Extra Small Devices (480px and below) */
@media (max-width: 480px) {
  .header {
    height: 120px;
  }
  
  .logo-text {
    font-size: 20px;
  }
  
  .dba-text {
    font-size: 10px;
  }
  
  .header.sticky {
    height: 80px;
  }
  
  .logo-image {
    height: 100px;
  }
  
  .header.sticky .logo-image {
    height: 60px;
  }
  
  body {
    padding-top: 120px;
  }
  
  .hero {
    margin-top: -120px;
    padding-top: 120px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .intro-text h2,
  .tab-text h3,
  .about-text h3 {
    font-size: 22px;
  }
  
  .client-icon,
  .webinar-icon {
    width: 50px;
    height: 50px;
  }
  
  .client-icon i,
  .webinar-icon i {
    font-size: 20px;
  }
  
  .webinar-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .testimonial-slide {
    padding: 20px;
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile navigation menu button state */
.menu-active .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-active .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-active .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Accessibility focus styles */
a:focus,
button:focus,
.btn:focus,
.tab-btn:focus,
.dot:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Body adjustments for fixed header */
body {
  padding-top: 200px; /* Match header height */
}

.text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ============================================
   2. Header & Navigation
============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px; /* Increased to accommodate larger logo */
  padding: 0;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
}

.header.sticky {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  height: 150px; /* Increased sticky height */
}

.header .container {
  height: 100%;
  padding: 0 30px;
}

.header-content {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styles */
.logo-text-container {
  flex: 1;
  display: flex;
  align-items: center;
}

.logo-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-image {
  height: 200px;
  width: auto;
  transition: var(--transition);
}

.logo-text {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.dba-text {
  color: var(--accent-color);
  font-size: 16px;
  font-weight: 400;
  margin-top: -2px;
}

.header.sticky .logo-image {
  height: 150px;
}

/* Navigation Styles */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-list li {
  margin-left: 14px; /* Reduced space to fit all items */
}

.nav-list a {
  color: var(--accent-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  white-space: nowrap; /* Keep text in one line */
  font-size: 16px; /* Slightly smaller font to fit all items */
}

.nav-list a.two-words {
  letter-spacing: -0.5px; /* Tighten letter spacing for multi-word items */
}

.header.sticky .nav-list a {
  color: var(--dark-color);
}

.nav-list a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--accent-color);
}

/* ============================================
   3. Dropdown Styles
============================================= */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
}

.dropdown-icon {
  font-size: 10px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
  display: block;
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  color: var(--dark-color) !important;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-menu a::after {
  display: none;
}

/* ============================================
   4. Mobile Navigation
============================================= */
/* Toggle Menu for Mobile */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

.header.sticky .menu-toggle span {
  background-color: var(--dark-color);
}

/* Hero Section adjustment */
.hero {
  margin-top: -200px; /* Match header height */
  padding-top: 200px; /* Match header height */
}

/* ============================================
   5. Hero Section - Chemistry Specific
============================================= */
.chem-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('chemtox_landing_backpic.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  background-color: rgba(0, 82, 204, 0.2);
}

/* ============================================
   6. Intro Section
============================================= */
.intro {
  padding: 80px 0;
  background-color: var(--white);
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.intro-text p {
  margin-bottom: 15px;
  color: var(--dark-color);
  font-size: 16px;
  line-height: 1.8;
}

.intro-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.intro-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.intro-image:hover img {
  transform: scale(1.03);
}

/* ============================================
   7. Services Tab Section
============================================= */
.chem-services {
  background-color: var(--light-gray);
  padding: 80px 0;
}

.service-tabs {
  margin-top: 40px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  flex: 1;
  min-width: 200px;
  padding: 15px 20px;
  background-color: var(--white);
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.tab-btn i {
  font-size: 24px;
  color: var(--primary-color);
}

.tab-btn span {
  font-weight: 500;
}

.tab-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.tab-btn.active i {
  color: var(--white);
}

.tab-content {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.tab-pane {
  display: none;
  padding: 40px;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tab-flex {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

.tab-text h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 25px;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.service-list i {
  color: var(--secondary-color);
  font-size: 20px;
  margin-top: 5px;
}

.service-list h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.service-list p {
  color: var(--dark-gray);
  line-height: 1.7;
}

.tab-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.tab-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.tab-image:hover img {
  transform: scale(1.05);
}

/* ============================================
   8. About Section
============================================= */
.chem-about {
  padding: 80px 0;
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-text p {
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-text h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 22px;
}

.feature {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.feature i {
  color: var(--secondary-color);
  font-size: 24px;
  margin-top: 5px;
}

.feature h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.feature p {
  margin-bottom: 0;
  color: var(--dark-gray);
}

/* ============================================
   9. Clients Section
============================================= */
.clients {
  background-color: var(--light-gray);
  padding: 80px 0;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.client-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.client-card:hover {
  transform: translateY(-10px);
}

.client-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-gray);
  border-radius: 50%;
}

.client-icon i {
  font-size: 30px;
  color: var(--primary-color);
}

.client-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.client-card p {
  color: var(--dark-gray);
  line-height: 1.7;
}

/* ============================================
   10. Why Choose Us Section
============================================= */
.why-us {
  padding: 80px 0;
  background-color: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.why-us-card {
  padding: 30px;
  border-radius: 10px;
  background-color: var(--light-gray);
  position: relative;
  transition: var(--transition);
}

.why-us-card:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.why-us-card::before {
  content: attr(data-count);
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 36px;
  font-weight: 700;
  opacity: 0.1;
  color: var(--primary-color);
  transition: var(--transition);
}

.why-us-card:hover::before {
  color: var(--white);
}

.why-us-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.why-us-card p {
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

/* ============================================
   11. Blog Section
============================================= */
.blog {
  background-color: var(--light-gray);
  padding: 80px 0;
}

.blog-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.blog-content p {
  color: var(--dark-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.blog-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.blog-link:hover {
  gap: 10px;
}

/* ============================================
   12. Webinar Section
============================================= */
.webinar-section {
  margin-top: 60px;
}

.webinar-section h3 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.webinar-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.webinar-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.webinar-card:hover {
  transform: translateY(-5px);
}

.webinar-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.webinar-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.webinar-info h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.webinar-info p {
  margin-bottom: 10px;
  color: var(--dark-color);
}

.webinar-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.webinar-link:hover {
  gap: 10px;
}

.webinar-cta {
  text-align: center;
  margin-top: 40px;
}

.webinar-cta p {
  max-width: 700px;
  margin: 0 auto 20px;
  color: var(--dark-gray);
}

/* ============================================
   13. Testimonials Section
============================================= */
.testimonials {
  padding: 80px 0;
  background-color: var(--white);
}

.testimonial-slider {
  margin-top: 40px;
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 40px;
  background-color: var(--light-gray);
  border-radius: 10px;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 30px;
  color: rgba(0, 82, 204, 0.1);
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  padding-left: 40px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.author-info p {
  color: var(--dark-gray);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--medium-gray);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

/* ============================================
   14. CTA Section
============================================= */
.cta {
  padding: 80px 0;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('/api/placeholder/1920/1080') center/cover;
  opacity: 0.1;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  color: var(--white);
}

.cta-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   15. Contact Section
============================================= */
.contact {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact .section-header h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--dark-color);
  line-height: 1.7;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info, 
.google-form {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  transition: var(--transition);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item div {
  flex-grow: 1;
}

.contact-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-item p {
  color: var(--dark-color);
  line-height: 1.7;
  margin: 0;
}

.google-form {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.google-form h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.google-form p {
  margin-bottom: 30px;
  color: var(--dark-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 82, 204, 0.3);
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 82, 204, 0.4);
}

.btn i {
  margin-right: 8px;
}

/* ============================================
   16. Footer Section
============================================= */
.footer-links ul li,
.footer-services ul li {
  margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
  color: var(--light-color);
  transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

/* ============================================
   17. Animations
============================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   18. Media Queries
============================================= */

/* Large Devices (1200px and below) */
@media (max-width: 1200px) {
  .tab-flex {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

/* Medium Devices (992px and below) */
@media (max-width: 992px) {
  .header {
    height: 180px;
  }
  
  .dba-text {
    font-size: 12px;
  }
  
  .header.sticky {
    height: 130px;
  }
  
  .logo-image {
    height: 180px;
  }
  
  .header.sticky .logo-image {
    height: 130px;
  }
  
  body {
    padding-top: 180px;
  }
  
  .hero {
    margin-top: -180px;
    padding-top: 180px;
  }
  
  .nav-list a {
    font-size: 13px;
  }
  
  .nav-list li {
    margin-left: 12px;
  }
}

/* Medium Devices (768px and below) */
@media (max-width: 768px) {
  .header {
    height: 150px;
  }
  
  .logo-text {
    font-size: 24px;
  }
  
  .dba-text {
    font-size: 11px;
  }
  
  .header.sticky {
    height: 100px;
  }
  
  .header-content {
    flex-wrap: wrap;
  }
  
  .logo-text-container {
    flex: 0 0 30%;
    order: 1;
  }
  
  .logo-container {
    flex: 0 0 40%;
    order: 2;
  }
  
  .main-nav {
    flex: 0 0 30%;
    order: 3;
  }
  
  .logo-image {
    height: 120px;
  }
  
  .header.sticky .logo-image {
    height: 80px;
  }
  
  .nav-list {
    display: none;
    position: fixed; /* Changed from absolute to fixed for better mobile experience */
    top: 150px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: var(--box-shadow);
    flex-direction: column;
    align-items: center;
    z-index: 999;
  }
  
  .header.sticky .nav-list {
    top: 100px;
  }
  
  .nav-list.active {
    display: flex;
  }
  
  .nav-list li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-list a {
    color: var(--dark-color);
    font-size: 15px; /* Return to normal size for mobile menu */
    padding: 10px 15px; /* Larger touch target */
    display: block;
  }
  
  .menu-toggle {
    display: block;
  }
  
  body {
    padding-top: 150px;
  }
  
  .hero {
    margin-top: -150px;
    padding-top: 150px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transform: none;
    transition: max-height 0.3s ease;
  }
  
  .dropdown.active .dropdown-menu {
    visibility: visible;
    max-height: 500px;
    padding: 10px 0;
  }
  
  .dropdown-menu li {
    padding-left: 15px;
  }
  
  .dropdown-menu a {
    padding: 8px 15px;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: center;
  }
  
  /* Content section adjustments for mobile */
  .intro-content {
    grid-template-columns: 1fr;
  }
  
  .tab-btn {
    min-width: 150px;
  }
  
  .tab-pane {
    padding: 30px 20px;
  }
  
  .client-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-slider {
    grid-template-columns: 1fr;
  }
  
  .webinar-cards {
    grid-template-columns: 1fr;
  }
}