*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    color:#1f2937;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 8%;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(10px);
    position:fixed;
    width:100%;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    z-index:1000;
}

html{
    scroll-behavior:smooth;
}

.logo img{
    height:90px;
}

.nav-links{
    display:flex;
    gap:30px;
    list-style:none;
}

.nav-links a{
    text-decoration:none;
    color:#111827;
    font-weight:500;
}

.btn-primary{
    background:#0D9A9A;
    color:white;
    padding:12px 24px;
    border-radius:8px;
    text-decoration:none;
    border:none;
    cursor:pointer;
}

.btn-secondary{
    border:2px solid white;
    color:white;
    padding:12px 24px;
    border-radius:8px;
    text-decoration:none;
}

.hero{
    height:100vh;
    background:
    linear-gradient(
    rgba(0,0,0,.55),
    rgba(0,0,0,.55)),
    url('../images/nelson-mandela-bay.jpg');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    padding-top:120px;
}

.hero-content{
    max-width:800px;
}

.hero h1{
    font-size:4rem;
    margin-bottom:20px;
}

.hero p{
    font-size:1.2rem;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
}

.section{
    padding:100px 8%;
}

.gray{
    background:#f8fafc;
}

.container{
    max-width:1200px;
    margin:auto;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:50px;
}

.card{
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.btn-primary:hover{
    transform:translateY(-2px);
}

.btn-primary{
    transition:.3s;
}

.card h3{
    margin-bottom:15px;
    color:#0D9A9A;
}

form{
    max-width:500px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

input{
    padding:15px;
    border:1px solid #d1d5db;
    border-radius:8px;
}

footer{
    background:#0f172a;
    color:white;
    text-align:center;
    padding:50px;
}

.announcement{
    background:#0D9A9A;
    color:white;
    text-align:center;
    padding:10px;
    font-weight:600;
    font-size:.9rem;
    line-height:1.4;
}

.tagline{
    display:inline-block;
    background:rgba(255,255,255,.15);
    padding:10px 20px;
    border-radius:30px;
    margin-bottom:20px;
    font-weight:600;
    backdrop-filter:blur(10px);
}

.counter-section{
    text-align:center;
    padding:80px 20px;
}

.counter{
    font-size:4rem;
    color:#0D9A9A;
    font-weight:700;
}

.counter small{
    display:block;
    font-size:1rem;
    color:#666;
}

.checkbox{
    display:flex;
    gap:10px;
    align-items:flex-start;
    font-size:.9rem;
}

.menu-toggle{
    display:none;
    font-size:2rem;
    cursor:pointer;
    color:#0D9A9A;
}

@media (max-width: 768px){

    .menu-toggle{
        display:block;
    }

    .nav-links{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:white;
        flex-direction:column;
        text-align:center;
        gap:0;
        display:none;
        box-shadow:0 10px 20px rgba(0,0,0,.08);
    }

    .nav-links.active{
        display:flex;
    }

    .nav-links li{
        padding:18px;
        border-bottom:1px solid #eee;
    }

    .navbar .btn-primary{
        display:none;
    }

}

@media (max-width:768px){

    .hero{
        padding:0 20px;
    }

    .hero h1{
        font-size:2.3rem;
        line-height:1.2;
    }

    .hero p{
        font-size:1rem;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .hero-buttons a{
        width:100%;
        max-width:300px;
        text-align:center;
    }

}

@media (max-width:768px){

    .logo img{
        height:65px;
    }

}

@media (max-width:768px){

    .section{
        padding:70px 20px;
    }

    .cards{
        grid-template-columns:1fr;
    }

}

@media (max-width:768px){

    .counter{
        font-size:2.8rem;
    }

}

