/* CSS Variables */
:root {
  --blue: #0b67b2;
  --darkblue: #022463;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #0ea5e9;
  --accent: #06b6d4;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-white);
  font-size: 16px;
}

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

/* Header */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 1.5rem;
}

.brand {
  font-weight: 800;
  color: var(--darkblue);
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand:hover {
  transform: scale(1.05);
}

.brand-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand span {
  white-space: nowrap;
  font-size: 1.15rem;
}

.nav {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  align-items: center;
}

.nav a {
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all 0.3s;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
  transform: translateX(-50%);
}

.nav a:hover::after {
  width: 80%;
}

.nav a:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 0.5rem;
  border: 1px solid var(--border);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s;
  border-radius: 0;
  font-size: 0.9rem;
  position: relative;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  padding-left: 1.5rem;
}

.dropdown-menu a:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.dropdown-menu a:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Mobile Responsive for Dropdown */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
  }
  
  /* Only apply these styles when nav is NOT open (for desktop hover) */
  .nav:not(.open) .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    margin-top: 0;
    border-radius: 0;
    padding: 0;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  
  .nav:not(.open) .nav-dropdown.active .dropdown-menu {
    display: block;
    max-height: 1000px;
    transition: max-height 0.3s ease-in;
  }
  
  .nav-dropdown:hover .dropdown-menu {
    display: none; /* Disable hover on mobile, only use .active class */
  }
  
  .dropdown-menu a {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  
  .dropdown-menu a:last-child {
    border-bottom: none;
  }
  
  .dropdown-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
  }
  
  .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--darkblue);
  padding: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 1001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
}

.nav-toggle:hover {
  transform: scale(1.1);
  color: var(--primary);
}

.nav-toggle:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Rotation animation when menu is open */
.nav-toggle[aria-expanded="true"] {
  transform: rotate(90deg);
  color: var(--primary);
}

.nav-toggle[aria-expanded="true"]:hover {
  transform: rotate(90deg) scale(1.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--text-dark);
  margin: 0 0 1.5rem;
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  color: var(--text-light);
  margin: 0 0 2rem;
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn.primary:hover::before {
  left: 100%;
}

.btn.outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn.outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.hero-image {
  height: 400px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

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

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

.hero-carousel-dots .dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
}

.hero-carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

/* Service Icons Section */
.service-area {
  padding: 4rem 0;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.feature p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.feature-link:hover {
  gap: 1rem;
}

/* Statistics Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 4rem 0;
  color: #fff;
  margin: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Packages Section - Carousel */
.packages {
  margin: 5rem 0;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 10;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white), transparent);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white), transparent);
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-container-inner {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  animation: scroll-right 30s linear infinite;
  width: fit-content;
}

.carousel-track:hover {
  animation-play-state: paused;
}

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

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


.packages .card {
  flex: 0 0 380px;
  min-width: 380px;
}


.card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  border: 1px solid var(--border);
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(14, 165, 233, 0.03));
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card > * {
  position: relative;
  z-index: 1;
}

.card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Why Us Section */
.why-us {
  margin: 4rem 0;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(14, 165, 233, 0.02) 100%);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.why-us h2 {
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.two-col h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.checklist {
  list-style: none;
  margin-left: 0;
}

.checklist li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
  line-height: 1.7;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Testimonials */
.testimonials {
  margin: 5rem 0;
  padding: 3rem 0;
  overflow: hidden;
}

.testimonials h2 {
  color: var(--text-dark);
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
}

.testimonials-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.testimonials-carousel::before,
.testimonials-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 10;
  pointer-events: none;
}

.testimonials-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white), transparent);
}

.testimonials-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white), transparent);
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  animation: scroll-right 30s linear infinite;
  width: fit-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.test-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonials blockquote {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
  transition: all 0.3s;
  position: relative;
  flex: 0 0 380px;
  min-width: 380px;
}

.testimonials blockquote::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonials blockquote:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonials blockquote p {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonials blockquote cite {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
  font-style: normal;
  display: block;
}

/* Team Section */
.team-section {
  margin: 5rem 0;
  padding: 3rem 0;
  overflow: hidden;
}

.team-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.team-carousel::before,
.team-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 10;
  pointer-events: none;
}

.team-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white), transparent);
}

.team-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white), transparent);
}

.team-track {
  display: flex;
  gap: 2rem;
  animation: scroll-right 35s linear infinite;
  width: fit-content;
}

.team-track:hover {
  animation-play-state: paused;
}

.team-member {
  flex: 0 0 320px;
  min-width: 320px;
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.team-member:hover::before {
  transform: scaleX(1);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.team-avatar::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: transform 0.6s;
}

.team-member:hover .team-avatar::after {
  transform: rotate(45deg) translate(100%, 100%);
}

.avatar-placeholder {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  z-index: 1;
  position: relative;
}

.team-member h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.team-bio {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Partners Section */
.partners-section {
  margin: 5rem 0;
  padding: 3rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(14, 165, 233, 0.02) 100%);
  border-radius: 20px;
}

.partners-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.partners-carousel::before,
.partners-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 10;
  pointer-events: none;
}

.partners-carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(248, 250, 252, 1), transparent);
}

.partners-carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(248, 250, 252, 1), transparent);
}

.partners-track {
  display: flex;
  gap: 2rem;
  animation: scroll-right 40s linear infinite;
  width: fit-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-item {
  flex: 0 0 200px;
  min-width: 200px;
  height: 120px;
  background: var(--bg-white);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all 0.3s;
  padding: 1rem;
  gap: 0.5rem;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.partner-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.partner-logo {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
  transition: color 0.3s;
  margin: 0;
}

.partner-item:hover .partner-logo {
  color: var(--primary);
}

/* Newsletter */
.newsletter {
  margin: 5rem 0;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border);
}

.newsletter h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 800;
}

.newsletter p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.newsletter .form-inline {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
  justify-content: center;
}

.form-inline input,
.form-inline select {
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
  transition: all 0.3s;
}

.form-inline input:focus,
.form-inline select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.site-footer {
  background: var(--text-dark);
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.8;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.5);
}

/* Contact page */
.contact-page {
  margin: 3rem auto;
}

.contact-page h1 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 3rem;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.875rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

/* Service page */
.service-list {
  margin: 3rem 0;
}

.service-list article {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.service-list article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-list article h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.service-list article p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Career page */
.career-post {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
}

.career-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.career-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.career-header h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.career-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.career-type {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.career-location {
  color: var(--text-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* About page */
.lead {
  margin: 3rem 0;
}

.lead h1 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 3rem;
  font-weight: 800;
}

.lead p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
}

.team {
  margin: 3rem 0;
}

.team h2 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 800;
}

.team ul {
  list-style: none;
  margin-left: 0;
}

.team li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
}

.team li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    height: 300px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .packages .card {
    flex: 0 0 320px;
    min-width: 320px;
  }
  
  .carousel-track {
    gap: 1.5rem;
  }
  

  .two-col {
    grid-template-columns: 1fr;
  }

  .testimonials blockquote {
    flex: 0 0 320px;
    min-width: 320px;
  }
  
  .testimonials-track {
    gap: 1.5rem;
  }
  
  .team-member {
    flex: 0 0 300px;
    min-width: 300px;
  }
  
  .team-track {
    gap: 1.5rem;
  }
  
  .partner-item {
    flex: 0 0 180px;
    min-width: 180px;
    height: 100px;
  }
  
  .partners-track {
    gap: 1.5rem;
  }
  
  .test-cards {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    padding: 1.5rem 1rem;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    min-width: 100%;
    width: 100%;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    min-height: calc(100vh - 60px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 999;
    gap: 0;
    align-items: stretch;
  }
  
  .nav.open > a {
    padding: 1.25rem 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
    display: block;
    margin: 0;
    border-radius: 0;
    text-align: left;
  }
  
  .nav.open > a:hover {
    background: rgba(37, 99, 235, 0.08);
  }
  
  .nav.open .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  
  .nav.open .dropdown-toggle {
    width: 100%;
    padding: 1.25rem 1rem;
    font-size: 1.1rem;
    border-bottom: none;
    justify-content: space-between;
    text-align: left;
    border-radius: 0;
    cursor: pointer;
    background: transparent;
    transition: background-color 0.2s;
  }
  
  .nav.open .dropdown-toggle:hover {
    background: rgba(37, 99, 235, 0.05);
  }
  
  .nav.open .nav-dropdown.active .dropdown-toggle {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
  }
  
  .nav.open .dropdown-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
  }
  
  .nav.open .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }
  
  .nav.open .dropdown-menu {
    position: static !important;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    margin-top: 0;
    border-radius: 0;
    padding: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.2s ease, visibility 0.2s ease;
    background: rgba(37, 99, 235, 0.02);
  }
  
  .nav.open .nav-dropdown.active .dropdown-menu {
    display: block !important;
    max-height: 1000px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: max-height 0.3s ease-in, opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .nav.open .dropdown-menu a {
    padding: 1rem 1.5rem !important;
    padding-left: 2.5rem !important;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    display: block !important;
    width: 100%;
    color: var(--text-dark);
    text-decoration: none;
    opacity: 1;
    visibility: visible;
  }
  
  .nav.open .dropdown-menu a:hover {
    background: rgba(37, 99, 235, 0.1);
    padding-left: 2rem !important;
  }
  
  .nav.open .dropdown-menu a:last-child {
    border-bottom: none;
  }

  .header-inner {
    padding: 1rem;
    min-height: 60px;
    height: auto;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
  }
  
  .brand {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  
  .brand span {
    display: inline-block !important;
  }
  
  .site-header {
    min-height: 60px;
    height: auto;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    z-index: 1001;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .header-inner:has(.nav.open) .nav-toggle {
    color: var(--primary);
  }
  
  /* Ensure rotation works on mobile */
  .nav-toggle[aria-expanded="true"] {
    transform: rotate(90deg) !important;
  }
  
  .nav-toggle[aria-expanded="true"]:hover {
    transform: rotate(90deg) scale(1.1) !important;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 3rem 0;
  }
  
  .brand {
    font-size: 1rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  
  .brand-logo {
    height: 35px;
    flex-shrink: 0;
  }
  
  .brand span {
    font-size: 0.9rem;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  @media (max-width: 500px) {
    .brand {
      gap: 0.4rem;
    }
    
    .brand span {
      font-size: 0.75rem;
      display: inline-block;
      max-width: 180px;
    }
    
    .brand-logo {
      height: 35px;
    }
  }
  
  @media (max-width: 400px) {
    .brand span {
      font-size: 0.7rem;
      max-width: 150px;
    }
    
    .brand-logo {
      height: 32px;
    }
  }
  
  .packages .card {
    flex: 0 0 280px;
    min-width: 280px;
  }
  
  .carousel-track {
    gap: 1rem;
    animation-duration: 25s;
  }
  
  
  .testimonials blockquote {
    flex: 0 0 280px;
    min-width: 280px;
  }
  
  .testimonials-track {
    gap: 1rem;
    animation-duration: 25s;
  }
  
  .team-member {
    flex: 0 0 260px;
    min-width: 260px;
    padding: 1.5rem;
  }
  
  .team-avatar {
    width: 100px;
    height: 100px;
  }
  
  .avatar-placeholder {
    font-size: 2rem;
  }
  
  .team-track {
    gap: 1rem;
    animation-duration: 30s;
  }
  
  .partner-item {
    flex: 0 0 150px;
    min-width: 150px;
    height: 90px;
    padding: 1rem;
  }
  
  .partner-logo {
    font-size: 0.9rem;
  }
  
  .partners-track {
    gap: 1rem;
    animation-duration: 35s;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .newsletter h2 {
    font-size: 2rem;
  }

  .contact-page h1 {
    font-size: 2rem;
  }
}

/* Tab Styles */
.course-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-button {
  padding: 1rem 2rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  bottom: -2px;
}

.tab-button:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.tab-button.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Instructor Card Styles */
.instructor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

/* Instructor Modal Styles */
.instructor-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-close:hover {
  background: #f1f5f9;
  color: var(--text-dark);
}

/* Certification Grid Hover Effect */
.instructor-modal .modal-body [style*="grid"] > div:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* Image Protection Styles */
.protected-image {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  draggable: false !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Prevent zoom in modal */
.instructor-modal {
  touch-action: none !important;
  -ms-touch-action: none !important;
}

.instructor-modal .modal-content {
  touch-action: pan-y !important;
  -ms-touch-action: pan-y !important;
  max-zoom: 1 !important;
  min-zoom: 1 !important;
  zoom: 1 !important;
}

/* Disable image saving via CSS */
.protected-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

/* Utilities */
.text-center {
  text-align: center;
}

section {
  margin: 3rem 0;
}

h1, h2, h3 {
  line-height: 1.2;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: inherit;
}

.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  transition: all 0.3s;
  position: relative;
}

.chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
}

.chat-button .close-icon {
  display: none;
}

.chat-widget.active .chat-button .chat-icon {
  display: none;
}

.chat-widget.active .chat-button .close-icon {
  display: block;
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  max-width: calc(100vw - 40px);
  height: 500px;
  max-height: calc(100vh - 100px);
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}

.chat-widget.active .chat-window {
  display: flex;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.chat-status {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.chat-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  background: var(--bg-light);
}

.chat-message {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.chat-message.bot {
  align-items: flex-start;
}

.chat-message.user {
  align-items: flex-end;
}

.message-bubble {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-message.bot .message-bubble {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.chat-message.user .message-bubble {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.chat-form {
  padding: 1rem;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}

.chat-form form {
  display: flex;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.chat-input:focus {
  outline: none;
  border-color: var(--primary);
}

.chat-send {
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s;
}

.chat-send:hover {
  transform: scale(1.05);
}

.chat-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.quick-action-btn {
  padding: 0.75rem 1rem;
  background: var(--bg-white);
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}

.quick-action-btn:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 480px) {
  .chat-window {
    width: calc(100vw - 20px);
    right: 10px;
    bottom: 80px;
  }
  
  .chat-button {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }
  
  .scroll-to-top {
    width: 50px;
    height: 50px;
    bottom: 85px;
    right: 15px;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.scroll-to-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.scroll-to-top:active {
  transform: translateY(-2px);
}
