 
/* Index.php new */

/* ===== HERO SLIDER ===== */
/* ===== HERO CAROUSEL ===== 
.hero-carousel {
    height: 520px;   
}

.hero-carousel .carousel-item {
    height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}*/

/* BLACK OVERLAY 
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}*/


/* TEXT AT BOTTOM 
.hero-carousel .carousel-caption {
    bottom: 40px;
    text-align: center;
    
}

.hero-carousel h1 {
    font-size: 42px;
    font-weight: 800;
   
}

.hero-carousel p {
    margin-bottom: 4px;
    
}*/
/* Center text INSIDE carousel-caption 
.hero-carousel .carousel-caption {
    text-align: center;
    bottom: 40px;
}*/

/* Center block elements 
.hero-carousel .carousel-caption h1,
.hero-carousel .carousel-caption p,
.hero-carousel .carousel-caption a {
    margin-left: auto;
    margin-right: auto;
}*/

/* Optional spacing 
.hero-carousel .carousel-caption h1 {
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-carousel .carousel-caption p {
    margin-bottom: 6px;
}*/

/*.carousel-caption {
    right: 15%;
    left: 15%;
}

.hero-carousel .carousel-caption {
    left: 50%;
    transform: translateX(-50%);
}

.hero-carousel .carousel-caption {
    display: flex;
    flex-direction: column;
    align-items: center;    horizontal centering
    text-align: center;
}
 */



/* RESPONSIVE 
@media (max-width: 768px) {
    .hero-carousel,
    .hero-carousel .carousel-item {
        height: 380px;
    }

    .hero-carousel h1 {
        font-size: 26px;
    }
}*/

/*  ----- */

.body {
    background: white;
}

/* ===== HERO SLIDER LAYOUT ===== */
.hero-carousel {
    height: 480px;
    width: 100%;
}

/* Each slide full image */
.hero-carousel .carousel-item {
    height: 480px;
    background-size: cover;          /* FULL IMAGE */
    background-position: center;     /* CENTER IMAGE */
    background-repeat: no-repeat;    /* NO REPEAT */
    position: relative;
    align-items: center;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Caption positioning */
.hero-carousel .carousel-caption {
    z-index: 2;
    margin-left: 8%;
    text-align: center;
    right: auto;
    bottom: 40px;
     background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
}

/* Heading */
.hero-carousel h1 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
}

/* Paragraph text */
.hero-carousel p {
    font-size: 16px;
    text-align: center;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Button */
.hero-carousel .btn {
    margin-top: 12px;
    padding: 8px 22px;
    font-weight: 600;
}

/* Indicators dots */
.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Arrows visibility */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
    .hero-carousel,
    .hero-carousel .carousel-item {
        height: 320px;
    }

    .hero-carousel h1 {
        font-size: 26px;
    }

    .hero-carousel p {
        font-size: 14px;
    }
}

/* ===== LATEST NEWS SECTION ===== */
.latest-news-wrapper {
    border: 1px solid #cfcfcf;
    padding: 15px;
    background: #fff;
}

/* Title */
.latest-news-title {
    font-weight: 800;
    margin-bottom: 15px;
}

/* News item */
.news-item {
    display: flex;
    align-items: center;
    border: 1px solid #999;
    padding: 10px;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}

/* Hover effect */
.news-item:hover {
    background: white;
}

/* Icon */
.news-icon {
    width: 50px;
    height: 50px;
    border: 1px solid #999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.news-icon img {
    width: 28px;
    height: auto;
}

/* Content */
.news-content a {
    display: block;
    font-weight: 600;
    color: #0056ff;
    text-decoration: none;
    font-size: 14px;
}

.news-content a:hover {
    text-decoration: underline;
}

.news-content span {
    font-size: 12px;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .latest-news-wrapper {
        margin-top: 20px;
    }
}


/* director msg */

/* ===== DIRECTOR MESSAGE SECTION ===== */
.director-section {
    background: white;
    padding: 30px;
    border-radius: 6px;
    float: left;
    margin-left: none;
}

/* Image box */
.director-img-box {
    max-width: 260px;
    margin: 0 auto;
}

.director-img {
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Name & designation */
.director-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.director-designation {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin-left: 10px;
}

/* Title */
.section-title {
    font-weight: 800;
    margin-bottom: 20px;
}

/* Paragraph text */
.director-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    text-align: justify;
}

/* Quote / emphasis line */
.director-quote {
    font-weight: 600;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .director-section {
        padding: 20px;
    }

    .section-title {
        margin-top: 20px;
        font-size: 24px;
    }
}

/*.fade-in {
    animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

 
        Custom CSS */
  
        /* About Box Styling */
        .about-box{
            width: 900px;
            margin-right: 300px;
            background-color: #6f6f6f;
            color: #ffffff;
            border-top: 4px solid rgb(31, 120, 155);
            border-bottom: 4px solid rgb(31, 120, 155);
            transition: all 0.3s ease-in-out;
            border-radius:4px;
            padding:40px;
            cursor:pointer;
            position:relative;
            overflow:hidden;
        }

        /* Hover Effect */
        .about-box:hover{
           background-color: rgb(99, 162, 187); /* Blue */
            color: white;
        
        }

        /* Text color on hover */
        .about-box:hover h2,
        .about-box:hover p{
            color:#ffffff;
        }

        /* Heading */
        .about-content h2{
            font-weight:700;
            margin-bottom:20px;
            transition: color 0.3s ease;
        }

        /* Paragraph */
        .about-content p{
            font-size:16px;
            line-height:1.7;
            transition: color 0.3s ease;
        }

        /* Responsive Padding */
        @media(max-width:768px){
            .about-box{
                padding:25px;
            }
        }

  /* Section Title (AOE Schoole statistics*/
        .stats-title {
            background: #777;
            color: #fff;
            text-align: center;
            padding: 18px;
            font-size: 24px;
            font-weight: 700;
        }

        /* Stats Box */
        .stat-box {
            background: #257a98; /* blue */
            color: #ffffff;
            text-align: center;
            padding: 50px 20px;
            border: 1px solid #ffffff;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        /* Number */
        .stat-box h1 {
            font-size: 56px;
            font-weight: 800;
            margin-bottom: 5px;
            transition: color 0.3s ease;
        }

        /* Text */
        .stat-box p {
            font-size: 18px;
            font-weight: 600;
            margin: 0;
            transition: color 0.3s ease;
        }

        /* Hover: TEXT ONLY turns black */
        .stat-box:hover h1,
        .stat-box:hover p {
            color: #000000;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .stat-box {
                padding: 35px 15px;
            }

            .stat-box h1 {
                font-size: 44px;
            }
        }

        body{
            background:#f4f6f8;
        }

        /* Facility Card */
        .facility-card{
            background:#ffffff;
            border:1px solid #ddd;
            overflow:hidden;
            transition: all 0.3s ease;
        }

        .facility-card img{
            width:100%;
            height:230px;
            object-fit:cover;
            display:block;
        }

        /* Gray text box */
        .facility-title{
            background:#9a9a9a;
            color:#ffffff;
            text-align:center;
            padding:14px;
            font-size:16px;
            font-weight:600;
            transition: background 0.3s ease;
        }

        /* ✅ Hover: BLUE BACKGROUND (text stays white) */
        .facility-card:hover .facility-title{
            background:rgb(31, 120, 155) ; /* Bootstrap blue */
        }

        /* Responsive */
        @media(max-width:768px){
            .facility-card img{
                height:200px;
            }
        }


/* about us */


