/* =========================
   APEX KIDS SCHOOL – STYLE
   ========================= */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.7;
}

/* -------------------------
   HEADER / NAVBAR
-------------------------- */
.navbar-brand strong {
    color: #e91e63;
    font-size: 20px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin-left: 12px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #e91e63;
}

/* -------------------------
   HERO SLIDER
-------------------------- */
.hero-img {
    height: 480px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0,0,0,0.45);
    padding: 25px;
    border-radius: 12px;
}

.carousel-caption h1 {
    font-size: 36px;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 18px;
}

/* -------------------------
   SECTION HEADINGS
-------------------------- */
section h2 {
    font-weight: 700;
    color: #1e88e5;
}

section p {
    font-size: 16px;
}

/* -------------------------
   HIGHLIGHTS SECTION
-------------------------- */
.bg-light .col-md-3 {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

/* -------------------------
   BUTTONS
-------------------------- */
.btn-primary {
    background-color: #1e88e5;
    border: none;
}

.btn-primary:hover {
    background-color: #1565c0;
}

.btn-warning {
    background-color: #fbc02d;
    border: none;
    color: #000;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #f9a825;
}

.btn-success {
    background-color: #43a047;
    border: none;
}

.btn-success:hover {
    background-color: #2e7d32;
}

/* -------------------------
   ADMISSION BANNER
-------------------------- */
.bg-warning h2 {
    font-weight: 700;
}

.bg-warning p {
    font-size: 18px;
}

/* -------------------------
   FOOTER
-------------------------- */
footer {
    font-size: 14px;
}

footer p {
    margin-bottom: 6px;
}

/* -------------------------
   INNER PAGE BANNER
-------------------------- */
.inner-banner {
    background: linear-gradient(135deg, #1e88e5, #e91e63);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.inner-banner h1 {
    font-weight: 700;
}

/* -------------------------
   CONTENT BOX
-------------------------- */
.content-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* -------------------------
   FORMS
-------------------------- */
form label {
    font-weight: 600;
}

form input,
form textarea {
    border-radius: 8px;
}

/* -------------------------
   GALLERY
-------------------------- */
.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* -------------------------
   MOBILE RESPONSIVE
-------------------------- */
@media (max-width: 768px) {
    .hero-img {
        height: 300px;
    }

    .carousel-caption h1 {
        font-size: 22px;
    }

    .carousel-caption p {
        font-size: 14px;
    }

    section h2 {
        font-size: 22px;
    }
}

/* ===== PHONE-LIKE GALLERY ===== */

.gallery-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;          /* PERFECT SQUARE */
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background: #eee;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* CLEAN CROPPED PREVIEW */
    transition: 0.3s;
}

.gallery-thumb:hover img {
    transform: scale(1.05);
}

/* FULL IMAGE VIEW */
.gallery-full {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

