/* --- RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #0f172a; /* Dark Corporate Blue */
    --accent-color: #2563eb;  /* Bright Blue */
    --text-white: #ffffff;
    --text-dark: #333333;
    --hover-bg: #1e293b;
    --button-enquiry: #f59e0b; /* Amber for action */
}

/* --- HEADER STRUCTURE --- */
.main-header {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- LOGO --- */
.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-color);
}

/* --- NAVIGATION MENU --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--text-white);
}

/* --- BUTTONS --- */
.btn {
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-enquiry {
    background-color: var(--button-enquiry);
    color: var(--primary-color);
}

.btn-enquiry:hover {
    background-color: #d97706;
}

.btn-login {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-login:hover {
    background-color: var(--accent-color);
    color: var(--text-white);
}

/* --- PROFILE DROPDOWN --- */
.profile-container {
    position: relative;
    margin-left: 10px;
}

.profile-icon {
    width: 35px;
    height: 35px;
    background-color: var(--hover-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.profile-icon:hover {
    background-color: var(--accent-color);
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: white;
    width: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    display: none; /* Hidden by default */
    flex-direction: column;
}

.dropdown-menu.active {
    display: flex;
}

.dropdown-item {
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background-color: #f8fafc;
    color: var(--accent-color);
}

.dropdown-item:last-child {
    border-bottom: none;
    color: #ef4444; /* Red for logout */
}

/* --- MOBILE HAMBURGER --- */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-white);
}

/* --- RESPONSIVE DESIGN --- */
@media screen and (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding-bottom: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 16px 0;
        width: 100%;
    }

    .profile-container {
        margin: 15px auto; /* Center profile in mobile menu */
    }
    
    .dropdown-menu {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

/* --- HERO SLIDER (UPDATED: Smaller Height) --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 380px; /* Reduced from 500px */
    overflow: hidden;
    background-color: #f1f5f9;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

/* Dark Overlay */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
}

.slide-content h1 {
    font-size: 2.5rem; /* Slightly smaller text */
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-hero {
    padding: 10px 25px;
    background-color: var(--button-enquiry);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.btn-hero:hover {
    background-color: #fff;
}

/* --- SECTION COMMON --- */
.section-title {
    text-align: center;
    margin: 40px 0 30px;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}

/* --- CATEGORIES (UPDATED: Full Screen Wrapping) --- */
/* --- CATEGORIES SECTION --- */
.category-section {
    width: 100%;       /* Full width */
    max-width: 100%;   /* Ensure it spans edge-to-edge */
    margin: 0;
    padding: 30px 20px;
    background-color: #fff;
}

.category-wrapper {
    display: flex;
    flex-wrap: nowrap;        /* Single row always */
    justify-content: space-between; /* Spread items across full width */
    gap: 15px;
    width: 100%;
}

.category-card {
    flex: 1;                  /* Grow to fill space equally */
    min-width: 100px;         /* Minimum size to keep them readable */
    text-align: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;      /* Slightly more rounded */
    padding: 20px 10px;       /* More padding for bigger feel */
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    border-color: var(--accent-color);
    z-index: 10; /* Bring to front on hover */
}

.cat-img {
    width: 70px;             /* Bigger Image */
    height: 70px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #f1f5f9;
    padding: 12px;
    transition: background 0.3s;
}

.category-card:hover .cat-img {
    background: #e2e8f0;
}

.cat-title {
    font-weight: 700;
    font-size: 0.95rem;       /* Bigger Font */
    line-height: 1.3;
    color: var(--primary-color);
}

/* --- MOBILE RESPONSIVENESS --- */
@media screen and (max-width: 992px) {
    /* On Tablets & Mobile: Enable Scroll to keep items big */
    .category-wrapper {
        justify-content: flex-start; /* Align start for scrolling */
        overflow-x: auto;            /* Enable scroll */
        padding-bottom: 15px;        /* Space for scrollbar */
        scrollbar-width: none;       /* Hide scrollbar Firefox */
        -ms-overflow-style: none;    /* Hide scrollbar IE/Edge */
    }
    
    .category-wrapper::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari for cleaner look */
    }

    .category-card {
        min-width: 130px;  /* Fixed size on mobile so they don't squish */
        flex: 0 0 auto;    /* Stop flexing, keep fixed width */
    }
}






/* --- General Container & Fonts --- */
/* --- General Section Styling --- */
.welcome-section {
    padding: 80px 5%;
    background: linear-gradient(to bottom, #ffffff 0%, #f1f5f9 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Headings & Divider --- */
.sub-heading {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 700;
}

.main-heading {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    /* Dark Slate to Gold Gradient Text */
    background: -webkit-linear-gradient(45deg, #1e293b 30%, #475569 100%);
    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #d97706); /* Gold Gradient */
    margin: 20px auto 40px;
    border-radius: 2px;
}

/* --- Description & Product Pills --- */
.welcome-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    max-width: 900px;
    margin: 0 auto 50px;
}

/* New Style for Emoji Items */
.product-pill {
    display: inline-block;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 5px 15px;
    border-radius: 20px;
    margin: 5px;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.product-pill:hover {
    transform: translateY(-3px);
    border-color: #fbbf24;
    background-color: #fffbeb; /* Light yellow tint */
}

.read-more-link {
    color: #d97706;
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

.read-more-link:hover {
    text-decoration: underline;
}

/* --- CTA Strip --- */
.cta-strip {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 40px 50px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

/* Shine Animation */
.cta-strip::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.cta-text h3 {
    color: #fff;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.contact-btn {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    color: #0f172a;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

/* --- Info Grid --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.info-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    text-align: left;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #fbbf24;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706; /* Gold/Orange */
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.info-card:hover .icon-box {
    background: #d97706;
    color: #fff;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.05rem;
    color: #1e293b;
    font-weight: 700;
}

/* Trustseal Specifics */
.trustseal-card {
    border: 1px solid #86efac; /* Light Green Border */
    background: #f0fdf4; /* Light Green BG */
}

.trustseal-card .icon-box {
    color: #16a34a;
    background: #dcfce7;
}

.trustseal-card:hover .icon-box {
    background: #16a34a;
    color: #fff;
}

.verify-text {
    color: #16a34a;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .main-heading { font-size: 2rem; }
    .cta-strip { flex-direction: column; text-align: center; gap: 20px; }
    .info-grid { grid-template-columns: 1fr; }
}



/* --- PRODUCTS SECTION --- */
.product-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.prod-img-container {
    width: 100%;
    height: 200px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .prod-img {
    transform: scale(1.05);
}

.prod-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prod-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
    line-height: 1.4;
}

.prod-meta {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
}

.prod-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: auto;
    margin-bottom: 15px;
}

.prod-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.2s;
}

.prod-btn:hover {
    background-color: var(--button-enquiry);
    color: var(--primary-color);
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .hero-slider { height: 250px; } /* Smaller on mobile */
    .slide-content h1 { font-size: 1.5rem; }
    
    .category-wrapper {
        gap: 10px;
    }
    .category-card {
        width: 45%; /* 2 per row on mobile */
        padding: 10px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}


 /* Custom Grid for 5 items in a row */
.five-col-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns strictly */
    gap: 20px;
}

/* Header with View All Button */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.section-header-row h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
    position: relative;
}

.section-header-row h2::after {
    content: '';
    position: absolute;
    bottom: -17px; /* Aligns with the border-bottom */
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}

.view-all-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.view-all-btn:hover {
    background-color: var(--accent-color);
}

/* Responsive for 5 columns: Scroll on mobile to keep them in one row */
@media screen and (max-width: 1200px) {
    .five-col-grid {
        display: flex;      /* Switch to flex for scrolling */
        overflow-x: auto;   /* Enable scroll */
        padding-bottom: 20px;
        gap: 15px;
    }
    
    .five-col-grid .product-card {
        min-width: 220px;   /* Fixed width so they don't squish */
        flex: 0 0 auto;
    }
}




/* --- Product Section Container --- */
/* --- Product Section Container --- */
.product-section {
    padding: 60px 5%; /* Responsive padding */
    background-color: #f8f9fa; /* Light gray background for contrast */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- Header Row (CENTERED UPDATE) --- */
.section-header-row {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center;    /* Center items horizontally */
    text-align: center;     /* Ensure text is centered */
    margin-bottom: 40px;    /* More space below header */
    border-bottom: none;    /* Removed full-width line for cleaner look */
    position: relative;
    padding-bottom: 0;      /* Reset padding */
}

.section-header-row h2 {
    font-size: 2.5rem;      /* Slightly larger for better impact */
    color: #1e293b;         /* Dark slate text */
    margin: 0 0 15px 0;     /* Space between title and button */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* Decorative Gold Underline */
.section-header-row h2::after {
    content: '';
    display: block;
    width: 80px;            /* Fixed width for the underline */
    height: 4px;
    background: linear-gradient(to right, #fbbf24, #d97706); /* Gold/Amber gradient */
    margin: 10px auto 0;    /* Centers the line horizontally */
    border-radius: 2px;
}

/* "View All" Button - Centered Style */
.view-all-btn {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: #e2e8f0;    /* Light gray pill background */
    padding: 8px 25px;
    border-radius: 25px;    /* Pill shape */
    font-size: 0.9rem;
}

.view-all-btn:hover {
    color: #fff;
    background: #d97706;    /* Dark gold on hover */
    transform: translateY(-3px); /* Slight lift on hover */
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(3px); /* Arrow moves right on hover */
}

/* --- Five Column Grid Layout --- */
.five-col-grid {
    display: grid;
    gap: 25px;
    /* Default to 5 columns on large screens */
    grid-template-columns: repeat(5, 1fr);
}

/* --- Product Card Styling --- */
.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Hover Effect: Lift card and add shadow */
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #fbbf24; /* Gold border on hover */
}

/* --- Image Area --- */
.prod-img-container {
    width: 100%;
    height: 200px; /* Fixed height for uniformity */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}

.prod-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .prod-img {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* --- Product Details --- */
.prod-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes button to bottom */
}

.prod-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #334155;
    margin: 0 0 10px 0;
    line-height: 1.4;
    /* Limit title to 2 lines */
    display: -webkit-box;
   /* -webkit-line-clamp: 2;*/


    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-meta {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.prod-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

/* --- 'View Details' Button --- */
.prod-btn {
    margin-top: auto; /* Pushes button to bottom of card */
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); /* Dark gradient */
    color: #ffffff;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Button Hover: Invert colors or brighten */
.prod-btn:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%); /* Gold gradient hover */
    color: #fff;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* --- Responsive Media Queries --- */

/* Laptops/Small Desktops (max-width: 1200px) -> 4 Columns */
@media (max-width: 1200px) {
    .five-col-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablets (max-width: 992px) -> 3 Columns */
@media (max-width: 992px) {
    .five-col-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .section-header-row h2 {
        font-size: 2rem;
    }
}

/* Small Tablets (max-width: 768px) -> 2 Columns */
@media (max-width: 768px) {
    .five-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-section {
        padding: 40px 3%;
    }
    /* On mobile, adjust header spacing slightly */
    .section-header-row {
        margin-bottom: 30px;
    }
}

/* Mobile (max-width: 480px) -> 1 Column */
@media (max-width: 480px) {
    .five-col-grid {
        grid-template-columns: 1fr;
    }
    .view-all-btn {
        font-size: 0.85rem;
        padding: 6px 20px;
    }
}



/* --- Reviews Section Container --- */
/* --- Reviews Section Container --- */
.reviews-section {
    padding: 60px 5%;
    background-color: #f8fafc; /* Very light slate bg */
    font-family: 'Segoe UI', sans-serif;
}

/* --- Uniform Grid Layout for Dashboard --- */
/* This ensures all 3 boxes are equal width and height */
.reviews-dashboard {
    display: grid;
    /* 'repeat(3, 1fr)' forces 3 equal-width columns */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch; /* Stretches all boxes to the same height */
}

/* Common Box Style */
.rating-summary-box, 
.satisfaction-box, 
.reviews-list-container {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    
    /* Ensure full height and flex layout for internal spacing */
    height: 100%;
    display: flex;
    flex-direction: column;
    
    /* Optional min-height to keep them looking good if empty */
    min-height: 450px;
}

/* --- 1. Rating Summary Box Content --- */
.big-rating {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.total-stars {
    font-size: 1.2rem;
    color: #94a3b8;
    font-weight: 600;
}

.review-count {
    color: #64748b;
    margin: 10px 0 20px;
    font-size: 0.9rem;
}

.stars-row.text-gold {
    color: #fbbf24; /* Gold color for stars */
}

/* Progress Bars */
.bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.bar-label {
    width: 50px;
    color: #64748b;
}

.bar-track {
    flex-grow: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    margin: 0 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b); /* Gold Gradient */
    border-radius: 4px;
}

.bar-percent {
    width: 35px;
    text-align: right;
    font-weight: 600;
    color: #334155;
}

/* --- 2. Satisfaction Box Content (Circles) --- */
.dash-title {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #1e293b;
    border-bottom: 2px solid #fbbf24;
    display: inline-block;
    padding-bottom: 5px;
}

.satisfaction-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    /* Push content to center vertically if needed */
    flex-grow: 1; 
}

.circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.circle-progress {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Inner white circle to create ring effect */
.circle-progress::before {
    content: '';
    position: absolute;
    width: 65px; /* Inner circle size */
    height: 65px;
    background: #fff;
    border-radius: 50%;
}

.circle-val {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
}

.circle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

/* --- 3. Reviews List Content --- */
.review-card {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.bg-slate { background-color: #475569; }
.bg-gold { background-color: #d97706; }

.review-content {
    flex-grow: 1;
}

.reviewer-name {
    margin: 0;
    font-size: 1rem;
    color: #1e293b;
}

.review-loc {
    font-size: 0.8rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 5px;
}

.small-stars {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.rating-num {
    color: #334155;
    margin-left: 5px;
}

.product-ref {
    font-size: 0.85rem;
    color: #64748b;
    margin: 5px 0;
    background: #f8fafc;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
}

.review-text {
    font-size: 0.95rem;
    color: #334155;
    margin: 5px 0 0;
    font-style: italic;
}

/* Button pushed to bottom */
.more-reviews-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    
    /* Push to bottom of container */
    margin-top: auto;
}

.more-reviews-btn:hover {
    background: #fbbf24;
    color: #fff;
    border-color: #fbbf24;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .reviews-dashboard {
        grid-template-columns: 1fr; /* Stack vertically on smaller screens */
        gap: 20px;
    }
    
    .rating-summary-box, 
    .satisfaction-box, 
    .reviews-list-container {
        max-width: 100%;
        height: auto; /* Let height adjust naturally on mobile */
        min-height: auto;
    }
}




/* --- Contact Section Container --- */
.contact-section {
    padding: 80px 5%;
    background: #fff;
    font-family: 'Segoe UI', sans-serif;
}

/* Centered Header for this section */
.section-header-row.center-align {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    border: none; /* Remove underline from previous generic class */
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* --- Layout Grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Form is wider than info */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- 1. Form Styles --- */
.contact-form-box {
    background: #f8fafc;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.box-title {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
}

/* Small gold underline for titles */
.box-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #fbbf24;
    margin-top: 8px;
    border-radius: 2px;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    color: #334155;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #fbbf24;
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%); /* Gold hover */
}

/* --- 2. Contact Info & Map --- */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-details-card {
    background: #1e293b; /* Dark Slate Card */
    color: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.15);
}

.contact-details-card .box-title {
    color: #fff;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(251, 191, 36, 0.2); /* Transparent Gold */
    color: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.c-text p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.c-text a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.c-text a:hover {
    color: #fbbf24;
}

.c-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 4px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    height: 250px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack columns */
    }
    
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
}




/* Button Styling */
.quote-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background: linear-gradient(45deg, #FF512F, #DD2476); /* Red/Pink Gradient */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.2s ease;
}

.quote-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(221, 36, 118, 0.4);
}

/* Modal/Popup Styling */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    padding: 20px; /* Add padding to prevent touching edges */
}

/* Modal content structure */
.modal-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    position: relative;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Modal header - keep it visible */
.modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-right: 40px; /* Make room for close button */
    font-size: 1.2rem;
    font-weight: 600;
    color: #2563eb;
}

/* Modal body - scrollable content */
.modal-content .modal-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px; /* Prevent content from touching scrollbar */
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    z-index: 1001; /* Ensure close button is always on top */
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.close-btn:hover {
    color: #000;
    background: #f8f9fa;
}

.quote-form .form-group {
    margin-bottom: 15px;
}

.quote-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

.quote-form textarea {
    resize: vertical;
    min-height: 60px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Form validation styles */
.quote-form input.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.quote-form input.is-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.text-danger {
    color: #dc3545;
    font-size: 12px;
}

.text-muted {
    color: #6c757d;
    font-size: 12px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #11998e, #38ef7d); /* Green Gradient */
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.4);
}

/* Two-step modal styles */
.quote-step h4 {
    color: #2563eb;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.quote-step .form-group {
    margin-bottom: 15px;
}

.quote-step .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.quote-step .form-group input,
.quote-step .form-group select,
.quote-step .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

.quote-step .form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.quote-step .form-group input:focus,
.quote-step .form-group select:focus,
.quote-step .form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 20px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Responsive modal adjustments */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 10px; /* Reduce padding on mobile */
        align-items: flex-start; /* Align to top on mobile for better UX */
        padding-top: 20px;
    }

    .modal-content {
        width: 95%; /* Use more width on mobile */
        max-width: none; /* Remove max-width constraint on mobile */
        max-height: 80vh; /* Reduce height on mobile */
        margin-top: 20px; /* Add some top margin */
    }
}

@media (max-height: 600px) {
    .modal-content {
        max-height: 95vh; /* Use more height on very short screens */
        padding: 20px; /* Reduce padding on short screens */
    }
}