/* ============================================
   REDESIGNED HOW WE TEACH PAGE STYLES
   Mobile-first, modern, eye-catching design
   ============================================ */

/* === Enhanced CSS Variables === */
:root {
    --primary-green: #10b981;
    --dark-green: #065f46;
    --light-green: #ecfdf5;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-teaching {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #065f46 0%, #1f2937 100%);
    overflow: hidden;
}

.hero-teaching::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23ffffff" fill-opacity="0.03"/><circle cx="50" cy="50" r="30" fill="%23ffffff" fill-opacity="0.05"/></svg>');
    opacity: 0.3;
}

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

.hero-teaching h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-teaching .lead {
    color: rgba(255,255,255,0.95);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

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

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

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

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

.stat-box-hero .stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual Card */
.hero-visual-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.visual-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-green);
}

.visual-body {
    padding: 1.5rem 0;
}

.lesson-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.lesson-step:hover {
    background: var(--light-green);
    transform: translateX(5px);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.visual-footer {
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-green);
    text-align: center;
    color: var(--text-muted);
}

/* ============================================
   TRUST STRIP MODERN
   ============================================ */
.trust-item-modern {
    padding: 1.5rem 1rem;
    transition: var(--transition);
}

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

/* ============================================
   FOUR PILLARS SECTION
   ============================================ */
.pillar-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green);
    box-shadow: 0 12px 30px rgba(16,185,129,0.2);
}

.pillar-card.featured {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, var(--light-green) 0%, white 100%);
}

.featured-ribbon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-green);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: var(--light-green);
    color: var(--dark-green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.pillar-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pillar-benefits li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ============================================
   LESSON TIMELINE VISUAL
   ============================================ */
.lesson-timeline-visual {
    position: relative;
    padding-left: 140px;
}

.lesson-timeline-visual::before {
    content: "";
    position: absolute;
    left: 70px;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-green), var(--light-green));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -140px;
    top: 0;
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.timeline-marker span {
    font-size: 1.1rem;
    color: var(--primary-green);
    line-height: 1;
}

.timeline-marker small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.timeline-marker.primary {
    border-color: #3b82f6;
}

.timeline-marker.primary span {
    color: #3b82f6;
}

.timeline-marker.success {
    border-color: var(--success);
}

.timeline-marker.success span {
    color: var(--success);
}

.timeline-content {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    background: var(--light-green);
    color: var(--dark-green);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   WEEKLY CALENDAR CARD
   ============================================ */
.weekly-calendar-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.calendar-header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-body {
    padding: 1.5rem;
}

.day-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border-color);
}

.day-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.day-row.weekend {
    background: var(--light-green);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
}

.day-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.day-tasks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.task-item.primary {
    background: var(--light-green);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-green);
}

.task-item i {
    flex-shrink: 0;
}

.calendar-footer {
    background: var(--light-green);
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ============================================
   STUDENT CHECKLIST CARD
   ============================================ */
.student-checklist-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.checklist-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.checklist-item:last-child {
    border-bottom: none;
}

.custom-checkbox {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-checkbox i {
    font-size: 1.5rem;
}

/* ============================================
   COMPARISON BOX
   ============================================ */
.comparison-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.comparison-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: 100%;
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.comparison-card.featured {
    border-color: var(--primary-green);
    background: var(--light-green);
}

.featured-badge-small {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: var(--primary-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.comparison-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.comparison-label.traditional {
    background: #fee;
    color: #c00;
}

.comparison-label.medibrain {
    background: var(--light-green);
    color: var(--dark-green);
}

.comparison-label.selfstudy {
    background: #fef3c7;
    color: #92400e;
}

.comparison-time {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

/* ============================================
   TOOLS GRID
   ============================================ */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
}

.tool-card.featured {
    border-color: var(--primary-green);
    background: var(--light-green);
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: var(--light-green);
    color: var(--dark-green);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   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;
}
*/
/* ============================================
   COMPARISON TABLE DETAILED
   ============================================ */
.comparison-table-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.comparison-table-detailed {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table-detailed thead {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
}

.comparison-table-detailed th {
    padding: 1.25rem;
    font-weight: 700;
    text-align: left;
}

.comparison-table-detailed .medibrain-column {
    background: rgba(255,255,255,0.1);
}

.comparison-table-detailed td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.feature-name {
    background: #f9fafb;
}

.competitor-cell {
    color: var(--text-muted);
}

.medibrain-cell {
    background: var(--light-green);
    font-weight: 600;
}

.medibrain-cell.best-value {
    background: linear-gradient(135deg, var(--light-green), #fef3c7);
}

.highlight-row td {
    font-weight: 700;
    font-size: 1.1rem;
}

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

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--dark-green);
    transform: translateY(-5px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 991px) {
    .hero-teaching {
        padding: 70px 0 50px;
        text-align: center;
    }

    .stat-box-hero {
        margin: 0 auto;
    }

    .lesson-timeline-visual {
        padding-left: 0;
        padding-top: 2rem;
    }

    .lesson-timeline-visual::before {
        left: 40px;
    }

    .timeline-marker {
        left: 0;
        width: 70px;
        height: 70px;
    }

    .timeline-item {
        padding-left: 100px;
    }

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

    .comparison-table-wrapper {
        overflow-x: auto;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero-teaching {
        padding: 60px 0 40px;
    }

    .hero-visual-card {
        padding: 1.5rem;
    }

    .pillar-card {
        padding: 1.5rem;
    }

    .timeline-marker {
        width: 60px;
        height: 60px;
    }

    .timeline-marker span {
        font-size: 0.9rem;
    }

    .weekly-calendar-card,
    .student-checklist-card {
        padding: 1.5rem;
    }

    .comparison-card {
        margin-bottom: 1rem;
    }

    .testimonial-card-modern {
        padding: 1.5rem;
    }

    .cta-final {
        padding: 60px 0;
    }

    .stat-large {
        font-size: 2.5rem;
    }
}

@media (max-width: 575px) {
    .stat-box-hero .stat-number {
        font-size: 1.5rem;
    }

    .stat-box-hero .stat-label {
        font-size: 0.7rem;
    }

    .pillar-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .day-row.weekend {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .comparison-time {
        font-size: 1.5rem;
    }

    .tool-card {
        padding: 1.25rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
    }
}