/* --- Global Styles & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    /* New Pink, Blue, and Green Color Palette */
    --primary-color: #00A896; /* Green */
    --secondary-color: #4CC9F0; /* Blue */
    --accent-color: #F72585; /* Pink */
    --danger-color: #F72585; /* Using pink for consistency */
    --dark-color: #023E8A;   /* Dark Blue */
    --light-color: #ffffff;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--light-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

.header .navbar {
    display: flex;
    gap: 1.5rem;
    align-items: center; /* Vertically align items */
}

.header .navbar a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.header .navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.header .navbar a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- NEW: Navigation Dropdown --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 220px;
    z-index: 1100;
    padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    font-weight: 400;
}

.nav-dropdown-menu a:hover {
    background-color: #f0f0f0;
}
/* Remove underline effect from dropdown items */
.nav-dropdown-menu a::after {
    display: none;
}


/* --- Sections General Styling --- */
section {
    padding: 4rem 5%;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* --- Hero Section (Home Page) --- */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    text-align: left;
    background: linear-gradient(to right, #e0f2f1, #ffffff);
}
.hero-content h1 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}
.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.hero-features span {
    background-color: rgba(76, 201, 240, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--dark-color);
}
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}


/* --- NEW: Product Category Section (Home Page) --- */
.product-category-section {
    background-color: var(--light-color);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.category-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.category-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.category-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
}


/* --- Vision Section (Home Page) --- */
.vision-section {
    background-color: var(--bg-color);
}
.vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}
.vision-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
}
.vision-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.closing-remark {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* --- Product Card & Grid (Used on Category pages) --- */
.category-section {
    margin-top: 0;
}
.category-section h2 {
    text-align: left;
}
.category-section p {
    text-align: left;
    margin-bottom: 2rem;
    max-width: 800px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    box-shadow: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.product-card .product-image-container {
    padding: 1.5rem 1.5rem 0;
}
.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
}
.product-card-content {
    padding: 1.5rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-card h4 {
    font-size: 1.2rem;
    flex-grow: 1; /* Pushes price and button down */
    margin-bottom: 0.5rem;
}
.product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--danger-color);
}
.product-card .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-left: 0.5rem;
}
.product-card .details-button {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 10px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.product-card .details-button:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}


/* --- Main Content Area for Subpages --- */
.main-content {
    padding: 2rem 0;
}


/* --- Product Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}
.modal-overlay:not(.hidden) { opacity: 1; }
.hidden { display: none; }
.modal-content {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay:not(.hidden) .modal-content { transform: scale(1); }
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover { color: #333; }
.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    text-align: left;
}
.modal-product-image {
    width: 100%;
    border-radius: var(--border-radius);
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.modal-product-details h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-align: left;
    border: none;
}
.modal-product-details .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--danger-color);
    margin-bottom: 1rem;
}
.modal-product-details h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}
.modal-product-details ul { list-style: none; padding-left: 0; }
.modal-product-details ul li { margin-bottom: 0.5rem; }
.quantity-selector { margin-top: 1.5rem; }
.quantity-selector label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}
.quantity-controls { display: flex; align-items: center; }
.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    background: #f0f0f0;
    font-size: 1.5rem;
    cursor: pointer;
}
.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ccc;
    border-left: none;
    border-right: none;
    font-size: 1.2rem;
    -moz-appearance: textfield; /* Firefox */
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.add-to-cart-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 15px;
    font-size: 1.2rem;
}
.add-to-cart-btn i { margin-right: 0.5rem; }


/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 5% 1rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-column h3, .footer-column h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
.footer-column ul { list-style: none; }
.footer-column ul li a {
    text-decoration: none;
    color: #ccc;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.footer-column ul li a:hover { color: var(--light-color); }
.footer-column p { color: #ccc; }
.footer-column i { margin-right: 8px; }
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 1rem;
}


/* --- Responsiveness --- */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        order: 2;
        text-align: center;
    }
    .hero-features {
        justify-content: center;
    }
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .header .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        flex-direction: column;
        /* FIX: Change from 'center' to 'flex-start' to left-align items */
        align-items: flex-start;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .header .navbar.active {
        display: flex;
    }
    /* FIX: Add padding to mobile nav items */
    .header .navbar a, .header .navbar .nav-dropdown {
        padding: 0.75rem 5%; /* Use same horizontal padding as header */
        width: 100%;
    }
    .nav-dropdown:hover .nav-dropdown-menu {
        display: none; /* Disable hover on mobile */
    }
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: 1px solid #f0f0f0;
        padding-left: 10%; /* Indent dropdown items */
        display: none; /* Hide by default */
    }
    .nav-dropdown.active .nav-dropdown-menu {
        display: block; /* Show when active */
    }
    
    .hamburger { display: block; }
    
    section h1, .hero-content h1 { font-size: 2.2rem; }
    section h2 { font-size: 1.8rem; }
    
    .modal-body { grid-template-columns: 1fr; }
    .modal-content { padding: 1.5rem 1rem; }
    .modal-product-details h2 { font-size: 1.5rem; }
}

/* --- Global Styles & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    /* New Pink, Blue, and Green Color Palette */
    --primary-color: #00A896; /* Green */
    --secondary-color: #4CC9F0; /* Blue */
    --accent-color: #F72585; /* Pink */
    --danger-color: #F72585; /* Using pink for consistency */
    --dark-color: #023E8A;   /* Dark Blue */
    --light-color: #ffffff;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--light-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

.header .navbar {
    display: flex;
    gap: 1.5rem;
    align-items: center; /* Vertically align items */
}

.header .navbar a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.header .navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.header .navbar a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- NEW: Navigation Dropdown --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 220px;
    z-index: 1100;
    padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    font-weight: 400;
}

.nav-dropdown-menu a:hover {
    background-color: #f0f0f0;
}
/* Remove underline effect from dropdown items */
.nav-dropdown-menu a::after {
    display: none;
}


/* --- Sections General Styling --- */
section {
    padding: 4rem 5%;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* --- Hero Section (Home Page) --- */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    text-align: left;
    background: linear-gradient(to right, #e0f2f1, #ffffff);
}
.hero-content h1 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}
.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.hero-features span {
    background-color: rgba(76, 201, 240, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--dark-color);
}
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}


/* --- NEW: Product Category Section (Home Page) --- */
.product-category-section {
    background-color: var(--light-color);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.category-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.category-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.category-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
}


/* --- Vision Section (Home Page) --- */
.vision-section {
    background-color: var(--bg-color);
}
.vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}
.vision-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
}
.vision-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.closing-remark {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* --- Product Card & Grid (Used on Category pages) --- */
.category-section {
    margin-top: 0;
}
.category-section h2 {
    text-align: left;
}
.category-section p {
    text-align: left;
    margin-bottom: 2rem;
    max-width: 800px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    box-shadow: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.product-card .product-image-container {
    padding: 1.5rem 1.5rem 0;
}
.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
}
.product-card-content {
    padding: 1.5rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-card h4 {
    font-size: 1.2rem;
    flex-grow: 1; /* Pushes price and button down */
    margin-bottom: 0.5rem;
}
.product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--danger-color);
}
.product-card .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-left: 0.5rem;
}
.product-card .details-button {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 10px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.product-card .details-button:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}


/* --- Main Content Area for Subpages --- */
.main-content {
    padding: 2rem 0;
}


/* --- Product Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}
.modal-overlay:not(.hidden) { opacity: 1; }
.hidden { display: none; }
.modal-content {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay:not(.hidden) .modal-content { transform: scale(1); }
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover { color: #333; }
.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    text-align: left;
}
.modal-product-image {
    width: 100%;
    border-radius: var(--border-radius);
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.modal-product-details h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-align: left;
    border: none;
}
.modal-product-details .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--danger-color);
    margin-bottom: 1rem;
}
.modal-product-details h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}
.modal-product-details ul { list-style: none; padding-left: 0; }
.modal-product-details ul li { margin-bottom: 0.5rem; }
.quantity-selector { margin-top: 1.5rem; }
.quantity-selector label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}
.quantity-controls { display: flex; align-items: center; }
.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    background: #f0f0f0;
    font-size: 1.5rem;
    cursor: pointer;
}
.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ccc;
    border-left: none;
    border-right: none;
    font-size: 1.2rem;
    -moz-appearance: textfield; /* Firefox */
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.add-to-cart-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 15px;
    font-size: 1.2rem;
}
.add-to-cart-btn i { margin-right: 0.5rem; }


/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 5% 1rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-column h3, .footer-column h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
.footer-column ul { list-style: none; }
.footer-column ul li a {
    text-decoration: none;
    color: #ccc;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.footer-column ul li a:hover { color: var(--light-color); }
.footer-column p { color: #ccc; }
.footer-column i { margin-right: 8px; }
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 1rem;
}


/* --- Responsiveness --- */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        order: 2;
        text-align: center;
    }
    .hero-features {
        justify-content: center;
    }
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .header .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        flex-direction: column;
        /* FIX: Change from 'center' to 'flex-start' to left-align items */
        align-items: flex-start;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .header .navbar.active {
        display: flex;
    }
    /* FIX: Add padding to mobile nav items */
    .header .navbar a, .header .navbar .nav-dropdown {
        padding: 0.75rem 5%; /* Use same horizontal padding as header */
        width: 100%;
    }
    .nav-dropdown:hover .nav-dropdown-menu {
        display: none; /* Disable hover on mobile */
    }
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: 1px solid #f0f0f0;
        padding-left: 10%; /* Indent dropdown items */
        display: none; /* Hide by default */
    }
    .nav-dropdown.active .nav-dropdown-menu {
        display: block; /* Show when active */
    }
    
    .hamburger { display: block; }
    
    section h1, .hero-content h1 { font-size: 2.2rem; }
    section h2 { font-size: 1.8rem; }
    
    .modal-body { grid-template-columns: 1fr; }
    .modal-content { padding: 1.5rem 1rem; }
    .modal-product-details h2 { font-size: 1.5rem; }
}

