/* =============================================
   SAARTHI KNOWLEDGE CENTER — MAIN STYLESHEET
   ============================================= */

:root {
    --saffron: #FF6B35;
    --saffron-light: #FF9933;
    --indigo: #4361EE;
    --green: #2DC653;
    --purple: #7209B7;
    --pink: #F72585;
    --orange: #FB8500;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --text-main: #1a1a2e;
    --text-muted: #6b7280;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background: #f8f9ff;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
.text-saffron { color: var(--saffron) !important; }
.text-indigo  { color: var(--indigo)  !important; }
.text-green   { color: var(--green)   !important; }
.text-white-75 { color: rgba(255,255,255,.75) !important; }

.text-gradient {
    background: linear-gradient(135deg, var(--saffron), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SECTION UTILITIES ===== */
.section-pad { padding: 90px 0; }
.bg-light-warm { background: #fdf6f0; }

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--saffron)20, var(--indigo)20);
    color: var(--saffron);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid var(--saffron)30;
}

.section-title {
    font-family: 'Baloo 2', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-body {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: .9rem;
    font-weight: 500;
}

/* ===== NAVBAR ===== */
.saarthi-nav {
    background: rgba(26, 26, 46, .95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 12px 0;
    transition: all .3s;
}

.saarthi-nav.scrolled {
    background: rgba(26, 26, 46, .99);
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--saffron), var(--pink));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.brand-icon.small-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 1rem;
}

.brand-name {
    font-family: 'Baloo 2', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.brand-sub {
    font-size: .65rem;
    color: rgba(255,255,255,.55);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}

.nav-link {
    color: rgba(255,255,255,.8) !important;
    font-weight: 500;
    font-size: .9rem;
    padding: 8px 12px !important;
    border-radius: 8px;
    transition: all .2s;
}
.nav-link:hover { color: white !important; background: rgba(255,255,255,.08); }

/* ===== HERO ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29, #1a1a2e, #302b63);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
}

.shape-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--saffron), transparent);
    top: -200px; right: -200px;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--indigo), transparent);
    bottom: -150px; left: -100px;
    animation: floatShape 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--pink), transparent);
    top: 50%; left: 40%;
    animation: floatShape 12s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(20px, -20px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,107,53,.15);
    border: 1px solid rgba(255,107,53,.3);
    color: var(--saffron-light);
    font-size: .8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
}

.hero-title {
    font-family: 'Baloo 2', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: rgba(255,255,255,.7);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 32px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
    color: white;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    font-size: .95rem;
    box-shadow: 0 8px 24px var(--saffron)40;
    transition: all .3s;
    text-decoration: none;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--saffron)60;
    color: white;
}

.btn-hero-secondary {
    background: rgba(255,255,255,.08);
    color: white;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.2);
    font-size: .95rem;
    transition: all .3s;
    text-decoration: none;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,.15);
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stat-pill {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.9);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: .85rem;
}
.stat-pill strong { color: var(--saffron-light); margin-right: 4px; }

/* Hero Illustration */
.hero-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.city-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 28px 40px;
    text-align: center;
    color: white;
    width: 260px;
    transition: all .3s;
}
.city-card:hover { background: rgba(255,255,255,.1); transform: scale(1.02); }

.city-card i { font-size: 2.5rem; display: block; margin-bottom: 8px; }
.city-card span { font-weight: 700; font-size: 1rem; display: block; }
.city-card small { color: rgba(255,255,255,.5); font-size: .75rem; }

.city-card.tier1 i { color: var(--saffron-light); }
.city-card.tier4 i { color: var(--green); }

.gap-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    gap: 0;
}

.bridge-line {
    width: 2px;
    height: 28px;
    background: linear-gradient(to bottom, var(--saffron), var(--pink));
    opacity: .5;
}

.bridge-logo {
    background: linear-gradient(135deg, var(--saffron), var(--pink));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Baloo 2', sans-serif;
    box-shadow: 0 6px 20px var(--saffron)50;
    margin: 4px 0;
}

/* ===== ABOUT ===== */
.about-visual {
    position: relative;
    padding: 40px;
    min-height: 320px;
}

.about-bg-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    background: linear-gradient(135deg, var(--saffron)08, var(--indigo)08);
    border-radius: 50%;
    border: 2px dashed var(--saffron)20;
}

.about-card {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 16px;
    transition: all .3s;
}
.about-card:hover { transform: translateX(8px); }

.about-card strong { display: block; font-weight: 700; font-size: .9rem; }
.about-card small { color: var(--text-muted); font-size: .78rem; }

/* ===== PROBLEM ===== */
.problem-section {
    background: linear-gradient(135deg, #0f0c29, #1a1a2e, #302b63);
}

.gap-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 32px;
    color: white;
}

.gap-card h4 { font-weight: 700; margin-bottom: 20px; }

.gap-city-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.tier1-tag { background: rgba(255,153,51,.15); color: #FF9933; border: 1px solid rgba(255,153,51,.3); }
.tier4-tag { background: rgba(247,37,133,.15); color: #F72585; border: 1px solid rgba(247,37,133,.3); }

.gap-list { list-style: none; padding: 0; margin: 0; }
.gap-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: .9rem;
    color: rgba(255,255,255,.8);
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.gap-list li:last-child { border-bottom: none; }
.gap-list li i { flex-shrink: 0; margin-top: 2px; }

.problem-stat-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 32px;
    margin-top: 16px;
}

.pstat {
    flex: 1;
    min-width: 180px;
    text-align: center;
    color: white;
    padding: 12px 24px;
}
.pstat strong {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    font-family: 'Baloo 2', sans-serif;
    background: linear-gradient(135deg, var(--saffron-light), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pstat span { font-size: .85rem; color: rgba(255,255,255,.6); }

.pstat-divider {
    width: 1px;
    background: rgba(255,255,255,.1);
    margin: 12px 0;
}

/* ===== WHY CARDS ===== */
.why-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: all .3s;
    border: 1px solid #f0f0f0;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.why-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.why-card h5 { font-weight: 700; margin-bottom: 10px; }
.why-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; margin: 0; }

/* ===== SERVICE CARDS ===== */
.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: all .3s;
    border: 1px solid #f0f0f0;
    border-top: 3px solid var(--accent);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 52px; height: 52px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 16px;
}
.service-card h5 { font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: .875rem; line-height: 1.7; margin-bottom: 14px; }
.service-tag {
    display: inline-block;
    background: #f3f4f6;
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    margin-right: 4px;
    margin-bottom: 4px;
}

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, #0f0c29, #1a1a2e, #302b63);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--saffron)15, transparent);
    top: -200px; right: -200px;
    border-radius: 50%;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    background: rgba(255,107,53,.15);
    border: 1px solid rgba(255,107,53,.3);
    color: var(--saffron-light);
    font-size: .8rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.cta-title {
    font-family: 'Baloo 2', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
}

.cta-body {
    color: rgba(255,255,255,.7);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.btn-cta-student {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 24px var(--saffron)40;
    transition: all .3s;
    border: none;
}
.btn-cta-student:hover { color: white; transform: translateY(-2px); box-shadow: 0 12px 32px var(--saffron)60; }

.btn-cta-mentor {
    background: rgba(255,255,255,.08);
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.2);
    transition: all .3s;
}
.btn-cta-mentor:hover { background: rgba(255,255,255,.15); color: white; transform: translateY(-2px); }

/* ===== FOOTER ===== */
.saarthi-footer {
    background: #0a0a1a;
    padding: 56px 0 0;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li {
    color: rgba(255,255,255,.5);
    font-size: .875rem;
    padding: 4px 0;
    display: flex;
    align-items: center;
}
.footer-links a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: color .2s;
}
.footer-links a:hover { color: var(--saffron-light); }

/* ===== ANIMATIONS ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp .7s ease forwards;
}
.animate-fade-up:nth-child(2) { animation-delay: .1s; }
.animate-fade-up:nth-child(3) { animation-delay: .2s; }
.animate-fade-up:nth-child(4) { animation-delay: .3s; }
.animate-fade-up:nth-child(5) { animation-delay: .4s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: #f8f9ff;
}

.contact-info-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.contact-info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: var(--text-main);
    transition: all .2s;
}
.contact-info-row:last-of-type { border-bottom: none; }
.contact-info-row:not(.no-link):hover { color: var(--saffron); transform: translateX(4px); }

.contact-info-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-info-value {
    font-weight: 700;
    font-size: 1rem;
}

.contact-hours {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff8f5;
    border: 1px solid var(--saffron)20;
    border-radius: 12px;
    padding: 14px 16px;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.form-card-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--saffron), var(--pink));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.gform-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fafafa;
}

.gform-wrapper iframe {
    display: block;
    min-height: 620px;
}

.gform-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 32px;
    min-height: 320px;
}

.gform-placeholder i {
    font-size: 3rem;
    color: var(--saffron);
    opacity: .6;
}

.btn-saffron {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
    color: white;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    padding: 10px 20px;
    font-size: .875rem;
    transition: all .3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn-saffron:hover { color: white; transform: translateY(-1px); box-shadow: 0 6px 20px var(--saffron)40; }

.footer-contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
    font-size: .8rem;
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: all .2s;
}
.footer-pill:hover { background: rgba(255,107,53,.15); border-color: rgba(255,107,53,.3); color: var(--saffron-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .pstat-divider { display: none; }
    .pstat { border-bottom: 1px solid rgba(255,255,255,.08); }
    .pstat:last-child { border-bottom: none; }
}

@media (max-width: 576px) {
    .section-pad { padding: 60px 0; }
    .hero-section { padding: 100px 0 60px; }
    .hero-illustration { display: none; }
    .hero-stats { justify-content: center; }
    .stat-pill { font-size: .78rem; }
    .contact-info-card, .contact-form-card { padding: 20px; }
}
