/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #243447; /* darker navy */
    --secondary-color: #3b8dbc; /* accent blue */
    --accent-color: #e67e22; /* warm accent */
    --text-dark: #122028;
    --text-light: #516770;
    --bg-light: #f5f8fb;
    --border-color: #e1e9f0;
    --success-color: #2e8b57;
}

body {
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero {
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.8), rgba(91, 140, 175, 0.7)), url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=1200&h=400&fit=crop') center/cover no-repeat;
}

* {
    color: inherit;
}


html, body {
    height: 100%;
}

body {
    font-family: Inter, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #ecf0f1;
    border-radius: 2px;
}

.nav-menu a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.cart-link {
    background-color: var(--accent-color) !important;
    padding: 8px 15px;
    border-radius: 5px;
}

.cart-link:hover {
    background-color: #c0392b !important;
    color: white !important;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), rgba(59, 141, 188, 0.85));
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: #5b8caf;
    color: white;
}

.btn-primary:hover {
    background-color: #4f7f9f;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #9abecf;
    color: #163047;
}

.btn-secondary:hover {
    background-color: #8aa8bc;
}


.btn-secondary {
    background-color: var(--text-light);
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6c7d;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

/* ===== Featured Products Section ===== */
.featured {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.featured h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .featured-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--secondary-color), #e74c3c);
    color: white;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 15;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.featured .product-card {
    position: relative;
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.featured .product-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 50px rgba(36,52,71,0.12);
    border-color: var(--secondary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15,30,40,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg,#f6f9fc,#eef6fb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.product-card:hover .product-image img { transform: scale(1.03); }

.featured .product-image {
    height: 200px;
}

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured .product-info {
    padding: 20px;
    background: linear-gradient(to bottom, white, #f8f9fa);
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.featured .product-name {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-category {
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.featured .product-category {
    color: var(--secondary-color);
    font-size: 11px;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.featured .product-price {
    font-size: 20px;
    color: #e74c3c;
}

.product-stock {
    font-size: 12px;
    color: var(--success-color);
    margin-bottom: 12px;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.product-actions button,
.product-actions a {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-add {
    background-color: var(--secondary-color);
    color: white;
}

.btn-add:hover {
    background-color: #2980b9;
}

.btn-view {
    background-color: #ecf0f1;
    color: var(--text-dark);
}

.btn-view:hover {
    background-color: #bdc3c7;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--text-dark);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination button:hover {
    background-color: #f0f0f0;
    border-color: var(--secondary-color);
}

.pagination button.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Features Section ===== */
.features {
    padding: 60px 20px;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
}

/* ===== Industries Section ===== */
.industries {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.industries h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 40px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.industry-card {
    background: white;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.2);
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.industry-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.industry-card:nth-child(1) .industry-icon { animation-delay: 0s; }
.industry-card:nth-child(2) .industry-icon { animation-delay: 0.2s; }
.industry-card:nth-child(3) .industry-icon { animation-delay: 0.4s; }
.industry-card:nth-child(4) .industry-icon { animation-delay: 0.6s; }
.industry-card:nth-child(5) .industry-icon { animation-delay: 0.8s; }
.industry-card:nth-child(6) .industry-icon { animation-delay: 1s; }
.industry-card:nth-child(7) .industry-icon { animation-delay: 1.2s; }
.industry-card:nth-child(8) .industry-icon { animation-delay: 1.4s; }
.industry-card:nth-child(9) .industry-icon { animation-delay: 1.6s; }
.industry-card:nth-child(10) .industry-icon { animation-delay: 1.8s; }
.industry-card:nth-child(11) .industry-icon { animation-delay: 2s; }
.industry-card:nth-child(12) .industry-icon { animation-delay: 2.2s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.industry-card h3 {
    color: var(--primary-color);
    margin: 8px 0 5px;
    font-size: 14px;
}

.industry-card p {
    color: var(--text-light);
    font-size: 12px;
}

/* ===== Categories Section ===== */
.categories {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.categories h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-card:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

.category-card h3 {
    margin-bottom: 10px;
}

/* ===== Page Title ===== */
.page-title {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.page-title h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* ===== Products Page ===== */
.products-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 40px 20px;
}

.sidebar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.filter-section {
    margin-bottom: 30px;
}

.filter-section h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.category-filter {
    list-style: none;
}

.category-filter li {
    margin-bottom: 10px;
}

.category-filter a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s;
}

.category-filter a:hover,
.category-filter a.active {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Price range slider styling (max 200) */
#price-range {
    width: 100%;
    margin: 8px 0 10px;
    accent-color: #3498db;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(to right, #3498db 0%, #3498db 100%);
    height: 6px;
    border-radius: 4px;
}

#price-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3498db;
    border: 2px solid #fff;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    cursor: pointer;
}

#price-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3498db;
    border: 2px solid #fff;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    cursor: pointer;
}


.products-main {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.products-header select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

/* ===== Cart Page ===== */
.cart-container {
    padding: 40px 20px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
}

.empty-cart h2 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.cart-table tr:hover {
    background-color: #f8f9fa;
}

.quantity-control {
    display: flex;
    gap: 10px;
    align-items: center;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    border-radius: 4px;
}

.quantity-control button:hover {
    background-color: var(--bg-light);
}

.remove-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.remove-btn:hover {
    background-color: #c0392b;
}

.cart-summary {
    height: fit-content;
}

.summary-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.summary-box h3 {
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid var(--border-color);
    padding-top: 15px;
    font-weight: bold;
    font-size: 18px;
    color: var(--secondary-color);
}

/* ===== Checkout Page ===== */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 40px 20px;
}

.checkout-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.whatsapp-info-box {
    background: #e8f5e9;
    border-left: 4px solid #25d366;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
    color: #1b5e20;
    font-size: 14px;
}

.checkout-form h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 20px;
}

.checkout-form h2:first-of-type {
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox label {
    display: flex;
    align-items: center;
    margin: 0;
}

.form-group.checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkout-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.checkout-summary h3 {
    margin-bottom: 15px;
}

.checkout-items {
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

/* Radio buttons styling */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s;
}

.radio-label:hover {
    background-color: #f8f9fa;
    border-color: var(--secondary-color);
}

.radio-label input[type="radio"] {
    margin-right: 10px;
    accent-color: var(--secondary-color);
}

.radio-label span {
    font-size: 14px;
}

/* Mobile payment details */
.mobile-payment-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid var(--secondary-color);
}

.mobile-payment-details h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 16px;
}

/* ===== About Page ===== */
.about-content {
    padding: 40px 20px;
}

.about-section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.about-section h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

.about-section p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.mission-list {
    list-style: none;
    margin-top: 15px;
}

.mission-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.mission-list li:last-child {
    border-bottom: none;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.why-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.why-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text-light);
    font-size: 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.stat-card h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 14px;
    opacity: 0.9;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 15px;
    font-size: 32px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 16px;
}

/* ===== Contact Page ===== */
.contact-container {
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-form-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-form-section h2 {
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-message {
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.faq-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-light);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
}

.close:hover {
    color: var(--text-dark);
}

.product-modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-modal-image {
    width: 100%;
    max-height: 300px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.product-modal-details {
    flex: 1;
}

.product-modal-details h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-modal-category {
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 15px;
}

.product-modal-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.product-modal-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-modal-stock {
    color: var(--success-color);
    margin-bottom: 20px;
}

.product-modal-features {
    margin-bottom: 20px;
}

.product-modal-features h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-modal-features ul {
    list-style-position: inside;
    color: var(--text-light);
}

.product-modal-features li {
    margin: 5px 0;
}

.product-modal-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.product-modal-quantity label {
    font-weight: 500;
}

.product-modal-quantity input {
    width: 60px;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section p {
    color: #ecf0f1;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

/* ===== Newsletter Signup ===== */
.newsletter-signup {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

.newsletter-signup h5 {
    font-size: 14px;
    margin-bottom: 12px;
    color: #ecf0f1;
}

.newsletter-form {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}

.newsletter-form input {
    padding: 10px 110px 10px 10px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    background-color: #ecf0f1;
    color: var(--text-dark);
    width: 100%;
    box-sizing: border-box;
}

.newsletter-form input::placeholder {
    color: #95a5a6;
}

.btn-subscribe {
    position: absolute;
    right: 4px;
    padding: 8px 12px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-subscribe:hover {
    background-color: #2980b9;
}

.newsletter-note {
    font-size: 12px;
    color: #bdc3c7;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-credit {
    font-size: 12px;
    color: #bdc3c7;
}

.footer-credit a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-credit a:hover {
    color: #ecf0f1;
    text-decoration: underline;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        right: 20px;
        flex-direction: column;
        background: rgba(44, 62, 80, 0.95);
        padding: 20px;
        border-radius: 8px;
        gap: 12px;
        width: calc(100% - 40px);
        max-width: 320px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
        opacity: 0;
        transform: translateX(20px);
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease, max-height 0.25s ease;
    }

    .nav-menu.active {
        opacity: 1;
        transform: translateX(0);
        max-height: 460px;
        pointer-events: auto;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 10px 12px;
        border-radius: 6px;
        width: 100%;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: #fff;
        background: rgba(52, 152, 219, 0.25);
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .products-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .cart-content {
        grid-template-columns: 1fr;
    }

    .checkout-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .cart-table {
        font-size: 12px;
    }

    .cart-table th,
    .cart-table td {
        padding: 10px;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .industry-card {
        padding: 15px 10px;
    }

    .industry-icon {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .logo {
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .featured h2,
    .features h2,
    .categories h2 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }
}
