:root {
    --primary-color: #002347;
    --secondary-color: #ffd700;
    --text-color: #333;
    --bg-light: #f4f7f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-color);
}

/* Navbar */
/* --- DESKTOP HIDING --- */
.menu-icon {
    display: none; /* Hidden on desktop */
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 15px;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -280px; /* Start hidden */
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 10000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    padding: 20px;
}

.sidebar.active {
    left: 0; /* Slide in */
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin-bottom: 20px;
}

.sidebar-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .menu-icon {
        display: block; /* Show 3 lines on mobile */
        /* font-size: 1.5rem; */
        cursor: pointer;
        margin-right: 15px;
        color: var(--primary-color);
    }

    .nav-links {
        display: none !important; /* Hide standard horizontal nav */
    }
    
    .navbar {
        justify-content: flex-start; /* Keep icon and logo left-aligned */
        gap: 15px;
    }
    .sidebar-links .signin-btn {
    width: 100%; /* Make it full width in the mobile menu */
    margin-top: 20px;
    padding: 12px;
}
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin-left: auto;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.signin-btn {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* .menu-icon {
    font-size: 0.5rem;
    cursor: pointer;
    color: var(--primary-color);
} */

/* Sidebar Dashboard */
/* .sidebar {
    height: 100%;
    width: 280px;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: -280px;
    background-color: rgba(0, 35, 71, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    
}

.sidebar.active {
    left: 0;
    box-shadow: 2px 0 20px rgba(255, 215, 0, 0.3);
}

.sidebar a {
    padding: 15px 32px;
    text-decoration: none;
    font-size: 1.1rem;
    color: white;
    display: block;
    transition: 0.3s;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    left: 25px;
    font-size: 36px;
}

.user-profile {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.user-profile img {
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.menu-icon {
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.2px;
} */

/* SEARCH SECTION */

.search{
    background: white;
    padding: 5px;
    border-radius: 50px;
    display: flex;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.search input{
    border: none;
    padding: 15px 25px;
    flex: 1;
    border-radius: 50px;
    outline: none;
}

.search button{
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}

/* FEATURES SECTION */
.features { 
    padding: 80px 0; 
    background: #f9f9ff; 
}

.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
}

.f-card {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid #eee;
}

.f-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
}

.f-card i { 
    font-size: 2.5rem; 
    color: var(--primary-color); 
    margin-bottom: 20px; 
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    /*for scaling based on the screen type*/
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #ffd700;
    color: #002347;
}

.btn-primary:hover {
    background: orange;
    transform: scale(1.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid #ffd700;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: orange;
    color: #002347;
    transform: scale(1.05);
}

/* HIGHLIGHT SECTION */
.platform-highlights {
    padding: 100px 0;
    background-color: #f8fafc;
    transition: background-color 0.4s ease;
}

.platform-highlights .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.h-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--orbit-line);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.h-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.1);
}

.h-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1); 
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.h-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.h-card:hover .h-icon {
    background: var(--primary);
}

.h-card:hover .h-icon i {
    color: #666;
}

.h-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.h-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .h-card {
        padding: 30px;
        align-items: center;
        text-align: center;
    }
    
    .h-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

/* comparison section */
.comparison {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.comparison-box {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
}

.old-way {
    background: #F1F5F9;
    color: #64748B;
    border: 1px solid #E2E8F0;
}

.old-way h4 {
    color: #475569;
    font-size: 1.6rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.tejas-way {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    position: relative;
    z-index: 1; 
    box-shadow: 0 0 40px rgba(79, 70, 229, 0.15);
}

.tejas-way h4 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 800;
}

.comparison-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-box li {
    padding: 15px 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-box li:last-child {
    border-bottom: none;
}

.fa-times {
    color: #94A3B8; 
    width: 20px;
}

.fa-check {
    color: #10B981; 
    width: 20px;
}

@media (max-width: 768px) {
    .comparison-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        background: transparent;
        box-shadow: none;
    }
    
    .comparison-box {
        border-radius: 20px;
        padding: 40px 30px;
    }
    
    .tejas-way {
        transform: scale(1); 
    }
}

/* ------------------------------------- */
.split-cta {
    display: flex;
    width: 100%;
    min-height: 450px;
    overflow: hidden;
}

.cta-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px;
    transition: all 0.5s ease;
    cursor: pointer;
}

.student-bg {
    background: #db821d;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.tutor-bg {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.cta-overlay {
    text-align: center;
    max-width: 450px;
    z-index: 2;
    transition: transform 0.4s ease;
}

.cta-overlay h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-side:hover {
    flex: 1.2; /* Side grows slightly on hover */
}

.student-bg:hover {
    background: #5c4b43;
}

.tutor-bg:hover {
    background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
}

.cta-side:hover .cta-overlay {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .split-cta {
        flex-direction: column;
        min-height: auto;
    }
    
    .cta-side {
        width: 100%;
        padding: 80px 40px;
    }
    
    .cta-side:hover {
        flex: 1; /* Disable the grow effect on mobile for better UX */
    }
    
    .cta-overlay h2 {
        font-size: 2rem;
    }
}

/* HOW IT WORKS */
 .process-orbit {
    padding: 150px 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.orbit-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
    display: flex; 
    align-items: center;
    justify-content: center;
    /* animation: orbitRotate 40s linear infinite;
    animation-play-state: running; */
}

.orbit-wrapper:hover {
    animation-play-state: paused;
}

.orbit-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed #e2e8f0;
    border-radius: 50%;
}

/* Center Brand Circle */
.orbit-center {
    position: absolute;
    width: 140px;
    height: 140px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
    /* animation: pulseGlow 3s ease-in-out infinite; */
    /* animation: pulseGlow 3s ease-in-out infinite, counterRotate 20s linear infinite; */
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.4); }
    50% { 
        box-shadow: 0 0 40px rgba(79, 70, 229, 0.7); }
}

.orbit-center span { 
    font-weight: 700; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    opacity: 0.8;
    margin-top: 5px;
}

.orbit-center h2{
    text-align: center;
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.orbit-step {
    position: absolute;
    width: 160px;
    height: 100px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto; 
    /* animation: counterRotate 20s linear infinite; */
    /* animation-play-state: running; */
}

.orbit-wrapper:hover .orbit-step {
    animation-play-state: paused;
}

/* THE MATH: Rotate wrapper 360deg, Rotate cards -360deg */
@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.step-1 { 
    top: -50px; left: 0; right: 0; 
} 

.step-2 { 
    right: -80px; top: 0; bottom: 0; 
}

.step-3 { 
    bottom: -50px; left: 0; right: 0; 
} 

.step-4 { 
    left: -80px; top: 0; bottom: 0; 
} 

.step-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(79, 70, 229, 0.1);
    padding: 25px 15px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
    transition: 0.3s;
}

.step-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(208, 229, 70, 0.4);
}

.step-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-card h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

/* 📱 Responsive Mobile */
@media (max-width: 768px) {
    .process-orbit {
        padding: 80px 20px;
        overflow: hidden;
    }
    .orbit-wrapper {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        animation: none !important;
    }
    .orbit-wrapper::before { 
        /* display: none;  */
        width: 2px;
        height: 80%;
        left: 50%;
        top: 10%;
        border-radius: 0;
        border-left: 2px dashed #e2e8f0;
        border-top: none;
    }
    .orbit-center { 
        position: relative;
        margin-bottom: 40px;
        width: 120px;
        height: 120px;
        transform: none !important;
        animation: pulseGlow 3s ease-in-out infinite !important;
    }
    
    .orbit-step {
        position: relative; 
        width: 100%;
        max-width: 300px; 
        height: auto;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important; /* Stop counter-rotation */
        z-index: 10;
    }

    .step-card{
        width: 100%;
        padding: 20px;
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }

    .step-card i {
        margin-bottom: 0; 
        font-size: 1.2rem;
        min-width: 40px;
        height: 40px;
        background: rgba(79, 70, 229, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .step-card h3 {
        font-size: 0.95rem;
    }
}

/* quiz section */
/* .quiz-cta-banner {
    background: linear-gradient(135deg, #24707f 0%, #0c4853 100%);
    padding: 60px 0;
    margin-top: 70px; 
    position: relative;
    z-index: 10;
}

.quiz-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.quiz-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 40px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quiz-text h2 {
    font-size: 1.8rem;
    margin: 10px 0;
}

.quiz-text p {
    opacity: 0.8;
    font-size: 1rem;
}

.badge {
    background: #81efce;
    color: #0d3b44;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
} */

/* THE BUTTON */
/* .btn-quiz {
    background: #20bb8a;
    color: #0d3b44;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(32, 201, 151, 0.2);
}

.btn-quiz:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(32, 201, 151, 0.3);
    background: #ffffff;
}

.btn-quiz i {
    transition: transform 0.3s ease;
}

.btn-quiz:hover i {
    transform: translateX(5px);
} */

/* RESPONSIVE */
/* @media (max-width: 768px) {
    .quiz-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
} */

/* category Sections */
/* .section-title {
    text-align: center;
    margin: 50px 0 30px;
    font-size: 2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 10px 5%;
}

.cat-card {
    background: #7f8c8d;
    border-radius: 24px;
    padding: 8px 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.icon-box {
    margin-top: 20px;
    font-size: 2.5rem;
    color: #002347;
    margin-bottom: 40px;
    transition: all 0.5s ease;
}

.cat-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    transition: 0.3s;
    color: rgb(8, 23, 8);
}

.card-info {
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.card-info p {
    font-size: 0.95rem;
    color: #222;
    font-weight: 600;
    margin-bottom: 15px;
}

.lesson-count {
    display: block;
    font-size: 1rem;
    color: rgb(52, 5, 5);
    font-weight: 700;
    margin-bottom: 20px;
}

.cat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 35, 71, 0.1);
    border-color: #ffd700;
}

.cat-card:hover .card-info {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}

.cat-card:hover .icon-box {
    transform: scale(0.8) translateY(-10px);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6); 
  
 } */
/* 
.physics:hover .icon-box {
    color: #3498db;
}

.chemistry:hover .icon-box {
    color: #e74c3c;
}

.maths:hover .icon-box {
    color: #9b59b2;
}

.biology:hover .icon-box {
    color: #2ecc71;
}

.explore-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: transparent;
    color: #002347;
    border: 2px solid #002347;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: 0.3s;
    width: 80%;
}

.explore-btn:hover {
    background: orange;
}

.explore-btn:active {
    transform: scale(0.95);
}

.cat-card:hover .explore-btn {
    opacity: 1;
    transform: scale(1);
} */

/* popular topic section */
/* .section-header p {
    text-align: center;
    margin-bottom: 70px;
    font-size: large;
}

.popular-topics {
    background-color: #f4f7f6;
    padding: 60px 0;
}

.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.topic-tag {
    text-decoration: none;
    padding: 12px 25px;
    background: white;
    color: #002347;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
    animation: float 4s ease-in-out infinite;
} */

/* Floating Animation */
/* @keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
} */
/* 
.topic-tag:nth-child(even) {
    animation-delay: 1s;
}

.topic-tag:nth-child(3n) {
    animation-delay: 2s;
}

.topic-tag:hover {
    transform: translateY(-8px) scale(1.05);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.t-physics:hover {
    background-color: #3498db;
    border-color: #3498db;
}

.t-maths:hover {
    background-color: #9b59b2;
    border-color: #9b59b2;
}

.t-chemistry:hover {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.t-biology:hover {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.t-general:hover {
    background-color: #ffd700;
    border-color: #ffd700;
    color: #002347;
} */

/* teachers section */
/* .teachers {
    padding: 80px 0;
    background-color: #f9fbff;
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 5%;
}

.teacher-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    text-align: center;
    border-bottom: 5px solid #eee;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.teacher-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: #f0f4f8;
    border-radius: 50%;
    padding: 10px;
    transition: transform 0.3s ease;
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 35, 71, 0.1);
}

.specialty-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    display: inline-block;
    margin-bottom: 10px;
}

.physics-bg {
    background: #3498db;
}

.maths-bg {
    background: #9b59b2;
}

.chemistry-bg {
    background: #e74c3c;
}

.biology-bg {
    background: #2ecc71;
}

.teacher-info h3 {
    color: #002347;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.rating {
    color: #f1c40f;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 35, 71, 0.1);
}

.teacher-card:hover .teacher-avatar {
    transform: scale(1.1) rotate(5deg);
}

.t-physics-border:hover {
    border-bottom-color: #3498db;
}

.t-maths-border:hover {
    border-bottom-color: #9b59b2;
}

.t-biology-border:hover {
    border-bottom-color: #2ecc71;
}

.t-chemistry-border:hover {
    border-bottom-color: #e74c3c;
}

.profile-btn {
    background: #002347;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.profile-btn:hover {
    background: #ffd700;
    color: #002347;
}

@media (min-width: 1200px) {
    .teacher-grid {
        grid-template-columns: repeat(4, 1fr);
    }
} */

/* Become a Tutor Section */
/* .become-tutor {
    padding: 100px 0;
    background: linear-gradient(135deg, #002347 0%, #00152b 100%);
    color: white;
    overflow: hidden;
}

.tutor-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tutor-image,
.tutor-content {
    flex: 1;
    min-width: 300px;
}

.tutor-image img {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    animation: slowHover 3s ease-in-out infinite;
}

@keyframes slowHover {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
} */

/* Content Styling */
/* .sub-badge {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.tutor-content h2 {
    font-size: 2.5rem;
    margin: 20px 0;
    line-height: 1.2;
}

.highlight {
    color: #ffd700;
}

.tutor-content p {
    font-size: 1.1rem;
    color: #bdc3c7;
    margin-bottom: 30px;
} */

/* Perks List */
/* .perks-list {
    list-style: none;
    margin-bottom: 40px;
}

.perks-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.perks-list li i {
    color: #2ecc71;
} */

/* CTA Button */
/* .tutor-cta {
    padding: 18px 40px;
    background: #ffd700;
    color: #002347;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.tutor-cta:hover {
    background: orange;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
} */

/* Responsive Fix */
/* @media (max-width: 768px) {
    .tutor-container {
        text-align: center;
        flex-direction: column;
    }

    .perks-list li {
        justify-content: center;
    }
} */

/* grade selector */
/* .grade-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
} */
/* 
.grade-btn {
    padding: 10px 22px;
    border: 2px solid #eef2f6;
    background: white;
    color: #002347;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.grade-btn:hover {
    border-color: #ffd700;
    color: red;
}

.grade-btn.active {
    background: #002347;
    color: white;
    border-color: #002347;
    box-shadow: 0 4px 15px rgba(0, 35, 71, 0.2);
}

.ioe-special {
    border: 2px dashed #3498db;
    color: #3498db;
}

.ioe-special:hover, .ioe-special.active {
    background: #3498db;
    color: white;
    border-style: solid;
} */

/* Exam Tools Section */
/* .prep-tools {
    padding: 80px 0;
    background-color: #ffffff;
}

.tool-badge {
    color: #002347;
    background: #ffd700;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tool-card {
    background: #f8faff;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
}

.tool-card:hover {
    background: white;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 35, 71, 0.08);
} */

/* Tool Icons with Pulse Effect */
/* .tool-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.pulse-blue {
    background: #e3f2fd;
    color: #1e88e5;
}

.pulse-purple {
    background: #f3e5f5;
    color: #8e24aa;
}

.pulse-red {
    background: #ffebee;
    color: #e53935;
}

.pulse-green {
    background: #e8f5e9;
    color: #43a047;
}

.tool-card h3 {
    color: #002347;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tool-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tool-link {
    text-decoration: none;
    color: #002347;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.tool-card:hover .tool-link {
    gap: 15px;
    color: #ffd700;
} */

/* modal for registering as student */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 35, 71, 0.7); 
    backdrop-filter: blur(5px);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 9999; 
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 95%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: popIn 0.3s ease-out;
    margin: auto;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #888;
}


.input-group { 
    margin-bottom: 15px; 
    text-align: left; 
}

.input-group label { 
    display: block; 
    font-weight: 600; 
    margin-bottom: 5px; 
    color: #002347; 
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.input-row { 
    display: flex; 
    gap: 15px; 
}

.auth-container h2{
    text-align: center;
    margin-bottom: 8px;
}

.auth-container p{
    text-align: center;
    margin-bottom: 20px;
}

.auth-btn {
    width: 100%;
    max-width: 250px;
    padding: 15px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px auto;
    display: block;
}

.auth-btn:hover { 
    background: orange; 
    color: #002347; 
}

@media (max-width: 480px) {
    .input-row {
        flex-direction: column;
        gap: 0;
    }
}

/* for registering as tutor */
.file-upload-wrapper{
    margin-top: 5px;
}

.file-custom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.file-custom-btn:hover {
    border-color: orange;
    background: #fff9f0;
}

.file-custom-btn i {
    font-size: 2rem;
    color: #002347;
    margin-bottom: 10px;
}

#fileName {
    font-size: 0.9rem;
    color: #666;
}

.level-selection-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.level-card {
    cursor: pointer;
    display: block;
}

.card-content {
    background: #f8faff;
    border: 2px solid #eef2f6;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.card-content i {
    font-size: 1rem;
    color: #002347;
    background: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card-content .text {
    display: flex;
    flex-direction: column;
}

.card-content .text strong {
    font-size: 0.95rem;
    color: #002347;
}

.card-content .text span {
    font-size: 0.75rem;
    color: #777;
}

.level-card input:checked + .card-content {
    border-color: #ffd700;
    background: #fffdf5;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.level-card input:checked + .card-content i {
    background: #ffd700;
    color: #002347;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .level-selection-container {
        grid-template-columns: 1fr;
    }
}

.register-wide {
    max-width: 600px; 
}

textarea {
    font-family: inherit;
    resize: none;
    border: 1px solid #ddd;
    outline: none;
}

textarea:focus {
    border-color: orange;
}

/* Ensure smooth transition for hidden fields */
#locationField {
    animation: fadeIn 0.4s ease;
}

/* apply as a mentor section */
.welcome-header {
    text-align: center;
    margin-bottom: 30px;
}

.welcome-header i {
    font-size: 2rem;
    margin-bottom: 10px;
    animation: heartbeat 1.5s infinite;
    color: red;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

.section-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0 10px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* Adjusting the Action Cards to be more compact inside the multi-section form */
.level-selection-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.card-content {
    padding: 10px;
    gap: 10px;
}

.card-content i {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
}

/* sign in modal */
/* Input with Icon Styling */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: #888;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 12px 12px 40px; /* Space for icon */
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 35, 71, 0.2);
}

.form-help {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
/* ========shft role in login ================= */
.role-toggle {
    display: flex;
    background: #f1f1f1;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
    gap: 4px;
}

.role-btn {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
}

.role-btn.active {
    background: #fff;
    color: #000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* Divider Styling */
.auth-divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.auth-divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    color: #999;
    font-size: 0.8rem;
}

.google-btn {
    width: 100%;
    padding: 8px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    margin-bottom: 20px;
}

.google-btn:hover {
    background: #f9f9f9;
}

.google-btn img {
    width: 18px;
}

/* Footer */
.footer {
    background-color: #001529;
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 0 5%;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -8px;
    left: 0;
}

.footer-logo {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 5px;
}

.slogan {
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    color: #fff;
    margin-right: 10px;
    transition: 0.4s;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: #001529;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* Responsive adjust */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}