﻿/* =========================================================
   YOG NAMASTE
   TEACHERS PAGE
========================================================= */

:root {
    --primary: #0b6e69;
    --secondary: #052a2a;
    --gold: #d4a017;
    --light: #f7fafc;
    --white: #ffffff;
    --text: #666;
}


/* =========================================================
   HERO
========================================================= */

.teacher-hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            rgba(248,245,239,.95),
            rgba(248,245,239,.95)
        ),
        url('../myimg/back1.png');

    background-size: cover;
    background-position: center;
}

.hero-badge {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.teacher-hero h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--secondary);
    margin-bottom: 25px;
}

.teacher-hero h1 span {
    color: var(--primary);
}

.teacher-hero p {
    font-size: 18px;
    color: #666;
    line-height: 1.9;
    max-width: 680px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: linear-gradient(
        135deg,
        #0b6e69,
        #095955
    );
    color: #fff;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary-custom:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.teacher-hero-visual {
    min-height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            #0b6e69,
            #83cfc4
        );
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 110px;
    box-shadow: 0 30px 70px rgba(11,110,105,.25);
}

.floating-card {
    position: absolute;
    background: #fff;
    padding: 15px 18px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

.floating-card i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e8faf7;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card strong {
    display: block;
    color: #222;
    font-size: 14px;
}

.floating-card small {
    color: #777;
}

.card-one {
    top: 50px;
    left: 0;
}

.card-two {
    right: 0;
    bottom: 55px;
}


/* =========================================================
   COMMON
========================================================= */

.teachers-intro,
.teachers-section,
.teacher-benefits,
.teaching-section {
    padding: 90px 0;
}

.section-heading {
    margin-bottom: 55px;
}

.section-tag {
    display: inline-block;
    background: #e8faf7;
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-heading h2 {
    font-size: 46px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 18px;
}

.section-heading p {
    max-width: 700px;
    margin: auto;
    color: #777;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   TEACHER CARDS
========================================================= */

.teachers-section {
    background: #f7fafc;
}

.teacher-card {
    height: 100%;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .35s;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.teacher-image {
    height: 300px;
    position: relative;
    background:
        linear-gradient(
            135deg,
            #e7f8f5,
            #c8e8e2
        );
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 85px;
}

.teacher-body {
    padding: 28px;
}

.teacher-role {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.teacher-body h3 {
    color: var(--secondary);
    font-size: 23px;
    font-weight: 700;
    margin: 10px 0 15px;
}

.teacher-body p {
    color: #666;
    line-height: 1.8;
}

.teacher-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.teacher-tags span {
    background: #f0faf8;
    color: var(--primary);
    padding: 7px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   BENEFITS
========================================================= */

.teacher-benefits {
    background: #fff;
}

.benefit-card {
    height: 100%;
    text-align: center;
    padding: 35px 25px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
    transition: .3s;
}

.benefit-card:hover {
    transform: translateY(-7px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e8faf7;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.benefit-card h4 {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}


/* =========================================================
   TEACHING AREA
========================================================= */

.teaching-section {
    background: #f7fafc;
}

.teaching-section h2 {
    font-size: 44px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 20px;
}

.teaching-section p {
    color: #666;
    line-height: 1.9;
}

.expertise-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
    margin-top: 25px;
}

.expertise-list div {
    color: #444;
    font-weight: 600;
}

.expertise-list i {
    color: var(--primary);
    margin-right: 8px;
}

.expertise-box {
    min-height: 350px;
    background:
        linear-gradient(
            135deg,
            #052a2a,
            #0b6e69
        );
    border-radius: 30px;
    padding: 55px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
}

.expertise-main-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    margin-bottom: 25px;
}

.expertise-box h3 {
    font-size: 32px;
    font-weight: 700;
}

.expertise-box p {
    color: rgba(255,255,255,.9);
    max-width: 500px;
}


/* =========================================================
   CTA
========================================================= */

.teacher-cta {
    padding: 90px 0;
    background:
        linear-gradient(
            135deg,
            #052a2a,
            #0b6e69
        );
}

.teacher-cta .section-tag {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.cta-box {
    text-align: center;
    color: #fff;
}

.cta-box h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 18px;
}

.cta-box p {
    max-width: 720px;
    margin: auto auto 30px;
    font-size: 18px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:991px) {

    .teacher-hero {
        text-align: center;
        padding: 80px 0;
    }

    .teacher-hero h1 {
        font-size: 46px;
    }

    .teacher-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .teacher-hero-visual {
        min-height: 350px;
    }

    .card-one {
        left: 5%;
    }

    .card-two {
        right: 5%;
    }

    .section-heading h2 {
        font-size: 36px;
    }
}


@media(max-width:768px) {

    .teachers-intro,
    .teachers-section,
    .teacher-benefits,
    .teaching-section,
    .teacher-cta {
        padding: 60px 0;
    }

    .teacher-hero h1 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        text-align: center;
    }

    .hero-circle {
        width: 210px;
        height: 210px;
        font-size: 80px;
    }

    .floating-card {
        padding: 10px;
    }

    .floating-card strong {
        font-size: 11px;
    }

    .floating-card small {
        font-size: 10px;
    }

    .card-one {
        top: 20px;
        left: 0;
    }

    .card-two {
        bottom: 20px;
        right: 0;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .teaching-section h2 {
        font-size: 32px;
    }

    .expertise-list {
        grid-template-columns: 1fr;
    }

    .cta-box h2 {
        font-size: 34px;
    }
}