:root {
    --primary-teal: #008b94;
    --deep-blue: #004a7c;
    --background-gradient: linear-gradient(135deg, #008b94 0%, #004a7c 100%);
    --white: #ffffff;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Slideshow Container */
.slider-container {
    width: 100%;
    height: 100vh;
    /* Full screen desktop */
    position: relative;
    background: var(--background-gradient);
    overflow: hidden;
}

@media (max-width: 768px) {
    .slider-container {
        height: 60vh;
    }
}

.slides {
    display: flex;
    width: 600%;
    /* Total 6 images */
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    /* This ensures the image stays within the box regardless of its original size */
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 85vh;
    /* Limits height so it doesn't push off screen */

    /* This maintains the image's original shape without distortion */
    object-fit: contain;

    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);

    /* Keeps it centered */
    display: block;
    margin: auto;
}

/* Fix ONLY second slide size */
.slide-fix img {
    width: 90%;
    height: 85vh;
    object-fit: contain;
}


/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 24px;
}

/* Header Styling */
header {
    background: var(--white);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--deep-blue);
    padding: 5px;
    order: -1;
    /* Place before logo on mobile */
}

@media (max-width: 768px) {
    header {
        padding: 10px 15px;
    }

    .hamburger-menu {
        display: block;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-container img {
        display: none;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: var(--background-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

@media (max-width: 768px) {
    nav {
        display: none;
        /* Hide standard nav on mobile */
    }
}

nav a {
    text-decoration: none;
    color: var(--deep-blue);
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary-teal);
}

/* Info Sections */
.info-section {
    padding: 80px 5%;
    background: var(--white);
    color: var(--deep-blue);
    position: relative;
    scroll-margin-top: 60px;
    /* For sticky header offset */
}

.info-section.alt-bg {
    background: #f4f7f9;
    /* Light gray-blue for contrast */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    background: var(--background-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-header .underline {
    width: 80px;
    height: 4px;
    background: var(--primary-teal);
    margin: 0 auto;
    border-radius: 2px;
}

#vision-mission .section-header .underline {
    display: none;
}

/* Vision & Mission Cards */
.vision-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 74, 124, 0.08);
    /* Deep blue shadow hint */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 139, 148, 0.1);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 139, 148, 0.15);
    /* Primary teal shadow */
}

.info-card .icon {
    font-size: 48px;
    margin-bottom: 25px;
    background: rgba(0, 139, 148, 0.1);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.info-card h3 {
    color: var(--deep-blue);
    font-size: 24px;
    margin-bottom: 15px;
}

.info-card p {
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

/* Policy Grid */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.policy-item {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-teal);
}

.policy-item h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--deep-blue);
    margin-bottom: 20px;
    font-size: 22px;
}

.policy-item.full-width {
    grid-column: 1 / -1;
}

.policy-item ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.policy-item ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.policy-item ul li:last-child {
    border-bottom: none;
}

/* Return Policy Details */
.policy-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px dashed #ddd;
}

.policy-details .detail h4 {
    color: var(--primary-teal);
    margin-bottom: 8px;
    font-size: 18px;
}

.policy-details .detail p {
    font-size: 14px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 28px;
    }

    .policy-grid {
        grid-template-columns: 1fr;
    }

    .info-section {
        padding: 50px 20px;
    }
}

footer {
    background: #0b1a27;
    /* Very dark blue for contrast */
    color: white;
    padding: 40px 5% 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--primary-teal);
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    footer {
        padding: 8px 5% 6px;
        overflow: visible;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3px;
        margin-bottom: 2px;
    }

    .footer-section {
        line-height: 1.1;
        padding: 0;
        overflow: visible;
    }

    .footer-section h4 {
        margin: 0;
        padding: 0;
        font-size: 11px;
        line-height: 1;
    }

    .footer-section a,
    .footer-section p {
        font-size: 11px;
        margin: 0;
        padding: 0;
        line-height: 1.1;
    }

    .footer-bottom {
        padding: 2px 0 0 0;
        font-size: 10px;
        border-top: none;
        margin: 2px 0 0 0;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Search Bar Improvements */
.search-container {
    display: flex;
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    transition: none;
    box-shadow: none;
    align-items: center;
}

.search-container:focus-within {
    box-shadow: none;
    border-color: transparent;
}

.search-input {
    flex: 1;
    border: none;
    border-bottom: 2px solid #eee;
    background: transparent;
    padding: 8px 0;
    font-size: 16px;
    outline: none;
    color: var(--deep-blue);
    transition: border-color 0.3s;
}

.search-input:focus {
    border-bottom-color: var(--primary-teal);
}

.search-btn {
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    font-size: 18px;
    color: #5f6368;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: var(--primary-teal);
}

@media (max-width: 992px) {
    .search-container {
        max-width: 400px;
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Collapse the spacer div so it doesn't push buttons off screen */
    header>div[style*="flex: 1"] {
        display: none;
    }

    .search-container {
        order: 3;
        margin: 10px 0;
        min-width: 100%;
        max-width: 100%;
    }

    /* On mobile: center the logo, keep hamburger left and show header-right (cart) on the right */
    header {
        justify-content: center;
        position: relative;
    }

    /* Hide spacer div so it doesn't push elements off screen */
    header>div[style*="flex: 1"] {
        display: none;
    }

    .logo-container {
        margin: 0 auto;
        z-index: 2;
    }

    .hamburger-menu {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 12px;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }
}

/* Update these specific sections in your style.css */

/* Side-panel dashboard styles */
.side-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    z-index: 1000;
}

.side-overlay.active {
    display: block;
}

.side-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 280px;
    max-width: 85%;
    background: var(--white);
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    z-index: 1001;
    box-shadow: 2px 0 18px rgba(0, 0, 0, 0.12);
    padding: 20px 18px;
}

.side-panel.active {
    transform: translateX(0);
}

.side-panel .close-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
}

.side-panel .panel-content {
    padding-top: 8px;
}

.side-panel h3 {
    margin: 6px 0 14px;
    color: var(--deep-blue);
}

.panel-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}

.panel-item {
    display: inline-block;
    padding: 10px 12px;
    color: var(--deep-blue);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s;
}

.panel-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    header nav {
        display: none;
    }
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.next {
    right: 20px;
}

.prev {
    left: 20px;
}

/* ==========================================
   ORDERS MODAL
   ========================================== */

.orders-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: flex-end;
    justify-content: center;
}

.orders-modal.active {
    display: flex;
}

.orders-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.orders-modal-content {
    background: #fff;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 3001;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 32px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 -8px 32px rgba(0, 74, 124, 0.18);
    animation: slideUpModal 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

#orders-list {
    overflow-y: auto;
    flex: 1;
    padding-right: 5px;
    box-sizing: border-box;
}

@keyframes slideUpModal {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.orders-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.orders-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--deep-blue);
}

.orders-modal-close {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
}

.orders-modal-close:hover {
    background: #f0f0f0;
}

.order-card {
    border: 1px solid #e8edf2;
    border-left: 5px solid var(--primary-teal);
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
    background: #fafcff;
    transition: box-shadow 0.2s;
}

.order-card:hover {
    box-shadow: 0 4px 14px rgba(0, 139, 148, 0.12);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.order-card-id {
    font-weight: 700;
    color: var(--deep-blue);
    font-size: 15px;
}

.order-card-date {
    font-size: 12px;
    color: #888;
}

.order-card-items {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.order-total-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--deep-blue);
}

.order-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status-badge.paid {
    background: #d4edda;
    color: #155724;
}

.order-status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status-badge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-repeat {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(135deg, #008b94, #004a7c);
    color: #fff;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-repeat:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-cancel {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid #dc3545;
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
    color: #dc3545;
    transition: background 0.2s, color 0.2s, transform 0.1s;
}

.btn-cancel:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-1px);
}

.orders-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.orders-loading {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 15px;
}

/* ==========================================
   COOKIE CONSENT BANNER
   ========================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 15px rgba(0, 74, 124, 0.15);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 70%;
}

.cookie-content p {
    margin: 0;
    color: var(--deep-blue);
    font-size: 14px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.btn-cookie {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    border: 1.5px solid var(--primary-teal);
}

.btn-cookie.accept {
    background: var(--background-gradient);
    color: #fff;
    border: none;
}

.btn-cookie.reject {
    background: transparent;
    color: var(--primary-teal);
}

.btn-cookie:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 139, 148, 0.2);
}

/* Terms and Conditions Consent Styles */
.form-group.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9em;
    color: #555;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary-teal);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .cookie-content {
        max-width: 100%;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .btn-cookie {
        flex: 1;
    }
}