/* =========================================
   WinnersWorld Navy Blue Theme
========================================= */

:root {
    --ww-navy-dark: #0A192F;
    --ww-navy-light: #112240;
    --ww-navy-accent: #233554;
    --ww-gold: #FFC300;
    --ww-gold-hover: #E5AF00;
    --ww-white: #FFFFFF;
    --ww-gray-light: #F8F9FA;
    --ww-text-main: #333333;
    --ww-text-light: #A8B2D1;
    --ww-border-color: #E2E8F0;
    --ww-transition: all 0.3s ease-in-out;
    --ww-font-main: 'Poppins', sans-serif;
}





body {
    font-family: var(--ww-font-main);
    color: var(--ww-text-main);
    line-height: 1.6;
}

/* =========================================
   HEADER TOPBAR
   ========================================= */
.ww-topbar {
    background-color: var(--ww-navy-dark);
    color: var(--ww-text-light);
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ww-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.ww-topbar-left, .ww-topbar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ww-topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ww-topbar-item .icon {
    color: var(--ww-gold);
    font-size: 14px;
}

.ww-topbar-item .text {
    margin: 0;
    color: var(--ww-text-light);
    transition: var(--ww-transition);
}

.ww-topbar-item a.text:hover {
    color: var(--ww-gold);
}

.ww-school-switcher .form-control {
    background: var(--ww-navy-light);
    border: 1px solid var(--ww-navy-accent);
    color: var(--ww-white);
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 4px;
    height: auto;
}

.ww-btn-admission {
    background: var(--ww-gold);
    color: var(--ww-navy-dark) !important;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

.ww-btn-admission:hover {
    background: var(--ww-gold-hover);
}

/* =========================================
   MAIN HEADER
   ========================================= */
.ww-main-header {
    background: var(--ww-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.ww-main-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ww-logo img {
    max-height: 60px;
    width: auto;
}

/* =========================================
   NAVIGATION
   ========================================= */
.ww-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ww-menu li {
    position: relative;
}

.ww-menu li > a {
    display: block;
    padding: 10px 15px;
    color: var(--ww-navy-dark);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: var(--ww-transition);
    position: relative;
}

.ww-menu li > a:hover,
.ww-menu li.active > a {
    color: var(--ww-gold);
}

.ww-menu li > a .icon {
    font-size: 10px;
    margin-left: 5px;
    transition: var(--ww-transition);
}

.ww-has-dropdown:hover > a .icon {
    transform: rotate(180deg);
}

/* Dropdown */
.ww-dropdown {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--ww-white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--ww-gold);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--ww-transition);
    z-index: 100;
}

.ww-has-dropdown:hover .ww-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ww-dropdown li > a {
    padding: 8px 20px;
    font-size: 14px;
    color: var(--ww-text-main);
}

.ww-dropdown li > a:hover {
    background: var(--ww-gray-light);
    color: var(--ww-gold);
    padding-left: 25px;
}

/* Mobile Toggle */
.ww-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.ww-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--ww-navy-dark);
    border-radius: 3px;
    transition: var(--ww-transition);
}

/* =========================================
   FOOTER
   ========================================= */
.ww-footer {
    background-color: var(--ww-navy-dark);
    color: var(--ww-text-light);
    margin-top: 80px;
}

.ww-footer-top {
    padding: 80px 0 50px;
}

.ww-footer-widget {
    margin-bottom: 30px;
}

.ww-fw-logo img {
    max-height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Makes dark logos white for dark background */
}

.ww-fw-title {
    color: var(--ww-white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.ww-fw-title span {
    color: var(--ww-gold);
}

.ww-fw-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--ww-gold);
    border-radius: 3px;
}

.ww-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ww-links li {
    margin-bottom: 12px;
}

.ww-links li a {
    color: var(--ww-text-light);
    text-decoration: none;
    transition: var(--ww-transition);
    display: inline-block;
}

.ww-links li a:hover {
    color: var(--ww-gold);
    transform: translateX(5px);
}

.ww-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.ww-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ww-navy-light);
    color: var(--ww-white);
    border-radius: 50%;
    transition: var(--ww-transition);
    text-decoration: none;
}

.ww-social li a:hover {
    background: var(--ww-gold);
    color: var(--ww-navy-dark);
    transform: translateY(-5px);
}

.ww-address {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ww-address li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.ww-address li .icon {
    color: var(--ww-gold);
    font-size: 18px;
    margin-top: 3px;
    min-width: 20px;
}

.ww-footer-bottom {
    background: #060D1A;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ww-footer-bottom .copyright {
    margin: 0;
    font-size: 14px;
    color: var(--ww-text-light);
}

.ww-footer-bottom .copyright a {
    color: var(--ww-gold);
    text-decoration: none;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 991px) {
    .ww-topbar-left, .ww-topbar-right {
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .ww-mobile-toggle {
        display: flex;
    }
    
    .ww-nav-wrapper {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--ww-white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: var(--ww-transition);
        z-index: 2000;
        overflow-y: auto;
        padding: 80px 20px 20px;
    }
    
    .ww-nav-wrapper.active {
        right: 0;
    }
    
    .ww-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    .ww-menu li {
        width: 100%;
        border-bottom: 1px solid var(--ww-border-color);
    }
    
    .ww-menu li > a {
        padding: 15px 0;
    }
    
    .ww-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-left: 15px;
        display: none; 
    }
    
    .ww-has-dropdown:focus-within .ww-dropdown {
        display: block;
    }
}

@media (max-width: 767px) {
    .ww-topbar {
        font-size: 12px;
    }
    
    .ww-topbar-item {
        gap: 5px;
    }
    
    .ww-logo img {
        max-height: 45px;
    }
    
    .ww-footer-top {
        padding: 50px 0 30px;
    }
    
    .ww-fw-title {
        font-size: 18px;
    }
}








/* =========================================
   HERO SLIDER
   ========================================= */
.ww-hero-slider { position: relative; }
.ww-hero-slide {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ww-hero-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}
.ww-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.ww-hero-slide::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.75); z-index: 2;
}
.ww-hero-content {
    position: relative; z-index: 3; text-align: center; color: var(--ww-white);
}
.ww-hero-intro {
    font-size: 22px; font-weight: 400; color: var(--ww-gold); margin-bottom: 15px;
    text-transform: uppercase; letter-spacing: 3px;
}
.ww-hero-title {
    font-size: 52px; font-weight: 700; margin-bottom: 20px; line-height: 1.2;
    text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.ww-hero-subtitle, .ww-hero-note {
    font-size: 20px; font-weight: 400; margin-bottom: 10px; color: rgba(255,255,255,0.9);
}

/* =========================================
   SECTION COMMON STYLES
   ========================================= */
.ww-about-section, .ww-news-section, .ww-facilities-section, 
.ww-events-section, .ww-testimonial-section { padding: 80px 0; }

.ww-section-header { margin-bottom: 50px; }
.ww-section-intro {
    font-size: 16px; color: var(--ww-gold); font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.ww-section-title {
    font-size: 36px; font-weight: 700; color: var(--ww-navy-dark); margin-bottom: 0;
}
.ww-section-title .ww-highlight { color: var(--ww-gold); }

.ww-btn-primary {
    display: inline-block; padding: 12px 30px; background: var(--ww-gold);
    color: var(--ww-navy-dark); font-weight: 600; text-transform: uppercase;
    font-size: 14px; border-radius: 4px; text-decoration: none;
    transition: var(--ww-transition); border: 2px solid var(--ww-gold);
}
.ww-btn-primary:hover { background: transparent; color: var(--ww-gold); }

.ww-btn-link {
    color: var(--ww-navy-dark); font-weight: 600; text-decoration: none;
    transition: var(--ww-transition); display: inline-flex; align-items: center; gap: 8px;
}
.ww-btn-link:hover { color: var(--ww-gold); gap: 12px; }

/* =========================================
   ABOUT SECTION
   ========================================= */
.ww-about-section { background: var(--ww-gray-light); }
.ww-about-content { padding-right: 30px; }
.ww-about-text { margin: 20px 0 30px; color: #555; line-height: 1.8; }
.ww-about-img img {
    max-width: 100%; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* =========================================
   NEWS & EVENT CARDS
   ========================================= */
.ww-news-card, .ww-event-card {
    background: var(--ww-white); border-radius: 8px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 30px;
    transition: var(--ww-transition); height: 100%; display: flex; flex-direction: column;
}
.ww-news-card:hover, .ww-event-card:hover {
    transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.ww-news-img, .ww-event-img { overflow: hidden; height: 220px; }
.ww-news-img img, .ww-event-img img {
    width: 100%; height: 100%; object-fit: cover; transition: var(--ww-transition);
}
.ww-news-card:hover .ww-news-img img,
.ww-event-card:hover .ww-event-img img { transform: scale(1.05); }

.ww-news-content, .ww-event-content {
    padding: 25px; flex: 1; display: flex; flex-direction: column;
}
.ww-news-meta, .ww-event-meta {
    list-style: none; padding: 0; margin: 0 0 15px; display: flex;
    flex-wrap: wrap; gap: 15px; font-size: 13px; color: #777;
}
.ww-news-meta .icon, .ww-event-meta .icon { color: var(--ww-gold); margin-right: 5px; }

.ww-news-title, .ww-event-title { font-size: 20px; font-weight: 600; margin-bottom: 15px; line-height: 1.4; }
.ww-news-title a, .ww-event-title a {
    color: var(--ww-navy-dark); text-decoration: none; transition: var(--ww-transition);
}
.ww-news-title a:hover, .ww-event-title a:hover { color: var(--ww-gold); }

.ww-news-text { color: #666; margin-bottom: 20px; flex: 1; }
.ww-news-btn, .ww-event-btn { margin-top: auto; }

/* =========================================
   FACILITIES
   ========================================= */
.ww-facility-card {
    text-align: center; padding: 40px 20px; background: var(--ww-gray-light);
    border-radius: 8px; margin-bottom: 30px; transition: var(--ww-transition);
    border-bottom: 3px solid transparent;
}
.ww-facility-card:hover {
    background: var(--ww-white); box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-bottom-color: var(--ww-gold); transform: translateY(-5px);
}
.ww-facility-icon {
    width: 80px; height: 80px; margin: 0 auto 20px; display: flex;
    align-items: center; justify-content: center; background: var(--ww-white);
    border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--ww-transition);
}
.ww-facility-card:hover .ww-facility-icon { background: var(--ww-gold); }
.ww-facility-icon img {
    max-width: 40px;
    filter: brightness(0) saturate(100%) invert(13%) sepia(85%) saturate(1245%) hue-rotate(205deg) brightness(93%) contrast(93%);
    transition: var(--ww-transition);
}
.ww-facility-card:hover .ww-facility-icon img { filter: brightness(0) saturate(100%); }
.ww-facility-name { font-size: 18px; font-weight: 600; color: var(--ww-navy-dark); margin: 0; }

/* =========================================
   ACHIEVEMENTS
   ========================================= */
.ww-achievements-section {
    background: var(--ww-navy-dark); position: relative; overflow: hidden; padding: 80px 0;
}
.ww-achievements-section .ww-section-title { color: var(--ww-white); }
.ww-achievement-card { text-align: center; padding: 30px; position: relative; z-index: 1; }
.ww-achievement-icon {
    width: 70px; height: 70px; margin: 0 auto 20px; display: flex;
    align-items: center; justify-content: center; background: rgba(255, 195, 0, 0.1);
    border-radius: 50%; color: var(--ww-gold); font-size: 30px;
}
.ww-achievement-icon img { max-width: 40px; filter: brightness(0) invert(1); }
.ww-achievement-content h2 {
    font-size: 48px; font-weight: 700; color: var(--ww-gold); margin-bottom: 10px; line-height: 1;
}
.ww-achievement-name {
    font-size: 16px; color: var(--ww-text-light); margin: 0;
    text-transform: uppercase; letter-spacing: 1px;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.ww-testimonial-card {
    background: var(--ww-white); padding: 40px; border-radius: 8px;
    text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin: 15px;
}
.ww-testimonial-img {
    width: 100px; height: 100px; margin: 0 auto 20px; border-radius: 50%;
    overflow: hidden; border: 4px solid var(--ww-gold);
}
.ww-testimonial-img img { width: 100%; height: 100%; object-fit: cover; }
.ww-testimonial-name { font-size: 20px; font-weight: 600; color: var(--ww-navy-dark); margin-bottom: 15px; }
.ww-testimonial-text { color: #666; font-style: italic; line-height: 1.8; margin: 0; }

/* =========================================
   CTA SECTION
   ========================================= */
.ww-cta-section { padding: 0; margin-top: -40px; position: relative; z-index: 10; }
.ww-cta-box {
    background: var(--ww-gold); padding: 40px 50px; border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.ww-cta-title { font-size: 28px; font-weight: 700; color: var(--ww-navy-dark); margin: 0; }
.ww-btn-light {
    display: inline-block; padding: 12px 30px; background: var(--ww-navy-dark);
    color: var(--ww-white); font-weight: 600; text-transform: uppercase;
    font-size: 14px; border-radius: 4px; text-decoration: none;
    transition: var(--ww-transition); border: 2px solid var(--ww-navy-dark);
}
.ww-btn-light:hover { background: transparent; color: var(--ww-navy-dark); }

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 991px) {
    .ww-hero-slide { height: 500px; }
    .ww-hero-title { font-size: 40px; }
    .ww-about-content { padding-right: 0; margin-bottom: 40px; }
    .ww-cta-box { text-align: center; }
    .ww-cta-title { margin-bottom: 20px; }
}
@media (max-width: 767px) {
    .ww-about-section, .ww-news-section, .ww-facilities-section, 
    .ww-events-section, .ww-testimonial-section { padding: 60px 0; }
    .ww-hero-slide { height: 400px; }
    .ww-hero-title { font-size: 30px; }
    .ww-hero-intro { font-size: 16px; letter-spacing: 1px; }
    .ww-section-title { font-size: 28px; }
    .ww-cta-box { padding: 30px 20px; }
    .ww-cta-title { font-size: 22px; }
}