/* 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: rgba(255, 255, 255, 0.97);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  pointer-events: none;
}

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

/* Brand */
.brand {
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  transition: opacity 0.2s;
  letter-spacing: normal;
  font-size: 1rem;
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--text-dark);
  min-width: 0;
}

.brand:hover {
  opacity: 0.82;
  transform: none;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand span {
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav {
  display: flex;
  gap: 0.125rem;
  margin-left: auto;
  align-items: center;
}

.nav > a {
  color: #374151;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
  font-size: 0.875rem;
  position: relative;
  white-space: nowrap;
}

.nav > a::after {
  display: none;
}

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

.nav > a.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.09);
  font-weight: 600;
}

/* CTA contact button */
.nav > a.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.28);
  margin-left: 0.375rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.nav > a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.38);
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

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

/* Dropdown toggle */
.dropdown-toggle {
  display: flex !important;
  align-items: center !important;
  gap: 0.3rem;
  color: #374151;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-toggle:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.07);
}

.dropdown-toggle::after {
  display: none !important;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.25s;
  opacity: 0.5;
  line-height: 1;
}

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

/* Dropdown panel */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  min-width: 238px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.11), 0 0 0 1px rgba(0,0,0,0.04);
  border-radius: 14px;
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1000;
  border: none;
  margin-top: 0;
}

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

/* Dropdown items */
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border-radius: 10px;
  font-size: 0.855rem;
  font-weight: 500;
  position: relative;
}

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

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

/* Icon badge */
.menu-icon {
  font-size: 0.9rem;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 6px;
  flex-shrink: 0;
  transition: background 0.15s;
}

.dropdown-menu a:hover .menu-icon {
  background: rgba(37, 99, 235, 0.14);
}

/* Animated hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px;
  border-radius: 8px;
  z-index: 1001;
  position: relative;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
  margin-left: auto;
}

.nav-toggle:hover {
  background: rgba(37, 99, 235, 0.07);
  transform: none;
  color: inherit;
}

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

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay behind sidebar */
body.nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 998;
  animation: navOverlayIn 0.25s ease;
}

@keyframes navOverlayIn {
  from { opacity: 0; }
  to { opacity: 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 Grid Section */
.packages-grid-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

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

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

.package-card::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;
}

.package-card:hover::before {
  transform: scaleX(1);
}

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

.package-icon {
  width: 56px;
  height: 56px;
  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: 1.75rem;
  margin-bottom: 1.25rem;
}

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

.package-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

/* 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-section {
  padding: 4rem 0;
}

.why-us {
  margin: 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 Slider */
.testimonials-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

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

.testimonials-slider {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-track-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  flex: 0 0 100%;
  background: var(--bg-white);
  padding: 2.5rem 2.75rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  position: relative;
  margin: 0;
}

.quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.18;
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  user-select: none;
}

.testimonial-slide p {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-slide cite {
  color: var(--text-dark);
  font-weight: 700;
  font-style: normal;
  font-size: 0.95rem;
}

/* Arrow buttons */
.slider-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transform: scale(1.08);
}

/* Dot indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* Testimonials (auto-scroll carousel - kept) */
.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 Grid Section */
.team-grid-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

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

/* Team Section (carousel - kept for reference) */
.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%);
}

.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 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.newsletter .container {
  max-width: 800px;
}

.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;
  }

  .tagline {
    font-size: 1.1rem;
    max-width: 100%;
  }

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

  .stat-number {
    font-size: 3rem;
  }

  .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: 768px) {
  .nav-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 86vw);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 68px 0.75rem 2rem;
    box-shadow: none;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    overflow-x: hidden;
    margin-left: 0;
    z-index: 999;
    border-left: 1px solid var(--border);
  }

  .nav.open {
    right: 0;
    box-shadow: -6px 0 40px rgba(0, 0, 0, 0.1);
    display: flex;
  }

  .nav > a {
    padding: 0.8rem 0.875rem;
    font-size: 0.95rem;
    border-radius: 10px;
    width: 100%;
    border-bottom: none;
    margin: 0;
  }

  .nav > a.nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
    border-radius: 10px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    padding: 0.8rem 0.875rem !important;
    font-size: 0.95rem !important;
    justify-content: space-between;
    border-radius: 10px !important;
  }

  .dropdown-arrow {
    margin-left: auto;
    opacity: 0.55;
    transition: transform 0.3s ease;
  }

  .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 0.9;
  }

  /* Disable desktop hover effect on mobile */
  .nav-dropdown:hover .dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-50%) translateY(-8px) !important;
  }

  .dropdown-menu {
    position: static !important;
    opacity: 0;
    visibility: hidden;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin-top: 0;
    padding: 0.25rem 0 0.25rem 0.5rem;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.2s ease, visibility 0.2s ease;
    background: transparent;
    left: auto;
    min-width: 0;
    width: 100%;
  }

  .nav-dropdown.active .dropdown-menu {
    display: block !important;
    max-height: 800px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: max-height 0.3s ease-in, opacity 0.25s ease, visibility 0.25s ease;
  }

  .dropdown-menu a {
    padding: 0.65rem 0.75rem !important;
    border-radius: 8px;
    font-size: 0.875rem;
    width: 100%;
    display: flex !important;
    border-bottom: none;
    color: var(--text-dark);
  }

  .dropdown-menu a:hover {
    padding-left: 0.75rem !important;
  }

  .header-inner {
    padding: 0.75rem 1rem;
    min-height: 58px;
    height: auto;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .brand span {
    display: inline-block !important;
    font-size: 0.875rem;
  }

  .brand-logo {
    height: 36px;
    flex-shrink: 0;
  }

  .site-header {
    min-height: 58px;
    height: auto;
  }

  .nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }

  .nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  .nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

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

  .hero {
    padding: 3rem 0;
  }

  @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;
  }

  /* Testimonials slider */
  .testimonials-section {
    padding: 2.5rem 0;
  }

  .testimonials-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }

  .testimonial-slide {
    padding: 1.75rem 1.5rem;
  }

  /* Team grid */
  .team-grid-section {
    padding: 2.5rem 0;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
  }

  .team-member {
    padding: 1.5rem;
  }

  /* Packages grid */
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .package-card {
    padding: 1.5rem;
  }

  /* Stats */
  .stats-section {
    padding: 2.5rem 0;
    margin: 2rem 0;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }

  /* Sections general spacing */
  .service-area,
  .testimonials,
  .team-section,
  .partners-section,
  .packages {
    margin: 2.5rem 0;
    padding: 2rem 0;
  }

  /* Section header */
  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
    letter-spacing: -0.3px;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Feature cards */
  .feature {
    padding: 1.75rem;
  }

  .feature h3 {
    font-size: 1.25rem;
  }

  /* Cards */
  .card {
    padding: 1.75rem;
  }

  /* Why Us */
  .why-us-section {
    padding: 2rem 0;
  }

  .why-us {
    padding: 1.75rem;
    margin: 0;
    border-radius: 14px;
  }

  .why-us h2 {
    font-size: 1.75rem;
  }

  /* Newsletter */
  .newsletter {
    padding: 2rem 0;
    margin: 2.5rem 0;
  }

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

  .newsletter p {
    font-size: 1rem;
  }

  .newsletter .form-inline {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-inline input,
  .form-inline select {
    min-width: 0;
    width: 100%;
  }

  /* Hero buttons */
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Hero image */
  .hero-image {
    height: 220px;
  }

  /* Hero */
  .hero {
    padding: 2.5rem 0;
  }

  /* Service list page */
  .service-list article {
    padding: 1.5rem;
  }

  .service-list article h2 {
    font-size: 1.4rem;
  }

  /* Career page */
  .career-post {
    padding: 1.5rem;
  }

  .career-header h2 {
    font-size: 1.4rem;
  }

  /* About page */
  .lead h1 {
    font-size: 2rem;
  }

  .team h2 {
    font-size: 1.75rem;
  }

  /* Contact info */
  .contact-info h3 {
    font-size: 1.25rem;
  }

  /* Footer */
  .site-footer {
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
  }

  .footer-inner {
    gap: 2rem;
  }

  /* Container */
  .container {
    padding: 0 1rem;
  }
}

/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* 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);
}
