/* Global Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #333333;
    --text-color: #1a1a1a;
    --light-gray: #f4f4f4;
    --border-color: #e0e0e0;
    --font-family: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

/* Replaced * selector with .web-reset */
.web-reset {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.page-root {
    scroll-behavior: smooth;
}

.body-wrapper {
    font-family: var(--font-family);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.styled-link {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

.styled-list {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-speed);
    border: none;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--light-gray);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 6px;
}

.btn-large:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Page Loader */
.loader {
    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;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

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

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

/* Advertisement Note */
.ad-note {
    background-color: var(--light-gray);
    color: var(--text-color);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

/* Header */
.header {
    background-color: var(--secondary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.brand-logo {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--primary-color), #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}

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

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

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

.cta-mobile {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

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

/* Menu Close Icon */
.menu-close-icon {
    display: none;
    /* Hidden on desktop */
    font-size: 3rem;
    color: var(--primary-color);
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

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

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

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

.hero-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.center-text {
    text-align: center;
    margin-bottom: 50px;
}

.section-text {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-direction: row-reverse;
    /* Image right for variety */
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

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

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

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

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

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

.feature-text {
    color: #666;
    font-size: 0.95rem;
}

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

.testimonial-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-name {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.stars {
    color: #FFD700;
    /* Gold */
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

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

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

.faq-answer p {
    padding-bottom: 20px;
    color: #666;
}

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

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

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

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

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

.footer-disclaimer {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: #777;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* Initially hidden via JS logic or CSS class toggle, but user wants "always popup" so we start visible or handled by JS on load check. 
   Usually better to start hidden to avoid FOUC or just let JS trigger it. 
   But the prompt implies it should just appear. I'll make it visible by default and let JS handle close.
*/
.cookie-modal.hidden {
    display: none;
}

.cookie-content {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.cookie-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #555;
}

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

/* Other Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    color: #333;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 200;
    }

    .hamburger.active {
        /* Hide the hamburger when menu is open, since we have an internal close button */
        display: none;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 75%;
        /* 75% width as requested */
        height: 100%;
        padding-top: 80px;
        transition: 0.3s;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 150;
    }

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

    .menu-close-icon {
        display: block;
        /* Visible on mobile */
    }

    .nav-item {
        margin: 15px 0;
    }

    .cta-desktop {
        display: none;
    }

    .cta-mobile {
        display: block;
        margin-top: 20px;
    }

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

    .hero-container {
        flex-direction: column-reverse;
        /* Text first on mobile usually better, but design can vary. Keeping Image below text as per desktop flex wrap order unless specified. */
    }

    .about-container {
        flex-direction: column;
    }
}