:root{
    --red:#E31E24;
    --black:#111;
    --yellow:#F9C400;
    --grey:#6B7280;
}

body{
    font-family:'Poppins',sans-serif;
}

.uganda-bar{
    height:8px;
    background:
    linear-gradient(
        to right,
        black 33%,
        #F9C400 33%,
        #F9C400 66%,
        #E31E24 66%
    );
}

.navbar{
    box-shadow:0 2px 15px rgba(0,0,0,.08);
}

.navbar-brand img{
    height:70px;
}

.hero{

    min-height:100vh;

    background:
    linear-gradient(
        rgba(0,0,0,.7),
        rgba(0,0,0,.7)
    ),
    url('../images/hero.jpg');

    background-size:cover;
    background-position:center;

    color:white;
}

.hero-card{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(10px);

    border-radius:20px;

    padding:40px;

    border:1px solid rgba(255,255,255,.2);

}

.hero-logo{
    max-width:200px;
}

.hero-title{
    font-size:4rem;
    font-weight:800;
}

.hero-title span{
    color:var(--red);
}

.hero-subtitle{
    font-size:1.2rem;
}

.btn-brand{
    background:var(--red);
    color:white;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    color:var(--red);
    font-weight:700;
}

.service-card{

    background:white;

    border-radius:15px;

    padding:30px;

    text-align:center;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    height:100%;

    transition:.3s;
}

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

.service-card i{
    font-size:2rem;
    color:var(--red);
    margin-bottom:15px;
}

.why-box{
    background:#fff;
    padding:20px;
    margin-bottom:15px;
    border-left:5px solid var(--red);
    border-radius:10px;
}

.contact-card{

    background:white;

    padding:30px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    height:100%;
}

.contact-item{

    display:flex;

    gap:15px;

    margin-bottom:25px;
}

.contact-item i{

    color:var(--red);

    font-size:1.5rem;
}

#map{
    height:500px;
    border-radius:15px;
}

.footer{

    background:#111;

    color:white;

    padding:70px 0 20px;
}

.footer-logo{
    height:90px;
}

.footer a{
    color:#ddd;
    text-decoration:none;
}

.footer a:hover{
    color:var(--yellow);
}

.social-icons a{

    margin-right:15px;

    font-size:22px;
}

.whatsapp-float{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    background:#25D366;

    color:white;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:32px;

    text-decoration:none;

    z-index:9999;
}

@media(max-width:768px){

.hero-title{
    font-size:2.5rem;
}

.hero-card{
    padding:25px;
}

#map{
    height:350px;
}

}

/* ==========================
   GENERAL
========================== */

html{
    scroll-behavior:smooth;
}

body{
    overflow-x:hidden;
}

img{
    max-width:100%;
    height:auto;
}

.container{
    max-width:1200px;
}

/* ==========================
   MOBILE IMPROVEMENTS
========================== */

@media(max-width:768px){

.hero{

    text-align:center;

    min-height:auto;

    padding-top:120px;

    padding-bottom:80px;
}

.hero-card{

    padding:25px;
}

.hero-title{

    font-size:2.3rem;
}

.hero-subtitle{

    font-size:1rem;
}

.hero-logo{

    max-width:150px;
}

.btn-brand,
.btn-outline-light{

    width:100%;

    margin-bottom:10px;
}

.navbar-brand img{

    height:50px;
}

.service-card{

    margin-bottom:20px;
}

.contact-item{

    flex-direction:column;
}

.footer{

    text-align:center;
}

.social-icons{

    margin-top:20px;
}

}

/* ==========================
   FLYER SECTION
========================== */

.flyer-section{

    background:#f8f9fa;

    padding:100px 0;
}

.flyer-card{

    background:white;

    max-width:1080px;

    margin:auto;

    padding:60px;

    border-radius:20px;

    box-shadow:0 15px 50px rgba(0,0,0,.1);
}

.flyer-header{

    text-align:center;

    margin-bottom:50px;
}

.flyer-logo{

    max-width:180px;

    margin-bottom:20px;
}

.flyer-header h1{

    font-size:3rem;

    font-weight:800;

    color:var(--red);
}

.flyer-services{

    margin-top:40px;
}

.flyer-services h2{

    text-align:center;

    margin-bottom:30px;

    color:var(--red);
}

.flyer-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:20px;
}

.flyer-grid div{

    padding:20px;

    border:1px solid #ddd;

    border-radius:10px;

    text-align:center;

    background:#fafafa;

    font-weight:600;
}

.flyer-contact{

    margin-top:50px;

    text-align:center;
}

.flyer-contact h2{

    color:var(--red);

    margin-bottom:20px;
}

.flyer-contact p{

    margin-bottom:10px;
}

/* ==========================
   FLYER MOBILE
========================== */

@media(max-width:768px){

.flyer-card{

    padding:25px;
}

.flyer-grid{

    grid-template-columns:1fr;
}

.flyer-header h1{

    font-size:2rem;
}

}

/* ==========================
   PRINT MODE
========================== */

@media print{

body{

    background:white;
}

.navbar,
.whatsapp-float,
.footer{

    display:none !important;
}

.hero{

    min-height:auto;

    background:white !important;

    color:black;
}

.hero-card{

    background:white;

    border:none;

    box-shadow:none;
}

.flyer-section{

    padding:0;
}

.flyer-card{

    max-width:100%;

    width:100%;

    box-shadow:none;

    border:none;

    margin:0;

    padding:20px;
}

#contact,
#whyus,
#about{

    display:none;
}

}

/* ===========================
   A4 FLYER DESIGN
=========================== */

.flyer-page{

    background:#e9ecef;

    padding:40px 0;
}

.flyer-container{

    width:210mm;

    min-height:297mm;

    margin:auto;

    background:#fff;

    padding:15mm;

    box-shadow:0 0 30px rgba(0,0,0,.15);

    position:relative;
}

.flyer-header{

    text-align:center;

    border-bottom:4px solid #E31E24;

    padding-bottom:20px;

    margin-bottom:20px;
}

.flyer-logo{

    max-width:140px;

    margin-bottom:15px;
}

.flyer-title{

    font-size:2.2rem;

    font-weight:800;

    color:#E31E24;

    margin-bottom:10px;
}

.flyer-subtitle{

    font-size:1rem;

    color:#555;
}

/* SERVICES */

.flyer-services{

    margin-top:25px;
}

.flyer-services h2{

    text-align:center;

    color:#E31E24;

    margin-bottom:20px;
}

.flyer-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:10px;
}

.flyer-box{

    border:1px solid #ddd;

    border-radius:8px;

    padding:12px;

    text-align:center;

    min-height:100px;

    font-size:.9rem;
}

.flyer-box i{

    display:block;

    font-size:1.5rem;

    margin-bottom:8px;

    color:#E31E24;
}

/* WHY CHOOSE US */

.flyer-why{

    margin-top:25px;
}

.flyer-why h2{

    color:#E31E24;

    text-align:center;

    margin-bottom:15px;
}

.flyer-list{

    columns:2;

    list-style:none;

    padding:0;
}

.flyer-list li{

    padding:6px 0;
}

/* CONTACT */

.flyer-contact{

    margin-top:25px;

    text-align:center;

    border-top:2px solid #ddd;

    padding-top:20px;
}

.flyer-contact h2{

    color:#E31E24;

    margin-bottom:15px;
}

.flyer-contact p{

    margin-bottom:8px;
}

.flyer-contact i{

    color:#E31E24;
}

/* SOCIALS */

.flyer-socials{

    margin-top:15px;
}

.flyer-socials a{

    color:#333;

    margin:0 8px;

    font-size:1.5rem;
}

/* QR */

.flyer-qr{

    text-align:center;

    margin-top:15px;
}

.flyer-qr img{

    width:120px;
}

/* BUTTONS */

.flyer-actions{

    text-align:center;

    margin-top:30px;
}

/* PRINT MODE */

@page{

    size:A4 portrait;

    margin:0;
}

@media print{

    body{

        background:white;
    }

    .navbar,
    .footer,
    .whatsapp-float,
    .flyer-actions{

        display:none !important;
    }

    .flyer-page{

        padding:0;
        margin:0;
    }

    .flyer-container{

        width:210mm;

        height:297mm;

        box-shadow:none;

        margin:0;

        padding:12mm;
    }

}

/* ==========================
   SAFE PRINT OPTIMIZATION
========================== */

@media print {

    .navbar,
    .footer,
    .whatsapp-float,
    .flyer-actions {
        display: none !important;
    }

    body {
        background: white !important;
    }

    .flyer-container {
        box-shadow: none !important;
        margin: 0 !important;
    }

    .flyer-logo {
        max-width: 100px !important;
    }

    .flyer-title {
        font-size: 1.8rem !important;
    }

    .flyer-box {
        padding: 8px !important;
        min-height: 70px !important;
        font-size: 0.8rem !important;
    }

    .flyer-box i {
        font-size: 1rem !important;
    }

    .flyer-contact p {
        margin-bottom: 4px !important;
        font-size: 0.85rem !important;
    }

    .flyer-qr img {
        max-width: 80px !important;
    }

}

/*===================
WHY CHOOSE US 
======================*/
.trust-box{

    background:#fff;

    padding:25px;

    border-radius:15px;

    height:100%;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.trust-box:hover{

    transform:translateY(-5px);
}

.trust-box i{

    font-size:2rem;

    color:var(--red);

    margin-bottom:15px;
}

.trust-box h5{

    font-weight:600;

    margin-bottom:10px;
}

/* NAV BAR */
.navbar .nav-link{

    font-weight:500;

    color:#333 !important;

    margin-left:10px;

    transition:.3s;
}

.navbar .nav-link:hover{

    color:var(--red) !important;
}

.navbar .nav-link i{

    color:var(--red);
}

.navbar .btn-brand{

    padding:8px 16px;

    border-radius:30px;
}

@media(max-width:768px){

    .navbar .nav-link{

        padding:12px 0;
    }

    .navbar .btn-brand{

        margin-top:10px;
        width:100%;
    }

}