/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--dark);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

p {
  margin-bottom: var(--spacing-md);
  color: var(--dark-gray);
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title h2 {
  font-size: var(--fs-4xl);
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
}

.section-title p {
  font-size: var(--fs-lg);
  color: var(--dark-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  font-family: var(--font-primary);
}
.main-nav .btn-primary {
    margin-left: 2rem;
}

/* .btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
} */

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

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

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--fs-lg);
}

/* Top Utility Bar */
.top-utility-bar {
  background-color: var(--dark);
  color: var(--white);
  padding: var(--spacing-sm) 0;
  font-size: var(--fs-sm);
}

.top-utility-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: var(--spacing-xl);
}

.contact-info a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.contact-info a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-links a {
  color: var(--white);
  font-size: var(--fs-lg);
  transition: var(--transition-base);
}

.social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* Main Header */
.main-header {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  transition: var(--transition-base);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.site-logo {
    height: 65px;   /* screenshot ke hisaab se perfect */
    width: auto;
    object-fit: contain;
}


/* Navigation */
.main-nav {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  margin: 0;
}

.nav-menu li a {
  color: var(--dark);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--primary-color);
  background-color: var(--lighter-gray);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: var(--fs-2xl);
  color: var(--dark);
  cursor: pointer;
}


/* Footer */
.main-footer {
  background-color: var(--dark);
  color: var(--white);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  font-size: var(--fs-xl);
}

.footer-section p,
.footer-section ul {
  color: var(--light-gray);
  font-size: var(--fs-sm);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
  color: var(--light-gray);
}

.footer-section ul li a:hover {
  color: var(--accent-color);
  padding-left: var(--spacing-xs);
}

.footer-bottom {
  border-top: 1px solid var(--dark-gray);
  padding-top: var(--spacing-lg);
  text-align: center;
  color: var(--light-gray);
  font-size: var(--fs-sm);
}

/* Sticky WhatsApp Button */
.sticky-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-fixed);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 2rem;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-base);
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: var(--white);
}

/* Enrollment Notification */
.enrollment-notification {
  position: fixed;
  bottom: 100px;
  right: -400px;
  z-index: var(--z-fixed);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 350px;
  transition: var(--transition-base);
  border-left: 4px solid var(--secondary-color);
}

.enrollment-notification.show {
  right: 2rem;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
}

.notification-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--fs-lg);
}

.notification-text {
  flex: 1;
}

.notification-text strong {
  display: block;
  color: var(--dark);
  font-size: var(--fs-base);
  margin-bottom: 0.25rem;
}

.notification-text p {
  margin: 0;
  color: var(--dark-gray);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.notification-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--medium-gray);
  font-size: var(--fs-lg);
  cursor: pointer;
  padding: 0.25rem;
  transition: var(--transition-fast);
}

.notification-close:hover {
  color: var(--danger);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--fs-xl);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-lg);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Header Scrolled State */
.main-header.scrolled {
  box-shadow: var(--shadow-lg);
}

/* Course Cards */
.course-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  height: 100%;
  border: 1px solid var(--light-gray);
}

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

.course-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-3xl);
  color: var(--white);
  margin-bottom: var(--spacing-lg);
}

.course-card h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--spacing-md);
  color: var(--dark);
}

.course-card p {
  color: var(--dark-gray);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.course-level {
  display: inline-block;
  background-color: var(--lighter-gray);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

/* Stats Counter */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-xl);
  color: var(--white);
  transition: var(--transition-base);
}

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

.stat-item .counter {
  font-size: var(--fs-5xl);
  font-weight: 800;
  display: block;
  margin-bottom: var(--spacing-sm);
}

.stat-item p {
  font-size: var(--fs-lg);
  margin: 0;
  color: var(--white);
  opacity: 0.9;
}

/* ══════════════════════════════
   TESTIMONIALS SLIDER
══════════════════════════════ */
.testi-section { background: var(--white, #fff); overflow: hidden; }

/* Wrapper = viewport */
.testi-slider-wrap {
    position: relative;
    overflow: hidden;
    margin: 0 -8px;
    padding: 1rem 0 0.5rem;
}

/* Track — slides sit here */
.testi-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
    padding: 0.5rem 8px 1rem;
}

/* ── Card ── */
.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    background: var(--white, #fff);
    border-radius: var(--radius-xl, 16px);
    padding: var(--spacing-xl, 1.5rem);
    box-shadow: 0 4px 20px rgba(8,20,60,0.08);
    border: 1.5px solid #eaeff8;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(8,20,60,0.14);
    border-color: var(--primary-color, #1a73e8);
}

/* Featured card accent */
.testimonial-card.featured {
    border-color: var(--primary-color, #1a73e8);
    background: linear-gradient(135deg, #f0f6ff 0%, #fff 100%);
}
.testimonial-card.featured::after {
    content: '⭐ Featured';
    position: absolute;
    top: -1px; right: 1.25rem;
    background: var(--primary-color, #1a73e8);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.22rem 0.7rem;
    border-radius: 0 0 8px 8px;
    letter-spacing: 0.5px;
}

/* Quote icon */
.quote-icon {
    font-size: 2.8rem;
    color: var(--primary-color, #1a73e8);
    opacity: 0.18;
    line-height: 1;
    margin-bottom: 0.25rem;
    font-family: Georgia, serif;
}

/* Stars */
.star-rating {
    color: #F5A623;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

/* Content */
.testimonial-content {
    font-style: italic;
    color: var(--dark-gray, #555);
    line-height: 1.8;
    font-size: 0.93rem;
    flex: 1;
    margin-bottom: var(--spacing-lg, 1.25rem);
}

/* Author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md, 1rem);
    border-top: 1px solid #eaeff8;
    padding-top: 1rem;
    margin-top: auto;
}
.author-image {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--primary-color, #1a73e8);
    flex-shrink: 0;
}
.author-info h5 {
    margin: 0 0 0.15rem;
    color: var(--dark, #1a1a2e);
    font-size: 0.95rem;
    font-weight: 700;
}
.author-info p {
    margin: 0;
    color: var(--dark-gray, #777);
    font-size: 0.78rem;
}

/* ── Arrows ── */
.testi-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--dark, #1a1a2e);
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transition: all 0.25s ease;
}
.testi-arrow:hover {
    background: var(--primary-color, #1a73e8);
    border-color: var(--primary-color, #1a73e8);
    color: #fff;
    box-shadow: 0 6px 20px rgba(26,115,232,0.35);
    transform: translateY(-50%) scale(1.08);
}
.testi-prev { left: -10px; }
.testi-next { right: -10px; }
.testi-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: translateY(-50%);
}

/* ── Dots ── */
.testi-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}
.testi-dot {
    width: 8px; height: 8px;
    border-radius: 999px;
    background: #d1d9e8;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.testi-dot.active {
    width: 26px;
    background: var(--primary-color, #1a73e8);
    box-shadow: 0 2px 8px rgba(26,115,232,0.4);
}

/* ── Progress Bar ── */
.testi-progress {
    max-width: 200px;
    height: 3px;
    background: #eaeff8;
    border-radius: 999px;
    margin: 0.75rem auto 0;
    overflow: hidden;
}
.testi-progress-bar {
    height: 100%;
    background: var(--primary-color, #1a73e8);
    border-radius: 999px;
    width: 0%;
    transition: width linear;
}


/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: var(--spacing-lg);
  color: var(--white);
  transform: translateY(100%);
  transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* Form Styles */
.inquiry-form {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: var(--dark);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  transition: var(--transition-base);
  font-family: var(--font-primary);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Success Stories Card */
.success-story {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--secondary-color);
  margin-bottom: var(--spacing-lg);
}

.success-story h4 {
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
}

.success-location {
  color: var(--medium-gray);
  font-size: var(--fs-sm);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.success-story p {
  color: var(--dark-gray);
  line-height: 1.7;
}

/* ══════════════════════════════
   JOURNEY — 4 HORIZONTAL BOXES
══════════════════════════════ */
.journey-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
  margin: var(--spacing-2xl) auto;
  max-width: 1100px;
  position: relative;
}

/* Connecting line behind boxes */
.journey-boxes::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color, #1a73e8), #d1d9e8, var(--primary-color, #1a73e8));
  z-index: 0;
}

/* ── Each Box ── */
.journey-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.75rem;
  z-index: 1;
}

/* Arrow between boxes */
.journey-arrow {
  display: none; /* using ::before line instead */
}

/* ── Number Circle ── */
.journey-box .journey-number {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary-color, #1a73e8), var(--primary-dark, #1557b0));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--fs-lg, 1.125rem);
  font-weight: 800;
  box-shadow: var(--shadow-lg, 0 4px 16px rgba(0,0,0,0.15));
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-box .journey-number.gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.journey-box:hover .journey-number {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(26, 115, 232, 0.35);
}

.journey-box.highlight:hover .journey-number {
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5);
}

/* ── Content Card ── */
.journey-box-content {
  background: var(--white, #fff);
  padding: var(--spacing-lg, 1.25rem);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-md, 0 2px 12px rgba(0,0,0,0.08));
  border: 1px solid #eaeff8;
  transition: all 0.3s ease;
  width: 100%;
  flex: 1;
  cursor: default;
}

/* Regular hover */
.journey-box:not(.highlight):hover .journey-box-content {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg, 0 8px 30px rgba(0,0,0,0.14));
  border-color: var(--primary-color, #1a73e8);
  background: #103d10;
}

/* Regular hover — fix text colors on dark bg */
.journey-box:not(.highlight):hover .journey-box-content h4,
.journey-box:not(.highlight):hover .journey-box-content p,
.journey-box:not(.highlight):hover .journey-box-content .step-tags span,
.journey-box:not(.highlight):hover .journey-box-content .step-badge {
  color: #fff;
}
.journey-box:not(.highlight):hover .journey-box-content .step-badge {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
.journey-box:not(.highlight):hover .journey-box-content .step-tags span {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

/* Gold/highlight hover */
.journey-box.highlight:hover .journey-box-content {
  transform: translateY(-6px);
  background: #103d10;
  border-color: #f59e0b;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.2);
}
.journey-box.highlight:hover .journey-box-content h4,
.journey-box.highlight:hover .journey-box-content p,
.journey-box.highlight:hover .journey-box-content .step-tags span {
  color: #fff;
}
.journey-box.highlight:hover .journey-box-content .gold-badge {
  background: rgba(245, 158, 11, 0.25);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fcd34d;
}
.journey-box.highlight:hover .journey-box-content .step-tags span {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

/* ── Inner Elements ── */
.step-icon {
  font-size: 26px;
  margin-bottom: 8px;
  display: block;
}
.step-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color, #1a73e8);
  background: rgba(26, 115, 232, 0.08);
  border: 1px solid rgba(26, 115, 232, 0.2);
  padding: 3px 10px;
  border-radius: var(--radius-full, 999px);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.gold-badge {
  color: #d97706;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}
.journey-box-content h4 {
  color: var(--dark, #1a1a2e);
  margin: 6px 0 8px;
  font-size: var(--fs-lg, 1.125rem);
  font-weight: 700;
  transition: color 0.3s ease;
}
.journey-box-content p {
  margin: 0 0 12px;
  color: var(--dark-gray, #555);
  font-size: var(--fs-sm, 0.875rem);
  line-height: 1.6;
  transition: color 0.3s ease;
}
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.step-tags span {
  font-size: 11px;
  color: var(--dark-gray, #555);
  background: var(--light-bg, #f5f7fa);
  border: 1px solid #e2e8f0;
  padding: 3px 9px;
  border-radius: var(--radius-full, 999px);
  transition: all 0.3s ease;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 992px) {
  .journey-boxes {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .journey-boxes::before { display: none; }
}

@media (max-width: 576px) {
  .journey-boxes {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .journey-box {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
  }
  .journey-box .journey-number {
    margin-bottom: 0;
    flex-shrink: 0;
    margin-top: 0.25rem;
  }
  .journey-box-content {
    flex: 1;
  }
}

/* ── Mobile ── */
@media (max-width: 680px) {
  .journey-timeline::before { left: 28px; }

  .journey-step.left,
  .journey-step.right { flex-direction: row; }

  .step-connector,
  .journey-step.left .step-connector {
    flex: 0 0 auto;
    flex-direction: column;
    margin-right: 14px;
  }

  .step-line { display: none; }

  .journey-content {
    flex: 1;
    margin: 0 !important;
  }
}

/* Who Can Join Icons */
.target-audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.audience-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

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

.audience-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: var(--fs-3xl);
  color: var(--white);
}

.audience-item h5 {
  font-size: var(--fs-lg);
  color: var(--dark);
  margin: 0;
}

/* YouTube Section */
.youtube-container {
  max-width: 800px;
  margin: var(--spacing-2xl) auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.youtube-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Subscribe Banner */
.subscribe-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: var(--spacing-3xl) var(--spacing-lg);
  border-radius: var(--radius-2xl);
  text-align: center;
  color: var(--white);
  margin: var(--spacing-3xl) 0;
}

.subscribe-banner h2 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.subscribe-banner p {
  color: var(--white);
  opacity: 0.9;
  margin-bottom: var(--spacing-xl);
  font-size: var(--fs-lg);
}

.subscribe-form {
  display: flex;
  gap: var(--spacing-md);
  max-width: 500px;
  margin: 0 auto;
}

.subscribe-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
}

.subscribe-form button {
  background-color: var(--accent-color);
  color: var(--dark);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}

.subscribe-form button:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
}

/* Animated Background Gradient */
.animated-gradient-bg {
    background: linear-gradient(-45deg, #1a73e8, #4285f4, #34a853, #fbbc04);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Particles Background Container */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.particles-content {
    position: relative;
    z-index: 1;
}

/* Floating Animation */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
}

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

.float-slow { animation: float-slow 6s ease-in-out infinite; }
.float-medium { animation: float-medium 4s ease-in-out infinite; }
.float-fast { animation: float-fast 3s ease-in-out infinite; }

/* Glowing Effect */
.glow-effect {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(26, 115, 232, 0.5),
                    0 0 10px rgba(26, 115, 232, 0.3),
                    0 0 15px rgba(26, 115, 232, 0.2);
    }
    to {
        box-shadow: 0 0 10px rgba(26, 115, 232, 0.8),
                    0 0 20px rgba(26, 115, 232, 0.5),
                    0 0 30px rgba(26, 115, 232, 0.3);
    }
}

/* Pulsating Rings */
.pulse-ring {
    position: absolute;
    border: 3px solid rgba(26, 115, 232, 0.5);
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Captcha Styles */
.captcha-container {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg);
    background-color: var(--lighter-gray);
    border-radius: var(--radius-lg);
    border: 2px solid var(--light-gray);
}

.captcha-display {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-md);
}

#captchaCanvas {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.captcha-refresh {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.captcha-refresh:hover {
    background-color: var(--primary-dark);
    transform: rotate(180deg);
}

.captcha-refresh i {
    font-size: var(--fs-lg);
}

.captcha-input-group {
    position: relative;
}

.captcha-input-group input {
    padding-right: 3rem;
}

.captcha-status {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fs-xl);
}

.captcha-status.valid {
    color: var(--success);
}

.captcha-status.invalid {
    color: var(--danger);
}

/* Decorative Shapes */
.decorative-shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.shape-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.shape-square {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    transform: rotate(45deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid rgba(251, 188, 4, 0.3);
}

/* Animated Border */
.animated-border {
    position: relative;
    overflow: hidden;
}

.animated-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: border-flow 3s linear infinite;
}

@keyframes border-flow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Ripple Effect on Click */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Card Shine Effect */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.card-3d:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg);
}

/* Typing Cursor Effect */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Number Counter with Glow */
.counter-glow {
    text-shadow: 0 0 10px rgba(26, 115, 232, 0.5),
                 0 0 20px rgba(26, 115, 232, 0.3),
                 0 0 30px rgba(26, 115, 232, 0.1);
}

/* Loading Spinner for Form */
.form-loading {
    position: relative;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid var(--light-gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Alert */
.custom-alert {
    position: fixed;
    top: 100px;
    right: 2rem;
    min-width: 300px;
    max-width: 400px;
    padding: var(--spacing-lg);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    transform: translateX(500px);
    transition: var(--transition-base);
}

.custom-alert.show {
    transform: translateX(0);
}

.custom-alert.alert-success {
    border-left: 4px solid var(--success);
}

.custom-alert.alert-error {
    border-left: 4px solid var(--danger);
}

.custom-alert.alert-info {
    border-left: 4px solid var(--info);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.alert-content i {
    font-size: var(--fs-2xl);
}

.alert-success .alert-content i {
    color: var(--success);
}

.alert-error .alert-content i {
    color: var(--danger);
}

.alert-info .alert-content i {
    color: var(--info);
}

.alert-content span {
    flex: 1;
    color: var(--dark);
    font-weight: 500;
}
