/* ===== CSS Variables ===== */
:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #f97316;
    --success-color: #22c55e;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
    margin-right: 8px;
}

.logo-image {
    height: 80px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.04);
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 50px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.08);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--secondary-color);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu .nav-link {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    background: none;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-small {
    padding: 6px 14px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ===== Alerts ===== */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ===== Hero Section ===== */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-content {
    text-align: center;
    margin-bottom: 50px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Auth Pages ===== */
.auth-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.field-error {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 4px;
}

.field-hint {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* ===== Products Page ===== */
.products-page {
    flex: 1;
    padding: 30px 0;
}

.filter-section {
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    background: #e0e7ff;
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price small {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
}

.add-to-cart-form {
    margin: 0;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

/* ===== Cart Page ===== */
.cart-page {
    flex: 1;
    padding: 30px 0;
}

.cart-page h1 {
    margin-bottom: 30px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.empty-cart h3 {
    margin-bottom: 10px;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #f3f4f6;
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.item-price {
    color: var(--text-light);
    font-size: 0.9rem;
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--bg-color);
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.cart-item-subtotal {
    text-align: right;
}

.subtotal-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.subtotal-value {
    font-weight: 700;
    color: var(--primary-color);
}

.remove-btn {
    background: none;
    border: none;
    color: var(--error-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.remove-btn:hover {
    opacity: 0.7;
}

.cart-summary {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 90px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-light);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.checkout-title {
    margin-top: 30px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row .form-group {
    min-width: 0;
}

.form-row .form-group input,
.form-row .form-group textarea,
.form-row .form-group select {
    width: 100%;
    box-sizing: border-box;
}

/* ===== Orders Page ===== */
.orders-page {
    flex: 1;
    padding: 30px 0;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.orders-page h1 {
    margin: 0;
}

.order-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-filter label {
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.9rem;
    background: var(--white);
    cursor: pointer;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.no-orders {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.no-orders h3 {
    margin-bottom: 10px;
}

.no-orders p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.order-number {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
}

.order-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.PENDING {
    background: #fef3c7;
    color: #92400e;
}

.order-status.ACCEPTED,
.order-status.PROCESSING {
    background: #dbeafe;
    color: #1e40af;
}

.order-status.SHIPPED {
    background: #e0e7ff;
    color: #4338ca;
}

.order-status.DELIVERED {
    background: #dcfce7;
    color: #166534;
}

.order-status.CANCELLED {
    background: #fee2e2;
    color: #991b1b;
}

.order-status.large {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.order-items-preview {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-totals {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-total {
    font-weight: 700;
    font-size: 1.1rem;
}

.courier-charges {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===== Order Details Page ===== */
.order-details-page {
    flex: 1;
    padding: 30px 0;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.order-details-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.order-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.order-details-header h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.order-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.order-section h3 {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-section p {
    margin-bottom: 8px;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.item-info {
    display: flex;
    gap: 10px;
}

.item-name {
    font-weight: 500;
}

.item-qty {
    color: var(--text-light);
}

.item-prices {
    text-align: right;
}

.unit-price {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.item-subtotal {
    font-weight: 600;
}

.order-subtotal-row {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
    font-size: 1rem;
}

.subtotal-amount {
    font-weight: 600;
    color: var(--text-color);
}

.order-courier-row {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 5px;
    font-size: 1rem;
    color: var(--text-light);
}

.courier-amount {
    font-weight: 600;
    color: var(--text-color);
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 2px solid var(--border-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.total-amount {
    color: var(--primary-color);
}

.order-actions {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    color: var(--text-light);
    margin-top: auto;
}

/* ===== Products Section (Home Page) ===== */
.products-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.view-all-products {
    text-align: center;
    margin-top: 40px;
}

/* ===== About Section (Home Page) ===== */
.about-section {
    padding: 60px 0;
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.about-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-color);
    border-radius: var(--radius);
}

.about-icon {
    font-size: 1.5rem;
    color: var(--success-color);
    font-weight: bold;
    min-width: 30px;
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .order-sections {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .products-section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .about-section {
        padding: 40px 0;
    }

    .orders-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-filter {
        width: 100%;
    }

    .filter-select {
        flex: 1;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cart-item-image {
        width: 100%;
        height: 150px;
    }

    .cart-item-quantity {
        justify-content: center;
    }

    .cart-item-subtotal {
        text-align: center;
    }

    .remove-btn {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .cart-item {
        position: relative;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .order-details-header {
        flex-direction: column;
        gap: 15px;
    }

    .order-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .item-prices {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .auth-card {
        padding: 25px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .category-filter {
        justify-content: center;
    }
}

/* ===== Profile Dropdown ===== */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.2s;
}

.profile-btn:hover {
    background: var(--white);
    border-color: var(--primary-color);
}

.profile-avatar {
    font-size: 1.1rem;
}

.profile-name {
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 0.6rem;
    color: var(--text-light);
    transition: transform 0.2s;
}

.profile-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.profile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.profile-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.profile-menu-item:hover {
    background: var(--bg-color);
}

.profile-menu-item.active {
    background: #e0e7ff;
    color: var(--primary-color);
}

.profile-menu-item .menu-icon {
    font-size: 1rem;
}

.menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 5px 0;
}

.logout-item:hover {
    background: #fee2e2;
    color: var(--error-color);
}

/* ===== Profile Page ===== */
.profile-card {
    max-width: 500px;
}

.profile-email {
    background: var(--bg-color);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 25px;
}

.profile-email label {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.email-display {
    font-weight: 600;
    color: var(--text-color);
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Use Saved Address Button in Cart */
.use-saved-address-btn {
    background: #e0e7ff;
    color: var(--primary-color);
    border: 1px dashed var(--primary-color);
    padding: 10px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    width: 100%;
    transition: all 0.2s;
}

.use-saved-address-btn:hover {
    background: var(--primary-color);
    color: white;
    border-style: solid;
}

.use-saved-address-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Saved Address Section in Cart ===== */
.saved-address-section {
    margin-bottom: 20px;
}

.saved-address-card {
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f4ff 100%);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    transition: opacity 0.3s;
}

.saved-address-card.dimmed {
    opacity: 0.5;
}

.saved-address-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(79, 70, 229, 0.2);
}

.saved-address-icon {
    font-size: 1.2rem;
}

.saved-address-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.saved-address-content p {
    margin: 4px 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.saved-address-content .saved-name {
    font-weight: 600;
    font-size: 1rem;
}

.saved-address-content .saved-addr {
    color: var(--text-light);
}

.saved-address-content .saved-pincode,
.saved-address-content .saved-mobile {
    font-size: 0.85rem;
    color: var(--text-light);
}

.use-different-address {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-label span {
    user-select: none;
}

/* Hidden class for form fields */
.hidden {
    display: none !important;
}

/* ===== Security and Production Features ===== */

/* Button loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Password strength indicator */
.password-strength {
    margin-top: 8px;
    display: none;
}

.password-strength-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.password-strength-bar.weak {
    background: #ef4444;
    width: 33%;
}

.password-strength-bar.medium {
    background: #f59e0b;
    width: 66%;
}

.password-strength-bar.strong {
    background: #10b981;
    width: 100%;
}

.password-strength-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.password-strength-bar.weak + .password-strength-text {
    color: #ef4444;
}

.password-strength-bar.medium + .password-strength-text {
    color: #f59e0b;
}

.password-strength-bar.strong + .password-strength-text {
    color: #10b981;
}

/* Prevent text selection on buttons during double-click */
button, .btn {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Form submitting state */
form.is-submitting {
    opacity: 0.7;
    pointer-events: none;
}

/* Disabled button state */
button:disabled, .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* =============================================================
   HOMEPAGE REDESIGN STYLES
   ============================================================= */

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes floatBob {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

@keyframes blobDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -20px) scale(1.05); }
    66%       { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ===== Scroll-triggered animations ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Section Badge ===== */
.section-badge {
    display: inline-block;
    background: #e0e7ff;
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.section-badge-green {
    background: #dcfce7;
    color: #15803d;
}

/* ===== Home Section Header ===== */
.home-section-header {
    text-align: center;
    margin-bottom: 52px;
}

.home-section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 14px;
}

.home-section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== HOME HEADER ===== */
.home-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.4);
}

.home-logo-image {
    height: 100px !important;
    width: auto;
    margin-right: 0 !important;
}

.home-logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-logo-icon {
    font-size: 2rem;
}

/* ===== HERO SECTION ===== */
.home-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0e3d22 0%, #155c36 35%, #1a7040 60%, #0f4c2a 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
}

/* Animated background blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.18;
    animation: blobDrift 12s ease-in-out infinite;
    pointer-events: none;
}

.hero-blob-1 {
    width: 500px; height: 500px;
    background: #4ade80;
    top: -100px; left: -100px;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 400px; height: 400px;
    background: #fbbf24;
    bottom: 150px; right: -80px;
    animation-delay: -4s;
}

.hero-blob-3 {
    width: 350px; height: 350px;
    background: #34d399;
    bottom: -100px; left: 40%;
    animation-delay: -8s;
}

/* Hero two-column layout */
.home-hero-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 60px;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.home-hero-content {
    flex: 1;
    color: #fff;
    animation: fadeInLeft 0.9s ease forwards;
}

/* Hero badge */
.hero-badge-wrap {
    margin-bottom: 22px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

/* Hero title */
.hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 22px;
}

.hero-title-accent {
    background: linear-gradient(90deg, #86efac, #fde68a, #86efac);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.82);
    max-width: 520px;
    margin-bottom: 36px;
}

/* Hero CTA buttons */
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 16px 32px;
    background: #fff;
    color: #155c36;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-hero-primary:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.45);
    transition: all 0.25s;
    backdrop-filter: blur(4px);
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.7);
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.25);
}

/* Hero visual cards */
.home-hero-visual {
    flex: 0 0 360px;
    position: relative;
    animation: fadeInRight 0.9s ease 0.2s both;
}

.hero-card-stack {
    position: relative;
    width: 360px;
    height: 400px;
}

.hero-visual-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 18px 22px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    animation: floatBob 4s ease-in-out infinite;
    min-width: 200px;
}

.hero-visual-card strong { display: block; font-size: 0.95rem; font-weight: 700; }
.hero-visual-card p { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin: 0; }

.hvc-1 { top: 30px;  left: 0;    animation-delay: 0s; }
.hvc-2 { top: 150px; right: 0;   animation-delay: -1.3s; }
.hvc-3 { bottom: 60px; left: 20px; animation-delay: -2.6s; }

.hvc-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.hero-main-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #f97316, #fbbf24);
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(249,115,22,0.4);
    animation: floatBob 3s ease-in-out infinite;
    animation-delay: -1.5s;
}

.hmb-icon { font-size: 1.8rem; }
.hmb-text { font-size: 0.7rem; color: #fff; font-weight: 600; text-align: center; line-height: 1.3; }
.hmb-text strong { display: block; font-size: 0.85rem; }

/* Hero features bar (bottom strip) */
.hero-features-bar {
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    position: relative;
    z-index: 2;
}

.hero-features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.hero-feature-item strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}

.hero-feature-item span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
}

.hfi-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

/* ===== HOME PRODUCTS ===== */
.home-products {
    padding: 90px 0;
    background: var(--bg-color);
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.home-product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.hpc-image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
}

.hpc-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home-product-card:hover .hpc-image {
    transform: scale(1.06);
}

.hpc-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
}

.hpc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 76, 42, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-product-card:hover .hpc-overlay {
    opacity: 1;
}

.hpc-view-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #155c36;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 30px;
    text-decoration: none;
    transform: translateY(8px);
    transition: transform 0.3s ease;
}

.home-product-card:hover .hpc-view-btn {
    transform: translateY(0);
}

.hpc-body {
    padding: 22px 24px;
}

.hpc-category {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.hpc-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.hpc-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

.home-products-cta {
    text-align: center;
}

/* ===== TESTIMONIALS ===== */
.home-testimonials {
    padding: 90px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.tc-featured {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-color: #86efac;
    transform: scale(1.03);
}

.tc-featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.tc-stars {
    color: #f59e0b;
    font-size: 1.15rem;
    margin-bottom: 18px;
    letter-spacing: 3px;
}

.tc-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 24px;
    font-style: italic;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tc-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.tc-avatar-1 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.tc-avatar-2 { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.tc-avatar-3 { background: linear-gradient(135deg, #f97316, #c2410c); }

.tc-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
}

.tc-role {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ===== ABOUT SECTION ===== */
.home-about {
    padding: 90px 0;
    background: var(--bg-color);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-story-side h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 20px;
    margin-top: 14px;
}

.about-intro {
    font-size: 1.1rem;
    font-weight: 600;
    color: #155c36;
    line-height: 1.7;
    margin-bottom: 18px;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--white);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.av-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
}

.about-value strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3px;
}

.about-value p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}

/* Visual side */
.about-image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #0e3d22 0%, #1a7040 100%);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(15,76,42,0.25);
}

.about-img-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.8);
}

.aip-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 12px;
}

.about-img-placeholder p {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.about-img-badge {
    position: absolute;
    bottom: -14px;
    right: 28px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #fff;
    border-radius: 14px;
    padding: 12px 22px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(249,115,22,0.35);
}

.about-img-badge span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.85;
}

.about-img-badge strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
}

/* Milestones */
.about-milestones {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 36px;
}

.milestone {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.milestone-num {
    font-size: 1.25rem;
    font-weight: 900;
    color: #155c36;
    min-width: 52px;
}

.milestone-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== CONTACT CTA BANNER ===== */
.home-contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #4f46e5 0%, #6d28d9 100%);
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text-side h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 10px;
}

.cta-text-side p {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    max-width: 440px;
    line-height: 1.7;
}

.btn-cta-primary {
    display: inline-block;
    padding: 16px 40px;
    background: #fff;
    color: #4f46e5;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    margin-bottom: 16px;
}

.btn-cta-primary:hover {
    background: #f5f3ff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.cta-contact-chips {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-contact-chips span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

/* ===== HOME FOOTER ===== */
.home-footer {
    background: #0f1a13;
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo-img {
    height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.55);
    max-width: 260px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.25s;
    flex-shrink: 0;
}

.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-facebook   { background: #1877f2; }
.social-whatsapp   { background: #25d366; }

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.footer-col-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #86efac;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fci-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
}

.fci-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* =============================================================
   CONTACT PAGE STYLES
   ============================================================= */
.contact-main {
    flex: 1;
    background: var(--bg-color);
}

/* Contact Hero */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #0e3d22 0%, #155c36 40%, #1a7040 100%);
    padding: 90px 0 70px;
    text-align: center;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(134,239,172,0.15) 0%, transparent 60%),
                radial-gradient(circle at 80% 50%, rgba(251,191,36,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin: 14px 0 18px;
    position: relative;
}

.contact-hero-title span {
    background: linear-gradient(90deg, #86efac, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

/* Contact Content Grid */
.contact-content {
    padding: 60px 20px 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: start;
}

/* Info side */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    gap: 18px;
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 4px solid #16a34a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.09);
}

.cic-icon-wrap {
    width: 48px;
    height: 48px;
    background: #dcfce7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cic-icon {
    font-size: 1.4rem;
}

.cic-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
}

.cic-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.cic-note {
    font-size: 0.78rem !important;
    color: #6b7280 !important;
    font-style: italic;
    margin-top: 4px !important;
}

/* Social section */
.contact-social-wrap {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.contact-social-wrap h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.contact-social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.csl-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.25s;
}

.csl-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.csl-facebook  { background: #1877f2; }
.csl-whatsapp  { background: #25d366; }

.csl-link:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Form side */
.contact-form-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.contact-form-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 8px;
}

.cfcard-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cf-group {
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s;
}

.cf-group.cf-focused {
    transform: none;
}

.cf-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    transition: color 0.2s;
}

.cf-group.cf-focused label {
    color: #155c36;
}

.cf-required {
    color: #ef4444;
}

.cf-group input,
.cf-group textarea {
    padding: 13px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    background: var(--bg-color);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
    resize: vertical;
}

.cf-group input:focus,
.cf-group textarea:focus {
    outline: none;
    border-color: #16a34a;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.cf-group.cf-filled input,
.cf-group.cf-filled textarea {
    border-color: #86efac;
    background: #fff;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #155c36 0%, #1a7040 100%);
    border: none;
    border-radius: 14px !important;
    font-size: 1rem;
    padding: 16px 28px !important;
    transition: all 0.25s !important;
    box-shadow: 0 6px 20px rgba(21,92,54,0.3);
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #0e3d22, #155c36) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(21,92,54,0.4);
}

/* =============================================================
   RESPONSIVE — HOMEPAGE & CONTACT
   ============================================================= */
@media (max-width: 1100px) {
    .hero-title { font-size: 2.8rem; }
    .home-hero-container { gap: 40px; }
    .home-hero-visual { flex: 0 0 300px; }
    .hero-card-stack { width: 300px; height: 340px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
    .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .home-hero-container { flex-direction: column; padding-top: 80px; gap: 50px; }
    .home-hero-content { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .home-hero-visual { flex: unset; align-self: center; }
    .hero-features-row { grid-template-columns: repeat(2, 1fr); }
    .home-products-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .tc-featured { transform: none; }
    .tc-featured:hover { transform: translateY(-6px); }
    .about-inner { grid-template-columns: 1fr; gap: 48px; }
    .about-visual-side { max-width: 480px; margin: 0 auto; }
    .contact-cta-inner { flex-direction: column; text-align: center; }
    .cta-text-side p { margin: 0 auto; }
    .cta-contact-chips { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .home-section-header h2 { font-size: 2rem; }
    .home-about .about-story-side h2 { font-size: 2rem; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2.2rem; }
    .home-hero { min-height: auto; }
    .hero-features-row { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hero-feature-item { flex-direction: column; align-items: flex-start; gap: 6px; }
    .home-products-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
    .about-values { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cf-row { grid-template-columns: 1fr; }
    .contact-hero-title { font-size: 2.2rem; }
    .contact-form-card { padding: 24px; }
    .home-section-header h2 { font-size: 1.7rem; }
    .home-about .about-story-side h2 { font-size: 1.7rem; }
    .cta-text-side h2 { font-size: 1.6rem; }
}

/* Mobile nav button row */
.mobile-nav-cta {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.mobile-nav-cta .btn {
    flex: 1;
    text-align: center;
}
