/* 
    Project: ROYAL EDUCATIONAL CONSULTANCY
    Description: Advanced Education Consultancy Website (Hindi)
    Author: Antigravity AI
*/

@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&family=Noto+Sans+Devanagari:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

:root {
    --primary-color: #5D3A26; /* Logo Brown */
    --primary-dark: #3D261A;
    --secondary-color: #1DB954; /* Logo Green */
    --secondary-dark: #169C46;
    --accent-color: #E67E22;
    --text-color: #4A4A4A;
    --heading-color: #3D261A;
    --white: #ffffff;
    --light-bg: #FDF8F5;
    --dark-bg: #1A0F0A;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --box-shadow: 0 15px 35px rgba(93, 58, 38, 0.1);
}

/* --- Glassmorphism & Premium UI Components --- */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.glass-modal {
    background: rgba(26, 15, 10, 0.9) !important;
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px !important;
}

.glass-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
}

.glass-input::placeholder {
    color: rgba(255,255,255,0.4) !important;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.2) !important;
}

/* Mobile Inquiry FAB */
.mobile-inquiry-fab {
    position: fixed;
    bottom: 110px; /* Above the bottom bar */
    right: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 9998;
    box-shadow: 0 10px 25px rgba(29, 185, 84, 0.4);
    cursor: pointer;
    animation: float-fab 3s ease-in-out infinite;
}

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

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 20000;
    background: transparent;
    pointer-events: none;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.5);
    transition: width 0.1s ease;
}

/* Admission Alert Styles */
.admission-alert {
    display: inline-flex;
    align-items: center;
    background: rgba(29, 185, 84, 0.12) !important;
    color: var(--primary-color) !important;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(29, 185, 84, 0.2);
    box-shadow: none;
    height: 32px;
    white-space: nowrap;
}

.admission-alert .alert-typewriter {
    color: var(--primary-color) !important;
    font-size: 0.85rem;
    font-weight: 700;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

.alert-typewriter {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

/* Micro-Interactions */
.btn, .nav-link, .mobile-bottom-bar a, .mobile-inquiry-fab, .fab-main, .fab-item {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn:active, .nav-link:active, .mobile-bottom-bar a:active, .mobile-inquiry-fab:active, .fab-main:active, .fab-item:active {
    transform: scale(0.92) !important;
}

/* --- Trust Section Premium Styles --- */
.trust-glass-wrapper {
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-bg-gradient {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(29, 185, 84, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.trust-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(29, 185, 84, 0.2);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.trust-item-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.4s ease;
    height: 100%;
}

.trust-item-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.trust-icon-box {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(29, 185, 84, 0.3);
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.7);
}

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

body {
    font-family: 'Mukta', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans Devanagari', sans-serif;
    color: var(--heading-color);
    font-weight: 700;
}

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

ul {
    list-style: none;
    padding: 0;
}

/* --- Advanced Branded Loader --- */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#loader-wrapper.fade-out {
    pointer-events: none;
    visibility: hidden;
    transition-delay: 1.2s;
}

.loader-panel {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: #ffffff;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

.loader-panel-top { top: 0; }
.loader-panel-bottom { bottom: 0; }

#loader-wrapper.fade-out .loader-panel-top { transform: translateY(-100%); }
#loader-wrapper.fade-out .loader-panel-bottom { transform: translateY(100%); }

.loader-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: opacity 0.5s ease;
}

#loader-wrapper.fade-out .loader-inner {
    opacity: 0;
}

.loader-logo-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.loader-logo-3d {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(93, 58, 38, 0.1);
    animation: logo3DFlip 3s ease-in-out infinite;
}

.loader-ring {
    position: absolute;
    top: -15px; left: -15px; right: -15px; bottom: -15px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: spin 2s linear infinite;
}

.loader-progress-container {
    width: 250px;
    height: 3px;
    background: rgba(93, 58, 38, 0.05);
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: progressFill 2.5s ease-out forwards;
}

.loader-text-reveal {
    margin-top: 15px;
}

.loader-text-reveal .letter {
    display: inline-block;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 4px;
    opacity: 0;
    transform: translateY(20px);
    animation: letterReveal 0.4s forwards;
}

.loader-text-reveal .letter-primary {
    color: var(--primary-color);
}

.loader-text-reveal .letter-secondary {
    color: var(--secondary-color);
}

.brand-sub {
    color: #000000;
    font-size: 14px;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-top: 10px;
    opacity: 0;
    animation: fadeInUp 0.8s forwards 1.2s;
}

/* Staggered Delay for all 16 letters */
.loader-text-reveal .letter:nth-child(1) { animation-delay: 0.1s; }
.loader-text-reveal .letter:nth-child(2) { animation-delay: 0.15s; }
.loader-text-reveal .letter:nth-child(3) { animation-delay: 0.2s; }
.loader-text-reveal .letter:nth-child(4) { animation-delay: 0.25s; }
.loader-text-reveal .letter:nth-child(5) { animation-delay: 0.3s; }
.loader-text-reveal .letter:nth-child(6) { animation-delay: 0.35s; }
.loader-text-reveal .letter:nth-child(7) { animation-delay: 0.4s; }
.loader-text-reveal .letter:nth-child(8) { animation-delay: 0.45s; }
.loader-text-reveal .letter:nth-child(9) { animation-delay: 0.5s; }
.loader-text-reveal .letter:nth-child(10) { animation-delay: 0.55s; }
.loader-text-reveal .letter:nth-child(11) { animation-delay: 0.6s; }
.loader-text-reveal .letter:nth-child(12) { animation-delay: 0.65s; }
.loader-text-reveal .letter:nth-child(13) { animation-delay: 0.7s; }
.loader-text-reveal .letter:nth-child(14) { animation-delay: 0.75s; }
.loader-text-reveal .letter:nth-child(15) { animation-delay: 0.8s; }
.loader-text-reveal .letter:nth-child(16) { animation-delay: 0.85s; }

@keyframes logo3DFlip {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-subtext {
    font-size: 14px;
    color: var(--text-color);
    margin-top: 5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s forwards 1s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounceIn {
    from { transform: scale(0.9); }
    to { transform: scale(1.05); }
}

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

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ============================================
   GLOBAL PAGE HERO BANNER (All Inner Pages)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 55%, #7a4c32 100%);
    padding: 75px 0 65px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 320px; height: 320px;
    background: var(--secondary-color);
    opacity: 0.07;
    border-radius: 50%;
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -60px;
    width: 260px; height: 260px;
    background: var(--secondary-color);
    opacity: 0.05;
    border-radius: 50%;
    pointer-events: none;
}
.page-hero .hero-badge {
    display: inline-block;
    background: rgba(29, 185, 84, 0.15);
    border: 1px solid rgba(29, 185, 84, 0.45);
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.page-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    margin-bottom: 0;
}
.page-hero .hero-divider {
    width: 55px; height: 3px;
    background: var(--secondary-color);
    margin: 18px auto;
    border-radius: 10px;
}
.page-hero p.lead {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 640px;
    margin-bottom: 0;
}
/* Breadcrumb inside hero */
.hero-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
}
.hero-breadcrumb .breadcrumb-item a:hover { color: var(--secondary-color); }
.hero-breadcrumb .breadcrumb-item.active { color: #fff; font-size: 13px; }
.hero-breadcrumb .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }
@media (max-width: 768px) {
    .page-hero { padding: 55px 0 48px; }
    .page-hero h1 { font-size: 1.85rem; }
}

/* --- Top Marquee --- */
.marquee-container {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    border-bottom: 2px solid var(--secondary-color);
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-block;
    margin-right: 50px;
    font-weight: 500;
}

.marquee-item a {
    color: var(--secondary-color);
    font-weight: 700;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.marquee-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

/* --- Top Bar --- */
.top-bar {
    background: #f8f9fa;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.top-bar-info span {
    margin-right: 20px;
}

.top-bar-social a {
    margin-left: 15px;
    color: var(--primary-color);
}

.top-bar-social a:hover {
    color: var(--secondary-color);
}

/* --- Header & Nav --- */
.navbar {
    padding: 15px 0;
    background: var(--white);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.12); /* Subtle green shadow */
}

.navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.18); /* Slightly stronger green shadow when scrolling */
    padding: 10px 0;
    animation: slideDown 0.5s ease-in-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.main-brand {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0px;
    white-space: nowrap;
}

.text-brown {
    color: #5d3a26;
}

.text-green {
    color: #1db954;
}

.sub-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #777;
    font-weight: 700;
    margin-top: -2px;
}

.nav-link {
    font-weight: 600;
    color: var(--heading-color) !important;
    margin: 0 8px; /* Slightly reduced */
    font-size: 16px; /* Slightly reduced to prevent wrapping */
    white-space: nowrap; /* Prevent multi-line labels */
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color) !important;
}

/* Mobile Call Button */
.mobile-call-btn {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(93, 58, 38, 0.3);
    animation: pulse-phone 2s infinite;
}

@keyframes pulse-phone {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(93, 58, 38, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(93, 58, 38, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(93, 58, 38, 0); }
}

.btn-apply {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
}

.btn-apply:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
}

.header-separation {
    height: 1px;
    width: 100%;
    background: rgba(0,0,0,0.05);
}

.breadcrumb-section {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #888;
}

.promise-banner {
    background: linear-gradient(135deg, var(--secondary-color), #f1c40f);
    padding: 25px 0;
    color: var(--heading-color);
    border-bottom: 3px solid var(--primary-color);
    position: relative;
    z-index: 5;
    margin-top: -30px; /* Slight overlap for premium look */
    border-radius: 15px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
    width: 100%;
    overflow: hidden; /* Ensure zoom doesn't overflow */
}

.hero-bg-animate {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: kenBurns 20s infinite alternate;
    will-change: transform;
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, -2%); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
}

.hero-btns .btn {
    padding: 12px 30px;
    font-weight: 700;
    margin-right: 15px;
    border-radius: 5px;
}

.btn-counseling {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-call {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-call:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* --- Sections --- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* --- Course Cards --- */
.course-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border-bottom: 4px solid transparent;
}

.course-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--secondary-color);
}

.course-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* --- Why Choose Us --- */
.why-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.why-icon {
    min-width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-right: 20px;
}

/* --- Counter --- */
.counter-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.counter-box {
    text-align: center;
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
}

/* --- Footer --- */
footer {
    background: var(--dark-bg);
    background: #000c1a;
    color: #a5b1c2;
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Background Decoration */
footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.2) 0%, transparent 70%);
    z-index: -1;
    filter: blur(50px);
}

.footer-col {
    position: relative;
    z-index: 2;
}

.footer-col h3 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h3 span {
    color: var(--secondary-color);
    position: relative;
}

.footer-col p {
    line-height: 1.8;
    font-size: 15px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links li:hover {
    transform: translateX(8px);
}

.footer-links li a {
    color: #a5b1c2;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-links li a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin-right: 12px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-links li:hover a {
    color: #fff;
}

.footer-links li:hover a::before {
    opacity: 1;
    box-shadow: 0 0 10px var(--secondary-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.footer-contact .contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact li:hover .contact-icon {
    background: var(--secondary-color);
    color: #000;
    transform: rotateY(180deg);
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social-links a:hover {
    background: linear-gradient(135deg, var(--secondary-color), #f1c40f);
    color: #000;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.footer-newsletter {
    background: rgba(255,255,255,0.02);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: 40px;
}

.newsletter-input-group {
    display: flex;
    background: rgba(0,0,0,0.2);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 15px;
}

.newsletter-input-group input {
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: #fff;
    width: 100%;
    outline: none;
}

.newsletter-input-group button {
    background: var(--secondary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    color: #000;
    font-weight: 700;
    transition: all 0.3s ease;
}

.newsletter-input-group button:hover {
    background: #fff;
    box-shadow: 0 0 15px #fff;
}

.footer-bottom {
    background: #00060d;
    padding: 30px 0;
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bottom-links a {
    color: #6c757d;
    font-size: 13px;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: var(--secondary-color);
}

/* --- Buttons & Utils --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top:hover {
    background: var(--secondary-color);
}

.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.call-float {
    position: fixed;
    bottom: 160px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 25px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: none;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .call-float {
        display: flex;
    }
}

/* --- Advanced Courses Page UI --- */
.course-category-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 51, 102, 0.05);
    height: 100%;
    position: relative;
}

.course-category-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 51, 102, 0.12);
}

.course-card-header {
    padding: 45px 30px;
    background: linear-gradient(135deg, #003366, #001f3f);
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.course-card-header h3 {
    color: var(--white) !important;
    font-size: 1.6rem;
    margin-top: 15px;
    letter-spacing: 0.5px;
}

.course-card-header .header-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
    font-size: 30px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-card-body {
    padding: 35px 30px;
}

.course-list li {
    padding: 14px 0;
    border-bottom: 1px solid #f8f8f8;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #444;
}

.course-list li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 18px;
}

.founder-assurance-card {
    background: linear-gradient(135deg, #ffffff, #f9fbfd);
    border-radius: 30px;
    padding: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 60px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(29, 185, 84, 0.3); /* secondary-color with opacity */
    border-radius: 4px;
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}
.timeline-item:hover {
    transform: translateY(-5px);
}
.timeline-item::after {
    content: '';
    position: absolute;
    left: -48.5px;
    top: 25px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}
.timeline-year {
    display: inline-block;
    background: rgba(93, 58, 38, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.timeline-item h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--primary-dark);
}
.timeline-item p {
    color: #555;
    font-size: 1.05rem;
    margin: 0;
}
@media (max-width: 768px) {
    .timeline { padding-left: 45px; }
    .timeline::before { left: 15px; }
    .timeline-item::after { left: -38.5px; }
    .timeline-item { padding: 20px; }
}

.founder-img-wrapper {
    position: relative;
    display: inline-block;
}

.founder-img-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 0;
}

.founder-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    border: 5px solid var(--white);
}

.assurance-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
}

.badge-neet {
    background: #e74c3c;
    font-size: 11px;
    padding: 4px 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-footer-info {
    background: #fff9e6;
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.course-btn {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white) !important;
    border: none;
    transition: all 0.4s ease;
}

.course-btn:hover {
    background: linear-gradient(to right, var(--secondary-color), var(--secondary-dark));
    color: var(--primary-color) !important;
    transform: scale(1.02);
}

/* --- Advanced UI Effects --- */

/* Typewriter Effect */
.typewriter-text {
    border-right: 4px solid #ffc107;
    padding-right: 5px;
    animation: blink-caret 0.75s step-end infinite;
}
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #ffc107; }
}

/* Marquee Effect */
.marquee-wrapper {
    position: relative;
    background: #fff;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #eee;
}
.marquee-title-box {
    background: var(--primary-color);
    color: white;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 10px 25px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    white-space: nowrap;
}
.marquee-content-container {
    display: flex;
    overflow: hidden;
    flex-grow: 1;
    align-items: center;
}
.marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scroll-marquee 80s linear infinite;
}
.marquee-content-container:hover .marquee-track {
    animation-play-state: paused;
}
@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@media (max-width: 768px) {
    .marquee-wrapper {
        flex-direction: column;
    }
    .marquee-title-box {
        justify-content: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.05);
        z-index: 10;
        padding: 8px 15px;
    }
    .marquee-content-container {
        padding: 12px 0;
    }
    .marquee-track {
        animation: scroll-marquee 60s linear infinite;
    }
}

/* --- Interactive Admission Process --- */
.process-wrapper {
    position: relative;
    padding: 20px 0;
}
.process-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px; /* Center of the 60px circle */
    width: 4px;
    background: #e9ecef;
    z-index: 0;
    border-radius: 4px;
}
.process-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    border-radius: 4px;
    transition: height 0.3s ease-out;
}
.process-step {
    position: relative;
    z-index: 1;
}
.process-step-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 4px solid #e9ecef;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    transition: all 0.5s ease;
}
.process-step.active .process-step-number {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 15px rgba(93, 58, 38, 0.3);
}
.process-step-content {
    transition: transform 0.4s ease;
    border-left: 0px solid transparent;
}
.process-step.active .process-step-content {
    border-left: 5px solid var(--secondary-color);
    transform: translateX(10px);
}

/* --- Advanced About Us UI Effects --- */

/* 1. Image Mask & Floating Badge */
.about-advanced-img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 15s ease-in-out infinite;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
@keyframes morphing {
    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%; }
}
.advanced-glass-badge {
    background: rgba(29, 185, 84, 0.85); /* Secondary color */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    animation: floatBadge 3s ease-in-out infinite;
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 2. Sibling Fade (Mission Vision Values) */
.mvv-container:hover .mvv-card {
    filter: blur(3px) opacity(0.6);
    transform: scale(0.98);
}
.mvv-container .mvv-card {
    transition: all 0.4s ease;
}
.mvv-container .mvv-card:hover {
    filter: blur(0) opacity(1);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

/* 3. Founder Story Ring & Signature */
.founder-box {
    overflow: hidden;
}
.founder-quote-bg {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 250px;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    transform: rotate(15deg);
    line-height: 1;
}
.founder-story-ring {
    position: relative;
    width: 260px;
    height: 260px;
    padding: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffc107, #ff6b6b, #4facfe, #ffc107);
    background-size: 300% 300%;
    animation: gradientSpin 4s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes gradientSpin {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.founder-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}
/* 4. Advanced Draw-on-Scroll Timeline */
.timeline::before {
    background: #e9ecef !important;
}
.timeline-line-progress {
    position: absolute;
    left: 20px;
    top: 0;
    width: 4px;
    background: var(--secondary-color);
    border-radius: 4px;
    z-index: 0;
    transition: height 0.1s linear;
}
.timeline-item.active::after {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.5);
    transition: all 0.5s ease;
}
.timeline-item.active {
    border-left-color: var(--secondary-color);
}
@media (max-width: 768px) {
    .timeline-line-progress { left: 15px; }
}

/* --- FAB Menu (Desktop) --- */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}
.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: fabPulse 2s infinite;
}

@keyframes fabPulse {
    0% { box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(29, 185, 84, 0); }
    100% { box-shadow: 0 0 0 0 rgba(29, 185, 84, 0); }
}
.fab-main .fa-times {
    display: none;
}
.fab-container:hover .fab-main {
    transform: rotate(90deg);
}
.fab-container:hover .fab-main .fa-comments { display: none; }
.fab-container:hover .fab-main .fa-times { display: block; }

.fab-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.fab-container:hover .fab-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
    position: relative;
    transition: transform 0.2s;
    text-decoration: none;
}
.fab-item:hover {
    transform: scale(1.1);
    color: #fff;
}
.fab-item::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
}
#loader-wrapper.fade-out {
    pointer-events: none;
    visibility: hidden;
    transition-delay: 1.2s;
}
.fab-item:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
}

/* --- Global Button Micro-Interactions --- */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.btn i {
    transition: transform 0.3s ease;
}
.btn:hover i.fa-arrow-right, 
.btn:hover i.fa-long-arrow-alt-right,
.btn:hover i.fa-chevron-right {
    transform: translateX(5px);
}
.btn:hover i.fa-arrow-left, 
.btn:hover i.fa-long-arrow-alt-left,
.btn:hover i.fa-chevron-left {
    transform: translateX(-5px);
}

/* --- Course Card Gradients & Hover --- */
.header-gradient-medical {
    background: linear-gradient(135deg, #0ba360, #3cba92) !important;
}
.header-gradient-engineering {
    background: linear-gradient(135deg, #09203f, #537895) !important;
}
.header-gradient-management {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
}
.header-gradient-degree {
    background: linear-gradient(135deg, #ff7e5f, #feb47b) !important;
}

.course-list li {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 14px 15px !important;
    margin-bottom: 2px;
}
.course-list li:hover {
    transform: translateX(10px);
    background: #fdfdfd;
    color: var(--primary-color) !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.course-list li i {
    transition: transform 0.3s ease;
}
.course-list li:hover i {
    transform: scale(1.2);
}

/* ============================================
   ADVANCED PREMIUM UI ENHANCEMENTS
   ============================================ */

/* 1. Custom Branded Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 2. Glassmorphism 2.0 Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07) !important;
}

.glass-dark {
    background: rgba(26, 15, 10, 0.7) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

/* 3. 3D Tilt Card Effect (CSS-only basis) */
.tilt-card {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    perspective: 1000px;
    transform-style: preserve-3d;
}
.tilt-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(2deg);
    box-shadow: 0 30px 60px rgba(93, 58, 38, 0.15) !important;
}

/* 4. Advanced Micro-Interactions */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.magnetic-btn:hover {
    transform: scale(1.05) translateY(-5px);
}

.hover-glow:hover {
    box-shadow: 0 0 25px rgba(29, 185, 84, 0.4);
    border-color: var(--secondary-color);
}

/* 5. Parallax Background Helper */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 6. Staggered Reveal Logic */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.6s; }

/* 7. Animated Counter Enhancement */
.counter-box h2 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5rem;
    font-weight: 900;
}

/* 8. Button Shimmer Effect */
.btn-primary, .btn-warning, .btn-apply, .btn-premium {
    position: relative;
    overflow: hidden;
}

.btn-primary::after, .btn-warning::after, .btn-apply::after, .btn-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: none;
}

.btn-primary:hover::after, .btn-warning:hover::after, .btn-apply:hover::after, .btn-premium:hover::after {
    animation: btnShine 0.8s forwards;
}

@keyframes btnShine {
    0% { left: -100%; }
    100% { left: 150%; }
}

/* 9. Floating Animation for Icons/Badges */
.floating {
    animation: floating 3s ease-in-out infinite;
}

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

/* 11. Navbar Link Staggered Entry */
.navbar-nav .nav-item {
    opacity: 0;
    transform: translateY(-20px);
    animation: navItemFade 0.5s forwards;
}

.navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav .nav-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav .nav-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav .nav-item:nth-child(4) { animation-delay: 0.4s; }
.navbar-nav .nav-item:nth-child(5) { animation-delay: 0.5s; }
.navbar-nav .nav-item:nth-child(6) { animation-delay: 0.6s; }
.navbar-nav .nav-item:nth-child(7) { animation-delay: 0.7s; }

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

/* 12. Animated Gradient Text for Hero */
.hero-section h1 {
    background: linear-gradient(-45deg, #fff, var(--secondary-color), #fff, var(--secondary-color));
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 5s ease infinite;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* --- Quick Course Navigator --- */
.course-navigator {
    padding: 30px 0;
    position: relative;
    z-index: 10;
    margin-top: -50px;
    margin-bottom: 25px;
}

.nav-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.nav-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: var(--primary-color);
    box-shadow: 0 20px 40px rgba(93, 58, 38, 0.2);
}

.nav-icon {
    width: 50px;
    height: 50px;
    background: rgba(93, 58, 38, 0.08);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.nav-card:hover .nav-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: rotate(360deg);
}

.nav-card span {
    font-weight: 700;
    color: var(--heading-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-card:hover span {
    color: #fff;
}

@media (max-width: 768px) {
    .course-navigator {
        margin-top: 0;
        padding: 40px 15px;
    }
    .nav-card {
        padding: 15px 10px;
    }
    .nav-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .nav-card span {
        font-size: 0.85rem;
    }
}
