/* ===== PROFESSIONAL MOBILE MENU STYLES ===== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 10001;
  background: transparent;
  border: none;
}

.mobile-menu-toggle:hover {
  background: rgba(53, 94, 185, 0.1);
}

.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Hamburger Lines */
.hamburger-line {
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  position: relative;
}

.hamburger-line:not(:last-child) {
  margin-bottom: 6px;
}

/* Active State Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background: #355eb9;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background: #355eb9;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile Menu Container */
.mobile-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: white;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.mobile-menu-container::-webkit-scrollbar {
  width: 4px;
}

.mobile-menu-container::-webkit-scrollbar-track {
  background: transparent;
}

.mobile-menu-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}

.mobile-menu-container.active {
  transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
  background: linear-gradient(135deg, #355eb9, #2a4a94);
  color: white;
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-brand .logo {
  height: 45px;
  width: auto;
}

.mobile-menu-brand .site-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mobile-menu-brand .laps {
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
}

.mobile-menu-brand .international {
  color: white;
  font-size: 0.9rem;
  opacity: 0.9;
}

.closeHamburger {
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.closeHamburger:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Content */
.mobile-menu-content {
  padding: 0;
}

/* Mobile Menu Links */
.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: #f8f9fa;
  color: #355eb9;
  padding-left: 28px;
}

.mobile-nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #355eb9;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
  transform: scaleY(1);
}

/* Dropdown Arrow */
.dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  color: #666;
}

.mobile-nav-item.has-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
  color: #355eb9;
}

/* Mobile Dropdown Menu */
.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  background: #f8f9fa;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item.has-dropdown.open .mobile-dropdown-menu {
  max-height: 300px;
}

.mobile-dropdown-link {
  display: block;
  padding: 14px 20px 14px 50px;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-dropdown-link:hover {
  background: white;
  color: #355eb9;
  padding-left: 58px;
}

.mobile-dropdown-link::before {
  content: "•";
  position: absolute;
  left: 35px;
  color: #999;
  transition: all 0.3s ease;
}

.mobile-dropdown-link:hover::before {
  color: #355eb9;
  transform: scale(1.2);
}

/* Mobile Menu Actions */
.mobile-menu-actions {
  display: flex;
  align-items:center;
  padding: 20px;
  border-top: 1px solid #e5e5e5;
  background: #f8f9fa;
}

.mobile-search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.mobile-search-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.mobile-search-input:focus {
  outline: none;
  border-color: #355eb9;
  box-shadow: 0 0 0 3px rgba(53, 94, 185, 0.1);
}

.mobile-search-btn {
  padding: 12px 16px;
  background: #355eb9;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-search-btn:hover {
  background: #2a4a94;
  transform: translateY(-1px);
}

.mobile-enquiry-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #355eb9, #2a4a94);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-enquiry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(53, 94, 185, 0.3);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid #e5e5e5;
  background: white;
}

.mobile-contact-info {
  margin-bottom: 15px;
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #666;
  font-size: 0.85rem;
}

.mobile-contact-item i {
  color: #355eb9;
  width: 16px;
  text-align: center;
}

.mobile-social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.mobile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  color: #666;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-social-link:hover {
  background: #355eb9;
  color: white;
  transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
  }
}

@media (max-width: 480px) {
  .mobile-menu-container {
    width: 100%;
    max-width: none;
  }

  .mobile-menu-header {
    padding: 16px;
  }

  .mobile-nav-link {
    padding: 16px 18px;
  }

  .mobile-dropdown-link {
    padding: 12px 18px 12px 45px;
  }

  .mobile-menu-actions {
    padding: 16px;
  }
}

/* Animation Classes */
.slide-in-left {
  animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-out-left {
  animation: slideOutLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

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

/* Focus styles for accessibility */
.mobile-menu-toggle:focus,
.mobile-nav-link:focus,
.mobile-dropdown-link:focus,
.mobile-search-input:focus,
.mobile-search-btn:focus,
.mobile-enquiry-btn:focus {
  outline: 2px solid #355eb9;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hamburger-line {
    background: black;
  }

  .mobile-menu-toggle.active .hamburger-line {
    background: #355eb9;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-toggle,
  .hamburger-line,
  .mobile-menu-overlay,
  .mobile-menu-container,
  .mobile-nav-link,
  .dropdown-arrow,
  .mobile-dropdown-menu,
  .mobile-dropdown-link {
    transition: none;
  }

  .slide-in-left,
  .slide-out-left {
    animation: none;
  }
}

/* Basic styles for elements that might not be defined */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #355eb9;
  color: white;
}

.btn-primary:hover {
  background: #2a4a94;
  transform: translateY(-2px);
}

/* .btn-secondary {
  background: transparent;
  color: #355eb9;
  border: 2px solid #355eb9;
}

.btn-secondary:hover {
  background: #355eb9;
  color: white;
} */

/* Hero slider styles */
/* .hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  color: white;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.slide-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.slide-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
} */

/* Testimonials styles */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.6s ease;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-content {
  text-align: center;
}

.quote-icon {
  font-size: 2rem;
  color: #355eb9;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #333;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.author-photo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.author-info span {
  color: #666;
  font-size: 0.9rem;
}

.rating {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.rating i {
  color: #ffc107;
}

/* .testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
} */

/* .testimonial-btn {
  background: #355eb9;
  border: none;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  background: #2a4a94;
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: #355eb9;
  transform: scale(1.2);
} */

/* Counter animation styles */
.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: #355eb9;
  display: block;
  margin-bottom: 10px;
}

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

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

.stat-icon {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.stat-label {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.agency-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}
