@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-navy: #081B3A;
    --secondary-navy: #102A56;
    --royal-blue: #164D87;
    --accent-gold: #F7B500;
    --light-cream: #FFF6E0;
    --light-gray: #F1F5F9;
    --dark-text: #1E293B;
    --white: #FFFFFF;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius: 20px;
    --radius-sm: 8px;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 8px 24px rgba(8, 27, 58, 0.08);
    --shadow-lg: 0 16px 48px rgba(8, 27, 58, 0.12);
    --border-color: rgba(0,0,0,0.05); /* Very slight border */
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

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

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

/* Section Padding */
section {
    padding: 70px 0;
}
@media (max-width: 768px) {
    section {
        padding: 45px 0;
    }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--primary-navy);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar i {
    color: var(--accent-gold);
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent-gold);
}

.btn-online-admission {
    background: var(--accent-gold);
    color: var(--primary-navy) !important;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 11px;
}

/* ============================================================
   MAIN NAV
   ============================================================ */
.main-nav {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-link {
    font-weight: 600;
    color: var(--primary-navy) !important;
    font-size: 14.5px;
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

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

.btn-apply-nav {
    background: var(--primary-navy);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    transition: var(--transition);
}

.btn-apply-nav:hover {
    background: var(--accent-gold);
    color: var(--primary-navy) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-slider {
    position: relative;
    height: 620px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 27, 58, 0.9) 0%, rgba(8, 27, 58, 0.4) 60%, rgba(8, 27, 58, 0.1) 100%);
}

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

.hero-content h4 {
    color: var(--accent-gold);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-content h1 span {
    color: var(--accent-gold);
}

.hero-content p {
    font-size: 18px;
    max-width: 580px;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.85);
}

.btn-hero {
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
}

.btn-hero-primary {
    background: var(--accent-gold);
    color: var(--primary-navy);
    border: none;
}

.btn-hero-primary:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

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

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
}

/* Quick Links Card */
.quick-links-card {
    background: rgba(8, 27, 58, 0.85);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 30px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg);
}

.quick-links-card h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
    padding-bottom: 5px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.quick-link-item:last-child {
    border-bottom: none;
}

.quick-link-item:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.quick-link-item i.bi-chevron-right {
    color: var(--accent-gold);
    font-size: 14px;
}

/* Slider Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
}

.dot.active {
    background: var(--accent-gold);
    width: 30px;
    border-radius: 10px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    margin-top: -50px;
    position: relative;
    z-index: 100;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.03);
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.05);
    color: var(--primary-navy);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item i {
    font-size: 28px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    display: block;
}

.stat-item h3 {
    font-size: 24px;
    color: var(--primary-navy);
    margin-bottom: 2px;
    font-weight: 800;
}

.stat-item p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

@media (max-width: 991px) {
    .stat-item {
        border-right: none;
        margin-bottom: 20px;
    }
}

/* ============================================================
   OUR PROGRAMS SECTION
   ============================================================ */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    letter-spacing: 1px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    right: 25%;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 10px;
}

.program-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-navy);
    color: var(--white);
    border-color: var(--primary-navy);
}

.program-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: none; /* Removed heavy border */
}

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

.program-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--white);
}

.program-card h5 {
    font-size: 20px;
    margin-bottom: 10px;
}

.program-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-apply-program {
    color: var(--primary-navy);
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-apply-program:hover {
    color: var(--accent-gold);
}

/* ============================================================
   MISSION, VISION & PRINCIPAL
   ============================================================ */
.mv-card {
    padding: 40px;
    border-radius: var(--radius);
    height: 100%;
    transition: var(--transition);
    border: none; /* Remove border */
}

.mv-card-mission {
    background: rgba(108, 92, 231, 0.05);
}

.mv-card-vision {
    background: var(--light-cream);
}

.mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.principal-card {
    background: var(--primary-navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: none;
}
.principal-card h2,
.principal-card h3, 
.principal-card h4, 
.principal-card p, 
.principal-card small {
    color: var(--white) !important;
}

.principal-card::before {
    content: '\F6B0';
    font-family: "bootstrap-icons";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 120px;
    opacity: 0.05;
}

.principal-photo {
    width: 100%;
    max-width: 140px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
    display: block;
}




@media (max-width: 991px) {
    .principal-photo {
        margin: 0 auto 20px;
        max-width: 180px;
    }
    .principal-card {
        text-align: center;
    }
}

/* ============================================================
   NOTICES, EVENTS & RESULTS
   ============================================================ */
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: none; /* Remove border */
}

.info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.info-card-header h3 {
    font-size: 20px;
    margin: 0;
}

.view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--royal-blue);
    text-decoration: none;
}

.notice-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.date-block {
    min-width: 55px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.date-block span:first-child {
    font-size: 20px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.date-block span:last-child {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-gold);
}

/* ============================================================
   FACULTY CAROUSEL
   ============================================================ */
.faculty-card {
    text-align: center;
    padding: 10px;
    transition: var(--transition);
}

.faculty-img {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    margin: 0 auto 12px;
    border: none;
    transition: var(--transition);
}

.faculty-card:hover .faculty-img {
    transform: scale(1.05);
}

/* Compact Program Cards */
.compact-program-link {
    text-decoration: none;
    display: block;
}

.compact-program-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.compact-program-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    border-color: var(--accent-gold);
}

.cp-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.compact-program-card h6 {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    flex-grow: 1;
}

.cp-arrow {
    color: var(--accent-gold);
    font-size: 14px;
    opacity: 0;
    transition: var(--transition);
}

.compact-program-card:hover .cp-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Mission & Vision Guide Style */
.mv-container {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

/* Mission & Vision New Style */
.mv-card-new {
    flex: 1;
    padding: 45px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 35px;
    transition: var(--transition);
}

.mv-mission-new { background: #F5F6FF; }
.mv-vision-new { background: #FFF9F0; }

.mv-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.mv-mission-new .mv-icon-circle { background: #6C5CE7; }
.mv-vision-new .mv-icon-circle { background: #F7B500; }

.mv-content-new h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary-navy);
}

.mv-content-new p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-mid);
    margin-bottom: 15px;
}

.mv-read-more {
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.mv-mission-new .mv-read-more { color: #6C5CE7; }
.mv-vision-new .mv-read-more { color: #F7B500; }

/* Principal Message New Style */
.principal-section-new {
    background: linear-gradient(135deg, #081B3A 0%, #102A56 100%);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.principal-card-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.principal-img-box {
    flex-shrink: 0;
    width: 320px;
    position: relative;
    z-index: 2;
}

.principal-img-box img {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 4px solid var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.principal-text-box {
    position: relative;
    z-index: 2;
}

.principal-text-box h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 25px;
}

.principal-text-box h2 span {
    color: var(--accent-gold);
}

.principal-quote {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 180px;
    color: rgba(255,255,255,0.06);
    line-height: 1;
}

.principal-message-text {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 800px;
}

.principal-signature-box {
    margin-bottom: 30px;
}

.principal-signature {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #fff;
    margin-bottom: 5px;
    font-style: italic;
}

.btn-principal {
    background: var(--accent-gold);
    color: var(--primary-navy);
    font-weight: 800;
    padding: 15px 35px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-principal:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

/* Internal Page Header */
.page-header {
    background: linear-gradient(rgba(8, 27, 58, 0.9), rgba(8, 27, 58, 0.9)), url('https://images.unsplash.com/photo-1541339907198-e08756ebafe3?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb-nav a {
    color: var(--accent-gold);
    text-decoration: none;
}

.breadcrumb-nav span {
    opacity: 0.6;
}

/* Feature Grid (Why Choose Us) */
.feature-box {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--surface-soft);
    color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

/* Admissions Steps */
.step-card {
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(247, 181, 0, 0.1);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

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

.step-icon {
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--primary-navy);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

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

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

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

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 60px;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

/* Animations */
.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Premium Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

.loader-content {
    position: relative;
    width: 100px;
    height: 100px;
}

.loader-circle {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(247, 181, 0, 0.1);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 2px;
}

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

/* Scrolled Navbar */
.main-nav.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Subtle Page Fade In */
.animate-page-fade {
    animation: pageFadeIn 0.8s ease-out forwards;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero Content Slide Up */
.hero-content {
    opacity: 0;
    transform: translateY(20px);
    animation: heroSlideUp 1s ease-out 0.3s forwards;
}

@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Micro-animations for Cards */
.compact-program-card, .mv-card-new, .faculty-card, .info-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease !important;
}

.compact-program-card:hover, .mv-card-new:hover, .faculty-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}
