/* ============================================
   SHARED COMMON STYLES
   Unified base styles for all pages
   ============================================ */

/* === CSS Variables === */
:root {
  --primary-green: #10b981;
  --dark-green: #065f46;
  --light-green: #ecfdf5;
  --warning: #f59e0b;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --white: #ffffff;
  --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  /* Recommended design tokens (used across modern components) */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 8px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 16px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 26px 70px rgba(0,0,0,0.12);
}

/* === Base Body Styles === */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
}

/* === Section Spacing === */
section {
  padding: 80px 0;
}

@media (max-width: 575.98px) {
  section {
    padding: 54px 0;
  }
}

/* === Typography === */
.section-title {
  font-weight: 700;
  margin-bottom: 3rem;
}

/* ============================================
   BUTTON COMPONENTS
   ============================================ */
.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
}

.btn-primary:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
}

.btn-outline-primary {
  color: var(--primary-green);
  border-color: var(--primary-green);
  font-weight: 600;
}

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

/* ============================================
   NAVBAR COMPONENT
   ============================================ */
.navbar {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-green) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: var(--primary-green);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 1rem;
}

.dropdown-item:hover {
  background-color: var(--light-green);
  color: var(--primary-green);
}

/* ============================================
   TRUST STRIP COMPONENT
   ============================================ */
.trust-strip {
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  padding: 2rem 0;
}

.trust-tile {
  text-align: center;
  padding: 1rem;
}

.trust-tile i,
.trust-tile svg {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.trust-tile h6 {
  font-weight: 700;
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   CARD COMPONENTS
   ============================================ */

/* Feature Card */
.feature-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
}

/* Method Card */
.method-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
}

.method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(5, 150, 105, 0.15);
}

.method-step {
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

/* Comparison Card */
.comparison-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
  height: 100%;
}

.comparison-card:hover {
  border-color: var(--primary-green);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
}

.comparison-icon {
  width: 70px;
  height: 70px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-green);
}

/* ============================================
   PATHWAY SECTION
   ============================================ */
.pathway-section {
  border-radius: 24px;
  padding: 60px;
}

.pathway-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

/* ============================================
   TUTOR PREVIEW COMPONENTS
   ============================================ */
.tutor-preview-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 350px;
  transition: all 0.3s ease;
}

.tutor-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: all 0.3s ease;
}

.tutor-preview-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.tutor-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 2rem 1.5rem;
  color: white;
}

/* Alternative tutor styling (for #tutors section) */
#tutors img {
  height: 300px;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

#tutors .card:hover img {
  filter: grayscale(0%);
}

/* ============================================
   TESTIMONIAL COMPONENTS
   ============================================ */
   /* TESTIMONIALS MODERN */
.testimonial-card-modern {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.testimonial-card-modern.parent {
    border: 2px solid var(--primary-green);
}

.testimonial-stars {
    color: var(--warning);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-badge {
    background: var(--light-green);
    color: var(--dark-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.testimonial-badge.parent-badge {
    background: #fef3c7;
    color: #92400e;
}

.review-summary-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.summary-stat {
    text-align: center;
}

.stat-large {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stars-large {
    color: var(--warning);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
/* responsive max width 991px */
@media (max-width: 991px) {
.testimonial-card-modern {
    padding: 1.5rem;
}
}

/* ============================================
   UPDATE COMPONENTS
   ============================================ */
.update-badge {
  display: inline-block;
  background: var(--primary-green);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.update-card {
  background: white;
  border-left: 4px solid var(--primary-green);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.update-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateX(5px);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.floating-whatsapp a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  font-size: 30px;
}

.floating-whatsapp a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ============================================
   FOOTER COMPONENT
   ============================================ */
.footer-light {
  padding: 40px 0;
  font-family: 'Inter', sans-serif;
}

.footer-light h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-light p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-light a,
.footer-light a:link,
.footer-light a:visited {
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-light a:hover,
.footer-light a:focus {
  color: var(--primary-green) !important;
  text-decoration: none !important;
}

.footer-light .social-icons a {
  font-size: 1.4rem;
  color: var(--dark-green) !important;
  transition: var(--transition);
}

.footer-light .social-icons a:hover {
  color: var(--primary-green) !important;
  transform: translateY(-3px);
}

.footer-light .bi-envelope,
.footer-light .bi-telephone {
  color: var(--dark-green) !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.pulse-stat {
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.fw-600 {
  font-weight: 600;
}

.badge-new {
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-green);
  font-size: 1.5rem;
  padding: 0 1rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-whatsapp a {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Pricing Tabs - Simple Working Version */
.pricing-tabs-wrapper {
    margin-bottom: 3rem;
}

.pricing-toggle-buttons {
    display: inline-flex;
    gap: 1rem;
}

.pricing-tab-btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 2px solid var(--primary-green);
    background: white;
    color: var(--primary-green);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-tab-btn:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

.pricing-tab-btn.active {
    background: var(--primary-green);
    color: white;
}

.pricing-content {
    display: none;
}

.pricing-content.show {
    display: block;
}

/* === cta === */
.cta-final {
    background: linear-gradient(135deg, var(--dark-green) 0%, #1f2937 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-final-card {
    position: relative;
    z-index: 2;
}

.cta-stat-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.stat-number-white {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label-white {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}
.cta-final {
    padding: 60px 0;
}