/* Navy, orange, and white reference-inspired theme override. */
:root {
    --primary: #FFFFFF;
    --secondary: #24458E;
    --dark: #173B58;
    --accent-yellow: #F58220;
    --accent-blue: #24458E;
    --light-bg: #F4F7FB;
    --text-color: #26394D;
    --text-light: #667B8C;
    --border-color: #D9E1EC;
    --color-blue: #24458E;
    --color-blue-dark: #173B70;
    --color-red: #F58220;
    --brand-red: #F58220;
    --primary-rgb: 36, 69, 142;
}

::selection { background: #24458E; color: #FFFFFF; }
::-moz-selection { background: #24458E; color: #FFFFFF; }

.top-header-bar,
.btn-primary,
.header-enroll-btn,
.bottom-notification-bar,
.stats-section,
.course-badge { background-color: #24458E !important; }

.announcement-bar { background: #FFFFFF !important; color: #26394D !important; border-bottom: 1px solid #D9E1EC; }
.announcement-bar a { color: #24458E !important; }
.top-header-bar { background: #24458E !important; color: #FFFFFF !important; border-bottom: 1px solid #173B70; }
.top-header-left a { color: #FFFFFF !important; }
.top-header-right a { background: #F4F7FB !important; color: #173B70 !important; }
.nav-links > li > a.active:not(.nav-toppers-btn),
.nav-links a.active,
.nav-links a:hover,
.section-title h2,
.course-category { color: #24458E !important; }
.footer-links a:hover { color: #F58220 !important; }
.nav-links > li > a:not(.nav-toppers-btn)::after,
.section-title h2::after { background: #F58220 !important; }
.nav-toppers-btn,
.nav-toppers-btn:hover { background: #E7EEF6 !important; color: #173B70 !important; box-shadow: 0 6px 16px rgba(36,69,142,.18) !important; }
.site-header { background: #FFFFFF; }
.btn-primary:hover, .header-enroll-btn:hover { background: #173B70 !important; }
.gallery-filter .active,
.filter-btn.active,
.blog-sidebar-box a.active,
input:focus, select:focus, textarea:focus { border-color: #24458E !important; }
.gallery-filter .active,
.filter-btn.active { background: #24458E !important; color: #FFFFFF !important; }

/* Compact homepage composition inspired by the supplied reference. */
body { background: #F4F7FB; }
.site-header { border-bottom: 1px solid #D9E1EC; box-shadow: 0 2px 10px rgba(23,59,88,.08); }
.navbar { min-height: 66px; }
.container { max-width: 1180px; }
.nav-links > li > a { font-size: .88rem; font-weight: 700; color: #173B58; }
.hero-cinema { height: 390px; min-height: 390px; max-height: 520px; background: #E7EEF6; }
.hero-slide-bg.gradient-fallback { background: linear-gradient(120deg,#E7EEF6 0%,#D9E5F0 55%,#C9D8E8 100%); }
.hero-overlay-base { background: rgba(255,255,255,.08); }
.hero-overlay-gradient { background: linear-gradient(90deg,rgba(231,238,246,.94) 0%,rgba(231,238,246,.72) 42%,rgba(23,59,88,.22) 100%); }
.hero-overlay-vignette { background: none; }
.hero-content { max-width: 1180px; text-align: left; padding: 0 28px; }
.hero-heading { max-width: 470px; color: #173B58; font-size: clamp(2rem,4vw,3.25rem); text-shadow: none; }
.hero-heading .highlight { background: none; -webkit-text-fill-color: #24458E; color: #24458E; }
.hero-subheading { max-width: 500px; margin-left: 0; color: #536B7D; text-shadow: none; }
.hero-eyebrow { background: rgba(36,69,142,.1); border-color: rgba(36,69,142,.24); color: #173B70; }
.hero-btn-primary { background: #F58220; box-shadow: 0 6px 18px rgba(245,130,32,.28); border-radius: 5px; padding: 12px 22px; }
.hero-btn-primary:hover { background: #D9680C; }
.hero-btn-ghost { background: #173B58; border: 0; border-radius: 5px; padding: 12px 22px; }
.hero-btn-ghost:hover { background: #173B70; }
.hero-nav { background: #FFFFFF; color: #173B70; border: 1px solid #D9E1EC; }
.stats-section { padding: 20px 0; background: #FFFFFF !important; border-bottom: 1px solid #E2E8F0; }
.stats-grid { gap: 12px; }
.stat-item { padding: 10px 8px; }
.stat-item i { color: #24458E !important; font-size: 1.65rem; margin-bottom: 7px; }
.stats-section .stat-item h3 { color: #173B58 !important; font-size: 1.55rem; margin-bottom: 2px; }
.stats-section .stat-item p { color: #667B8C !important; font-size: .72rem; }
.section-padding { padding: 52px 0; }
.section-title { margin-bottom: 28px; }
.section-title h2 { color: #173B58 !important; font-size: 1.75rem; }
.section-title h2::after { background: #F58220 !important; width: 42px; }
.course-grid { gap: 14px; }
.course-card { border: 1px solid #E0E7EF; border-radius: 6px; box-shadow: 0 5px 16px rgba(23,59,88,.08); }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(23,59,88,.14); }
.course-card h3, .course-title a { color: #173B58; }
.course-badge { background: #F58220 !important; border-radius: 3px; }
.btn { border-radius: 4px; }
.btn-primary { background: #24458E !important; }
.btn-primary:hover { background: #173B70 !important; }
.btn-outline { border-color: #24458E; color: #173B70; }
.btn-outline:hover { background: #24458E; color: #FFFFFF; }
.home-notices-section, .reviews-section { padding: 48px 0; background: #FFFFFF; }
.home-notice-card, .review-card { border-radius: 6px; border-color: #E0E7EF; box-shadow: 0 4px 14px rgba(23,59,88,.07); }
.site-footer { background: #173B70; }
.footer-payment-btn { background: #F58220; border-radius: 4px; }

.student-projects-section { padding: 26px 0 58px; background: #FFFFFF; }
.student-projects-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 14px; align-items: stretch; }
.student-projects-intro, .student-project-card { min-height: 520px; border-radius: 14px; overflow: hidden; }
.student-projects-intro { display: flex; flex-direction: column; padding: 38px 30px 28px; background: #F3F7FB; border: 1px solid #E0E7EF; }
.student-projects-intro h2 { margin: 0 0 18px; color: #0B1935; font-size: 1.8rem; line-height: 1.25; }
.student-projects-intro p { margin: 0; color: #42566D; line-height: 1.65; }
.student-projects-intro ul { display: grid; gap: 18px; margin: auto 0 28px; padding: 0; list-style: none; color: #0B1935; font-size: .92rem; font-weight: 700; }
.student-projects-intro li { display: flex; gap: 10px; align-items: flex-start; }
.student-projects-intro li i { color: #F58220; margin-top: 3px; }
.student-projects-view-all { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; border: 1px solid #F58220; border-radius: 5px; color: #D9680C; font-weight: 800; text-decoration: none; }
.student-projects-view-all:hover { background: #FFF4E9; color: #B65308; }
.student-project-card { display: flex; flex-direction: column; padding: 30px 30px 22px; color: #071B37; }
.student-project-card--blue { background: #B8CFFF; }
.student-project-card--mint { background: #B6F4E7; }
.student-project-card--green { background: #D1FFB8; }
.student-project-card--orange { background: #FFE0B9; }
.student-project-card-topline { display: flex; justify-content: space-between; gap: 8px; min-height: 40px; color: #173B70; font-size: .75rem; font-weight: 800; text-transform: uppercase; line-height: 1.6; }
.student-project-card-topline i { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.85); color: #173B70; }
.student-project-card h3 { margin: 8px 0 12px; color: #071B37; font-size: 1.35rem; line-height: 1.2; }
.student-project-card p { margin: 0 0 18px; min-height: 48px; color: #071B37; font-weight: 600; line-height: 1.45; }
.student-project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.student-project-tags span { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: #24458E; font-size: .75rem; font-weight: 800; }
.student-project-card-image { display: block; margin-top: auto; aspect-ratio: 1.35 / 1; border-radius: 9px; overflow: hidden; background: rgba(255,255,255,.45); }
.student-project-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.student-project-card-footer { display: flex; flex-direction: column; gap: 4px; padding-top: 20px; color: #071B37; }
.student-project-card-footer strong { font-size: 1rem; }
.student-project-card-footer span { font-size: .78rem; }
@media (max-width: 1100px) { .student-projects-grid { grid-template-columns: 1fr repeat(2, 1fr); } .student-projects-intro { grid-row: span 2; } }
@media (max-width: 700px) { .student-projects-grid { grid-template-columns: 1fr; } .student-projects-intro { min-height: auto; } .student-project-card { min-height: 480px; } }
@media (max-width: 768px) {
    .hero-cinema { height: 520px; min-height: 520px; }
    .hero-content { padding: 0 20px; text-align: center; }
    .hero-heading, .hero-subheading { margin-left: auto; margin-right: auto; }
    .section-padding { padding: 40px 0; }
}
