@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
}





/* NAVBAR */
.navbar {
    height: 12vh;
    background: #fff;
    padding: 1vw 3vw;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 7.1vw;
    overflow: hidden;
}

.logo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    color: #007bff;
}

.whatsapp {
    text-decoration: none;
    color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5vw;
    font-family: "poppins";
    font-weight: 600;
}

.whatsapp i {
    font-size: 2vw;
}


.blog-section {
    padding: 70px 20px;
    background: #f8f9fc;
}

.blog-section .container {
    max-width: 1200px;
    margin: auto;
}

.blog-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #111;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    display: block;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.blog-card:hover img {
    transform: scale(1.08);
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 1vw;
    color: #222;
    line-height: 1.5;
}



/* FOOTER */
.footer {
    font-size: 14px;
    padding: 15px;
}




/* responsive design  */

/* ================= MOBILE 480px ================= */
@media (max-width: 480px) {

    .navbar {
        height: auto;
        padding: 10px 15px;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo {
        width: 8.5vw;
        /* fixed size better for mobile */
    }

    .nav-links {
        gap: 15px;
        font-size: 14px;
    }

    /* Hide Home & About on Mobile */
    .hide-mobile {
        display: none;
    }

    .whatsapp {
        font-size: 13px;
        gap: 5px;
    }

    .whatsapp i {
        font-size: 18px;
    }
}


/* ============================= */
/* Mobile Responsive (480px) */
/* ============================= */

@media (max-width: 480px) {

    .blog-section {
        padding: 40px 15px;
    }

    .blog-section h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card {
        border-radius: 12px;
    }

    .blog-image {
        height: 170px;
    }

    .blog-content {
        padding: 15px;
    }

    /* FIXED FONT SIZE */
    .blog-content h3 {
        font-size: 16px;
        line-height: 1.4;
    }

    .footer {
        font-size: 12px;
        padding: 12px;
        text-align: center;
    }
}

