/* ========= GLOBAL ========= */

body {
    font-family: 'Inter', sans-serif;
    background-color: #fffefc;
    /* default from disclosure */
    color: #333;
}
.principal-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;   /* keeps both same height ratio */
  object-fit: cover;
  border-radius: 12px;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
  .principal-img {
    max-width: 250px;
    height: 250px;
  }
}

.director-message {
    background-color: #fdf2f8;
    /* light pink background */
}

.director-box {
    border: 3px solid #b30000;
    /* red border same as Principal section */
    background: #fff;
}

.director-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}
.director-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 15px;
}

/* Responsive adjustment for smaller devices */
@media (max-width: 768px) {
  .director-img {
    max-width: 100%;
    aspect-ratio: 3/2;
    margin-bottom: 15px;
  }

  .director-message .row {
    flex-direction: column;
    text-align: center;
  }
}


/* ========= NAVBAR ========= */

.navbar-nav .nav-link {
    margin-right: 1rem;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #b30000;
}

.btn-admission {
    font-weight: bold;
    background-color: #000;
    color: white;
    border: none;
    padding: 5px 12px;
    transition: 0.3s ease;
}

.btn-admission:hover {
    background-color: #ffcc00;
    color: black;
}

.top-bar span {
    margin-left: 15px;
    font-size: 14px;
}

.top-bar h6 {
    font-size: 15px;
    margin-bottom: 0;
}

.navbar i.bi-search {
    margin-left: 20px;
    cursor: pointer;
}


/* ========= HEADER ========= */

.school-header {
    background-color: #140909;
    color: white;
    text-align: center;
    flex-wrap: wrap;
    padding: 20px 0;
}

.text-maroon {
    color: #b30000;
}

.info-section {
    background-color: #f8f9fa;
}

.orchid-bg {
    background-color: #fff0f0;
}


/* ========= CARDS ========= */


/* For every orchid card container */

.orchid-card {
    background-color: #ffffff;
    border: 2px solid #b30000;
    /* red border around the whole card */
    border-radius: 15px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
    /* makes sure rounded border applies to image too */
}


/* For images inside the card */

.orchid-card img {
    width: 100%;
    height: auto;
    border: none;
    /* remove inner border */
    border-radius: 0;
    /* remove double rounding */
    display: block;
}

.orchid-card:hover {
    transform: translateY(-5px);
}

.orchid-card h3 {
    font-weight: 600;
    color: #b30000;
}

.orchid-card p {
    color: #444;
}

.orchid-card .btn-danger {
    background-color: #b30000;
    border: none;
}

.orchid-highlight {
    background-color: #fff2f2;
}


/* ========= ORCHID BOX ========= */

.orchid-box {
    border: 2px solid #b30000;
    border-radius: 12px;
    background-color: #ffffff;
    max-width: 900px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.orchid-box h2,
.orchid-box h3 {
    color: #b30000;
}

.orchid-box p {
    color: #444;
}

.orchid-box .btn-danger {
    background-color: #b30000;
    border: none;
}


/* ========= CHAMPIONS ========= */

.champions-section {
    background-color: #fff0f3;
}

.section-title {
    color: #a10000;
    font-size: 2rem;
    font-weight: 700;
}

.champion-card {
    background-color: #ffffff;
    border: 2px solid #e60023;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
}

.champion-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.champion-card img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(647%) hue-rotate(337deg) brightness(99%) contrast(101%);
}

.champion-card h5 {
    color: #a10000;
    font-weight: 600;
    font-size: 1.2rem;
}

.champion-card p {
    font-size: 0.95rem;
    color: #555;
}


/* ========= DISCLOSURE ========= */

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #b30000;
    margin: 3rem 0 2rem 0;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #b30000;
    margin: 10px auto 0;
    border-radius: 2px;
}

.disclosure-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.disclosure-section .table {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
}

.table thead th {
    background-color: #b30000;
    color: #fff;
}

.table td,
.table th {
    vertical-align: middle;
    padding: 1rem;
}

.table a.btn-danger {
    background-color: #b30000;
    border: none;
    transition: background-color 0.3s ease;
}

.table a.btn-danger:hover {
    background-color: #ff3333;
    color: #fff;
}

.director-box {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.director-text {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
}


/* ========= CONTACT PAGE ========= */

.bg-light-red {
    background: linear-gradient(to bottom, #fff6f6, #fff);
}

.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-card p {
    margin-bottom: 0.3rem;
}

.contact-form-section input,
.contact-form-section textarea {
    border-radius: 8px;
    border: 1px solid #ccc;
}

.contact-form-section button {
    border-radius: 8px;
    font-size: 1rem;
}


/* ========= FOOTER ========= */

.lfcs-footer {
    background-color: #000;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    font-family: 'Segoe UI', sans-serif;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.lfcs-footer h5,
.lfcs-footer h6 {
    color: #fff;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 16px;
}

.lfcs-footer .footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #ff4d4d;
    margin-bottom: 10px;
}

.lfcs-footer ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.lfcs-footer ul li a {
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.lfcs-footer ul li a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.lfcs-footer .social-icon {
    font-size: 18px;
    color: #fff;
    transition: 0.3s ease;
    margin-right: 10px;
}

.lfcs-footer .social-icon:hover {
    color: #ffd700;
}

.lfcs-footer .school-logo {
    width: 70px;
    height: auto;
    margin-bottom: 10px;
}

.lfcs-footer .quote-img {
    height: 40px;
    display: block;
    margin: 0 auto 8px auto;
}


/* ========= RESPONSIVE ========= */

@media (max-width: 768px) {
    /* Footer */
    .lfcs-footer {
        text-align: center;
    }
    .lfcs-footer .d-flex {
        flex-direction: column;
        align-items: center;
    }
    .lfcs-footer .school-logo {
        margin-bottom: 1rem;
    }
    /* Disclosure */
    .disclosure-section h2 {
        font-size: 1.5rem;
    }
    .table th,
    .table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    /* Contact */
    .contact-card {
        margin-bottom: 20px;
    }
    /* ===== Video Section (Home Page) ===== */
    .video-section {
        background-color: #fff6f6;
        /* Light pink like Orchids */
        padding: 60px 0;
    }
    .video-section h2 {
        font-weight: 700;
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .video-section p {
        font-size: 1rem;
        color: #555;
        margin-bottom: 20px;
    }
    .video-wrapper iframe {
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }
    .video-wrapper {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        /* 16:9 ratio */
        height: 0;
    }
    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }
    /* Background color same as Orchids section */
    .bg-light-pink {
        background-color: #fdecec;
        /* soft pink */
    }
    /* Responsive video embed */
    .video-wrapper {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        /* 16:9 ratio */
        height: 0;
    }
    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        /* optional rounded corners */
    }
    .hero-banner {
        margin-top: 20px;
        margin-left: 20px;
        /* space below navbar */
    }
    .enquiry-box {
        max-width: 400px;
        background: #fff;
        border-radius: 12px;
    }
    .enquiry-box h5 {
        color: #333;
        font-weight: bold;
    }
    .enquiry-box .form-control {
        border-radius: 6px;
        font-size: 14px;
    }
    .btn-primary {
        background-color: #007bff;
        border: none;
        border-radius: 6px;
    }
    /* Hero Banner aboutus*/
    /* Hero Banner About Us */
    .hero-banner {
        position: relative;
        height: 300px;
        overflow: hidden;
        margin-top: 20px;
        /* keep spacing */
        margin-left: 20px;
        /* keep left space */
    }
    .hero-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .hero-banner .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
    }
    .hero-banner .container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        text-align: center;
        color: #fff;
    }
    /* Video */
    .video-wrapper {
        border-radius: 12px;
        overflow: hidden;
    }
    .hero-section {
        margin-top: 20px;
    }
    .carousel-item img {
        height: 500px;
        /* Adjust height */
        object-fit: cover;
        /* Prevent stretching */
    }
    .admission-form {
        background: #fff;
        border-radius: 12px;
        max-width: 360px;
        width: 100%;
    }
    .carousel-indicators [data-bs-target] {
        background-color: #d32f2f;
        /* Red dots */
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        filter: invert(100%);
        /* White arrows */
    }
    /* Responsive Fix */
    @media (max-width: 768px) {
        .carousel-item img {
            height: 300px;
        }
        .admission-form {
            margin-top: 15px;
        }
    }
    /* Floating Buttons Container */
    .floating-buttons {
        position: fixed;
        top: 50%;
        /* middle of screen on desktop */
        right: 20px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 15px;
        z-index: 9999;
    }
    /* Floating Button Style */
    .btn-float {
        position: relative;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 26px;
        color: #fff;
        text-decoration: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, background 0.3s ease;
        animation: bounce 2s infinite;
    }
    /* WhatsApp Button */
    .btn-float.whatsapp {
        background: #25d366;
    }
    /* Call Button */
    .btn-float.call {
        background: #c2185b;
    }
    /* Hover Effect */
    .btn-float:hover {
        transform: scale(1.15);
    }
    /* Tooltip Style */
    .btn-float::after {
        content: attr(data-label);
        position: absolute;
        right: 65px;
        background: #333;
        color: #fff;
        font-size: 14px;
        padding: 5px 10px;
        border-radius: 5px;
        opacity: 0;
        white-space: nowrap;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .btn-float:hover::after {
        opacity: 1;
    }
    /* Bounce Animation */
    @keyframes bounce {
        0%,
        100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-8px);
        }
    }
    /* 📱 Mobile Responsive */
    @media (max-width: 768px) {
        .floating-buttons {
            top: auto;
            bottom: 20px;
            /* move to bottom */
            right: 20px;
            transform: none;
            flex-direction: row;
            /* side by side */
        }
        .btn-float {
            width: 50px;
            height: 50px;
            font-size: 22px;
            animation: bounce 2s infinite;
        }
        /* Hide tooltips on mobile */
        .btn-float::after {
            display: none;
        }
    }
}