/* Global Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #f5f5f5;
    /* Light gray for backgrounds */
    --text-color: #333333;
    --light-text: #666666;
    --border-color: #e0e0e0;
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.nav-item,
.footer-link,
.mobile-link,
.logo {
    transition: color var(--transition-speed);
}

.text-decoration-none {
    text-decoration: none;
    color: inherit;
}

.list-style-none {
    list-style: none;
    padding: 0;
    margin: 0;
}

.responsive-img {
    max-width: 100%;
    display: block;
}

.pointer-cursor {
    cursor: pointer;
    font-family: inherit;
}

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

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary-color);
    transition: all var(--transition-speed);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.section-text {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-text);
}

/* Page Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loader-text {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Advertisement Banner */
.ad-banner {
    background-color: #f8f9fa;
    color: #666;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

/* Navbar */
.navbar {
    background-color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-item {
    font-weight: 500;
    font-size: 1rem;
}

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

.nav-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 75%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.mobile-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.close-icon {
    font-size: 2rem;
    cursor: pointer;
    font-weight: 300;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--accent-color);
}

.mobile-cta {
    text-align: center;
    margin-top: 20px;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column-reverse;
    /* Text on top/bottom based on query, changing to flex-row for desktop */
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    background-color: var(--accent-color);
}

@media (min-width: 900px) {
    .hero-section {
        flex-direction: row;
        justify-content: space-between;
        padding: 100px calc((100vw - 1200px) / 2);
        /* Centering like container */
    }
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    background-color: var(--secondary-color);
}

/* Why Us Section */
.why-us-section {
    background-color: var(--accent-color);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

/* Testimonials Section */
.testimonials-section {
    background-color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

/* FAQ Section */
.faq-section {
    background-color: var(--secondary-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--light-text);
}

/* Return Policy */
.return-policy-section {
    background-color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-disclaimer-box {
    background-color: #1a1a1a;
    padding: 20px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 20px;
}

.footer-disclaimer-text {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
    font-weight: 500;
}

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

@media (min-width: 768px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-heading {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-text,
.footer-link {
    color: #aaa;
    margin-bottom: 10px;
    display: block;
    line-height: 1.5;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    margin-top: 20px;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-modal.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 600px;
    text-align: center;
}

.cookie-title {
    margin-top: 0;
    margin-bottom: 10px;
}

.cookie-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
}

.cookie-btn.accept {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.cookie-btn.reject {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

/* Responsiveness for Nav */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}