/* ===== EduPath India - Main Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --navy: #0A2463;
    --navy-dark: #071a4a;
    --navy-light: #1a3a7a;
    --gold: #D4AF37;
    --gold-light: #e8c84a;
    --white: #FFFFFF;
    --light-bg: #E8F0FE;
    --light-gray: #f8f9fa;
    --text-dark: #1a1a2e;
    --text-gray: #6c757d;
    --border: #dee2e6;
    --shadow: 0 4px 20px rgba(10,36,99,0.12);
    --shadow-lg: 0 8px 40px rgba(10,36,99,0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 700; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

img { max-width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(10,36,99,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.navbar-brand img { height: 55px; }

.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--navy) !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    font-size: 0.92rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
    background: rgba(212,175,55,0.08);
}

.btn-nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 600 !important;
    padding: 8px 22px !important;
    border-radius: 25px !important;
    font-size: 0.88rem !important;
}

.btn-nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212,175,55,0.35);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1e4a9e 100%);
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(212,175,55,0.2);
    border: 1px solid rgba(212,175,55,0.4);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--gold);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 35px;
    line-height: 1.8;
}

.btn-primary-gold {
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 30px;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.btn-primary-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,175,55,0.4);
    color: var(--navy);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    font-weight: 600;
    padding: 13px 30px;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.5);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

.hero-image-wrap {
    position: relative;
    text-align: center;
}

.hero-img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.hero-stat-card {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.hero-stat-card.card-1 { bottom: 30px; left: -20px; }
.hero-stat-card.card-2 { top: 30px; right: -15px; }

.hero-stat-card .stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.hero-stat-card .stat-label {
    font-size: 0.72rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stat-card .stat-icon {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 5px;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--navy);
    padding: 28px 0;
}

.stat-item { text-align: center; }
.stat-item .number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}
.stat-item .label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    border-left: 1px solid rgba(255,255,255,0.15);
    height: 50px;
    margin: auto;
}

/* ===== SECTION GENERAL ===== */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-tag {
    display: inline-block;
    background: rgba(212,175,55,0.12);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-title span { color: var(--gold); }

.section-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 580px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    margin: 0 auto 20px;
}

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--light-bg); }

.about-img-wrap { position: relative; }
.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--navy);
    color: var(--white);
    border-radius: 14px;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--gold);
    text-align: center;
}

.about-badge .years {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.about-badge .text { font-size: 0.78rem; color: rgba(255,255,255,0.85); }

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.about-icon {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--navy);
}

.about-feature h5 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.88rem;
    color: var(--text-gray);
    margin: 0;
}

/* ===== SERVICES ===== */
.services-section { background: var(--white); }

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(10,36,99,0.06);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: var(--light-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--navy);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--navy);
    color: var(--gold);
}

.service-card h5 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.86rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* ===== CONSULTANTS ===== */
.consultants-section { background: var(--navy); }
.consultants-section .section-title { color: var(--white); }
.consultants-section .section-subtitle { color: rgba(255,255,255,0.7); }

.consultant-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.consultant-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.consultant-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    margin: 0 auto 20px;
    display: block;
}

.consultant-card h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 5px; }
.consultant-card .designation { color: var(--gold); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.consultant-card .qualification { color: rgba(255,255,255,0.7); font-size: 0.82rem; margin-bottom: 15px; }
.consultant-card .bio { color: rgba(255,255,255,0.65); font-size: 0.83rem; line-height: 1.7; margin-bottom: 15px; }

.mode-badge {
    background: rgba(212,175,55,0.2);
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(212,175,55,0.3);
}

/* ===== WHY CHOOSE US ===== */
.why-section { background: var(--light-bg); }

.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 22px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 55px;
    height: 55px;
    background: var(--navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    flex-shrink: 0;
}

.why-card h5 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.why-card p { font-size: 0.84rem; color: var(--text-gray); margin: 0; line-height: 1.65; }

/* ===== EXAM TYPES ===== */
.exams-section { background: var(--white); }

.exam-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-bg);
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    margin: 6px;
    border: 1px solid rgba(10,36,99,0.1);
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.exam-pill:hover {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
}

.exam-pill i { color: var(--gold); font-size: 0.9rem; }
.exam-pill:hover i { color: var(--gold); }

/* ===== CONSULTATION MODE ===== */
.mode-section { background: var(--navy); }

.mode-card {
    background: rgba(255,255,255,0.07);
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    text-align: center;
    transition: var(--transition);
}

.mode-card:hover, .mode-card.active {
    background: rgba(212,175,55,0.15);
    border-color: var(--gold);
}

.mode-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(212,175,55,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--gold);
}

.mode-card h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; }
.mode-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; }

/* ===== REVIEWS ===== */
.reviews-section { background: var(--light-bg); }

.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
    height: 100%;
    transition: var(--transition);
}

.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.stars { color: var(--gold); font-size: 1rem; margin-bottom: 14px; }
.review-text { font-size: 0.9rem; color: var(--text-dark); line-height: 1.75; margin-bottom: 18px; font-style: italic; }
.review-author { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.review-course { font-size: 0.78rem; color: var(--text-gray); }
.review-quote { font-size: 3rem; color: var(--gold); line-height: 0.5; float: left; margin-right: 8px; opacity: 0.4; font-family: Georgia, serif; }

/* ===== HELPLINE ===== */
.helpline-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 70px 0;
}

.helpline-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
}

/* ===== FOOTER ===== */
.footer { background: #060f2a; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-logo img { height: 55px; margin-bottom: 18px; }
.footer h5 { color: var(--gold); font-size: 1rem; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: var(--transition); }
.footer ul li a:hover { color: var(--gold); padding-left: 5px; }
.footer p { font-size: 0.86rem; line-height: 1.8; }

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    margin-right: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.social-links a:hover { background: var(--gold); color: var(--navy); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
    padding: 20px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 9999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover { transform: scale(1.1); color: white; }

/* ===== FORMS ===== */
.form-section { background: var(--white); }

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(10,36,99,0.08);
}

.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(10,36,99,0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--navy);
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 { color: var(--white); font-size: 2.5rem; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1rem; }
.breadcrumb-item a { color: var(--gold); }
.breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ===== ADMIN STYLES ===== */
.admin-sidebar {
    background: var(--navy);
    min-height: 100vh;
    width: 260px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    padding-top: 20px;
    overflow-y: auto;
}

.admin-sidebar .brand {
    padding: 15px 25px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.admin-sidebar .brand h4 { color: var(--gold); font-size: 1.1rem; margin: 0; }
.admin-sidebar .brand p { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin: 0; }

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7) !important;
    padding: 11px 25px !important;
    font-size: 0.87rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: var(--gold) !important;
    background: rgba(212,175,55,0.1);
    border-left-color: var(--gold);
}

.admin-sidebar .nav-link i { width: 18px; font-size: 1rem; }

.admin-main {
    margin-left: 260px;
    min-height: 100vh;
    background: #f0f2f8;
}

.admin-topbar {
    background: var(--white);
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-content { padding: 30px; }

.stat-widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 18px;
    border-left: 4px solid var(--navy);
}

.stat-widget .icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-widget .value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.stat-widget .label { font-size: 0.8rem; color: var(--text-gray); font-weight: 600; text-transform: uppercase; }

.badge-new { background: #e3f2fd; color: #1565c0; }
.badge-inprogress { background: #fff8e1; color: #f57f17; }
.badge-converted { background: #e8f5e9; color: #2e7d32; }
.badge-closed { background: #fce4ec; color: #c62828; }
.badge-pending { background: #fff3e0; color: #e65100; }
.badge-approved { background: #e8f5e9; color: #2e7d32; }
.badge-rejected { background: #fce4ec; color: #c62828; }

.table-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.table-card .card-header {
    background: var(--navy);
    color: var(--white);
    padding: 16px 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* ===== STUDENT DASHBOARD ===== */
.student-dashboard { background: var(--light-bg); min-height: 100vh; }
.dash-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

/* ===== ALERTS ===== */
.alert-success-custom {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.alert-error-custom {
    background: #fce4ec;
    border: 1px solid #f48fb1;
    color: #c62828;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title { font-size: 2.2rem; }
    .hero-section { min-height: auto; padding: 60px 0; }
    .hero-image-wrap { margin-top: 40px; }
    .hero-stat-card.card-1 { left: 0; }
    .admin-sidebar { width: 100%; min-height: auto; position: relative; }
    .admin-main { margin-left: 0; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 1.9rem; }
    .section-title { font-size: 1.7rem; }
    .section-pad { padding: 60px 0; }
    .about-badge { right: 0; bottom: 10px; }
    .helpline-number { font-size: 1.8rem; }
}
