/* ============================================
   STYLE.CSS - PAGE SPECIFIC STYLES
   Import shared-base.css before this file
   ============================================ */

/* === Additional CSS Variables === */
:root {
  --radius: 12px;
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
}

/* === Hero Section === */
.hero {
  position: relative;
  padding: 100px 0;
  background-color: #000;
  background-image: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.9) 0%, rgba(17, 24, 39, 0.7) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.hero-panel {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  color: var(--text-main);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
}

/* === Trust Strip Additions === */
.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;
}

/* === Highlight Strip === */
.highlight-strip {
  background-color: var(--light-bg);
  padding: 60px 0;
}

.free-card {
  border: 2px solid var(--primary-green) !important;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.free-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* === Section Backgrounds === */
.bg-light-tint {
  background-color: var(--light-green);
}

/* === Section Header === */
.section-header {
  text-align: center;
  margin-bottom: 1rem;
}

/* Reduce gap between testimonials and FAQ */
#testi {
  padding-bottom: 14px;
}

#faq {
  padding-top: 14px;
}

.section-badge {
  display: inline-block;
  background: var(--light-green);
  color: var(--primary-green);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  color: var(--text-main);
  padding-top: 20px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

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

/* === General Card Styling === */
.card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

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

/* === Method Card Styling === */
.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;
}


/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  background: #f8f9fa;
  padding-bottom: 60px;
}

#pricing .pricing-section {
  padding-top: 40px;
}

#how-it-works {
  padding-top: 10px;
  background: #f9fafb;
}

.pricing-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--primary-green);
}

.pricing-card.featured {
  border-color: var(--primary-green);
  border-width: 3px;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--primary-green);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f3f4f6;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.pricing-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--dark-green);
  line-height: 1;
}

.price-currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-main);
}

.pricing-features i {
  color: var(--primary-green);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.savings-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 1rem;
}

/* === Checklist === */
.checklist li {
  margin-bottom: .45rem;
  color: var(--text-main);
}

.checklist i {
  color: var(--primary-green);
}

/* === Pricing Cards === 
#pricing .card {
  transition: transform 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05) !important;
}

#pricing .col-lg-4:hover .card {
  transform: translateY(-5px);
}

@media (min-width: 992px) {
  #pricing .col-lg-4:nth-child(2) {
    z-index: 10;
  }
}
  */

/* === Utility Classes === */
.fw-600 { 
  font-weight: 600; 
}

/* === Tutor Images === */
#tutors img {
  height: 300px;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

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

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

/* === Animated Stats Counter === */
.stat-counter {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-green);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin-top: 0.5rem;
}

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

/* === Why Choose Us Section === */
.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);
}

/* === Tutor Preview Cards === */
.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;
}

/* === Enhanced Testimonial Cards === */
.testimonial-enhanced {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-green);
}

.quote-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--light-green);
  opacity: 0.5;
}

/* === Latest Updates Section === */
.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);
}

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

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

/* === Badge Styles === */
.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;
}

/* === Comparison Table Enhancement === */
.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) {
  .hero { 
    text-align: center; 
    padding: 60px 0; 
  }
  .hero-panel { 
    margin-top: 3rem; 
  }
  .hero-btns { 
    justify-content: center; 
  }
  .floating-whatsapp { 
    bottom: 20px; 
    right: 20px; 
  }
  .floating-whatsapp a { 
    width: 50px; 
    height: 50px; 
    font-size: 24px; 
  }
}
/* === Button Spacing in Free Sessions === */
.free-card .d-grid {
    margin-top: auto;
}

.free-card .btn-outline-success {
    border-width: 2px;
    transition: all 0.3s ease;
}

.free-card .btn-outline-success:hover {
    background-color: var(--light-green);
    border-color: var(--primary-green);
    color: var(--dark-green);
    transform: translateY(-2px);
}

/* === Ensure cards have equal height === */
.free-card {
    display: flex;
    flex-direction: column;
    min-height: 550px;
}

.free-card ul {
    flex-grow: 1;
}


/* ============================================
   ENHANCED FREE SESSIONS CARDS - NEW STYLES
   Add these to your existing style-home.css
   ============================================ */

/* === Enhanced Free Session Cards === */
.free-card {
    border: 3px solid var(--primary-green) !important;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
    display: flex;
    flex-direction: column;
}

.free-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.25);
    border-color: var(--dark-green) !important;
}

/* Popular Ribbon */
.popular-ribbon {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    animation: pulse-ribbon 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes pulse-ribbon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Feature Highlight Box */
.feature-highlight {
  /*
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%); */
    background: white;
    border-left: 4px solid var(--primary-green);
    padding: 1rem;
    border-radius: 8px;
}

.feature-highlight h6 {
    color: var(--dark-green);
}

.feature-highlight ul li {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Pulse Button Animation */
.pulse-button {
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

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

.pulse-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Alert Boxes - Enhanced */
.free-card .alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid var(--primary-green);
    border-radius: 10px;
}

.free-card .alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 10px;
    color: #92400e;
}

/* Social Proof Banner */
.social-proof-banner {
    border: 2px solid #e5e7eb;
    background: white;
}

.stat-box {
    padding: 0.5rem;
}

.stat-box h4 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

/* Quick Testimonial */
.quick-testimonial {
    border: 2px solid #e5e7eb;
    max-width: 900px;
    margin: 0 auto;
    background: #f9fafb;
}

/* Card Content Spacing */
.free-card .d-grid {
    margin-top: auto;
    padding-top: 1rem;
    }

/* Button Spacing in Free Cards */
.free-card .btn-outline-success {
    border-width: 2px;
    transition: all 0.3s ease;
    
}

.free-card .btn-outline-success:hover {
    
  background-color: var(--light-green);
    border-color: var(--primary-green);
    color: var(--dark-green);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .free-card {
        padding: 20px;
    }
    
    .popular-ribbon {
        font-size: 0.65rem;
        padding: 6px 15px;
        top: -8px;
        right: -8px;
    }
    
    .feature-highlight ul li {
        font-size: 0.85rem;
    }
    
    .stat-box h4 {
        font-size: 1.5rem;
    }
}

/* Savings Calculator Styles */
.savings-banner {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 50px rgba(16, 185, 129, 0.6);
    }
}

.savings-counter, .savings-counter-total {
    transition: all 0.5s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
}

/* Enhanced card positioning for badges */
.free-card {
    position: relative;
    padding-top: 3rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .savings-banner {
        padding: 2rem 1rem !important;
    }
    
    .savings-counter-total {
        font-size: 2.5rem !important;
    }
}

/* ============================================
   REDUCE SPACING BETWEEN SECTIONS
   ============================================ */

/* Reduce bottom padding of testimonials section */
section[data-component="testimonials"] {
    padding-bottom: 20px !important;
}

/* Reduce padding of FAQ section */
section[data-component="faq"] {
    padding-top: 20px !important;
    padding-bottom: 10px !important;
}

/* Reduce padding of CTA section */
section[data-component="cta"] .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
}

/* Reduce top padding of footer */
section[data-component="footer"] .footer-light {
    padding-top: 2rem !important;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    section[data-component="faq"] {
        padding-bottom: 25px !important;
    }
    
    section[data-component="cta"] .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    section[data-component="footer"] .footer-light {
        padding-top: 1.5rem !important;
    }
}