@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{

    --primary:#6d28d9;
    --secondary:#8b5cf6;

    --dark:#020617;
    --light:#ffffff;

    --text:#e2e8f0;

    --glass:rgba(255,255,255,0.08);

    --border:rgba(255,255,255,0.12);

    --shadow:rgba(0,0,0,0.3);

    --card-bg:rgba(15,23,42,0.75);

    --input-bg:rgba(255,255,255,0.06);

}


/* ================= GLOBAL ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{

    background:
    linear-gradient(
    135deg,
    #020617,
    #0f172a,
    #111827);

    color:var(--text);

    min-height:100vh;

    overflow-x:hidden;

    transition:0.4s ease;
}

/* ================= SCROLLBAR ================= */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:
    linear-gradient(
    var(--primary),
    var(--secondary));

    border-radius:20px;
}

/* ================= HEADER ================= */

header{

    position:sticky;

    top:0;

    z-index:999;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    backdrop-filter:blur(20px);

    background:rgba(255,255,255,0.04);

    border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo{

    font-size:32px;

    font-weight:800;

    color:#ffffff;
}

nav{

    display:flex;

    align-items:center;

    gap:25px;
}

nav a{

    text-decoration:none;

    color:var(--text);

    font-weight:500;

    position:relative;

    transition:0.3s;
}

nav a::after{

    content:'';

    position:absolute;

    width:0%;

    height:2px;

    background:var(--primary);

    left:0;

    bottom:-6px;

    transition:0.3s;
}

nav a:hover::after{
    width:100%;
}

nav a:hover{
    color:#ffffff;
}

.theme-btn{

    border:none;

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary));

    color:white;

    padding:10px 15px;

    border-radius:50px;

    cursor:pointer;

    transition:0.3s;
}

.theme-btn:hover{
    transform:scale(1.1);
}

/* ================= HERO ================= */

.hero{

    position:relative;

    min-height:95vh;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    text-align:center;

    padding:50px 20px;

    overflow:hidden;
}

.hero::before{

    content:'';

    position:absolute;

    width:500px;

    height:500px;

    background:#7c3aed;

    filter:blur(140px);

    opacity:0.3;

    top:-100px;

    left:-100px;
}

.hero::after{

    content:'';

    position:absolute;

    width:500px;

    height:500px;

    background:#2563eb;

    filter:blur(140px);

    opacity:0.3;

    bottom:-100px;

    right:-100px;
}

.hero h1{

    font-size:72px;

    max-width:950px;

    line-height:1.2;

    margin-bottom:20px;

    position:relative;

    z-index:2;
}

.hero p{

    font-size:22px;

    max-width:700px;

    line-height:1.8;

    position:relative;

    z-index:2;

    opacity:0.9;
}

/* ================= CONTAINER ================= */

.container{

    width:92%;

    max-width:1300px;

    margin:auto;

    padding:80px 0;
}

/* ================= GRID ================= */

.card-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:30px;
}

/* ================= GLASS CARDS ================= */

.card{

    position:relative;

    background:
    rgba(15,23,42,0.96);

    border:
    1px solid rgba(255,255,255,0.06);

    border-radius:28px;

    padding:35px;

    overflow:hidden;

    transition:0.3s ease;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.35);

    z-index:1;
}

.card::before{

    content:'';

    position:absolute;

    width:140px;

    height:140px;

    background:rgba(255,255,255,0.05);

    border-radius:50%;

    top:-50px;

    right:-50px;
}

.card:hover{

    transform:
    translateY(-4px);

    box-shadow:
    0 10px 30px rgba(124,58,237,0.18);

    filter:none;

    backdrop-filter:none;
}
.card h1{

    font-size:44px;

    margin-bottom:20px;
}

.card h2{

    font-size:30px;

    margin-bottom:15px;
}

.card p{

    line-height:1.8;

    opacity:0.95;
}

/* ================= STATS CARD ================= */

.stats-card{

    background:var(--glass);

    backdrop-filter:blur(16px);

    border:1px solid var(--border);

    padding:30px;

    border-radius:25px;

    text-align:center;

    transition:0.3s;
}

.stats-card:hover{
    transform:translateY(-8px);
}

.stats-card h3{

    font-size:34px;

    color:#ffffff;

    margin-bottom:10px;
}

.stats-card p{
    font-size:16px;
}

/* ================= BUTTON ================= */

.btn{

    display:inline-block;

    margin-top:20px;

    padding:14px 30px;

    border:none;

    border-radius:50px;

    text-decoration:none;

    cursor:pointer;

    font-weight:600;

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary));

    color:white;

    transition:0.4s;

    box-shadow:
    0 8px 20px
    rgba(79,70,229,0.35);
}

.btn:hover{

    transform:translateY(-3px);

    box-shadow:
    0 12px 25px
    rgba(79,70,229,0.5);
}

/* ================= FORMS ================= */

form{
    margin-top:20px;
}

.form-group{
    margin-bottom:20px;
}

.form-group input,
.form-group select,
.form-group textarea{

    width:100%;

    padding:16px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,0.08);

    background:var(--input-bg);

    color:#ffffff;

    outline:none;

    font-size:16px;

    backdrop-filter:blur(10px);

    transition:0.3s;

    appearance:none;
}

/* ================= SELECT FIX ================= */

.form-group select{

    background-color:rgba(15,23,42,0.9);

    color:#ffffff;
}

.form-group select option{

    background:#ffffff;

    color:#111827;

    padding:12px;
}

body.light-mode .form-group select{

    background:#ffffff;

    color:#111827;
}

body.light-mode .form-group select option{

    background:#ffffff;

    color:#111827;
}

/* ================= PLACEHOLDER ================= */

::placeholder{
    color:rgba(255,255,255,0.7);
}

body.light-mode ::placeholder{
    color:#64748b;
}

/* ================= INPUT FOCUS ================= */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{

    border-color:var(--primary);

    box-shadow:
    0 0 0 4px
    rgba(79,70,229,0.2);
}

/* ================= DASHBOARD ================= */

.dashboard-box{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

    margin-top:40px;
}

/* ================= IMAGES ================= */

.card img{

    width:100%;

    border-radius:20px;

    margin-bottom:20px;

    object-fit:cover;
}

/* ================= FOOTER ================= */

footer{

    margin-top:50px;

    text-align:center;

    padding:35px;

    backdrop-filter:blur(10px);

    background:rgba(255,255,255,0.03);

    border-top:1px solid rgba(255,255,255,0.06);
}

/* ================= ANIMATIONS ================= */

.fade-up{
    animation:fadeUp 1s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.float-animation{
    animation:float 4s ease-in-out infinite;
}

@keyframes float{

    0%,100%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }
}

/* ================= SECTION TITLE ================= */

section h1{

    font-size:48px;

    margin-bottom:20px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1200px){

    .hero h1{
        font-size:58px;
    }

}

@media(max-width:992px){

    .hero h1{
        font-size:48px;
    }

    .hero p{
        font-size:18px;
    }

}

@media(max-width:768px){

    header{

        padding:15px 5%;

        flex-direction:column;

        gap:15px;
    }

    nav{

        flex-wrap:wrap;

        justify-content:center;
    }

    .hero{
        min-height:80vh;
    }

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:16px;
    }

    .container{
        width:95%;
    }

    .card{
        padding:25px;
    }

    .btn{

        width:100%;

        text-align:center;
    }

    section h1{
        font-size:34px;
    }

}

@media(max-width:480px){

    .hero h1{
        font-size:30px;
    }

    .hero p{
        font-size:15px;
    }

    .logo{
        font-size:24px;
    }

    .card h2{
        font-size:24px;
    }

    .stats-card h3{
        font-size:24px;
    }

}
.verification-box{

    margin-top:30px;

    padding:35px;

    border-radius:25px;

    text-align:center;

    background:
    rgba(255,255,255,0.05);

    border:
    1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(15px);
}

#countdown{

    font-size:52px;

    font-weight:800;

    color:#8b5cf6;

    margin-top:20px;

    letter-spacing:4px;

    animation:pulse 1.5s infinite;
}

@keyframes pulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.05);
    }

    100%{
        transform:scale(1);
    }
}
/* ================= OVERLAY FIX ================= */

.hero::before,
.hero::after,
.card::before{

    pointer-events:none;

    z-index:0;
}

/* Keep real content above overlays */

.hero > *,
.card > *{

    position:relative;

    z-index:2;
}

/* Prevent invisible layers blocking screen */

body::before,
body::after{

    pointer-events:none !important;

    z-index:-1 !important;
}

/* Fix any accidental overlay */

.overlay,
.loader,
.modal-backdrop,
.popup-overlay{

    pointer-events:none;
}

/* Improve form visibility */

.form-group input,
.form-group select,
.form-group textarea{

    position:relative;

    z-index:5;
}

/* Fix buttons not clickable */

.btn{

    position:relative;

    z-index:5;
}
/* =================================
   TUTOR CARD
================================= */

.tutor-card{

    border:
    1px solid rgba(59,130,246,0.35);

    background:
    linear-gradient(
    135deg,
    rgba(37,99,235,0.16),
    rgba(30,41,59,0.9)
    );

    box-shadow:
    0 10px 30px rgba(37,99,235,0.2);
}

.tutor-card h2{

    color:#93c5fd;
}

/* =================================
   PARENT CARD
================================= */

.parent-card{

    border:
    1px solid rgba(124,58,237,0.35);

    background:
    linear-gradient(
    135deg,
    rgba(124,58,237,0.18),
    rgba(30,41,59,0.9)
    );

    box-shadow:
    0 10px 30px rgba(124,58,237,0.2);
}

.parent-card h2{

    color:#d8b4fe;
}

/* =================================
   MATCH GRID
================================= */

.card-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

    margin-top:25px;
}

/* =================================
   PROFILE TAG
================================= */

.profile-tag{

    display:inline-block;

    padding:8px 16px;

    border-radius:999px;

    font-size:13px;

    font-weight:600;

    margin-bottom:18px;
}

.tutor-tag{

    background:
    rgba(37,99,235,0.18);

    color:#93c5fd;
}

.parent-tag{

    background:
    rgba(124,58,237,0.18);

    color:#d8b4fe;
}
/* =========================
   CRYSTAL CLEAR TEXT
========================= */

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
button,
input,
table,
td,
th{

    -webkit-font-smoothing:
    antialiased;

    -moz-osx-font-smoothing:
    grayscale;

    text-rendering:
    optimizeLegibility;

    
}
/* =========================
   CHECKBOX GRID
========================= */

.checkbox-grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(180px,1fr));

gap:15px;

margin-top:15px;

}

/* CARD */

.check-card{

display:flex;

align-items:center;

gap:14px;

padding:18px;

border-radius:18px;

background:
rgba(255,255,255,0.04);

border:
1px solid rgba(255,255,255,0.08);

cursor:pointer;

transition:0.3s ease;

position:relative;

overflow:hidden;

}

/* HOVER */

.check-card:hover{

transform:
translateY(-3px);

border-color:#7c3aed;

background:
rgba(124,58,237,0.10);

}

/* CHECKBOX */

.check-card input[type="checkbox"]{

appearance:none;

-webkit-appearance:none;

width:22px;

height:22px;

min-width:22px;

border-radius:7px;

border:
2px solid rgba(255,255,255,0.25);

background:
rgba(255,255,255,0.04);

cursor:pointer;

position:relative;

transition:0.3s ease;

}

/* CHECKED */

.check-card input[type="checkbox"]:checked{

background:
linear-gradient(
135deg,
#7c3aed,
#2563eb
);

border-color:#7c3aed;

box-shadow:
0 0 15px rgba(124,58,237,0.45);

}

/* CHECK MARK */

.check-card input[type="checkbox"]:checked::before{

content:"✓";

position:absolute;

top:50%;

left:50%;

transform:
translate(-50%,-50%);

color:white;

font-size:14px;

font-weight:800;

}

/* RADIO */

.check-card input[type="radio"]{

width:20px;

height:20px;

accent-color:#7c3aed;

cursor:pointer;

}

/* TEXT */

.check-card span{

color:white;

font-size:15px;

font-weight:500;

transition:0.3s ease;

}

/* ACTIVE TEXT */

.check-card input:checked + span{

color:#c4b5fd;

font-weight:600;

}
/* ===================================
PREMIUM DROPDOWN MENUS
=================================== */

.modern-select{

    width:100%;

    border:none;

    outline:none;

    border-radius:24px;

    background:
    linear-gradient(
    145deg,
    rgba(20,25,45,0.95),
    rgba(12,18,35,0.95)
    );

    border:
    1px solid rgba(255,255,255,0.08);

    color:white;

    padding:20px 22px;

    font-size:17px;

    font-weight:500;

    transition:0.35s ease;

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.05),
    0 10px 25px rgba(0,0,0,0.25);

    appearance:none;

    cursor:pointer;
}

/* MULTIPLE SELECT HEIGHT */

.subject-select,
.class-select{

    min-height:280px;
}

/* OPTION STYLING */

.modern-select option{

    background:#0f172a;

    color:white;

    padding:16px;

    font-size:16px;

    border:none;
}

/* HOVER */

.modern-select:hover{

    border:
    1px solid rgba(124,58,237,0.55);

    box-shadow:
    0 0 20px rgba(124,58,237,0.20);
}

/* FOCUS */

.modern-select:focus{

    border:
    1px solid #7c3aed;

    box-shadow:
    0 0 25px rgba(124,58,237,0.35),
    0 0 50px rgba(37,99,235,0.15);

    background:
    rgba(20,25,45,0.98);
}

/* SELECT NOTE */

.select-note{

    display:block;

    margin-top:14px;

    color:#94a3b8;

    font-size:14px;

    padding-left:4px;
}

/* SCROLLBAR */

.modern-select::-webkit-scrollbar{

    width:10px;
}

.modern-select::-webkit-scrollbar-track{

    background:#0f172a;

    border-radius:999px;
}

.modern-select::-webkit-scrollbar-thumb{

    background:
    linear-gradient(
    180deg,
    #7c3aed,
    #2563eb
    );

    border-radius:999px;
}

/* OPTION CHECKED */

.modern-select option:checked{

    background:
    linear-gradient(
    135deg,
    #7c3aed,
    #2563eb
    );

    color:white;
}

/* OPTION HOVER */

.modern-select option:hover{

    background:#7c3aed;
}

/* MOBILE */

@media(max-width:768px){

    .subject-select,
    .class-select{

        min-height:220px;
    }

    .modern-select{

        font-size:15px;

        padding:18px;
    }
}
/* REGISTER GRID */

.register-grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(260px,1fr));

gap:20px;

margin-bottom:35px;

}

/* FORM GROUP */

.form-group{

display:flex;

flex-direction:column;

}

/* LABEL */

.form-group label{

margin-bottom:10px;

font-size:15px;

font-weight:600;

color:white;

}

/* INPUTS */

.form-group input,
.form-group select{



border-radius:16px;

border:1px solid rgba(255,255,255,0.1);

background:rgba(255,255,255,0.08);

color:white;

font-size:15px;

backdrop-filter:blur(10px);

transition:0.3s;

}

/* PLACEHOLDER */

.form-group input::placeholder{

color:#cbd5e1;

}

/* FOCUS */

/* LOCATION BUTTON */

.location-btn{

margin-top:15px;

background:
rgba(124,58,237,0.18);

border:1px solid rgba(255,255,255,0.12);

color:#00d4ff;

padding:14px 22px;

border-radius:16px;

font-weight:600;

backdrop-filter:blur(10px);

transition:0.3s;

cursor:pointer;

width:100%;

}

.location-btn:hover{

background:rgba(255,255,255,0.08);

color:#fff;

transform:translateY(-2px);

}
/* SEO SECTION */

.seo-section{

padding:80px 8%;

}

.seo-container{

max-width:1200px;

margin:auto;

}

.seo-section h2{

font-size:38px;

margin-bottom:20px;

font-weight:800;

color:white;

}

.seo-section p{

font-size:18px;

line-height:1.9;

color:#cbd5e1;

margin-bottom:45px;

}

/* SUBJECT GRID */

.subjects-grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(180px,1fr));

gap:18px;

margin-top:30px;

}

.subjects-grid span{

padding:18px;

border-radius:18px;

background:
rgba(255,255,255,0.05);

border:
1px solid rgba(255,255,255,0.08);

text-align:center;

font-weight:600;

font-size:16px;

backdrop-filter:blur(12px);

}
/* SEO HERO */

.seo-hero{

padding:90px 8%;

display:grid;

grid-template-columns:
1fr 1fr;

gap:50px;

align-items:center;

}

/* CONTENT */

.seo-content h1{

font-size:58px;

font-weight:800;

line-height:1.2;

margin-bottom:25px;

}

.seo-content p{

font-size:20px;

line-height:1.9;

color:#cbd5e1;

margin-bottom:35px;

}

/* BUTTON */

.seo-btn{

display:inline-block;

padding:18px 32px;

border-radius:18px;

background:
linear-gradient(
135deg,
#7c3aed,
#2563eb
);

color:white;
}
/* SOCIAL ICONS */

.social-icons{

display:flex;

align-items:center;

gap:12px;

margin-left:10px;

}

/* ICON LINK */

.social-icons a{

width:42px;

height:42px;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

background:
rgba(255,255,255,0.06);

color:white;

font-size:16px;

transition:0.3s;

border:
1px solid rgba(255,255,255,0.08);

}

/* HOVER EFFECT */

.social-icons a:hover{

transform:
translateY(-3px);

}

/* FACEBOOK */

.social-icons .facebook:hover{

background:#1877f2;

box-shadow:
0 0 18px rgba(24,119,242,0.5);

}

/* INSTAGRAM */

.social-icons .instagram:hover{

background:
linear-gradient(
135deg,
#f9ce34,
#ee2a7b,
#6228d7
);

box-shadow:
0 0 18px rgba(238,42,123,0.45);

}

/* YOUTUBE */

.social-icons .youtube:hover{

background:#ff0000;

box-shadow:
0 0 18px rgba(255,0,0,0.45);

}

/* MOBILE */

@media(max-width:768px){

.social-icons{

margin-top:10px;

justify-content:center;

width:100%;

}

.social-icons a{

width:38px;

height:38px;

font-size:15px;

}

}
/* =========================
MOBILE RESPONSIVE FIX
========================= */

@media screen and (max-width:768px){

body{

overflow-x:hidden;

}

/* HEADER */

header{

padding:14px 18px;

flex-direction:column;

gap:15px;

}

.logo img{

height:60px !important;

}

/* NAVBAR */

nav{

gap:12px;

flex-wrap:wrap;

justify-content:center;

}

nav a{

font-size:14px;

padding:10px 14px;

}

/* HERO SECTION */

.hero{

padding:70px 20px !important;

text-align:center;

}

.hero h1{

font-size:42px !important;

line-height:1.2;

}

.hero p{

font-size:16px !important;

line-height:1.7;

padding:0 10px;

}

/* BUTTONS */

.btn,
.join-btn{

padding:14px 24px;

font-size:15px;

}

/* CONTAINERS */

.container{

width:100% !important;

padding:20px !important;

}

/* CARDS */

.card{

padding:20px !important;

margin-bottom:20px;

}

/* SEARCH SECTION */

.search-box{

flex-direction:column;

gap:15px;

}

.search-box input,
.search-box select{

width:100% !important;

}

/* SOCIAL ICONS */

.social-icons{

justify-content:center;

gap:16px;

}

/* TITLES */

section h2{

font-size:34px !important;

line-height:1.3;

}

/* TEXT */

section p{

font-size:16px;

line-height:1.8;

}

/* IMAGES */

img{

max-width:100%;

height:auto;

}

/* FOOTER */

footer{

padding:30px 20px;

text-align:center;

}

}
/* ANDROID WEBVIEW FIX */

.hero{

background:
linear-gradient(
135deg,
#020617 0%,
#0f172a 40%,
#111827 100%
) !important;

position:relative;

z-index:1;
}

.hero::before{

background:#7c3aed !important;

opacity:0.25 !important;
}

.hero::after{

background:#2563eb !important;

opacity:0.25 !important;
}

/* Prevent white overlay issue */

.hero *,
.card *{

opacity:1 !important;
}

/* WebView rendering fix */

body{

background-color:#020617 !important;

}