/* ===== ONE-TO-ONE COACHING PAGE STYLES ===== */

:root {
    --primary: #800000;
    --primary-dark: #5a0000;
    --primary-light: #a52a2a;
    --bg: #fafafa;
    --card: #ffffff;
    --text: #1a1a1a;
    --muted: #555;
    --light-maroon: #fff5f5;
    --radius: 18px;
    --gold: #d4a017;
    --success: #10b981;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Global mobile overflow fix */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ===== HERO SECTION (Matching courses pages) ===== */
.hero {
    background:
        linear-gradient(135deg, rgba(128, 0, 0, 0.7) 0%, rgba(90, 0, 0, 0.75) 100%),
        url('images/classroom/life-at-dakshana-valley-pune-7-1200.webp') center/cover no-repeat;
    color: #fff;
    padding: 4rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    margin-bottom: 1.75rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero p {
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.92;
    font-size: 1rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CATEGORY FILTER SECTION ===== */
.category-filter-section {
    background: #fdfdfd;
    padding: 1rem 0;
    position: sticky;
    top: 64px;
    z-index: 99;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.category-filter-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1rem 15px;
}

.category-filter-wrapper::-webkit-scrollbar {
    display: none;
}

.category-filters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.6rem 1rem;
    border-radius: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(128, 0, 0, 0.08);
    width: 100%;
    max-width: 1100px;
    transition: all 0.3s ease;
}

.category-filters:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.filter-btn {
    padding: 0.7rem 1.4rem;
    border: 1px solid transparent;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    flex: 1 1 auto;
    white-space: nowrap;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.filter-btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--primary);
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(128, 0, 0, 0.1);
}

.filter-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

.filter-btn.active {
    color: #fff;
    background: linear-gradient(135deg, #800000 0%, #a52a2a 100%);
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(128, 0, 0, 0.25);
    border-color: transparent;
}

.filter-btn.active i {
    color: #ffd700;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
}

/* ===== TEACHERS SECTION ===== */
.teachers-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f8 50%, #f0f4f8 100%);
    padding: 4rem 0 2rem;
    min-height: 60vh;
}

.teachers-header {
    text-align: center;
    margin-bottom: 1rem;
}

.teachers-header h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.teachers-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1a1a1a;
    border-radius: 3px;
}

.teachers-header p {
    color: var(--muted);
    font-size: 1.1rem;
}

.teachers-count {
    color: var(--primary);
    font-weight: 700;
}

.teachers-grid {
    width: 100%;
}

/* ===== CATEGORY SECTIONS (for grouped view) ===== */
.category-section {
    margin-bottom: 3rem;
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(128, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #800000, #a52a2a);
    border-radius: 2px;
}

.category-teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* ===== MODERN PROFILE TEACHER CARD ===== */
.teacher-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 440px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (hover: hover) {
    .teacher-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 30px 60px rgba(128, 0, 0, 0.12);
    }
}

/* Card Header - The Brand Accent */
.teacher-card-header {
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, #a52a2a 100%);
    position: relative;
    overflow: visible;
}

.teacher-card-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    background: #ffffff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* Central Overlapping Image */
.teacher-image-wrapper {
    position: absolute;
    top: 55px;
    /* Halfway overlap */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    padding: 0;
    background: transparent;
    border: none;
}

.teacher-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

@media (hover: hover) {
    .teacher-card:hover .teacher-image {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(128, 0, 0, 0.25);
    }
}

/* Info Body */
.teacher-card-body {
    margin-top: 65px;
    padding: 1.5rem 1.8rem 1rem;
    text-align: center;
    flex: 1;
}

.teacher-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
    font-family: 'Oswald', sans-serif;
}

.teacher-subject {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.teacher-experience {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(128, 0, 0, 0.06);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.teacher-qualification {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.teacher-card-footer {
    padding: 1.2rem;
    border-top: 1px solid #f5f5f5;
    text-align: center;
}

.footer-cta-link {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-cta-link:hover {
    gap: 0.8rem;
}

/* Socials in Header */
.teacher-social-floating {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    z-index: 10;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #fff !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icon-btn:hover,
.social-icon-btn:active {
    background: #fff;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Hide legacy elements */
.teacher-info,
.teacher-card-actions,
.whatsapp-btn,
.social-link,
.card-btn-social {
    display: none !important;
}

/* Hide old teacher card elements */
.teacher-social-links,
.teacher-whatsapp-cta,
.teacher-actions,
.whatsapp-btn,
.social-link,
.teacher-card-actions,
.card-btn-social {
    display: none !important;
}

.action-btn.demo {
    background: #800000;
    color: #fff;
}

.action-btn.demo:hover {
    background: #5a0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
}

.action-btn.explore {
    background: #fff;
    color: #800000;
    border: 1.5px solid #800000;
}

.action-btn.explore:hover {
    background: #800000;
    color: #fff;
    transform: translateY(-2px);
}

.action-btn.buy {
    background: #800000;
    color: #fff;
}

.action-btn.buy:hover {
    background: #5a0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
}

/* No Teachers Found */
.no-teachers {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 20px;
    grid-column: 1 / -1;
}

.no-teachers i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-teachers h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.no-teachers p {
    color: var(--muted);
}

/* ===== SECTION HEADER (Consistent for all sections) ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    font-family: 'Oswald', sans-serif;
}

.section-header p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
    background: linear-gradient(180deg, #ffeaea 0%, #fff5f5 100%);
    padding: 4rem 0;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.how-it-works-section .section-header h2 {
    color: var(--primary);
}

.how-it-works-section .section-header p {
    color: var(--muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.step-card {
    background: #fff;
    border: 1px solid rgba(128, 0, 0, 0.1);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-card:hover {
    background: #fff;
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.1);
}

.step-number {
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    font-family: 'Oswald', sans-serif;
    box-shadow: 0 4px 10px rgba(128, 0, 0, 0.2);
}

.step-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.step-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Explore Redirect Button (in How It Works) */
/* Hero Section Buttons (Left Aligned) */
.btn-hero-explore {
    background: #ffffff;
    color: var(--primary);
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid #ffffff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 140px;
}

.btn-hero-explore:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-trial {
    background: #ffffff;
    color: var(--primary);
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid #ffffff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 140px;
}

.btn-hero-trial:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Cleanup */
.explore-redirect-btn {
    display: none !important;
}

/* Comparison section styles removed - now inline in HTML */

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    background: linear-gradient(180deg, #fafafa 0%, #fff5f5 100%);
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(128, 0, 0, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(128, 0, 0, 0.12);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-maroon), #fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border: 2px solid rgba(128, 0, 0, 0.1);
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.benefit-card h4 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== SEO CONTENT SECTION ===== */
.seo-content-section {
    background: #fff;
    padding: 5rem 0;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.seo-content h2 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.seo-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.seo-content p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.seo-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.seo-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.seo-content ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.highlight-box {
    background: linear-gradient(135deg, var(--light-maroon), #fff);
    border-left: 4px solid var(--primary);
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.highlight-box p {
    margin: 0;
    font-weight: 500;
    color: var(--text);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #800000 0%, #5a0000 100%);
    padding: 5rem 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.75rem;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn.primary {
    background: #fff;
    color: var(--primary);
}

.cta-btn.primary:hover {
    background: #f6bfbf;
    color: #b40000;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(104, 104, 104, 0.3);
}

.cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.cta-divider span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.cta-divider::before,
.cta-divider::after {
    content: "";
    width: 80px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.cta-page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.cta-page-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== CTA FINAL SECTION ===== */
.cta-final-section {
    background: linear-gradient(180deg, #fafafa 0%, #fff5f5 100%);
    padding: 5rem 0;
}

.cta-final-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #800000;
}

.cta-final-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #800000 0%, #a00000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cta-final-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.cta-final-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.cta-final-text {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.cta-final-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cta-final-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.cta-final-btn.primary {
    background: linear-gradient(135deg, #800000 0%, #a00000 100%);
    color: #fff;
    border: none;
}

.cta-final-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.35);
}

.cta-final-btn.secondary {
    background: transparent;
    color: #800000;
    border: 2px solid #800000;
}

.cta-final-btn.secondary:hover {
    background: #800000;
    color: #fff;
    transform: translateY(-3px);
}

.cta-final-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    color: #666;
    font-size: 0.95rem;
}

.cta-final-info i {
    color: #800000;
    margin-right: 0.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* iPad / Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .category-teachers-grid {
        display: flex;
        overflow-x: auto;
        gap: 1.5rem;
        padding-bottom: 2rem;
        margin: 0 -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
    }

    .category-teachers-grid::-webkit-scrollbar {
        display: none;
    }

    .category-teachers-grid .teacher-card {
        flex: 0 0 calc((100% - 2.5rem) / 2.25);
        /* 2 full cards + 1/4 of 3rd card on screen */
        scroll-snap-align: center;
        max-width: none;
    }

    .category-filters {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1.25rem;
        margin: 0;
        width: auto;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .category-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.85rem;
    }

    .comparison-table-wrapper {
        border-radius: 12px;
    }

    .seo-content h2 {
        font-size: 1.75rem;
    }

    .seo-content h3 {
        font-size: 1.3rem;
    }
}

/* iPad / Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .hero {
        padding: 3.5rem 0 2.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
        margin-bottom: 1.25rem;
    }

    .oto-hero {
        padding: 5rem 0 4rem;
    }

    .oto-hero h1 {
        font-size: 2.5rem;
    }

    .oto-hero p {
        font-size: 1rem;
    }

    .oto-hero-stats {
        gap: 2rem;
    }

    .oto-stat-number {
        font-size: 2rem;
    }

    /* Category Filter for Tablets */
    .category-filter-section {
        padding: 1rem 0;
        position: relative;
        top: 0;
    }

    .category-filter-wrapper {
        padding: 0.75rem 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .category-filter-wrapper::-webkit-scrollbar {
        display: none;
    }

    .category-filters {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 0.6rem;
        padding: 0.5rem 15px;
        margin: 0;
        width: max-content;
        min-width: 100%;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0;
        border-top: 1px solid rgba(128, 0, 0, 0.08);
        border-bottom: 1px solid rgba(128, 0, 0, 0.08);
    }

    .filter-btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.8rem;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .filter-btn i {
        font-size: 0.95rem;
    }

    /* Teachers Section */
    .teachers-section {
        padding: 3rem 0;
    }

    .teachers-header h2 {
        font-size: 2rem;
    }

    .teachers-header p {
        font-size: 1rem;
    }

    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .category-teachers-grid {
        display: flex;
        overflow-x: auto;
        gap: 1.25rem;
        padding-bottom: 2rem;
        margin: 0 -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
    }

    .category-teachers-grid::-webkit-scrollbar {
        display: none;
    }

    .category-teachers-grid .teacher-card {
        flex: 0 0 calc((100% - 2.5rem) / 2.25);
        /* 2 full cards + 1/4 of 3rd card on screen */
        scroll-snap-align: center;
        max-width: none;
    }

    .teacher-card {
        min-height: auto;
    }

    .teacher-image-wrapper {
        padding: 1.5rem 1rem 0.75rem;
    }

    .teacher-image {
        width: 100px;
        height: 100px;
    }

    .teacher-card-body {
        margin-top: 50px;
    }

    .teacher-info {
        padding: 0.75rem 1rem;
    }

    .teacher-name {
        font-size: 1.1rem;
    }

    .teacher-subject {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
    }

    .teacher-qualification {
        font-size: 0.8rem;
        line-height: 1.5;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .teacher-experience {
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }

    .teacher-actions {
        padding: 0.75rem 1rem 1rem;
    }

    .action-btn {
        padding: 0.65rem 0.4rem;
        font-size: 0.68rem;
    }

    .action-btn i {
        font-size: 0.85rem;
    }

    /* How It Works Section */
    .how-it-works-section {
        padding: 3.5rem 0;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }

    .step-number {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }

    .step-card h4 {
        font-size: 1.05rem;
    }

    .step-card p {
        font-size: 0.85rem;
    }

    /* Comparison Section */
    .comparison-section {
        padding: 3.5rem 0;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .comparison-table thead th {
        font-size: 0.95rem;
    }

    /* Benefits Section */
    .benefits-section {
        padding: 3.5rem 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        width: 65px;
        height: 65px;
    }

    .benefit-icon i {
        font-size: 1.6rem;
    }

    .benefit-card h4 {
        font-size: 1.05rem;
    }

    .benefit-card p {
        font-size: 0.88rem;
    }

    /* SEO Content Section */
    .seo-content-section {
        padding: 3.5rem 0;
    }

    .seo-content h2 {
        font-size: 1.6rem;
    }

    .seo-content h3 {
        font-size: 1.2rem;
    }

    .seo-content p {
        font-size: 0.95rem;
    }

    .highlight-box {
        padding: 1.25rem 1.5rem;
    }

    /* Section Header */
    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* CTA Section */
    .cta-section h2 {
        font-size: 2.25rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* CTA Final Section */
    .cta-final-section {
        padding: 4rem 0;
    }

    .cta-final-card {
        padding: 2rem 1.5rem;
    }

    .cta-final-icon {
        width: 60px;
        height: 60px;
    }

    .cta-final-icon i {
        font-size: 1.5rem;
    }

    .cta-final-title {
        font-size: 1.5rem;
    }

    .cta-final-text {
        font-size: 0.92rem;
    }

    .cta-final-btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.88rem;
    }

    .cta-final-info {
        flex-direction: column;
        gap: 0.75rem;
        font-size: 0.88rem;
    }
}

/* Mobile / Phone (480px and below) */
@media (max-width: 480px) {
    .hero {
        padding: 2rem 0 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.25;
        padding: 0 0.5rem;
    }

    .hero p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .btn-hero-explore,
    .btn-hero-trial {
        width: auto;
        min-width: 140px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.45rem 1rem;
        gap: 0.4rem;
    }

    .hero-badge i {
        font-size: 0.9rem;
    }

    .oto-hero h1 {
        font-size: 2rem;
    }

    /* Category Filter for Mobile - Horizontal Slider */
    .category-filter-section {
        padding: 0.75rem 0;
        width: 100%;
    }

    .category-filter-section .container {
        padding: 0;
        max-width: 100%;
    }

    .category-filter-wrapper {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .category-filter-wrapper::-webkit-scrollbar {
        display: none;
        height: 0;
        width: 0;
    }

    .category-filters {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 12px;
        margin: 0;
        width: auto;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(128, 0, 0, 0.08);
        border-bottom: 1px solid rgba(128, 0, 0, 0.08);
    }

    .category-filters:hover {
        transform: none;
        box-shadow: none;
    }

    .filter-btn {
        display: inline-flex;
        flex: 0 0 auto;
        width: auto;
        min-width: max-content;
        padding: 0.5rem 0.85rem;
        font-size: 0.75rem;
        gap: 0.35rem;
        white-space: nowrap;
        border-radius: 20px;
        position: relative;
        z-index: 1;
    }

    .filter-btn:first-child {
        margin-left: 0;
    }

    .filter-btn.active {
        box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
        z-index: 2;
    }

    .filter-btn:hover {
        transform: none;
    }

    .filter-btn i {
        font-size: 0.8rem;
    }

    /* Teachers Section Mobile */
    .teachers-section {
        padding: 2rem 0 1.5rem;
    }

    .teachers-header {
        margin-bottom: 0.75rem;
    }

    .teachers-header h2 {
        font-size: 1.5rem;
        padding-bottom: 8px;
    }

    .teachers-header h2::after {
        width: 50px;
        height: 2px;
    }

    .teachers-header p {
        font-size: 0.92rem;
    }

    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .category-teachers-grid {
        display: flex;
        overflow-x: auto;
        gap: 1.25rem;
        padding-bottom: 1.5rem;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
        scroll-snap-type: x mandatory;
    }

    .category-teachers-grid::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .category-teachers-grid .teacher-card {
        flex: 0 0 calc(90% - 1.25rem);
        /* Show 90% of card for hint of next card */
        scroll-snap-align: center;
        max-width: 320px;
    }

    .teacher-card {
        min-height: auto;
    }

    .teacher-card:hover,
    .teacher-card:active {
        transform: none !important;
    }

    .teacher-card:hover .teacher-image,
    .teacher-card:active .teacher-image {
        transform: none !important;
    }

    .teacher-image-wrapper {
        padding: 1.25rem 1rem 0.5rem;
    }

    .teacher-image {
        width: 95px;
        height: 95px;
    }

    .teacher-card-body {
        margin-top: 45px;
        padding: 0.75rem 1.25rem 1rem;
    }

    .teacher-name {
        font-size: 1.15rem;
    }

    .teacher-subject {
        font-size: 0.78rem;
        padding: 0.4rem 1rem;
    }

    .teacher-qualification {
        font-size: 0.82rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        min-height: auto;
    }

    .teacher-experience {
        font-size: 0.82rem;
    }

    .teacher-actions {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.25rem 1.25rem;
    }

    .action-btn {
        padding: 0.75rem 1rem;
        font-size: 0.82rem;
        border-radius: 10px;
    }

    .action-btn i {
        font-size: 1rem;
    }

    /* How It Works Section Mobile */
    .how-it-works-section {
        padding: 2rem 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .step-card h4 {
        font-size: 1.1rem;
    }

    .step-card p {
        font-size: 0.88rem;
    }

    /* Comparison Section Mobile */
    .comparison-section {
        padding: 2.5rem 0;
    }

    .comparison-table-wrapper {
        border-radius: 12px;
        margin: 0 -0.5rem;
        padding: 0 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 600px;
        /* Allow horizontal scroll for better readability */
        width: 100%;
        table-layout: auto;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
    }

    .comparison-table thead th {
        font-size: 0.9rem;
    }

    .comparison-table thead th:first-child {
        width: 30%;
    }

    .comparison-table thead th:nth-child(2),
    .comparison-table thead th:nth-child(3) {
        width: 35%;
    }

    .comparison-table .check,
    .comparison-table .cross {
        font-size: 1rem;
    }

    /* Benefits Section Mobile */
    .benefits-section {
        padding: 2rem 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        width: 70px;
        height: 70px;
    }

    .benefit-icon i {
        font-size: 1.75rem;
    }

    .benefit-card h4 {
        font-size: 1.1rem;
    }

    .benefit-card p {
        font-size: 0.9rem;
    }

    /* SEO Content Section Mobile */
    .seo-content-section {
        padding: 2rem 0;
    }

    .seo-content h2 {
        font-size: 1.4rem;
        padding-bottom: 0.6rem;
    }

    .seo-content h3 {
        font-size: 1.15rem;
        margin: 1.5rem 0 0.75rem;
    }

    .seo-content p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .seo-content ul li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }

    .highlight-box {
        padding: 1rem 1.25rem;
        border-radius: 0 10px 10px 0;
    }

    .highlight-box p {
        font-size: 0.9rem !important;
    }

    /* Section Header Mobile */
    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.92rem;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 3.5rem 0;
    }

    .cta-section h2 {
        font-size: 1.9rem;
    }

    .cta-section p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .cta-divider {
        margin: 2rem 0;
    }

    .cta-divider::before,
    .cta-divider::after {
        width: 50px;
    }

    /* CTA Final Section Mobile */
    .cta-final-section {
        padding: 3rem 0;
    }

    .cta-final-card {
        padding: 1.75rem 1.25rem;
        border-radius: 12px;
    }

    .cta-final-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1.25rem;
    }

    .cta-final-icon i {
        font-size: 1.4rem;
    }

    .cta-final-title {
        font-size: 1.35rem;
        margin-bottom: 0.6rem;
    }

    .cta-final-text {
        font-size: 0.88rem;
        margin-bottom: 1.25rem;
    }

    .cta-final-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .cta-final-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .cta-final-info {
        font-size: 0.85rem;
        gap: 0.6rem;
    }
}

/* Extra Small Phones (360px and below) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.88rem;
    }

    .teachers-header h2 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.35rem;
    }

    .teacher-name {
        font-size: 1.05rem;
    }

    .step-card h4 {
        font-size: 1rem;
    }

    .benefit-card h4 {
        font-size: 1rem;
    }

    .cta-section h2 {
        font-size: 1.65rem;
    }
}