*,
*::before,
*::after {
    box-sizing: border-box;
}


body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

.site-header {
    background-color: #0a3d62;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}


.logo-link,
.logo-link .site-brand-title,
.logo-link p {
    color: white !important;
    text-decoration: none;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link:hover {
    opacity: 0.9;
}

.site-header img {
    width: 70px;
    height: auto;
}

.site-brand-title {
    display: block;
    margin: 0;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.2;
}

.site-header p {
    margin: 0;
    font-size: 14px;
}

l

main {
    padding: 40px;
    max-width: 1100px;
    margin: 40px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}


footer {
    background-color: #0a3d62;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

main a {
    color: #0a3d62;
    text-decoration: none;
    font-weight: bold;
}

main a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background:
        linear-gradient(rgba(10, 61, 98, 0.75), rgba(10, 61, 98, 0.75)),
        url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
}


.hero h2 {
    font-size: 40px;      /* slightly bigger */
    font-weight: 600;     /* semi-bold, premium look */
    margin-bottom: 20px;
}


.hero p {
    font-size: 18px;      /* slightly larger */
    font-weight: 300;     /* lighter for elegance */
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}


.hero-btn {
    display: inline-block;
    background-color: #1e6091;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.hero-btn:hover {
    background-color: #163f63;
}

.hero-buttons {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


.secondary-btn {
    background-color: #0a9396;
}

.secondary-btn:hover {
    background-color: #005f73;
}


/* Admissions Notice */
.admissions-notice {
    background-color: #e8f4ff;
    color: #0a3d62;
    text-align: center;
    padding: 12px 15px;
    font-size: 15px;
    border-bottom: 2px solid #1e6091;
}

.admissions-notice strong {
    margin-right: 8px;
}

.apply-btn {
    display: inline-block;
    margin-left: 15px;
    background-color: #1e6091;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.apply-btn:hover {
    background-color: #163f63;
}



/* Photo Gallery */
.gallery {
    padding: 50px 20px;
    background-color: #f4f6f8;
    text-align: center;
}

.gallery h2 {
    margin-bottom: 30px;
    color: #0a3d62;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: auto;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-grid img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}



.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}





@media (max-width: 1024px) {
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.job-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0 30px 0;
}

.job-filters input,
.job-filters select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    min-width: 200px;
}

@media (max-width: 768px) {
    .job-filters {
        flex-direction: column;
    }
}


.hero-buttons {
    flex-direction: column;
    align-items: center;
}

.hero-buttons .hero-btn {
    width: 260px;
}

.new-badge {
    display: inline-block;
    background-color: #28a745;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
    
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #25D366;
    background-image: url('https://cdn-icons-png.flaticon.com/512/733/733585.png');
    background-size: 28px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}


.faq-section {
    padding: 70px 20px;
    background-color: white;
    max-width: 900px;
    margin: 60px auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #0d3b66;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 15px 0;
    background: none;
    border: none;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    color: #2a9d8f;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}


/* ===== NAVBAR STRUCTURE ===== */

.navbar {
    background-color: #1e6091;
    padding: 10px 20px;
    position: relative;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-links {
    transition: all 0.3s ease;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* Hide hamburger on desktop */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}


.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination button {
    background-color: #1e6091;
    color: white;
    border: none;
    padding: 8px 14px;
    margin: 4px;
    cursor: pointer;
    border-radius: 4px;
}

.pagination button:hover {
    background-color: #144a70;
}


/* ===== LIBRARY FILTER STYLING ===== */

.library-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.library-filters input,
.library-filters select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    min-width: 200px;
}



/* ===== PROMO VIDEO SECTION ===== */

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* ===== SPLIT HERO SECTION ===== */

.hero-split {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: linear-gradient(rgba(10,61,98,0.9), rgba(10,61,98,0.9)),
                url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    gap: 40px;
}

.hero-left {
    flex: 1;
}

.hero-left h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 17px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-right {
    flex: 1;
}

.hero-right .video-container {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.hero-right iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }
}


/* ===== HORIZONTAL NOTICE TICKER ===== */

.news-ticker {
    background: #e8f4ff;
    border-bottom: 2px solid #1e6091;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    padding: 10px 0;
    font-weight: 500;
    color: #0a3d62;
    animation: tickerMove 70s linear infinite;
}

.ticker-track a {
    color: #1e6091;
    text-decoration: none;
    margin-right: 50px;
}

.ticker-track a:hover {
    text-decoration: underline;
}

.news-ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ===== MOBILE NAVIGATION ===== */

@media (max-width: 992px) {

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #1e6091;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    
    .navbar {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .menu-toggle {
        display: block;
        margin-right: auto;
        font-size: 26px;
        padding: 5px 10px;
    }

}


/* Mobile Responsive Styles */
@media (max-width: 768px) {

    header h1 {
        font-size: 22px;
    }

    header p {
        font-size: 14px;
    }

    
    main {
        padding: 20px;
    }

    iframe {
        height: 250px;
    }
        .site-header {
        flex-direction: column;
        text-align: center;
    }

    .site-header img {
        width: 60px;
    }

.hero h2 {
    font-size: 24px;
}

.hero p {
    font-size: 14px;
}

.admissions-notice {
    background-color: #f1f8f7;
    padding: 18px 20px;
    text-align: center;
    font-size: 15px;
    border-top: 1px solid #e0eceb;
    border-bottom: 1px solid #e0eceb;
    
}

.admissions-notice strong {
    font-weight: 600;
    color: #0d3b66;
    margin-right: 8px;
}


.apply-btn {
    display: inline-block;
    margin-left: 12px;
    background-color: #2a9d8f;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.apply-btn:hover {
    background-color: #1f776e;
}


.hero {
    padding: 60px 15px;
}


.gallery-grid {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-grid img {
    height: 160px;
}

.jobs-grid {
        grid-template-columns: 1fr;
    }


}
