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

body{
    font-family:'Poppins',sans-serif;
    background:#f8f9fc;
    color:#111;
}

a{
    text-decoration:none;
}

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

/* HEADER */

header{
    background:#fff;
    padding:20px 0;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    position:sticky;
    top:0;
    z-index:999;
}

.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    font-size:30px;
    font-weight:700;
    color:#0d2d75;
}

.logo span{
    color:#23b14d;
}

.nav-links{
    display:flex;
    gap:25px;
}

.nav-links a{
    color:#222;
    font-weight:500;
}

.login-btn{
    background:#0d2d75;
    color:#fff;
    padding:12px 22px;
    border-radius:8px;
}

/* HERO */

.hero{
    padding:70px 0;
}

.hero-wrap{
    display:flex;
    align-items:center;
    gap:50px;
}

.hero-left{
    flex:1;
}

.hero-left h1{
    font-size:58px;
    line-height:1.2;
    margin-bottom:20px;
}

.hero-left h1 span{
    color:#23b14d;
}

.hero-left p{
    color:#666;
    margin-bottom:30px;
    font-size:18px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-bottom:30px;
}

.btn-green{
    background:#23b14d;
    color:#fff;
    padding:16px 28px;
    border-radius:10px;
    font-weight:600;
}

.btn-outline{
    border:2px solid #0d2d75;
    color:#0d2d75;
    padding:14px 28px;
    border-radius:10px;
    font-weight:600;
}

.search-box{
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 25px rgba(0,0,0,0.08);
}

.search-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.search-grid input,
.search-grid select{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:8px;
}

.search-btn{
    width:100%;
    margin-top:20px;
    padding:16px;
    border:none;
    background:#0d2d75;
    color:#fff;
    border-radius:10px;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
}

.hero-right{
    flex:1;
}

.hero-right img{
    width:100%;
    border-radius:25px;
}

/* STATS */

.stats{
    background:#0d2d75;
    color:#fff;
    margin-top:50px;
    border-radius:15px;
    padding:30px;
}

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

.stats-box h2{
    font-size:36px;
}

/* SECTION */

.section{
    padding:80px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:42px;
}

/* HOW IT WORKS */

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

.work-box{
    background:#fff;
    padding:35px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.work-number{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#23b14d;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    margin-bottom:20px;
    font-weight:700;
}

/* SUBJECTS */

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

.subject-box{
    background:#fff;
    padding:25px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

/* TUTORS */

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

.tutor-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.tutor-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.tutor-content{
    padding:20px;
}

.tutor-content h3{
    margin-bottom:10px;
}

.book-btn{
    display:inline-block;
    margin-top:15px;
    background:#0d2d75;
    color:#fff;
    padding:12px 20px;
    border-radius:8px;
}

/* CTA */

.cta{
    background:#0d2d75;
    color:#fff;
    border-radius:25px;
    padding:60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.cta h2{
    font-size:42px;
    margin-bottom:20px;
}

/* TESTIMONIAL */

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.testimonial{
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

/* FOOTER */

footer{
    background:#071b4a;
    color:#fff;
    padding:60px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

.footer-grid h3{
    margin-bottom:20px;
}

.footer-grid ul{
    list-style:none;
}

.footer-grid ul li{
    margin-bottom:10px;
}

.footer-grid ul li a{
    color:#ddd;
}

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

/* RESPONSIVE */

@media(max-width:991px){

.hero-wrap,
.cta{
    flex-direction:column;
}

.stats-grid,
.work-grid,
.subject-grid,
.tutor-grid,
.testimonial-grid,
.footer-grid{
    grid-template-columns:1fr 1fr;
}

.hero-left h1{
    font-size:42px;
}

}

@media(max-width:600px){

.nav-links{
    display:none;
}

.stats-grid,
.work-grid,
.subject-grid,
.tutor-grid,
.testimonial-grid,
.footer-grid,
.search-grid{
    grid-template-columns:1fr;
}

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

.section-title h2{
    font-size:32px;
}

}

/* AUTH PAGES PREMIUM STYLING */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: #f8f9fc;
    padding: 80px 0;
}

.auth-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(13, 45, 117, 0.1);
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    animation: authFadeIn 0.6s ease-out;
}

.auth-card.wide {
    max-width: 800px;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    background: #0d2d75;
    color: #fff;
    padding: 40px;
    text-align: center;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.auth-header p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

.auth-body {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.form-control-custom {
    width: 100%;
    padding: 14px 20px;
    background: #f8f9fc;
    border: 2px solid #f0f2f5;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control-custom:focus {
    border-color: #23b14d;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(35, 177, 77, 0.1);
}

.auth-btn {
    width: 100%;
    background: #23b14d;
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #1e9a41;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(35, 177, 77, 0.2);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 14px;
}

.auth-footer a {
    color: #0d2d75;
    font-weight: 600;
    text-decoration: none;
}

/* Multi-column forms for registration */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.col-span-2 {
    grid-column: span 2;
}

@media(max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .col-span-2 { grid-column: span 1; }
}

.section-title-sm {
    font-size: 18px;
    color: #0d2d75;
    margin-top: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 10px;
    grid-column: span 2;
}

/* HEADER BUTTON ENHANCEMENT */
.login-btn {
    transition: all 0.3s !important;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}

.login-btn:hover {
    background: #1e9a41 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(35, 177, 77, 0.3);
}

/* GENERAL FORM ENHANCEMENTS */
input::placeholder {
    color: #aaa;
    font-size: 13px;
}

select.form-control-custom {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230d2d75' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}
/* UTILITIES */
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; }
.rounded-4 { border-radius: 1rem !important; }
.rounded-5 { border-radius: 2rem !important; }
.text-success { color: #23b14d !important; }
.fw-bold { font-weight: 700 !important; }
.text-uppercase { text-transform: uppercase !important; }
.tracking-wider { letter-spacing: 0.1em !important; }
.display-3 { font-size: calc(1.525rem + 3.3vw); font-weight: 700; line-height: 1.2; }
.display-5 { font-size: calc(1.425rem + 2.1vw); font-weight: 700; line-height: 1.2; }
.display-6 { font-size: calc(1.375rem + 1.5vw); font-weight: 700; line-height: 1.2; }
.fs-4 { font-size: 1.25rem !important; }
.fs-5 { font-size: 1.15rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.opacity-75 { opacity: 0.75 !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.top-0 { top: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }
.p-5 { padding: 3rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.pt-0 { padding-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-5 { margin-top: 3rem !important; }
.m-4 { margin: 1.5rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.tracking-wider { letter-spacing: 2px !important; }

/* EXTENDED MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .branch-hero {
        padding: 60px 0 40px;
        text-align: center;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }
    
    .branch-hero h1 {
        font-size: 34px !important;
    }
    
    .branch-hero .d-flex {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .inquiry-form-card {
        padding: 25px;
        margin-top: 20px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .display-6 {
        font-size: 28px !important;
    }
    
    .sticky-contact {
        bottom: 15px;
        right: 15px;
    }
    
    .btn-whatsapp-float, .btn-call-float {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .auth-card {
        margin: 15px;
        border-radius: 16px;
    }
    
    .auth-header {
        padding: 30px 20px;
    }
    
    .auth-body {
        padding: 30px 20px;
    }
    
    .subject-icon-box {
        padding: 20px 15px;
    }
    
    .work-step {
        margin-bottom: 20px;
    }
    
    .footer-grid {
        text-align: center;
    }
    
    .footer-grid div img {
        margin: 0 auto 15px auto;
        display: block;
    }
}
