/* ===============================
   ANVIDHA THEME STYLESHEET
   Clean, Responsive & Consistent
   =============================== */

/* ---------- Global ---------- */
body {
    font-family: "Poppins", sans-serif;
    background-color: #f8fbff;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Brand Color Palette */
:root {
    --primary-color: #0b6095;
    --dark-color: #084d78;
    --accent-color: #ffc107;
    --light-bg: #f8f9fa;
}

/* ---------- Navbar ---------- */
.navbar {
    background-color: var(--primary-color) !important;
}

    .navbar .navbar-brand,
    .navbar .nav-link,
    .navbar .dropdown-item {
        color: #fff !important;
        font-weight: 500;
    }

        .navbar .nav-link:hover,
        .navbar .dropdown-item:hover {
            color: #d1e7ff !important;
        }

    /* Dropdown animation */
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }

.dropdown-menu {
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 8px;
}

    .dropdown-menu a {
        color: #fff !important;
        transition: background-color 0.2s ease;
    }

        .dropdown-menu a:hover {
            background-color: var(--dark-color);
        }

/* Search Bar */
.search-bar {
    width: 450px;
    max-width: 100%;
}

/* ---------- Hero Section ---------- */
.hero-section {
    background: linear-gradient(135deg, #001933 0%, #003d7a 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

    .hero-section h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .hero-section p {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }

    .hero-section .btn-primary {
        background-color: var(--accent-color);
        border: none;
        border-radius: 25px;
        padding: 10px 25px;
        color: #000;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .hero-section .btn-primary:hover {
            background-color: #ffca2c;
            transform: translateY(-3px);
        }

/* ---------- About Section ---------- */
.about-section {
    background-color: #fff;
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
}

    .section-title span {
        color: var(--dark-color);
    }

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
}

.about-heading {
    color: var(--primary-color);
    font-weight: 600;
}

.about-text {
    line-height: 1.7;
    color: #444;
}

.about-image {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .about-image:hover {
        transform: scale(1.03);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

/* ---------- Core Values ---------- */
.value-box {
    background: #fff;
    border: 1px solid #e3e3e3;
    text-align: center;
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .value-box:hover {
        background-color: var(--primary-color);
        color: #fff;
        transform: translateY(-5px);
    }

    .value-box img {
        width: 60px;
        filter: brightness(0.7);
    }

    .value-box:hover img {
        filter: brightness(2);
    }

/* ---------- Call to Action ---------- */
.cta-section {
    margin-top: 60px;
    padding: 50px 20px;
    background: linear-gradient(to right, var(--primary-color), var(--dark-color));
    color: #fff;
    text-align: center;
    border-radius: 20px;
}

    .cta-section h3 {
        font-size: 1.8rem;
        font-weight: 600;
    }

    .cta-section p {
        font-size: 1rem;
        margin-top: 10px;
    }

    .cta-section .btn-primary {
        background-color: var(--accent-color);
        color: #000;
        font-weight: 600;
        border-radius: 25px;
        padding: 10px 25px;
        transition: background-color 0.3s ease;
    }

        .cta-section .btn-primary:hover {
            background-color: #ffca2c;
        }

/* ---------- Footer ---------- */
footer {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 14px;
    padding: 15px 0;
    text-align: center;
}

    footer p {
        margin: 0;
    }

/* ---------- Responsive Design ---------- */
@media (max-width: 992px) {
    .search-bar {
        width: 100%;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .about-section img {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .cta-section h3 {
        font-size: 1.4rem;
    }

    .hero-section {
        padding: 60px 20px;
    }
}

/* === PRODUCT PAGE THEME (ANVIDHA BLUE) === */
body {
    font-family: "Poppins", sans-serif;
    background-color: #f8fbff;
    color: #333;
}

/* Section Title */
.custom-heading {
    color: #0b6095;
    font-weight: 700;
    border-bottom: 3px solid #0b6095;
    display: inline-block;
    padding-bottom: 8px;
}

/* --- FILTERS PANEL --- */
.filters-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.1);
    height: fit-content;
}

    .filters-section h5,
    .filters-section h6 {
        color: #0b6095;
        font-weight: 600;
    }

.form-check-label {
    margin-left: 5px;
    font-size: 0.95rem;
}

.separator {
    border-left: 1px solid #ddd;
}

@media (max-width: 767px) {
    .separator {
        display: none;
    }
}

/* --- PRODUCT CARDS --- */
#productList {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Make sure cards align perfectly */
.product {
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
}

@media (max-width: 992px) {
    .product {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .product {
        flex: 1 1 100%;
    }
}

.products-card {
    background-color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

    .products-card:hover {
        transform: translateY(-5px);
        box-shadow: 0px 5px 15px rgba(0,0,0,0.15);
    }

/* --- FIX IMAGE ALIGNMENT --- */
.products-image {
    width: 100%;
    height: 220px; /* fixed height for uniformity */
    object-fit: cover; /* ensures image fills without distortion */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* --- CARD BODY --- */
.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.products-title {
    color: #0b6095;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.products-price {
    font-weight: 600;
    color: #0b6095;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9rem;
    margin-left: 5px;
}

/* --- BUTTON STYLING --- */
.btn-primary {
    background-color: #0b6095;
    border: none;
    border-radius: 25px;
    padding: 8px 0;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: #084d78;
    }









/* === Product Viewer Section === */
.product-viewer {
    background-color: #fff;
    padding: 60px 15px;
}

.product-container {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
}

.product-image {
    width: 50%;
    max-height: 50%;
    align-content:center;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

    .product-image:hover {
        transform: scale(1.03);
    }

.product-title {
    color: #0b6095;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.4rem;
    color: #0b6095;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-description {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-specifications {
    list-style: none;
    padding-left: 0;
}

    .product-specifications li {
        padding: 6px 0;
        color: #555;
        font-size: 0.95rem;
        border-bottom: 1px solid #eee;
    }

.btn-primary, .btn-secondary {
    border-radius: 25px;
    padding: 10px 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0b6095;
    border: none;
}

    .btn-primary:hover {
        background-color: #084d78;
    }

.btn-secondary {
    background-color: #e9ecef;
    color: #0b6095;
    border: 1px solid #0b6095;
}

    .btn-secondary:hover {
        background-color: #0b6095;
        color: #fff;
    }

/* === Product Tabs === */
.product-tabs {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.08);
    padding: 20px;
    margin-top: 40px;
}

.nav-tabs {
    border-bottom: 2px solid #ddd;
}

    .nav-tabs .nav-link {
        color: #0b6095;
        font-weight: 500;
        border: none;
        transition: all 0.3s ease;
    }

        .nav-tabs .nav-link.active {
            color: #fff;
            background-color: #0b6095;
            border-radius: 25px;
        }

        .nav-tabs .nav-link:hover {
            background-color: rgba(11, 96, 149, 0.1);
            color: #0b6095;
        }

.tab-content {
    margin-top: 20px;
}

.tab-pane h5 {
    color: #0b6095;
    font-weight: 600;
    margin-bottom: 10px;
}

.tab-pane ul {
    list-style: disc;
    padding-left: 20px;
}

    .tab-pane ul li {
        margin-bottom: 8px;
        color: #444;
    }

/* === Responsive Fixes === */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.6rem;
    }

    .product-image {
        margin-bottom: 20px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        margin-bottom: 10px;
    }
}
    
