* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

/* Navbar */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    height: 15vh;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.left img {
    width: 150px;
    height: auto;
    display: block;
}

/* Menu */
.right ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.right ul li a {
    text-decoration: none;
    color: #222;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.right ul li a:hover {
    color: #e30a0a;
    border-bottom: 2px solid #e30a0a;
}
/* Banner */
.ban {
    position: relative;
}

.img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.bname {
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translateY(-50%);
    color: white;
}

.bname h1 {
    font-size: 55px;
    color: black;
    
}
.bname h1 b{
    color: red;
    font-size: 65px;
     font-family: Arial, Helvetica, sans-serif;
    

}
.bname p {
    font-size: 22px;
}

/* Cards */
.con1 {
    max-width: 1200px;
    margin: 30px auto;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.card1,
.card2 {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
    text-align: center;
    overflow: hidden;
}

.card1 img,
.card2 img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    padding: 20px;
}

.card1 h1,
.card2 h1 {
    padding: 15px;
    font-size: 22px;
}

/* Tablet */
@media (max-width: 992px) {
    .con1 {
        grid-template-columns: 1fr;
    }

    .bname h1 {
        font-size: 42px;
    }

    .bname p {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .nav {
        
        flex-direction: column;
        gap: 15px;
    }

    .right ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .img img {
        height: 300px;
    }

    .bname {
        left: 5%;
    }

    .bname h1 {
        font-size: 28px;
    }

    .bname p {
        font-size: 14px;
    }

    .card1 img,
    .card2 img {
        height: 280px;
        padding: 10px;
    }

    .card1 h1,
    .card2 h1 {
        font-size: 18px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .navbar {
        padding: 10px;
    }

    .left img {
        width: 120px;
    }

    .right ul li a {
        font-size: 14px;
    }

    .bname h1 {
        font-size: 22px;
    }

    .bname p {
        font-size: 12px;
    }

    .card1 img,
    .card2 img {
        height: 220px;
    }
}
/* Mobile Responsive */
@media screen and (max-width: 768px) {

    .nav {
        flex-direction: column;
        text-align: center;
    }

    .right ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .left img {
        width: 120px;
    }

    .img img {
        height: 250px;
    }

    .bname {
        left: 5%;
        top: 50%;
    }

    .bname h1 {
        font-size: 28px;
    }

    .bname p {
        font-size: 14px;
    }

    .con1 {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .card1,
    .card2 {
        width: 100%;
        height: auto;
    }

    .card1 img,
    .card2 img,
    .c3 img,
    .c4 img,
    .c5 img,
    .c6 img,
    .c8 img,
    .c9 img {
        width: 100%;
        height: auto;
        margin-left: 0 ;
        padding: 10px;
        object-fit: contain;
    }

    .card1 h1,
    .card2 h1 {
        font-size: 18px;
        padding-bottom: 15px;
    }
}

.card3 {
    width: 205%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-align: center;
}

.image-box {
    display: flex;
    width: 100%;
    gap: 250px;
}
.image-box .img1{
    margin-left:90px;
    padding: 20px;
}

.image-box img {
    width: 30%;
    height: auto;
    object-fit: cover;
    display: block;
}

.card3 h1 {
    padding: 15px;
    font-size: 22px;
    margin-bottom: 30px;
    color: #333;
}

/* --------------------------------------------------------------- */

/* ================= TABLET ================= */
@media (max-width: 992px) {

    .con1 {
        grid-template-columns: 1fr;
    }

    .bname h1 {
        font-size: 42px;
    }

    .bname p {
        font-size: 18px;
    }

    .card3 {
        width: 100%;
    }

    .image-box {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .image-box img {
        width: 80%;
    }
}

/* ================= MOBILE ================= */
 @media (max-width: 768px) {

.nav {
        height: auto;
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }

    .left img {
        width: 120px;
    }

    .right ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .right ul li a {
        font-size: 16px;
    }



    .left img {
        width: 120px;
    }
/*    .nav {
        flex-direction: column;
        text-align: center;
        height: auto;
    }

    .right ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .left img {
        width: 120px;
    }

    .img img {
        height: 250px;
    } */

    .bname {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .bname h1 {
        font-size: 28px;
    }

    .bname p {
        font-size: 14px;
    }

    .con1 {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .card1 img,
    .card2 img {
        height: auto;
    }

    .card1 h1,
    .card2 h1 {
        font-size: 18px;
    }

    .image-box {
        flex-direction: column;
        gap: 15px;
    }

    .image-box img {
        width: 100%;
    }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {

    .left img {
        width: 100px;
    }

    .right ul li a {
        font-size: 14px;
    }

    .bname h1 {
        font-size: 22px;
    }

    .bname p {
        font-size: 12px;
    }

    .card1 img,
    .card2 img {
        height: 200px;
    }

    .card3 h1 {
        font-size: 18px;
    }
}
