/* ========================================
   AVANTI TUTTA - Modern Nautical Design
   ======================================== */

/* CSS Variables */
:root {
  --primary: #0a1628;
  --primary-light: #1a2d4a;
  --secondary: #0ea5e9;
  --secondary-light: #38bdf8;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --gradient-ocean: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
  --gradient-sunset: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  --gradient-dark: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
  --gradient-hero: linear-gradient(180deg, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.6) 50%, rgba(10, 22, 40, 0.9) 100%);

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.3);

  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--gradient-ocean);
  color: var(--white);
  box-shadow: var(--shadow-lg), 0 0 0 0 rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-accent {
  background: var(--gradient-sunset);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(245, 158, 11, 0.4);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 100px;
  width: auto;
  background: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: float 15s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 span {
  display: block;
  color: var(--secondary-light);
}

.hero-description {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-light);
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

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

/* Section Styles */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--white);
}

.section-light {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(14, 165, 233, 0.1);
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-dark .section-tag {
  background: rgba(14, 165, 233, 0.2);
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-description {
  color: var(--gray-500);
  font-size: 1.125rem;
}

.section-dark .section-description {
  color: var(--gray-300);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 2px solid var(--secondary);
  border-radius: var(--radius-2xl);
  z-index: -1;
  opacity: 0.3;
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gradient-sunset);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.about-image-badge .number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about-image-badge .text {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
}

.about-feature svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 500;
  color: var(--gray-700);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
}

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

.service-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.8) 100%);
}

.service-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.service-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

.service-link svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.service-link:hover svg {
  transform: translateX(5px);
}

/* Courses Section */
.courses-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.course-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
}

.course-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
  transform: translateY(-5px);
}

.course-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.course-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-icon svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

.course-header h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.course-description {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.course-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.course-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-400);
  font-size: 0.95rem;
}

.course-detail svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
}

.course-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: rgba(14, 165, 233, 0.2);
  color: var(--secondary-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-right: 0.5rem;
}

/* Locations Section */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

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

.location-map {
  height: 200px;
  background: var(--gray-200);
  position: relative;
}

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

.location-content {
  padding: 2rem;
}

.location-content h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.location-content h3 svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.location-detail svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.location-detail p {
  margin: 0;
  color: var(--gray-600);
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: rgba(14, 165, 233, 0.1);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

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

.team-avatar {
  width: 120px;
  height: 120px;
  background: var(--gradient-ocean);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

.team-card h3 {
  margin-bottom: 0.5rem;
}

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

.team-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-ocean);
  z-index: -1;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

.contact-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--gray-600);
  margin: 0;
}

.contact-item a {
  color: var(--secondary);
}

.contact-item a:hover {
  color: var(--secondary-light);
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link svg {
  width: 22px;
  height: 22px;
  color: var(--gray-600);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary);
}

.social-link:hover svg {
  color: var(--white);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

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

/* Footer */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

.footer-brand p {
  color: var(--gray-300);
  margin: 1rem 0 1.5rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  height: 90px;
  background: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--gray-300);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--secondary-light);
  transform: translateX(5px);
}

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

.footer-bottom p {
  color: var(--gray-400);
  margin: 0;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--gray-300);
}

.footer-bottom a:hover {
  color: var(--secondary-light);
}

/* Footer social links */
.footer .contact-social {
  margin-top: 1.5rem;
}

.footer .social-link {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .social-link svg {
  color: var(--gray-300);
}

.footer .social-link:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.footer .social-link:hover svg {
  color: var(--white);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-list,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header {
    padding: 0.75rem 0;
  }

  .header.scrolled {
    padding: 0.5rem 0;
  }

  .logo img {
    height: 80px;
    padding: 4px 8px;
  }

  /* Hero Section */
  .hero {
    min-height: 100svh;
    padding-top: 70px;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }

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

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

  .scroll-indicator {
    display: none;
  }

  /* Sections */
  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

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

  .section-description {
    font-size: 1rem;
  }

  .section-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
  }

  /* Grids */
  .about-grid,
  .contact-grid,
  .courses-wrapper,
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* About Section */
  .about-image {
    order: -1;
  }

  .about-image::before {
    display: none;
  }

  .about-image-badge {
    bottom: -10px;
    left: 10px;
    padding: 1rem;
  }

  .about-image-badge .number {
    font-size: 1.75rem;
  }

  .about-content h2 {
    font-size: 1.5rem;
  }

  .about-content h3 {
    font-size: 1.25rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-feature {
    padding: 0.875rem;
  }

  /* Service Cards */
  .service-card {
    border-radius: var(--radius-lg);
  }

  .service-image {
    height: 180px;
  }

  .service-content {
    padding: 1.25rem;
  }

  .service-content h3 {
    font-size: 1.25rem;
  }

  /* Course Cards */
  .course-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .course-header h3 {
    font-size: 1.25rem;
  }

  .course-icon {
    width: 50px;
    height: 50px;
  }

  .course-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Location Cards */
  .location-card {
    border-radius: var(--radius-lg);
  }

  .location-map {
    height: 160px;
  }

  .location-content {
    padding: 1.5rem;
  }

  .location-content h3 {
    font-size: 1.25rem;
  }

  /* Team Cards */
  .team-card {
    padding: 1.5rem;
  }

  .team-avatar {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }

  /* Contact Section */
  .contact-grid {
    gap: 2.5rem;
  }

  .contact-info {
    gap: 1.5rem;
  }

  .contact-item {
    gap: 0.875rem;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
  }

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

  .contact-item h4 {
    font-size: 1rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-group {
    gap: 0.375rem;
  }

  .form-group label {
    font-size: 0.875rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 1rem;
  }

  .form-group textarea {
    min-height: 120px;
  }

  /* CTA Section */
  .cta-section {
    padding: 4rem 0;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo img {
    height: 80px;
  }

  .footer h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-grid > div:not(.footer-brand) {
    text-align: center;
  }

  .footer-links {
    gap: 0.5rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer .contact-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }

  /* Page Hero */
  .page-hero {
    padding: 7rem 0 3rem;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .breadcrumb {
    font-size: 0.85rem;
  }

  /* Buttons */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .btn-primary,
  .btn-secondary,
  .btn-accent {
    width: 100%;
    justify-content: center;
  }
}

/* Extra small devices */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

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

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

  .about-image-badge {
    padding: 0.75rem;
  }

  .about-image-badge .number {
    font-size: 1.5rem;
  }

  .about-image-badge .text {
    font-size: 0.7rem;
  }

  .course-card,
  .service-content,
  .location-content,
  .contact-form-wrapper {
    padding: 1rem;
  }
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: var(--primary);
  z-index: 1001;
  padding: 5rem 1.5rem 2rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
  right: 0;
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-nav-close:hover,
.mobile-nav-close:active {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-nav-close svg {
  width: 24px;
  height: 24px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-list a {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:active {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-cta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
}

.mobile-nav-contact {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.mobile-nav-contact p {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.mobile-nav-contact a {
  color: var(--secondary-light);
  font-size: 1rem;
  font-weight: 600;
  display: block;
  padding: 0.5rem 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

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

/* Touch-friendly improvements */
@media (max-width: 768px) {
  /* Larger tap targets */
  .menu-toggle {
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle span {
    width: 22px;
  }

  /* Prevent text selection on tap */
  .btn,
  .nav-link,
  .service-link,
  .mobile-nav-list a {
    -webkit-user-select: none;
    user-select: none;
  }

  /* Smooth scrolling for iOS */
  html {
    -webkit-overflow-scrolling: touch;
  }

  /* Fix for iOS viewport height */
  .hero {
    min-height: 100svh;
    min-height: -webkit-fill-available;
  }
}

/* Wave Animation */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-divider .shape-fill {
  fill: var(--white);
}

/* Page Hero */
.page-hero {
  background: var(--gradient-dark);
  padding: 10rem 0 5rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--gray-300);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--gray-400);
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb span {
  color: var(--gray-500);
}

/* Quiz Cards Section */
.quiz-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.quiz-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  text-decoration: none;
}

.quiz-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.quiz-card-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-card-icon svg {
  width: 35px;
  height: 35px;
  color: var(--white);
}

.quiz-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin: 0;
}

.quiz-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin: 0;
}

.quiz-card-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gradient-sunset);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.quiz-card-new {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 0.35rem 0.75rem;
  background: #ef4444;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  animation: pulse-new 2s infinite;
}

@keyframes pulse-new {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
  }
}

@media (max-width: 1200px) {
  .quiz-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .quiz-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .quiz-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .quiz-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .quiz-card-icon {
    width: 60px;
    height: 60px;
  }

  .quiz-card-icon svg {
    width: 28px;
    height: 28px;
  }

  .quiz-card h3 {
    font-size: 1.125rem;
  }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
