/* ====================================
   ACACIA GREEN ACADEMY
   PROFESSIONAL RED THEME
==================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f8f9fa;
    color:#333;
    overflow-x:hidden;
}

/* TOP BAR */

.top-bar{
    background:#c00000;
    color:#fff;
    text-align:center;
    padding:10px;
    font-size:14px;
    font-weight:600;
}

/* HEADER */

.header{
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 5%;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 15px rgba(0,0,0,.1);
}

.logo-section{
    display:flex;
    align-items:center;
}

.logo-section img{
    width:70px;
    height:70px;
    object-fit:contain;
    margin-right:12px;
}

.logo-section h2{
    color:#c00000;
}
nav{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

nav a{

    background:#ffffff;

    padding:12px 20px;

    border-radius:10px;

    text-decoration:none;

    color:#333;

    font-weight:700;

    transition:.3s;

    box-shadow:0 3px 10px rgba(0,0,0,.08);

}

nav a:hover{

    background:#c00000;

    color:white;

    transform:translateY(-3px);
}

/* HERO */

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.hero-slider{
    position:absolute;
    width:100%;
    height:100%;
}

.hero-content{
    position:relative;
    z-index:5;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
    background:rgba(0,0,0,.45);
}
.hero-content h1{

    color:#00aa00;

    font-size:70px;

    font-weight:900;

    background:rgba(0,0,0,0.55);

    padding:20px 40px;

    border-radius:15px;

    display:inline-block;

    text-shadow:
    2px 2px 8px rgba(0,0,0,.8);

    animation:float 2s infinite;
}

.hero-content p{
    font-size:28px;
    margin-top:10px;
}

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-12px);
    }

    100%{
        transform:translateY(0);
    }

}

/* BUTTON */

.btn{
    display:inline-block;
    margin-top:20px;
    padding:14px 30px;
    background:#c00000;
    color:#fff;
    text-decoration:none;
    border-radius:6px;
    transition:.3s;
}

.btn:hover{
    background:#008000;
}

/* GENERAL SECTION */

.section{
    padding:80px 8%;
}

.section h2{
    text-align:center;
    color:#c00000;
    margin-bottom:35px;
    font-size:38px;
}

/* FLOATING CONTAINERS */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.card{
    background:#fff;
    border-radius:15px;
    padding:30px;
    text-align:center;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);

    transition:.4s;
}

.card:hover{

    transform:
    translateY(-12px);

    box-shadow:
    0 20px 40px rgba(0,0,0,.15);

}

.card h3{
    color:#008000;
    margin-bottom:10px;
}

/* ACADEMICS */

.academic-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

}

/* PHONE */

@media(max-width:768px){

    .academic-grid{

        grid-template-columns:1fr;

    }

}
}

/* BIG FLOATING CONTAINERS */

.academic-box{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);

    transition:.4s;

}

.academic-box:hover{

    transform:
    translateY(-12px);

    box-shadow:
    0 20px 40px rgba(0,0,0,.15);

}

.academic-box h3{

    color:#c00000;

    padding:20px 20px 10px;

    font-size:24px;

}

.academic-box p{

    padding:0 20px 25px;

    line-height:1.7;

}

/* IMAGE SLIDERS */

.slider{

    position:relative;

    height:350px;

    overflow:hidden;

}

.slide{

    position:absolute;

    width:100%;

    height:100%;

    object-fit:cover;

    opacity:0;

}

/* IMAGE ANIMATIONS */

.slide1{
    animation:fade1 12s infinite;
}

.slide2{
    animation:fade2 12s infinite;
}

.slide3{
    animation:fade3 12s infinite;
}

@keyframes fade1{

0%,30%{
opacity:1;
}

33%,100%{
opacity:0;
}

}

@keyframes fade2{

0%,30%{
opacity:0;
}

33%,63%{
opacity:1;
}

66%,100%{
opacity:0;
}

}

@keyframes fade3{

0%,63%{
opacity:0;
}

66%,100%{
opacity:1;
}

}

/* FOOTER */

footer{

    background:#111;

    color:#fff;

    text-align:center;

    padding:25px;

}

/* FLOATING SOCIAL ICONS */

.social-icons{

    position:fixed;

    right:20px;

    bottom:20px;

    display:flex;

    flex-direction:column;

    gap:12px;

    z-index:999;

}

.social-icons a{

    width:60px;

    height:60px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    color:#fff;

    font-size:24px;

    animation:pulse 1.5s infinite;

}

.social-icons a:nth-child(1){
background:#25D366;
}

.social-icons a:nth-child(2){
background:#1877F2;
}

.social-icons a:nth-child(3){
background:#FF0000;
}

@keyframes pulse{

0%{
transform:scale(1);
}

50%{
transform:scale(1.15);
}

100%{
transform:scale(1);
}

}

/* MOBILE */
```css
.menu-toggle{
    display:none;
}

@media(max-width:768px){

    .menu-toggle{
        display:block;
        position:absolute;
        right:20px;
        top:20px;
        font-size:32px;
        cursor:pointer;
        color:#008000;
        z-index:2000;
    }

    nav{

        display:none;

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        background:#ffffff;

        box-shadow:0 5px 20px rgba(0,0,0,.15);

        padding:10px 0;

        z-index:1500;

    }

    nav.active{
        display:block;
    }

    nav a{

        display:block;

        padding:15px 25px;

        margin:0;

        border-radius:0;

        box-shadow:none;

        background:none;

        text-align:left;

        border-bottom:1px solid #eee;

    }

    nav a:hover{

        background:#f5f5f5;

        color:#c00000;

        transform:none;

}
/* ABOUT US */

.about-wrapper{
    display:flex;
    flex-direction:row;
    gap:40px;
    align-items:flex-start;
    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    margin-bottom:40px;
}

.about-image{
    width:35%;
}

.about-image img{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:15px;
}

.about-content{
    width:65%;
}

.about-content h3{
    color:#c00000;
    font-size:32px;
    margin-bottom:20px;
}

.about-content p{
    line-height:1.8;
    margin-bottom:15px;
    text-align:justify;
}

.director-box{
    margin-top:20px;
    padding:20px;
    background:#f5f5f5;
    border-left:5px solid #c00000;
    border-radius:10px;
}

@media(max-width:900px){

    .about-wrapper{
        flex-direction:column;
    }

    .about-image,
    .about-content{
        width:100%;
    }

    .about-image img{
        height:300px;
    }

}
