/* CSS Reset & Variables */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-bg-light: #f9f9f9;
    --font-family-primary: 'Outfit', sans-serif;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --border-radius: 4px;
    --transition-speed: 0.3s;
}

/* Explicit Reset to avoid universal selector */
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 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

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

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

.loader-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.loader-bar {
    width: 0;
    height: 4px;
    background-color: var(--color-black);
    animation: loadBar 2s ease-in-out forwards;
}

@keyframes loadBar {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* Advertisement */
.advertisement-banner {
    background-color: #f0f0f0;
    color: var(--color-text);
    text-align: center;
    padding: var(--spacing-sm);
    font-size: 0.85rem;
    border-bottom: 1px solid #e0e0e0;
}

/* Header */
.site-header {
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    background-color: var(--color-white);
    z-index: 100;
    border-bottom: 1px solid #eee;
}

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

.brand-logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--color-black);
    border: 3px solid var(--color-black);
    padding: 4px 12px;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.desktop-nav {
    display: none;
    /* Mobile first hidden */
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--color-black);
    transition: all var(--transition-speed) ease;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--color-black);
}

.header-cta {
    display: none;
    /* Hidden on mobile */
}

/* Hamburger Menu */
.hamburger-menu {
    display: block;
    z-index: 101;
}

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden off-screen */
    width: 75%;
    /* 75% width as requested */
    height: 100%;
    background-color: var(--color-white);
    z-index: 200;
    transition: right 0.4s ease-in-out;
    padding: var(--spacing-xl) var(--spacing-md);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.mobile-brand {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--color-black);
    border: 3px solid var(--color-black);
    padding: 4px 12px;
}

.close-menu-btn {
    font-size: 2rem;
    color: var(--color-black);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-black);
}

.mobile-cta {
    text-align: center;
    width: 100%;
    margin-top: var(--spacing-md);
}

/* Hero Section */
.hero-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-light);
}

.hero-container {
    display: flex;
    flex-direction: column-reverse;
    gap: var(--spacing-lg);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
}

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

/* About Section */
.about-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.section-text {
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
    color: #444;
}

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

.why-us-section .section-title {
    color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.feature-card {
    background-color: #1a1a1a;
    padding: var(--spacing-lg);
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

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

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.feature-desc {
    color: #ccc;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--color-bg-light);
    padding: var(--spacing-lg);
    border-left: 4px solid var(--color-black);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    color: #555;
}

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

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: var(--spacing-lg);
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: var(--spacing-md) 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

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

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

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

.faq-answer p {
    padding-bottom: var(--spacing-md);
    color: #666;
}

/* Footer */
.site-footer {
    background-color: #111;
    color: #fff;
    padding-top: 60px;
    padding-bottom: 20px;
}

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

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

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

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

.small-text {
    font-size: 0.8rem;
    margin-top: 20px;
    opacity: 0.7;
}

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

.disclaimer-text {
    font-size: 0.8rem;
    color: #777;
    text-align: center;
    line-height: 1.4;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: #555;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    /* JS will show this */
    justify-content: center;
    align-items: flex-end;
    /* Show at bottom like a banner initially or center? User said "pop up". Let's center it or bottom. Code says modal structure. */
    z-index: 1000;
}

.cookie-content {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    width: 100%;
    max-width: 500px;
    margin-bottom: 50px;
    /* Floating from bottom */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: var(--border-radius);
    margin: auto;
    /* Center vertically if flex is center */
}

.cookie-modal {
    align-items: center;
    /* Center vertically */
}

.cookie-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.cookie-text {
    margin-bottom: var(--spacing-lg);
    color: #555;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background 0.3s;
}

.accept-btn {
    background-color: var(--color-black);
    color: var(--color-white);
}

.accept-btn:hover {
    background-color: #333;
}

.reject-btn {
    background-color: #eee;
    color: var(--color-black);
}

.reject-btn:hover {
    background-color: #ddd;
}

/* Modals (Legal) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #fefefe;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    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;
}

/* Media Queries */
@media (min-width: 768px) {
    .header-container {
        padding: 0 var(--spacing-md);
    }

    .hamburger-menu {
        display: none;
        /* Hide hamburger */
    }

    .desktop-nav {
        display: block;
    }

    .nav-list {
        display: flex;
        gap: var(--spacing-lg);
    }

    .header-cta {
        display: inline-block;
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
    }

    .hero-content,
    .hero-image-wrapper {
        flex: 1;
    }

    .about-container {
        flex-direction: row;
        align-items: center;
    }

    .about-content,
    .about-image-wrapper {
        flex: 1;
    }

    .about-image-wrapper {
        order: -1;
        /* Image left */
    }

    .why-us-container {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: var(--spacing-lg);
    }

    .why-us-content,
    .why-us-image-wrapper {
        flex: 1;
    }

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

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

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