/* Global Styles */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #1B5E20;
    --accent-color: #ffffff;
    --background-color: #ffffff;
    --text-color: #333333;
    --light-gray: #f9f9f9;
    --border-color: #e0e0e0;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
button,
input {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    font-weight: 700;
}

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

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease-out 2s forwards;
}

.loader-title {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Top Disclaimer */
.top-disclaimer {
    background-color: var(--light-gray);
    color: var(--secondary-color);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

/* Navigation */
.navbar {
    background-color: var(--background-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    font-style: italic;
}

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

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

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
}

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

.cta-button {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #222;
    transform: translateY(-2px);
}

/* Base Hamburger Styles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    /* Add some touch area */
}

/* Hamburger Bars */
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

/* Close Button in Mobile Menu */
.nav-close-btn {
    display: none;
    /* Initially hidden, shown only in active mobile menu */
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
}


/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

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

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

/* Section Common */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

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

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

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

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

.testimonials-section .section-title {
    color: var(--accent-color);
}

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

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    font-style: italic;
}

.testimonial-text {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.testimonial-author {
    font-weight: 600;
    text-align: right;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.faq-item {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
}

.faq-question {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 60px 0 20px;
}

.footer-note {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 40px;
    font-size: 0.9rem;
    text-align: center;
}

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

.footer-heading {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-text,
.footer-links a {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: block;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    color: #888;
    font-size: 0.85rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: none;
    /* Controlled by JS */
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    border: none;
}

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

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

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--background-color);
        width: 75%;
        /* 75% width as requested */
        height: 100vh;
        /* Full height */
        text-align: center;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 60px;
        /* Space for close button */
        justify-content: flex-start;
        /* Align contents to top */
    }

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

    .nav-close-btn {
        display: block;
        /* Show only when menu is active/on mobile */
    }

    .nav-links {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .nav-cta {
        margin-top: 10px;
    }

    .hero-container {
        flex-direction: column-reverse;
        padding-top: 20px;
        gap: 30px;
    }

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

    .testimonial-card {
        padding: 20px;
    }
}