/* General Reset & Variables */
:root {
    --primary-blue: #0A192F; /* Navy Blue */
    --accent-red: #D32F2F;   /* Red */
    --text-black: #111111;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --gray-bg: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-black);
    background-color: var(--text-white);
    overflow-x: hidden;
}

/* Page Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid var(--text-white);
    border-top: 5px solid var(--accent-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Top Advertisement Banner */
.top-advertisement-banner {
    background-color: #f1f1f1;
    color: #666;
    text-align: center;
    font-size: 0.8rem;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* Header */
.main-header {
    background-color: var(--primary-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    color: var(--text-white);
    font-size: 1.8rem;
    font-weight: 700;
}

.desktop-nav {
    display: none;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-red);
}

.cta-wrapper-desktop {
    display: none;
}

.shop-btn {
    background-color: var(--accent-red);
    color: var(--text-white);
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.shop-btn:hover {
    background-color: #b71c1c;
}

/* Hamburger Menu */
.hamburger-menu {
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 75%; /* 75% width requirement */
    height: 100%;
    background-color: var(--primary-blue);
    z-index: 2000;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    padding: 20px;
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.logo-text-mobile {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: bold;
}

.close-icon {
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    margin-bottom: 25px;
}

.mobile-nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
}

.shop-btn-mobile {
    background-color: var(--accent-red);
    color: var(--text-white);
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    text-align: center;
    width: 100%;
}

/* Hero Section */
.hero-section {
    /* Using a linear gradient as placeholder for bg image */
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('aid.png');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    padding: 0 20px;
}

.hero-heading {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subheading {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--accent-red);
    color: var(--text-white);
    padding: 15px 40px;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: transform 0.3s;
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* General Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-blue);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
    margin: 10px auto 0;
}

/* About Section */
.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.feature-title {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background: var(--text-white);
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
}

.customer-name {
    font-weight: 600;
}

.testimonial-text {
    font-style: italic;
    color: #555;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.faq-question {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-answer {
    color: #555;
}

/* Footer */
.main-footer {
    background-color: var(--primary-blue);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--accent-red);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-text {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-list {
    list-style: none;
}

.footer-list-item {
    margin-bottom: 10px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--accent-red);
}

.footer-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 1rem;
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    text-decoration: underline;
}

.footer-btn:hover {
    color: var(--accent-red);
}

.consumer-notice {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-size: 0.75rem;
    color: #888;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--text-white);
    padding: 25px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 9990;
    border-radius: 8px;
    display: none; /* Hidden initially, shown via JS */
    border-left: 5px solid var(--accent-red);
}

.cookie-title {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.cookie-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn.accept {
    background-color: var(--primary-blue);
    color: var(--text-white);
}

.cookie-btn.reject {
    background-color: #ddd;
    color: var(--text-black);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--text-white);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-black);
}

.modal-title {
    color: var(--primary-blue);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-red);
    padding-bottom: 10px;
}

.modal-body p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Media Queries for Desktop */
@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }
    
    .cta-wrapper-desktop {
        display: block;
    }
    
    .hamburger-menu {
        display: none;
    }

    .features-grid, .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cookie-popup {
        width: 400px;
        right: auto;
    }
}