﻿/* COLOR THEME */
:root {
    --primary-blue: #0d4aa8;
    --accent-yellow: #fcb900;
}

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    padding: 8px 0;
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(
        rgba(13, 74, 168, 0.9),
        rgba(13, 74, 168, 0.9)
    ),
    url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 80px 0;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Navbar */
.navbar .nav-link {
    color: #333;
    margin-right: 15px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-blue);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
}

.section-title span {
    color: var(--accent-yellow);
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    padding-left: 30px;
    margin-bottom: 10px;
    position: relative;
    font-weight: 500;
}

.about-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: bold;
}

/* Header Logo Styling */
.site-logo {
    max-height: 85px;     /* Increase size */
    width: auto;
    transition: all 0.3s ease;
}

/* Navbar spacing */
.navbar {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Optional: Larger logo on desktop */
@media (min-width: 992px) {
    .site-logo {
        max-height: 100px;
    }
}

/* Highlights Section */
.highlights-section {
    background: var(--primary-blue);
    padding: 70px 0;
    color: #fff;
}

.highlight-box {
    background: #fff;
    color: #000;
    padding: 30px 20px;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
}

.highlight-box img {
    height: 60px;
    margin-bottom: 15px;
}

.highlight-box h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Facilities Section */
/*.facilities-section {
    background: linear-gradient(
        rgba(13, 74, 168, 0.95),
        rgba(13, 74, 168, 0.95)
    ),
    url('../images/PlayArea.jpeg') center/cover no-repeat;
    padding: 80px 0;
}*/

/* Facilities Section with Background Image */
.facilities-section {
     position: relative;
    padding: 80px 0;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.75),
            rgba(255, 255, 255, 0.75)
        ),
        url('../images/PlayArea.jpeg') center/cover no-repeat;
}

/* Section title */
.facilities-section .section-title {
    color: var(--primary-blue);
}

.facilities-section .section-title span {
    color: var(--accent-yellow);
}

/* Facility cards */
.facility-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    border-top: 5px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.facility-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent-yellow);
}

.facility-content h5 {
    color: var(--primary-blue);
}

/* Hover effect */
.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(13, 74, 168, 0.25);
}


/* Testimonials Section */
.testimonials-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.testimonial-card {
    background: #fff;
    max-width: 800px;
    margin: auto;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
}

.testimonial-name {
    font-weight: 700;
    color: var(--primary-blue);
}

/* Carousel arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* Admissions CTA */
.admissions-cta {
    background: linear-gradient(
        to right,
        var(--primary-blue),
        #083b87
    );
    padding: 60px 0;
}

/* Footer */
.site-footer {
    background: #0b1d3a;
    color: #fff;
    padding: 60px 0 30px;
}

.site-footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.site-footer p {
    font-size: 15px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

/* Leadership Section */

/* Leadership Section – Visually Distinct */
.leadership-section {
    padding: 90px 0;
    background: linear-gradient(
        to right,
        #f8f9fa,
        #eef3ff
    );
}

/* Section heading */
.leadership-section .section-title {
    color: var(--primary-blue);
}

.leadership-section .section-title span {
    color: var(--accent-yellow);
}

/* Leadership cards */
.leader-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(13, 74, 168, 0.12);
    position: relative;
    transition: all 0.3s ease;
}

/* Accent bar */
.leader-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background: var(--primary-blue);
    border-radius: 20px 0 0 20px;
}

/* Image */
.leader-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-yellow);
}

/* Titles */
.leader-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Text */
.leader-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* Hover */
.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(13, 74, 168, 0.2);
}


/* Notice & Enquiry Section */
.notice-enquiry-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.notice-box,
.enquiry-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.notice-box h4,
.enquiry-box h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
}

.notice-list {
    list-style: none;
    padding-left: 0;
}

.notice-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 15px;
}

.notice-list li:last-child {
    border-bottom: none;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 10px 0;
    min-width: 220px;
}

.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

/* Desktop hover support */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media (min-width: 992px) {
    .navbar .dropdown-menu {
        transition: opacity 0.25s ease, transform 0.25s ease;
        transform: translateY(8px);
    }

    .navbar .dropdown:hover > .dropdown-menu {
        transform: translateY(0);
    }
}

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    color: #fff;
    font-size: 14px;
    padding: 6px 0;
}

.top-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-info li {
    display: inline-block;
    margin-right: 20px;
    white-space: nowrap;
}

.top-info li i {
    color: var(--accent-yellow);
    margin-right: 6px;
    font-size: 14px;
}

.top-info li a {
    color: #fff;
    text-decoration: none;
}

.top-info li a:hover {
    text-decoration: underline;
}

/* Right text */
.top-bar-right {
    font-weight: 500;
}

/* Responsive handling */
@media (max-width: 767px) {
    .top-info li {
        display: block;
        margin-bottom: 5px;
    }

    .top-bar-right {
        margin-top: 5px;
    }
}

/* Animated Admission Badge */
.admission-badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: #000;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    animation: pulseGlow 2s infinite;
}

.admission-badge i {
    margin-right: 6px;
}

/* Pulse animation */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(252, 185, 0, 0.8);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(252, 185, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(252, 185, 0, 0);
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
}

/* Reduced height */
.hero-slide {
    height: 70vh;           /* Reduced from full screen */
    min-height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Overlay */
/*.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 74, 168, 0.55);
}*/

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* lighter neutral overlay */
}


/* Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 15px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    font-weight: 500;
}

/* Animated Text */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.animate-text.delay-1 {
    animation-delay: 0.6s;
}

/* Animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide {
        height: 55vh;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }
}


.overlay-light {
    background: rgba(0,0,0,0.2);
}

.overlay-dark {
    background: rgba(0,0,0,0.4);
}

/* Make slider arrows white */

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    padding: 15px;
}


/* Footer with Background Image */
.school-footer {
    position: relative;
    background: url('../images//slider/slider-1.jpeg') center/cover no-repeat;
    color: #fff;
    padding: 70px 0 30px;
}

/* Dark overlay */
.footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

/* Content above overlay */
.footer-content {
    position: relative;
    z-index: 1;
}

/* Logo */
.footer-logo {
    max-width: 160px;
    margin-bottom: 15px;
}

/* Text */
.footer-text {
    font-size: 15px;
    line-height: 1.6;
    max-width: 400px;
}

/* Titles */
.footer-title {
    color: var(--accent-yellow);
    font-weight: 700;
    margin-bottom: 15px;
}

/* Links */
.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

/* Contact */
.footer-contact {
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--accent-yellow);
    margin-right: 8px;
}

/* Divider */
.footer-line {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 30px 0 15px;
}

/* Bottom */
.footer-bottom {
    font-size: 14px;
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 767px) {
    .footer-text {
        max-width: 100%;
    }

    .footer-logo {
        max-width: 140px;
    }
}

/* Footer Credit */
.footer-credit {
    color: var(--accent-yellow);
    font-weight: 600;
    text-decoration: none;
}

.footer-credit:hover {
    color: #ffffff;
    text-decoration: underline;
}
