/* ===========================
   TPIN GUIDE ZAMBIA
   style.css
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f7f9fc;
    color:#333;
    line-height:1.7;
    padding:0 220px;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===================
HEADER
=================== */

header{
    position:fixed;
    top:0;
    width:100%;
    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    z-index:999;
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo{
    font-size:1.8rem;
    font-weight:700;
    color:#222;
}

.logo span{
    color:#138A36;
}

nav ul{
    display:flex;
    gap:30px;
}

nav a{
    color:#444;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:#138A36;
}

.btn{
    background:#138A36;
    color:#fff;
    padding:12px 22px;
    border-radius:50px;
    transition:.3s;
    font-weight:500;
}

.btn:hover{
    background:#0d6b29;
}

/* ===================
HERO
=================== */

.hero{
    padding:150px 0 100px;
}

.hero-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:60px;
}

.hero-text h1{
    font-size:3.2rem;
    margin-bottom:20px;
    color:#222;
}

.hero-text p{
    color:#666;
    font-size:1.05rem;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
    padding:14px 28px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.primary-btn{
    background:#138A36;
    color:#fff;
}

.primary-btn:hover{
    background:#0e722d;
}

.secondary-btn{
    border:2px solid #138A36;
    color:#138A36;
}

.secondary-btn:hover{
    background:#138A36;
    color:#fff;
}

.hero-image img{
    border-radius:18px;
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

/* ===================
SECTION TITLES
=================== */

section{
    padding:90px 0;
}

section h2{
    text-align:center;
    font-size:2.3rem;
    margin-bottom:50px;
    color:#222;
}

/* ===================
FEATURES
=================== */

.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:#fff;
    padding:35px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.card:hover{
    transform:translateY(-8px);
}

.icon{
    font-size:3rem;
    margin-bottom:15px;
}

.card h3{
    margin-bottom:15px;
}

/* ===================
GUIDE
=================== */

.steps{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
}

.step{
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    text-align:center;
}

.step span{
    width:60px;
    height:60px;
    background:#138A36;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    margin:auto;
    font-size:1.3rem;
    font-weight:700;
    margin-bottom:20px;
}

.step h3{
    margin-bottom:12px;
}

.center{
    text-align:center;
    margin-top:50px;
}

.visit-btn{
    display:inline-block;
    background:#138A36;
    color:#fff;
    padding:16px 35px;
    border-radius:50px;
    transition:.3s;
}

.visit-btn:hover{
    background:#0c6827;
}

/* ===================
ADVERTISEMENT
=================== */

.side-ads{
    position:fixed;
    top:140px;
    width:190px;
    display:grid;
    gap:20px;
    padding:0 10px;
    z-index:10;
}

.left-ads{
    left:0;
}

.right-ads{
    right:0;
}

.ad-panel{
    background:#fff;
    border:2px dashed #bbb;
    padding:22px;
    text-align:center;
    font-size:1rem;
    border-radius:15px;
    color:#666;
    box-shadow:0 12px 25px rgba(0,0,0,.08);
}

.vertical-ad{
    writing-mode:vertical-rl;
    transform:rotate(180deg);
    padding:20px 12px;
    min-height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:0.95rem;
}

.horizontal-ad{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:120px;
}

.wide-ad{
    padding:28px 35px;
    font-size:1.15rem;
}

.content-ad-grid{
    display:grid;
    gap:20px;
    margin-top:30px;
}

.feature-banner{
    padding:30px 0 0;
}

.ads-box{
    background:#fff;
    border:2px dashed #bbb;
    padding:60px;
    text-align:center;
    font-size:1.4rem;
    border-radius:15px;
    color:#888;
}

/* ===================
SERVICES
=================== */

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.service{
    background:#fff;
    padding:35px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.service:hover{
    transform:translateY(-6px);
}

.service h3{
    margin-bottom:15px;
}

/* ===================
FAQ
=================== */

.faq-item{
    background:#fff;
    padding:30px;
    border-radius:12px;
    margin-bottom:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.07);
}

.faq-item h3{
    margin-bottom:15px;
    color:#138A36;
}

/* ===================
DISCLAIMER
=================== */

.disclaimer{
    background:#138A36;
    color:#fff;
}

.disclaimer h2{
    color:#fff;
}

/* ===================
FOOTER
=================== */

footer{
    background:#202124;
    color:#ddd;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

footer h3{
    margin-bottom:18px;
    color:#fff;
}

footer ul li{
    margin-bottom:10px;
}

footer a{
    color:#ddd;
}

footer a:hover{
    color:#2ecc71;
}

.copyright{
    text-align:center;
    padding:30px 0;
    margin-top:50px;
    border-top:1px solid rgba(255,255,255,.15);
    color:#aaa;
}

/* ===================
ANIMATION
=================== */

.card,
.step,
.service,
.hero-image img{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(25px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ===================
RESPONSIVE
=================== */

@media(max-width:1200px){
    body{
        padding:0 20px;
    }

    .side-ads{
        display:none;
    }
}

@media(max-width:992px){

.hero-content{
    grid-template-columns:1fr;
    text-align:center;
}

.hero-image{
    order:-1;
}

.hero-text h1{
    font-size:2.5rem;
}

.hero-buttons{
    justify-content:center;
}

header .btn{
    display:none;
}

}

@media(max-width:768px){

header .container{
    flex-direction:column;
    height:auto;
    padding:20px 0;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
    margin-top:20px;
}

.hero{
    padding-top:220px;
}

.hero-text h1{
    font-size:2rem;
}

section{
    padding:70px 0;
}

section h2{
    font-size:1.8rem;
}

}

@media(max-width:500px){

.container{
    width:94%;
}

.primary-btn,
.secondary-btn,
.visit-btn{
    width:100%;
    text-align:center;
}

.ads-box{
    padding:40px 20px;
}

.card,
.step,
.service,
.faq-item{
    padding:25px;
}

.hero-text h1{
    font-size:1.8rem;
}

}