 /* =====================================================
   MINUTO DOURO - SUPER PREMIUM CSS v5.0
   FULLY REWRITTEN • PERFECT NAVBAR • RESPONSIVE
   ===================================================== */

/* =====================================================
   CSS RESET & BASE
   ===================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #1a1a2e;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
  --primary: #ff6a00;
  --primary-hover: #e85d00;
  --primary-light: #fff7f0;
  --primary-soft: rgba(255, 106, 0, 0.08);
  --secondary: #ffae00;
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-50: #fafafa;
  --gray-75: #f5f5f5;
  --gray-100: #f0f0f0;
  --gray-150: #ebebeb;
  --gray-200: #e4e4e4;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --success: #10b981;
  --success-light: #ecfdf5;
  --error: #ef4444;
  --error-light: #fef2f2;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --transition-fast: 150ms ease;
  --transition: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
h4 { font-size: 1.0625rem; letter-spacing: -0.015em; }

p {
  color: var(--gray-500);
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =====================================================
   NAVBAR - PERFECTLY CENTERED
   ===================================================== */
.navbar-premium {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  background: var(--white);
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid var(--gray-150);
  transition: all var(--transition);
}

.navbar-premium.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--gray-200);
}

.navbar-premium .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-brand img {
  height: 36px;
  width: auto;
  display: block;
}

/* Desktop Navigation */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  list-style: none;
}

.navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.navbar-nav .nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
}

/* Auth Buttons */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Mobile Toggler - HIDDEN ON DESKTOP */
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--gray-700);
  font-size: 1.5rem;
  line-height: 1;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 550;
  font-family: var(--font-family);
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  height: 38px;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff7b1a);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,106,0,0.25);
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(255,106,0,0.35);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.btn-outline-light-alt {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-light-alt:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-900);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  height: 44px;
}

.btn-xl {
  padding: 0.75rem 2rem;
  font-size: 0.9375rem;
  height: 52px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-premium {
  position: relative;
  min-height: calc(100vh - 80px);
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.hero-premium .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-card-premium {
  text-align: center;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  min-width: 150px;
  transition: all var(--transition-slow);
}

.stat-card-premium:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 750;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title-premium {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title-premium h2 {
  margin-bottom: 0.75rem;
}

.section-title-premium p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

/* =====================================================
   SERVICE CARDS
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card-premium {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  transition: all var(--transition-slow);
}

.service-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.service-icon i {
  font-size: 1.25rem;
  color: var(--primary);
}

.service-card-premium:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), #ff7b1a);
}

.service-card-premium:hover .service-icon i {
  color: #fff;
}

.service-card-premium h3 {
  margin-bottom: 0.5rem;
}

.service-card-premium p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* =====================================================
   PACKAGE CARDS
   ===================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.package-card-premium {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.package-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.package-popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255,106,0,0.06);
  transform: scale(1.02);
}

.package-popular:hover {
  transform: scale(1.02) translateY(-4px);
}

.popular-badge-premium {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #ff7b1a);
  color: #fff;
  padding: 0.25rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}

.package-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.package-header h3 {
  margin-bottom: 0.75rem;
}

.package-price {
  font-size: 2.5rem;
  font-weight: 750;
  color: var(--primary);
  line-height: 1;
}

.package-price small {
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--gray-400);
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.package-features li i {
  color: var(--success);
  font-size: 1rem;
  flex-shrink: 0;
}

.package-card-premium .btn {
  margin-top: auto;
  width: 100%;
}

/* =====================================================
   COURSE CARDS
   ===================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.course-card-premium {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-slow);
}

.course-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.course-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--gray-100);
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card-premium:hover .course-image img {
  transform: scale(1.03);
}

.course-difficulty {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 550;
}

.course-content {
  padding: 1.25rem;
}

.course-category {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.course-content h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.course-content p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.course-meta {
  display: flex;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.75rem;
  color: var(--gray-400);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* =====================================================
   PARTNERS
   ===================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.partner-card-premium {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  text-decoration: none;
}

.partner-card-premium:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.partner-card-premium img {
  max-height: 36px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
}

.partner-card-premium:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card-premium {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: all var(--transition);
}

.testimonial-card-premium:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.testimonial-rating {
  color: #f59e0b;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.testimonial-quote {
  position: relative;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--gray-600);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: -2px;
  top: -8px;
  font-size: 3rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.15;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8125rem;
  color: #fff;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-900);
}

.author-info span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* =====================================================
   FAQ
   ===================================================== */
.faq-container {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item-premium {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-item-premium:hover {
  border-color: var(--gray-300);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--gray-900);
  transition: all var(--transition-fast);
  gap: 1rem;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  font-size: 1rem;
  transition: transform var(--transition-fast);
  color: var(--gray-400);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer.active {
  max-height: 300px;
  padding: 0 1.25rem 1rem;
}

.faq-answer p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-form-container {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 550;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}

.form-control {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-family: var(--font-family);
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,106,0,0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-hint {
  font-size: 0.6875rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
  display: block;
}

/* Alerts */
.alert {
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

.alert-success {
  background: var(--success-light);
  color: #065f46;
  border-left: 3px solid var(--success);
}

.alert-danger {
  background: var(--error-light);
  color: #991b1b;
  border-left: 3px solid var(--error);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-premium {
  background: linear-gradient(135deg, var(--primary), #ff7b1a 50%, var(--secondary));
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-premium::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-premium h2 {
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.cta-premium p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-premium .btn {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-premium .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer-premium {
  background: #0a0a0a;
  color: #fff;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 28px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-links h5,
.footer-contact h5 {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

.footer-contact i {
  color: var(--primary);
  margin-top: 2px;
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 0.875rem;
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  color: var(--gray-700);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gray-900);
  color: #fff;
  border-color: var(--gray-900);
  transform: translateY(-2px);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-center { text-align: center; }
.text-muted { color: var(--gray-400) !important; }
.w-100 { width: 100%; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.me-4 { margin-right: 1.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =====================================================
   RESPONSIVE - MOBILE FIRST
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid,
  .packages-grid,
  .courses-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar-toggler {
    display: block;
  }
  
  .navbar-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    flex-direction: column;
    gap: 0.25rem;
    border-bottom: 1px solid var(--gray-150);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .navbar-nav.active {
    display: flex;
  }
  
  .navbar-nav .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
  }
  
  .navbar-actions {
    gap: 0.5rem;
  }
  
  .btn {
    padding: 0.375rem 0.875rem;
    height: 34px;
    font-size: 0.75rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .services-grid,
  .packages-grid,
  .courses-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  
  .hero-premium {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-card-premium {
    padding: 1rem 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .cta-premium {
    padding: 2.5rem 1.5rem;
  }
}

/* Small Mobile */
@media (max-width: 640px) {
  .navbar-actions {
    gap: 0.375rem;
  }
  
  .btn {
    padding: 0.3125rem 0.75rem;
    height: 32px;
    font-size: 0.6875rem;
  }
  
  .navbar-brand img {
    height: 28px;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Course image placeholder */
.course-image-placeholder {
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-image-placeholder i {
  font-size: 3rem;
  color: white;
  opacity: 0.5;
}

/* Partner placeholder */
.partner-placeholder {
  text-align: center;
}

.partner-placeholder i {
  font-size: 2rem;
  color: var(--gray-400);
}

.partner-placeholder small {
  display: block;
  margin-top: 0.5rem;
  color: var(--gray-400);
  font-size: 0.75rem;
}

/* =====================================================
   AUTH PAGES (Login, Register, Forgot Password, Reset Password)
   ===================================================== */
/* =====================================================
   AUTH PAGES (Login, Register, Forgot Password, Reset Password)
   ===================================================== */

.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
}

.auth-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.auth-header {
    padding: 40px 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-150);
}

.auth-header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.auth-header p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
}

.auth-logo {
    max-height: 60px;
    margin-bottom: 20px;
}

.auth-body {
    padding: 30px 30px 40px;
}

.auth-body .form-group {
    margin-bottom: 1.25rem;
}

.auth-body .form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.auth-body .form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.9rem;
    font-family: var(--font-family);
    color: var(--gray-800);
    background: #ffffff;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.auth-body .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

.auth-body .form-control::placeholder {
    color: var(--gray-400);
}

.auth-body .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 0;
}

.info-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-150);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-box i {
    font-size: 1.25rem;
    color: var(--primary);
}

.info-box p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.password-strength {
    height: 4px;
    margin-top: 0.5rem;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    transition: all var(--transition);
}

.strength-weak {
    background: #ef4444;
    width: 33%;
}

.strength-medium {
    background: #f59e0b;
    width: 66%;
}

.strength-strong {
    background: #10b981;
    width: 100%;
}

.password-requirements {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
}

.password-requirements p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.password-requirements ul {
    margin: 0;
    padding-left: 1.25rem;
}

.password-requirements li {
    margin-bottom: 0.25rem;
    color: var(--gray-500);
    transition: all var(--transition-fast);
}

.password-requirements li.valid {
    color: #10b981;
    text-decoration: line-through;
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.25rem 0;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-check-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    cursor: pointer;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-150);
}

.auth-footer p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.terms-check {
    margin: 1.25rem 0;
}

.terms-check a {
    color: var(--primary);
    text-decoration: none;
}

.terms-check a:hover {
    text-decoration: underline;
}

.back-to-site {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color var(--transition-fast);
}

.back-to-site:hover {
    color: var(--primary);
}

.auth-body .alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-body .alert-success {
    background: #d1fae5;
    color: #059669;
    border-left: 4px solid #10b981;
}

.auth-body .alert-danger {
    background: #fee2e2;
    color: #dc2626;
    border-left: 4px solid #dc2626;
}

.auth-body .alert-inactive {
    background: #ffedd5;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.auth-body .alert-pending {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

.auth-body .alert-blocked {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #dc2626;
}

.auth-body .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    width: 100%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.auth-body .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.3);
}

.auth-body .btn-primary:active {
    transform: translateY(0);
}

/* Responsive Auth */
@media (max-width: 480px) {
    .auth-header {
        padding: 30px 20px 15px;
    }
    
    .auth-body {
        padding: 25px 20px 30px;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
    
    .auth-logo {
        max-height: 45px;
    }
    
    .auth-body .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}