/* ==========================================================================
   Theme 2: Oxford International Academy Inspired Stylesheet
   ========================================================================== */

:root {
    --navy: #181f6b;
    --navy-2: #0d4882;
    --navy-dark: #0a0d3c;
    --navy-darker: #070930;
    --blue: #2547c9;
    --gold: #fcc650;
    --gold-dark: #dd8f0f;
    --light: #f5f7fc;
    --ink: #1c2140;
    --gray: #657085;
    --font-head: 'Poppins', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

body.theme2-active {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: #ffffff;
    overflow-x: hidden;
}

body.theme2-active h1,
body.theme2-active h2,
body.theme2-active h3,
body.theme2-active h4,
body.theme2-active h5,
body.theme2-active h6,
body.theme2-active .font-head {
    font-family: var(--font-head);
}

/* Color Helper Classes */
.text-navy { color: var(--navy-2) !important; }
.text-gold { color: var(--gold) !important; }
.bg-navy { background-color: var(--navy-2) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-gold { background-color: var(--gold) !important; }

/* Buttons */
.btn-navy {
    background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy-dark) 100%);
    color: #ffffff !important;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(13, 72, 130, 0.3);
}
.btn-navy:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy-dark) !important;
    box-shadow: 0 6px 18px rgba(253, 199, 80, 0.4);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy-dark) !important;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(253, 199, 80, 0.4);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy-dark) 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ==========================================
   1. TOP ANNOUNCEMENT MARQUEE BAR (.bot-fix)
   ========================================== */
.bot-fix {
    width: 100%;
    z-index: 1000;
}
.bg-bot-fix {
    background: var(--gold);
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
}
.borr {
    border-right: 1px solid rgba(255, 255, 255, 0.6);
}
@media (max-width: 767.98px) {
    .borr { border-right: none; }
}
.anc {
    color: #000000 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s ease;
}
.anc:hover {
    opacity: 0.8;
}

/* ==========================================
   2. TOP CONTACT BAR (.top-bar)
   ========================================== */
.top-bar {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}
.logo-lockup img {
    max-height: 65px;
    width: auto;
    object-fit: contain;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13, 72, 130, 0.08);
    color: var(--navy-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.contact-item .lbl {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.contact-item .val {
    font-size: 0.9rem;
    color: var(--navy-dark);
    font-weight: 700;
}

/* ==========================================
   3. NAVBAR (.navbar-main)
   ========================================== */
.navbar-main {
    background: linear-gradient(160deg, #0D4882 0%, #0c274b 100%) !important;
    padding: 0;
    box-shadow: 0 4px 18px rgba(10, 13, 60, 0.18);
    transition: all 0.3s ease;
}
.navbar-main .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 18px !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    background-color: var(--gold);
    color: #000000 !important;
}
.navbar-main .dropdown-menu {
    border: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 8px 0;
    margin-top: 0;
}
.navbar-main .dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 500;
    transition: all 0.2s ease;
}
.navbar-main .dropdown-item:hover {
    background-color: rgba(13, 72, 130, 0.08);
    color: var(--navy-2);
    padding-left: 24px;
}

/* ==========================================
   4. HERO BANNER SLIDER (.hero)
   ========================================== */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.banner {
    width: 100%;
}
.hero .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .hero .swiper-slide img {
        max-height: 280px;
    }
}
.hero .hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.hero .hero-arrow:hover {
    background: var(--gold);
    color: #000000;
}

/* ==========================================
   5. FEATURE STRIP OVERLAP (.feature-strip-wrap)
   ========================================== */
.feature-strip-wrap {
    margin-top: -40px;
    position: relative;
    z-index: 100;
}
.feature-strip {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(10, 13, 60, 0.12);
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}
.feature-item {
    text-align: center;
    padding: 12px;
    border-right: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}
.feature-item:last-child {
    border-right: none;
}
.feature-item:hover {
    transform: translateY(-4px);
}
.feature-item .ic {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 72, 130, 0.1) 0%, rgba(253, 199, 80, 0.2) 100%);
    color: var(--navy-2);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
}
.feature-item h6 {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-dark);
    margin-bottom: 6px;
}
.feature-item p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================
   6. ABOUT US SECTION (.about-section)
   ========================================== */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
}
.eyebrow {
    display: inline-block;
    color: var(--navy-2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    position: relative;
}
.eyebrow::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--gold);
    margin-top: 4px;
}
.eyebrow.center::after {
    margin: 4px auto 0 auto;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.25;
}
.about-check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px 0;
}
.about-check-list li {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-check-list li i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold);
    color: #000000;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-media-outer {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: #000000;
}

/* ==========================================
   7. ACADEMICS SECTION (.academics-section)
   ========================================== */
.academics-section {
    padding: 80px 0;
    background-color: var(--light);
}
.wing-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.wing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(13, 72, 130, 0.15);
}
.wing-card .img-wrap {
    height: 190px;
    overflow: hidden;
}
.wing-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.wing-card:hover .img-wrap img {
    transform: scale(1.08);
}
.wing-card .body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.wing-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy-dark);
    margin-bottom: 4px;
}
.wing-card .classes {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy-2);
    background: rgba(13, 72, 130, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    width: fit-content;
}
.wing-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   8. FACILITIES (.facilities-section)
   ========================================== */
.facilities-section {
    padding: 80px 0;
    background: #ffffff;
}
.facility-item {
    background: var(--light);
    padding: 28px 16px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}
.facility-item:hover {
    background: #ffffff;
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(253, 199, 80, 0.25);
    transform: translateY(-4px);
}
.facility-item .ic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--navy-2);
    color: var(--gold);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
}
.facility-item h6 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy-dark);
    margin-bottom: 6px;
}
.facility-item p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

/* ==========================================
   9. STATS COUNTER (.stats-section)
   ========================================== */
.stats-section {
    padding: 70px 0;
    background: linear-gradient(160deg, #0c274b 0%, #070930 100%);
    color: #ffffff;
}
.stat-item {
    text-align: center;
    padding: 20px;
}
.stat-item i {
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 12px;
}
.stat-item .count {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-head);
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-item .lbl {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-divider {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 991.98px) {
    .stat-divider { border-left: none; }
}

/* ==========================================
   10. NEWS & EVENTS (.news-section)
   ========================================== */
.news-section {
    padding: 80px 0;
    background: var(--light);
}
.news-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(10, 13, 60, 0.12);
}
.news-card .img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.news-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--navy-2);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
    line-height: 1;
}
.news-date .d {
    font-size: 1.1rem;
    font-weight: 800;
    display: block;
}
.news-date .m {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
}
.news-card .body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-card h6 {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy-dark);
    margin-bottom: 8px;
}
.news-card p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.5;
}
.read-more {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy-2);
    text-decoration: none;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}
.read-more:hover {
    gap: 10px;
    color: var(--navy);
}

/* ==========================================
   11. ADMISSION CTA BANNER (.cta-banner)
   ========================================== */
.cta-banner {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy-dark) 100%);
    color: #ffffff;
}
.cta-banner .ic {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-banner h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}
.cta-banner p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* ==========================================
   12. FOOTER (.site-footer)
   ========================================== */
.site-footer {
    background: #080b26;
    color: #a7a8b4;
    padding: 70px 0 20px 0;
    font-size: 0.9rem;
}
.site-footer h6 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}
.site-footer h6::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--gold);
    margin-top: 6px;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer ul li {
    margin-bottom: 10px;
}
.site-footer ul li a {
    color: #a7a8b4;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.site-footer ul li a:hover {
    color: var(--gold);
    padding-left: 6px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.footer-contact li i {
    color: var(--gold);
    margin-top: 3px;
}
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background: var(--gold);
    color: #000000;
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.85rem;
}
.footer-bottom a {
    color: #a7a8b4;
    text-decoration: none;
}
.footer-bottom a:hover {
    color: var(--gold);
}
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: #000000;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}
#backToTop.show {
    display: flex;
}
#backToTop:hover {
    background: var(--navy-2);
    color: #ffffff;
    transform: translateY(-3px);
}
