/* Eklavya Vidyapeeth - Global Styles & Design System */

:root {
    /* Color Palette */
    --primary-blue: #123D8D;
    --primary-blue-dark: #0d2b63;
    --primary-blue-light: #1c52b8;
    
    --accent-orange: #F7931E;
    --accent-orange-hover: #e08316;
    
    --highlight-yellow: #F4C430;
    
    --bg-white: #FFFFFF;
    --bg-offwhite: #F8FAFC;
    --bg-gray: #f1f5f9;
    
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(18, 61, 141, 0.1), 0 2px 4px -1px rgba(18, 61, 141, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(18, 61, 141, 0.1), 0 4px 6px -2px rgba(18, 61, 141, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(18, 61, 141, 0.15), 0 10px 10px -5px rgba(18, 61, 141, 0.04);
    --shadow-glow: 0 0 20px rgba(247, 147, 30, 0.3);
    
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed header */
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-3 { margin-top: 1rem; }

/* Utilities */
.highlight-text {
    color: var(--accent-orange);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--highlight-yellow);
    opacity: 0.4;
    z-index: -1;
    border-radius: 4px;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light-text h2 {
    color: var(--bg-white);
}

.section-header.light-text p {
    color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(247, 147, 30, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 147, 30, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-circle {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--highlight-yellow);
    box-shadow: var(--shadow-sm);
}

.logo-text {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -1px;
}

.logo-title {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title .primary {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

.logo-title .secondary {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-orange);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-offwhite) 0%, var(--bg-white) 100%);
    overflow: visible;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(18, 61, 141, 0.03) 0%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
    padding-bottom: 8rem; /* Space for SVG shape */
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(244, 196, 48, 0.15);
    color: var(--accent-orange);
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    border: 1px solid rgba(247, 147, 30, 0.2);
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--primary-blue-dark);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(18, 61, 141, 0.1), rgba(247, 147, 30, 0.1));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-profile-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 2;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.floating-card {
    position: absolute;
    background-color: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    z-index: 5;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    color: var(--accent-orange);
    font-size: 1.5rem;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Fee Section */
.fee-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
    position: relative;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    position: relative;
    border: 1px solid rgba(18, 61, 141, 0.1);
    transition: var(--transition);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 30px -5px rgba(18, 61, 141, 0.2);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary-blue), var(--accent-orange));
}

.card-header {
    padding: 2.5rem 2.5rem 1.5rem;
    text-align: center;
    background-color: var(--bg-offwhite);
    border-bottom: 1px solid var(--bg-gray);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--highlight-yellow);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: var(--text-muted);
}

.card-body {
    padding: 2.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.strike-through {
    text-decoration: line-through;
    color: var(--text-muted);
}

.discount span:last-child {
    color: var(--accent-orange);
    font-weight: 600;
}

.card-body hr {
    border: none;
    border-top: 1px dashed var(--text-muted);
    opacity: 0.3;
    margin: 1.5rem 0;
}

.final-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-blue);
}

.final-price .amount {
    font-size: 2.5rem;
    font-family: var(--font-heading);
}

.scholarship-note {
    background-color: rgba(247, 147, 30, 0.1);
    border-left: 4px solid var(--accent-orange);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 0.75rem;
    margin: 2rem 0;
    font-size: 0.875rem;
}

.scholarship-note i {
    color: var(--accent-orange);
    margin-top: 0.25rem;
}

.features-list {
    margin-bottom: 2.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.features-list i {
    color: #10b981; /* Success green */
}

/* Achievements Section */
.achievements-section {
    padding: 6rem 0;
    background-color: var(--primary-blue);
    background-image: radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 0% 0%, rgba(247, 147, 30, 0.15) 0%, transparent 50%);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--highlight-yellow);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background-color: #081b3f; /* Very dark blue */
    color: #e2e8f0;
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.social-links a:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-orange);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #94a3b8;
}

.footer-col ul li a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: #94a3b8;
}

.contact-info i {
    color: var(--highlight-yellow);
    margin-top: 0.25rem;
}

.footer-bottom-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
}

.btn-directions {
    border-color: rgba(255,255,255,0.2);
    color: white;
}
.btn-directions:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--bg-white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 1.5rem;
        padding-bottom: 4rem;
        gap: 2rem;
    }

    .badge {
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 100%;
        margin: 1rem auto 0;
        padding: 0;
        display: flex;
        justify-content: center;
    }

    .image-wrapper {
        width: 280px;
        height: 280px;
        max-width: none;
        margin: 0 auto;
        overflow: visible;
    }

    .hero-profile-img {
        width: 100%;
        height: 100%;
    }

    .floating-card {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .floating-card i {
        font-size: 1rem;
    }

    .card-1 { top: -10px; left: -10px; }
    .card-2 { bottom: -10px; right: -10px; }

    .hero-shape { display: none; }

    .section-header h2 { font-size: 1.75rem; }

    .fee-section { padding: 4rem 0; }
    .achievements-section { padding: 4rem 0; }

    .card-header h3 { font-size: 1.5rem; }

    .stat-card { padding: 1.5rem 1rem; }
    .stat-number { font-size: 2.5rem; }
    .stat-icon { font-size: 2rem; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer { padding-top: 3rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

    .map-container iframe { height: 180px; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.85rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }

    .image-wrapper {
        width: 220px;
        height: 220px;
    }

    .stats-grid { grid-template-columns: 1fr; }

    .card-body {
        padding: 1.5rem;
    }
    .pricing-card .final-price .amount {
        font-size: 2rem;
    }

    .section-header h2 { font-size: 1.5rem; }
    .section-header p { font-size: 1rem; }

    .price-row {
        align-items: flex-start;
    }

    .price-row span:first-child {
        max-width: 52%;
    }

    .card-header h3 {
        font-size: 1.75rem;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .logo-circle {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .logo-title .primary { font-size: 0.86rem; }
    .logo-title .secondary { display: none; }

    .hero-text h1 { font-size: 1.85rem; }

    .hero-buttons .btn {
        font-size: 0.95rem;
    }

    .stats-grid { grid-template-columns: 1fr; }

    .floating-card {
        max-width: 135px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    bottom: max(24px, env(safe-area-inset-bottom, 24px));
    right: 24px;
    right: max(24px, env(safe-area-inset-right, 24px));
    background-color: #25d366;
    color: #FFF;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 32px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.5);
    z-index: 999999 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-pulse 2s ease-in-out infinite;
    text-decoration: none;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-float svg,
.whatsapp-float i {
    width: 32px;
    height: 32px;
    display: block !important;
    fill: #ffffff;
    color: #ffffff;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
    color: #FFF;
    animation: none;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 22px rgba(37, 211, 102, 0.7); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        bottom: max(20px, env(safe-area-inset-bottom, 20px));
        right: 20px;
        right: max(20px, env(safe-area-inset-right, 20px));
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .whatsapp-float svg,
    .whatsapp-float i {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 18px;
        bottom: max(18px, env(safe-area-inset-bottom, 18px));
        right: 18px;
        right: max(18px, env(safe-area-inset-right, 18px));
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .whatsapp-float svg,
    .whatsapp-float i {
        width: 26px;
        height: 26px;
    }
}


