/* Global Styles */
:root {
    --primary-green: #2E8B57;
    /* SeaGreen */
    --secondary-green: #3CB371;
    --accent-yellow: #FFD700;
    /* Gold */
    --light-bg: #F9FDF9;
    --text-dark: #333;
    --text-light: #666;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: #000;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--accent-yellow);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-yellow);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

/* Top Ad Note */
.top-ad-bar {
    background-color: #f8d7da;
    color: #721c24;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-green);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: auto;
    min-height: 100vh;
    /* Optional: keep it full height if user wants that, but 'according to elements' suggests auto. Let's try auto first, but for a side drawer, usually 100vh is standard.
    Wait, "height osk elements k according lo" means strictly height = content height.
    Let's use `height: auto` and `bottom: auto`. */
    height: auto;
    min-height: auto;
    bottom: auto;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    flex-direction: column;
    padding: 20px;
    transition: 0.4s ease-in-out;
    display: flex;
}

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

.close-icon {
    align-self: flex-end;
    font-size: 2rem;
    cursor: pointer;
    margin-bottom: 20px;
}

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

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-cta {
    background-color: var(--primary-green);
    color: var(--white) !important;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    overflow: hidden;
}

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

.hero-text h1 {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sections Common */
.section-title {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 10px;
    /* reduced for layout */
}

/* About Us */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

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

.about-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Why Us */
.why-us-section {
    padding: 80px 0;
    background-color: #f1f8f1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

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

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.icon-box img {
    width: 80px;
    height: auto;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.quote {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.author {
    font-weight: 700;
    color: var(--primary-green);
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

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

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

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

.faq-answer.open {
    padding: 20px;
    max-height: 200px;
    /* Arbitrary large height */
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.footer-column p,
.footer-column a {
    color: #ccc;
    margin-bottom: 10px;
    display: block;
}

.footer-column a:hover {
    color: var(--accent-yellow);
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 3000;
    display: flex;
    /* Always visible initially */
    justify-content: center;
    align-items: center;
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content h3 {
    margin-bottom: 0px;
    font-size: 1.2rem;
    white-space: nowrap;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

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

.loader-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 20px;
    animation: fadePulse 2s infinite;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}