﻿/* ================= BASIC ================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial;
    background: #f4f6f9;
    color: #333;
}

/* ================= HEADER ================= */

/* ================= NAVBAR / MENU ================= */

.top-header {
    background: #1f2a44;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    flex: 1;
}

.company {
    flex: 2;
    font: 24px "Bookman Old Style"; /*margin-left: 0;*/
}

.gap {
    flex: 1;
}
/* Logo / Company name */
.logo,
.company {
    font-size: 22px;
    font-weight: bold;
    color: white;
}

/* Menu container */
.menu {
    display: flex;
    gap: 25px;
}

    /* Menu links */
    .menu a {
        color: white;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        padding: 8px 12px;
        border-radius: 4px;
        transition: background 0.3s, color 0.3s;
    }

        /* Hover effect */
        .menu a:hover {
            background: #ffd54f;
            color: #1f2a44;
        }

        /* Active menu */
        .menu a.active {
            background: #ffd54f;
            color: #1f2a44;
        }

/* ================= RESPONSIVE MENU ================= */
@media screen and (max-width: 768px) {

    .top-header {
        flex-direction: column;
        text-align: center;
    }

    .menu {
        margin-top: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

        .menu a {
            font-size: 14px;
            padding: 6px 10px;
        }
}

.top-header {
    background: #1f2a44;
    color: white;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* ================= LOGO BOX ================= */
.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

    /* LOGO IMAGE */
    .logo-box img {
        width: 80px; /* LOGO SIZE */
        height: auto;
        max-height: 60px;
        object-fit: contain;
    }

/* COMPANY NAME */
.company-name {
    font-size: 22px;
    font-weight: bold;
    color: white;
    white-space: nowrap;
}

/* ================= SECTION ================= */
.section {
    padding: 50px 40px;
}

.light-bg {
    background: #ffffff;
}

.section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1f2a44;
}

/* ================= SLIDER ================= */
.slider-img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0,0,0,0.55);
    padding: 20px;
    border-radius: 8px;
}

    .carousel-caption h1 {
        font-size: 36px;
        font-weight: bold;
    }

    .carousel-caption p {
        font-size: 18px;
    }



/* ================= CARDS ================= */
.card-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.ui-card {
    background: white;
    width: 230px;
    padding: 25px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
}

    .ui-card:hover {
        transform: translateY(-8px);
    }

/* ================= BRANDS ================= */
.brand-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.brand-box {
    background: #c4e3ec;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    width: 220px;
    transition: 0.3s;
}

    .brand-box img {
        width: 180px;
        height: 140px;
        object-fit: contain;
        margin-bottom: 10px;
    }

    .brand-box span {
        font-weight: bold;
        color: #1f2a44;
    }

    .brand-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

/* ================= PRODUCT TABLE ================= */
.product-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto; /* CENTER */
    border-collapse: collapse;
    background: white;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .product-table th,
    .product-table td {
        border: 1px solid #ddd;
        padding: 14px 18px;
    }

    .product-table th {
        background: #abe3e2;
        color: white;
        text-align: center;
    }

    .product-table td:first-child {
        text-align: center;
        width: 80px;
    }

    .product-table tr:nth-child(even) {
        background: #f2f2f2;
    }

    .product-table tr:hover {
        background: #e8eaf6;
    }

/* ================= FOOTER ================= */
footer {
    background: #1f2a44;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 768px) {

    .slider-img {
        height: 400px;
    }

    .carousel-caption h1 {
        font-size: 24px;
    }

    .carousel-caption p {
        font-size: 14px;
    }

    .ui-card {
        width: 100%;
        max-width: 280px;
    }

    .brand-box {
        width: 160px;
    }

        .brand-box img {
            width: 120px;
            height: 90px;
        }
}

@media screen and (max-width: 480px) {

    .section {
        padding: 30px 20px;
    }

    .product-table {
        font-size: 14px;
    }

        .product-table th,
        .product-table td {
            padding: 10px;
        }
}

.contact-card {
    max-width: 100%; /* full width */
    margin: 0; /* center hata diya */
    background: transparent; /* box background hata diya */
    padding: 0; /* padding remove */
    border-radius: 0; /* rounded corners hata diye */
    box-shadow: none; /* shadow hata diya */
    text-align: left; /* LEFT ALIGN */
}
@media screen and (max-width: 768px) {
    .contact-card {
        margin-left: 20px;
        margin-right: 20px;
    }
}

