/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Variables */
:root {
    --primary-color: #fca311; /* Vibrant orange/yellow */
    --primary-color-hover: #e5930e;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --dark-bg: #14213d;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Explicit layout */
.page-loader, .top-advertisement-banner, .main-header, .header-container, .desktop-nav, .nav-list, .hero-section, .about-section, .why-us-section, .testimonials-section, .faq-section, .section-container, .features-grid, .testimonials-grid, .faq-list, .main-footer, .footer-container, .footer-grid, .cookie-popup-overlay, .cookie-popup, .modal-overlay, .modal-content, .about-grid, .hero-content {
    box-sizing: border-box;
}

.heading-main, .hero-title, .section-title, .feature-title, .cookie-title, .modal-title, .footer-heading, .faq-question {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
    box-sizing: border-box;
}

.text-paragraph, .section-paragraph, .feature-description, .testimonial-text, .faq-paragraph, .footer-text, .cookie-text, .modal-text {
    margin: 0 0 1rem 0;
    box-sizing: border-box;
}

.text-center {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-sizing: border-box;
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-color);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-sizing: border-box;
}

.btn-secondary:hover {
    background-color: rgba(0,0,0,0.05);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    display: block;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.hidden-loader {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--bg-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: loaderSpin 1s linear infinite;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-bg);
}

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

/* Advertisement Top Banner */
.top-advertisement-banner {
    background-color: #f7f7f7;
    color: #444444;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.top-advertisement-text {
    display: inline-block;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.brand-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-bg);
    letter-spacing: -0.5px;
}

.desktop-nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-item {
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.header-cta-wrapper {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-bg);
    border-radius: 3px;
    box-sizing: border-box;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.menu-active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    position: absolute;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--white);
    padding: 20px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

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

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

.mobile-menu-close {
    font-size: 2rem;
    font-weight: 300;
    color: var(--dark-bg);
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.mobile-nav-item {
    margin-bottom: 25px;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

.mobile-cta-wrapper {
    margin-top: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1592833159057-69de4ca8a5e8?q=80&w=1470&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(20, 33, 61, 0.7), rgba(20, 33, 61, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* Sections */
.about-section, .why-us-section, .testimonials-section, .faq-section {
    padding: 80px 20px;
}

.why-us-section, .faq-section {
    background-color: var(--bg-light);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    color: var(--dark-bg);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.text-center.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.about-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: block;
    box-sizing: border-box;
}

/* Features Profile / Why Us */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    box-sizing: border-box;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.25rem;
    color: var(--dark-bg);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-sizing: border-box;
}

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

.testimonial-author {
    font-weight: 600;
    color: var(--dark-bg);
}

/* FAQ */
.faq-list {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    box-sizing: border-box;
}

.faq-question {
    padding: 20px;
    margin: 0;
    font-size: 1.125rem;
    color: var(--dark-bg);
    cursor: pointer;
    position: relative;
    padding-right: 40px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.active-faq .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    box-sizing: border-box;
}

.active-faq .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 500px;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: #cccccc;
    padding: 60px 20px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-heading {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 25px;
}

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

.footer-list-item {
    margin-bottom: 12px;
}

.footer-icon {
    margin-right: 10px;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-bottom: 20px;
    text-align: center;
    box-sizing: border-box;
}

.footer-disclaimer-text {
    font-size: 0.85rem;
    margin: 0;
    color: #999999;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright-text {
    font-size: 0.9rem;
    margin: 0;
}

/* Cookie Popup */
.cookie-popup-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 3000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    display: flex;
    justify-content: center;
}

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

.cookie-popup {
    max-width: 800px;
    text-align: center;
}

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

/* Modal for Return Policy */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    z-index: 4000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 8px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    box-sizing: border-box;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 20px;
    box-sizing: border-box;
}

/* Responsive Media Queries */
@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid, .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }

    .desktop-nav {
        display: block;
    }
    
    .header-cta-wrapper {
        display: block;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}
