/* =========================
   RESET
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --primary:#0b1f3a;
    --secondary:#071222;
    --accent:#d4af37;
    --light:#f5f7fa;
    --white:#ffffff;
    --text:#1a1a1a;
    --shadow:0 6px 20px rgba(0,0,0,0.08);
}

body{
    font-family:"Poppins",sans-serif;
    background:var(--light);
    color:var(--text);
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

ul{
    list-style:none;
}

a{
    text-decoration:none;
}

.top-bar{
    background:var(--secondary);
    color:#fff;
    text-align:center;
    padding:10px;
    font-size:13px;
}

.header{
    position:sticky;
    top:0;
    z-index:999;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 5%;

    background:var(--primary);
}

.logo-area{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo{
    width:58px;
    height:58px;
    border-radius:50%;
}

.logo-area h2{
    color:#fff;
    font-size:18px;
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:8px;
}

.nav-menu li{
    position:relative;
}

.nav-menu li a{
    color:#fff;
    padding:12px 15px;
    display:block;
    transition:0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active{
    color:var(--accent);
    
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);

}

/* Animated Underline */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 6px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: calc(100% - 20px);
}




.apply-btn{
    background:var(--accent);
    color:#111 !important;
    border-radius:8px;
    font-weight:600;
}

.btn:hover{ 
background: var(--primary);
color: white;
}

.dropdown-btn{
    display:none;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;

    min-width:220px;

    background:#fff;

    border-radius:10px;

    box-shadow:var(--shadow);

    opacity:0;
    visibility:hidden;

    transform:translateY(10px);

    transition:0.3s ease;
}

.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.dropdown-menu li a{
    color:var(--primary);
}

.slider{
    position:relative;
}

.slide{
    display:none;
    position:relative;
}

.slide.active{
    display:block;
}

.slide img{
    height:85vh;
    object-fit:cover;
}

.caption{
    position:absolute;
    left:5%;
    bottom:8%;

    max-width:600px;

    background:rgba(7,18,34,0.75);

    color:#fff;

    padding:30px;

    border-left:5px solid var(--accent);

    border-radius:10px;
}

.caption h1{
    font-size:46px;
    margin-bottom:15px;
}

.caption p{
    margin-bottom:20px;
}

.btn{
    display:inline-block;

    background:var(--accent);
    color:#111;

    padding:12px 24px;

    border-radius:8px;

    font-weight:600;
}

.core-functions{
    text-align:center;
    padding:60px 20px 20px;
}

.core-functions p{
    text-align: justify;
}
.features{
    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:20px;

    padding:20px 5% 60px;
}

.feature-card,
.card,
.sidebar{

    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:var(--shadow);

}




.feature-card{
    text-align:center;
}

.feature-icon{
    font-size:40px;
    margin-bottom:15px;
}

.grid{
    display:grid;
    grid-template-columns:2fr 1fr;

    gap:25px;

    padding:20px 5% 60px;
}

.news{
    background:#f1f3f6;

    padding:15px;

    margin:12px 0;

    border-left:4px solid var(--primary);

    transition:0.3s ease;

}

.news a{
    color:var(--primary);
    font-size: 15px;
}

.news:hover{
    transform:translateX(4px);
    
}

.announcements a{
    color:var(--primary);
    font-size: 16px;
}

.announcements a:hover{
    font-size: 16.5px;
}

.gallery-section{
    padding:60px 5%;
    text-align:center;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:20px;

    margin-top:35px;
}

.gallery-item{
    overflow:hidden;
    border-radius:12px;
}

.gallery-item img{
    height:400px;
    object-fit:cover;
    transition:0.4s ease;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:20px;

    background:var(--primary);

    color:#fff;

    text-align:center;

    padding:70px 5%;
}

.stat h2{
    color:var(--accent);
    font-size:42px;
}

.footer{

    background: linear-gradient(
        rgba(1, 18, 26, 0.904),
        rgba(1, 23, 34, 0.753)
    ),
    url("Independence Arch at sunset, Accra.png") center/cover no-repeat;

    color: #ccc;
    padding-top: 60px;

}

.footer-content{
    display:grid;
    grid-template-columns:repeat(3,1fr);

    gap:30px;

    padding:60px 5%;
}

.footer-content h3{
    color:var(--accent);
    margin-bottom:15px;
}

.footer-content small,
.footer-content p{
    display:block;
    margin-bottom:10px;
}

.footer-content a{
    color:#fff;
}

.footer-bottom{
    text-align:center;
    padding:18px;
    background:#020c18;
}

.menu-toggle{
    display:none;

    background:none;
    border:none;

    color:#fff;

    font-size:32px;

    cursor:pointer;
}


/* =========================
   ABOUT HERO
========================= */
.about-hero {
    background: linear-gradient(rgba(6, 39, 77, 0.562), rgba(11, 39, 77, 0.616)),
                url('aboutus.png') center/cover;
    color: white;
    text-align: center;
    padding: 110px 20px;
}

.about-hero h1 {
    font-size: 45px;
    margin-bottom: 10px;
}

/* =========================
   ABOUT SECTION
========================= */
.about-section {
    padding: 60px 30px;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.about-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* =========================
   STAFF SECTION
========================= */
.staff-section {
    padding: 40px 30px;
    text-align: center;
}

.staff-section h2 {
    margin-bottom: 25px;
    color: var(--primary);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.staff-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
}

.staff-card img {
    width: 100%;
    height: 250px;
    object-fit: fill;
    display: block;
    margin: auto;
}

.staff-info {
    padding: 15px;
    text-align: center;
}

.staff-info h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

.role {
    font-size: 13px;
    color: gray;
    margin-bottom: 10px;
}

  /* =========================
           SOCIALS
        ========================= */
        .social-links {

            display: flex;

            gap: 15px;

            margin-top: 25px;
            padding-left: 80px;
        }

        .social-links a {

            width: 45px;
            height: 45px;

            background: var(--primary);

            color: white;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 50%;

            text-decoration: none;

            font-size: 20px;

            transition: 0.3s ease;
        }

        .social-links a:hover {

            background: var(--accent);

            color: #111;

            transform: translateY(-3px);
        }


/* =========================
   TABLET
========================= */
@media(max-width:992px){

    .features{
        grid-template-columns:repeat(2,1fr);
    }

    .stats{
        grid-template-columns:repeat(2,1fr);
    }

    .grid{
        grid-template-columns:1fr;
    }

}

/* =========================
   MOBILE MENU
========================= */
@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav-menu{
        position:fixed;

        top:0;
        right:-100%;

        width:100%;
        max-width:330px;

        height:100vh;

        background:linear-gradient(
            180deg,
            #061529,
            #0b1f3a
        );

        flex-direction:column;
        align-items:flex-start;

        padding:90px 20px 30px;

        transition:0.35s ease;

        overflow-y:auto;

        z-index:1000;
    }

    .nav-menu.show{
        right:0;
    }

    .nav-menu li{
        width:100%;
    }

    .nav-menu li a{
        width:100%;
        padding:15px;
    }

    .dropdown{
        position:relative;
    }

    .dropdown-btn{
        display:flex;

        position:absolute;
        top:8px;
        right:10px;

        width:34px;
        height:34px;

        border:none;
        border-radius:6px;

        background:rgba(255,255,255,0.08);

        color:#fff;

        align-items:center;
        justify-content:center;

        cursor:pointer;
    }

    .dropdown-menu{
        position:static;

        opacity:1;
        visibility:visible;

        transform:none;

        background:rgba(255,255,255,0.04);

        box-shadow:none;

        max-height:0;

        overflow:hidden;

        transition:max-height 0.35s ease;
    }

    .dropdown.active .dropdown-menu{
        max-height:400px;
    }

    .dropdown-menu li a{
        color:#e8edf5;
        padding-left:30px;
    }

    .caption{
        left:20px;
        right:20px;
        bottom:20px;
    }

    .caption h1{
        font-size:28px;
    }

    .features,
    .stats,
    .footer-content{
        grid-template-columns:1fr;
    }


    .about-grid {
        grid-template-columns: 1fr;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 32px;
    }


  .news-container {
                grid-template-columns: 1fr;
                padding: 20px;
            }

            .news-hero h1 {
                font-size: 32px;
            }


}

/* =========================
   EXTRA SMALL DEVICES
========================= */
@media(max-width:480px){

    .logo-area h2{
        font-size:14px;
    }

    .slide img{
        height:65vh;
    }

    .caption h1{
        font-size:22px;
    }

    .caption p{
        font-size:14px;
    }

    .gallery-item img{
        height:240px;
    }

}




.month{
    margin-bottom:50px;
    background:#fff;
    padding:20px;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.month h2{
    background:#003366;
    color:white;
    padding:12px;
    border-radius:5px;
}

.calendar-table{
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
}

.calendar-table th{
    background:#00509e;
    color:white;
    padding:12px;
    border:1px solid #ddd;
}

.calendar-table td{
    border:1px solid #ddd;
    padding:10px;
    vertical-align:top;
}

.date{
    width:50%;
    font-weight:bold;
}

.event{
    width:50%;
}

.holiday{
    color:rgb(1, 35, 46);
    font-weight:bold;
}

tr:nth-child(even){
    background:#f9f9f9;
}

@media(max-width:768px){

    .calendar-table,
    .calendar-table tbody,
    .calendar-table tr,
    .calendar-table td,
    .calendar-table th{
        display:block;
        width:100%;
    }

    .calendar-table tr{
        margin-bottom:15px;
    }

    .calendar-table td{
        border:none;
        border-bottom:1px solid #ddd;
    }
}

/* WhatsApp Floating Button */
.whatsapp-container{
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

/* Chat Text Box */
.whatsapp-text{
    background: white;
    color: #333;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    font-size: 14px;
    width: 220px;
    line-height: 1.5;
    animation: fadeIn 1s ease;
}

/* WhatsApp Button */
.whatsapp-button{
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 38px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    position: relative;
}

/* Pulse Animation */
.whatsapp-button::before{
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    border-radius:50%;
    background:#25D366;
    animation:pulse 2s infinite;
    z-index:-1;
}

/* Hover Effect */
.whatsapp-button:hover{
    transform: scale(1.1);
    background:#1ebe5d;
}

/* Notification Badge */
.notification{
    position:absolute;
    top:-5px;
    right:-5px;
    width:22px;
    height:22px;
    background:red;
    color:white;
    border-radius:50%;
    font-size:12px;
    display:flex;
    justify-content:center;
    align-items:center;
    border:2px solid white;
}

/* Animations */
@keyframes pulse{
    0%{
        transform:scale(1);
        opacity:0.7;
    }

    70%{
        transform:scale(1.4);
        opacity:0;
    }

    100%{
        transform:scale(1);
        opacity:0;
    }
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Mobile Responsive */
@media(max-width:768px){

    .whatsapp-button{
        width:60px;
        height:60px;
        font-size:32px;
    }

    .whatsapp-text{
        width:190px;
        font-size:13px;
    }


    
.gallery-grid{

    grid-template-columns: repeat(1, 1fr);
    gap: 20px;

}

 .gallery-item img{
    height:600px;
    width: 100%;
  object-fit:fill;
}

}