﻿*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

body{
    font-family:Arial,sans-serif;
    color:#10233b;
    background:white;
}

a{
    text-decoration:none;
    color:inherit;
}

button{
    font-family:inherit;
}


/* NAVIGATION */

nav{
    background:#06233d;
    color:white;
    padding:16px 5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:27px;
    font-weight:bold;
}

.logo span{
    color:#ff7900;
}

nav ul{
    list-style:none;
    display:flex;
    gap:28px;
}

nav li{
    font-size:14px;
}

nav a:hover{
    color:#ff7900;
}

.location{
    font-size:14px;
}


/* HERO */

.hero{
    background:linear-gradient(135deg,#eef8ff,#d8edff);
    padding:65px 5% 135px;
    position:relative;
}

.hero-container{
    max-width:1150px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:40px;
}

.hero h1{
    font-size:52px;
    line-height:1.05;
    margin-bottom:20px;
}

.orange{
    color:#ff7900;
}

.hero p{
    font-size:18px;
    line-height:1.6;
    max-width:520px;
}

.lucknow-badge{
    display:inline-block;
    background:white;
    padding:10px 16px;
    border-radius:25px;
    margin-bottom:20px;
    color:#1769e0;
    font-weight:bold;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}


/* HERO GRAPHIC */

.hero-picture{
    display:flex;
    justify-content:center;
}

.laptop{
    width:430px;
    height:260px;
    background:white;
    border:12px solid #cbddec;
    border-radius:18px;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
    padding:25px;
}

.screen{
    height:100%;
    background:#eaf5ff;
    border-radius:10px;
    padding:25px;
}

.screen-title{
    width:60%;
    height:20px;
    background:#06233d;
    border-radius:20px;
    margin-bottom:20px;
}

.screen-line{
    height:12px;
    background:#9dc4e9;
    border-radius:20px;
    margin-bottom:12px;
}

.teacher-card{
    display:inline-block;
    width:30%;
    height:70px;
    margin:10px 1%;
    background:white;
    border-radius:10px;
    box-shadow:0 4px 10px rgba(0,0,0,.1);
}


/* SEARCH */

.search-box{
    position:absolute;
    left:5%;
    right:5%;
    bottom:-65px;
    max-width:1150px;
    margin:auto;
    background:white;
    padding:25px;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.filters{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}

select,
input,
textarea{
    width:100%;
    padding:14px;
    border:1px solid #d5dce5;
    border-radius:8px;
    background:white;
}

.search-button{
    display:block;
    margin:18px auto 0;
    background:#ff7900;
    color:white;
    border:none;
    padding:15px 50px;
    border-radius:8px;
    font-weight:bold;
    cursor:pointer;
}


/* SECTIONS */

.section{
    max-width:1150px;
    margin:auto;
    padding:90px 5% 35px;
}

.section h2{
    text-align:center;
    margin-bottom:35px;
    font-size:30px;
}


/* TEACHERS */

.teacher-list{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.teacher-profile-card{
    border:1px solid #dde6ef;
    border-radius:15px;
    padding:22px;
    background:white;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.teacher-profile-card h3{
    margin-bottom:8px;
}

.teacher-profile-card p{
    margin:7px 0;
    color:#5f6f82;
    font-size:14px;
}

.teacher-actions{
    display:flex;
    gap:10px;
    margin-top:15px;
}

.profile-button,
.contact-button{
    border:none;
    padding:10px 15px;
    border-radius:7px;
    color:white;
    cursor:pointer;
}

.profile-button{
    background:#1769e0;
}

.contact-button{
    background:#ff7900;
}


/* FEATURES */

.features{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.feature{
    border:1px solid #dde6ef;
    border-radius:15px;
    padding:30px 20px;
    text-align:center;
    background:#fbfdff;
}

.feature-icon{
    font-size:35px;
    margin-bottom:15px;
}

.feature p{
    color:#64748b;
    font-size:14px;
    line-height:1.6;
}


/* CLASSES */

.classes{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
}

.class-button{
    padding:13px 18px;
    border:1px solid #80ace5;
    background:white;
    color:#1769e0;
    border-radius:8px;
}


/* SUBJECTS */

.subjects{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px;
}

.subject{
    background:#f4f7fa;
    padding:18px;
    text-align:center;
    border-radius:10px;
}


/* TEACHER CTA */

.teacher-banner{
    max-width:1100px;
    margin:50px auto;
    background:#fff1e3;
    padding:35px;
    border-radius:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.register-button{
    background:#ff7900;
    color:white;
    padding:15px 25px;
    border-radius:8px;
    font-weight:bold;
}


/* FORMS */

.form-page{
    max-width:800px;
    margin:50px auto;
    padding:30px;
}

.form-card{
    background:white;
    border:1px solid #dde6ef;
    border-radius:18px;
    padding:30px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
}

.registration-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin-top:25px;
}

.form-group label{
    display:block;
    font-size:13px;
    font-weight:bold;
    margin-bottom:7px;
}

.full-width{
    grid-column:1/-1;
}

.submit-button{
    grid-column:1/-1;
    border:none;
    background:#1769e0;
    color:white;
    padding:15px;
    border-radius:8px;
    font-weight:bold;
    cursor:pointer;
}

.success-message{
    display:none;
    margin-top:20px;
    padding:15px;
    border-radius:8px;
    background:#e8f7ed;
    color:#176b3b;
}


/* PROFILE PAGE */

.profile-page{
    max-width:800px;
    margin:50px auto;
    padding:20px;
}

.profile-card-large{
    background:white;
    border:1px solid #dde6ef;
    border-radius:18px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.profile-photo{
    width:100px;
    height:100px;
    border-radius:50%;
    background:#eaf3ff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:50px;
    margin-bottom:20px;
}

.profile-card-large p{
    margin:12px 0;
}

.back-button{
    display:inline-block;
    margin-top:25px;
    background:#06233d;
    color:white;
    padding:12px 20px;
    border-radius:8px;
}


/* FOOTER */

footer{
    background:#06233d;
    color:white;
    padding:50px 5%;
}

.footer-grid{
    max-width:1150px;
    margin:auto;
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:35px;
}

footer h3{
    margin-bottom:15px;
}

footer p{
    color:#c6d2df;
    line-height:1.8;
    font-size:14px;
}

.copyright{
    text-align:center;
    margin-top:40px;
    color:#c6d2df;
}


/* MOBILE */

@media(max-width:800px){

    nav ul{
        display:none;
    }

    .hero-container{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:40px;
    }

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

    .teacher-list,
    .features{
        grid-template-columns:1fr 1fr;
    }

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

    .registration-form{
        grid-template-columns:1fr;
    }

    .full-width,
    .submit-button{
        grid-column:1;
    }

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

}

/* ENQUIRY MODAL */

.modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    z-index:2000;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.modal.show{
    display:flex;
}

.modal-box{
    background:white;
    width:100%;
    max-width:650px;
    border-radius:18px;
    padding:30px;
    position:relative;
    max-height:90vh;
    overflow-y:auto;
}

.modal-close{
    position:absolute;
    top:12px;
    right:18px;
    border:none;
    background:none;
    font-size:30px;
    cursor:pointer;
}
@media(max-width:500px){

    .hero h1{
        font-size:34px;
    }

    .filters,
    .teacher-list,
    .features{
        grid-template-columns:1fr;
    }

    .teacher-banner{
        flex-direction:column;
        align-items:flex-start;
    }

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

}
/* =========================
   TEACHER PHOTOS
========================= */

.teacher-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.teacher-search-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    background: #eaf3ff;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.teacher-search-photo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #eaf3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    flex-shrink: 0;
}

.teacher-card-name h3 {
    margin: 0 0 6px;
}

.teacher-card-name p {
    margin: 0;
}
/* =========================
   HOMEPAGE SEO CONTENT
========================= */

.seo-content {
    max-width: 1100px;
    margin: 70px auto;
    padding: 45px 30px;
    background: #f8fafc;
    border-radius: 20px;
}

.seo-content .section-title {
    text-align: center;
    margin-bottom: 35px;
}

.seo-content .section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.seo-content .section-title p {
    color: #64748b;
}

.seo-text {
    max-width: 900px;
    margin: auto;
}

.seo-text h3 {
    margin-top: 28px;
    margin-bottom: 8px;
    font-size: 21px;
}

.seo-text p {
    color: #475569;
    line-height: 1.8;
}

@media (max-width: 600px) {

    .seo-content {
        margin: 40px 15px;
        padding: 30px 20px;
    }

    .seo-content .section-title h2 {
        font-size: 27px;
    }

}
/* =========================
   FIX SEARCH BOX OVERLAP
========================= */

.hero {
    padding-bottom: 70px;
}

.search-box {
    position: relative;
    margin-top: 30px !important;
    transform: none !important;
    z-index: 2;
}