/* === GLOBAL STYLES & VARIABLES === */
:root {
    --primary-color: #0A2342; /* Deep Navy Blue */
    --secondary-color: #F0F4F8; /* Light Grey/Off-white */
    --accent-color: #D4AF37; /* Gold */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); color: var(--text-dark); line-height: 1.6; background: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: var(--accent-color); }
.section-padding { padding: 80px 0; }
.section-dark { background: var(--primary-color); color: var(--text-light); }
.section-title { text-align: center; margin-bottom: 4rem; }
.page-header { background: var(--primary-color); color: var(--text-light); text-align: center; padding: 60px 0; }
.page-header h1 { font-size: 3rem; }

/* === BUTTONS === */
.btn { display: inline-block; padding: 12px 24px; border-radius: 5px; font-weight: 700; font-family: var(--font-heading); transition: all 0.3s ease; }
.btn-primary { background: var(--accent-color); color: var(--primary-color); border: 2px solid var(--accent-color); }
.btn-primary:hover { background: transparent; color: var(--accent-color); }
.btn-large { padding: 15px 30px; font-size: 1.1rem; }

/* === HEADER & NAVIGATION === */
.main-header { background: #fff; padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }

/* === LOGO STYLES === */
.logo {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
}
.logo img {
    height: 40px; /* Adjust this height to fit your logo */
    width: auto;
    display: block;
}

/* === NAVIGATION STYLES === */
.main-nav ul { list-style: none; display: flex; }
.main-nav ul li { margin-left: 30px; position: relative; }
.main-nav ul li a { color: var(--primary-color); font-weight: 700; font-size: 1rem; padding: 20px 0; border-bottom: 2px solid transparent; transition: border-color 0.3s ease; }
.main-nav ul li a:hover { color: var(--accent-color); }
.main-nav ul li .dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; list-style: none; padding: 10px 0; box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-radius: 5px; min-width: 220px; }
.main-nav ul li:hover > .dropdown { display: block; }
.main-nav .dropdown li { margin: 0; }
.main-nav .dropdown li a { display: block; padding: 10px 20px; border-bottom: none; width: 100%; }
.main-nav .dropdown li a:hover { background-color: var(--secondary-color); }
.mobile-nav-toggle { display: none; font-size: 2rem; background: none; border: none; cursor: pointer; color: var(--primary-color); }

/* === HERO SECTION === */
#hero { background: linear-gradient(rgba(10, 35, 66, 0.85), rgba(10, 35, 66, 0.85)), url('https://images.unsplash.com/photo-1554224155-8d044b3a25c6?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzOTAwNXwwfDF8cmFuZG9tfHx8fHx8fHx8MTcyODM2Mzk4Nnw&ixlib=rb-4.0.3&q=85') no-repeat center center/cover; color: var(--text-light); padding: 120px 0; text-align: center; }
.hero-content { max-width: 800px; margin: 0 auto; }
#hero h1 { margin-bottom: 1rem; }
.subtitle { font-size: 1.2rem; color: var(--secondary-color); margin-bottom: 2rem; }

/* === FEATURED ON SECTION === */
#featured-on { background: var(--secondary-color); padding: 30px 0; text-align: center; }
#featured-on p { margin-bottom: 1rem; font-weight: 700; color: #555; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; filter: grayscale(100%); opacity: 0.6; }
.logos span { font-size: 1.5rem; font-weight: 700; font-family: var(--font-heading); }

/* === SCAM TYPES, PROCESS, STATS, TESTIMONIALS (GRID SYSTEMS) === */
.scam-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.scam-card { background: var(--secondary-color); padding: 30px; text-align: center; border-radius: 10px; }
.scam-card i { font-size: 3rem; color: var(--accent-color); margin-bottom: 1rem; }
.scam-card h3 { margin-bottom: 0.5rem; color: var(--primary-color); }
.process-steps { display: flex; justify-content: space-between; text-align: center; gap: 40px; }
.process-step { flex: 1; }
.step-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--accent-color); color: var(--primary-color); display: flex; justify-content: center; align-items: center; font-size: 2rem; margin: 0 auto 1.5rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; background: var(--secondary-color); padding: 40px; border-radius: 10px; text-align: center; margin-bottom: 5rem; }
.stat-number { display: block; font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--primary-color); }
.stat-label { font-weight: 700; color: #555; }
.testimonial-title { margin-bottom: 3rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { border: 1px solid #ddd; padding: 30px; border-radius: 10px; background: #fff; }
.stars { color: var(--accent-color); font-size: 1.5rem; margin-bottom: 1rem; }
.testimonial-card cite { display: block; margin-top: 1rem; font-weight: 700; font-style: normal; color: var(--primary-color); }

/* === FAQ === */
.faq-container { max-width: 800px; margin: 0 auto; }
details { background: #0D2B4F; border-radius: 5px; margin-bottom: 1rem; padding: 15px 20px; }
summary { font-weight: 700; font-family: var(--font-heading); font-size: 1.2rem; cursor: pointer; list-style: none; }
summary::-webkit-details-marker, summary::marker { display: none; }
summary::after { content: '+'; float: right; font-size: 1.5rem; transition: transform 0.3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-top: 1rem; margin-bottom: 0; opacity: 0.9; }

/* === CONTACT FORM STYLES === */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* 1 part text, 1.5 part form */
    gap: 50px;
    align-items: flex-start;
}
.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.contact-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.what-to-expect li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    list-style-type: none;
    padding-left: 35px;
    position: relative;
}
.what-to-expect li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--accent-color);
    font-size: 1.2rem;
}
.contact-form {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-color);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

/* === FINAL CTA === */
#final-cta { background: var(--accent-color); color: var(--primary-color); text-align: center; padding: 80px 0; }
#final-cta p { max-width: 600px; margin: 1rem auto 2rem; }
#final-cta .btn-primary { background: var(--primary-color); color: var(--text-light); border-color: var(--primary-color); }
#final-cta .btn-primary:hover { background: transparent; color: var(--primary-color); }

/* === FOOTER === */
.main-footer { background: var(--primary-color); color: var(--secondary-color); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-col h3 { margin-bottom: 1rem; color: var(--accent-color); }
.footer-col p { opacity: 0.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--secondary-color); opacity: 0.8; transition: opacity 0.3s; }
.footer-col ul li a:hover { opacity: 1; }

/* === FOOTER LOGO STYLES === */
.footer-col .logo img {
    height: 40px; /* Adjust height as needed */
    width: auto;
    /* TIP: If you only have one (dark) logo file,
       uncomment the line below to make it white.
    */
    /* filter: brightness(0) invert(1); */
}

.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.9rem; opacity: 0.7; }

/*
========================================
    RESPONSIVE STYLES
========================================
*/
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .section-padding { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .process-steps { flex-direction: column; gap: 50px; }

    /* Contact form stacks on tablet */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

#exit-intent-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.75); /* Dark overlay */
        z-index: 9998;
        display: none; /* Hidden by default */
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    #exit-intent-popup {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 90%;
        max-width: 600px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
        padding: 30px;
        text-align: center;
        /* Start hidden and small for animation */
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
        transition: all 0.3s ease-out;
    }
    /* Animation classes */
    #exit-intent-overlay.visible {
        display: block;
        opacity: 1;
    }
    #exit-intent-popup.visible {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    /* Close Button */
    #exit-popup-close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 2rem;
        color: #aaa;
        cursor: pointer;
        line-height: 1;
    }
    #exit-popup-close:hover {
        color: #333;
    }
    /* Popup Content */
    #exit-intent-popup h2 {
        color: var(--primary-color, #0A2342); /* Uses your site's color */
        font-size: 2.2rem;
        margin: 0;
    }
    #exit-intent-popup p {
        font-size: 1.2rem;
        color: var(--text-dark, #333);
        margin-top: 1rem;
    }
    /* Responsive Video Wrapper */
    .exit-video-wrapper {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
        height: 0;
        overflow: hidden;
        border-radius: 8px;
        margin-top: 20px;
        background: #000;
    }
    .exit-video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    /* Arrow & Text */
    .exit-arrow-text {
        margin-top: 20px;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color, #0A2342);
    }
    .exit-arrow-text span {
        font-size: 2.5rem;
        color: var(--accent-color, #D4AF37); /* Uses your site's color */
        vertical-align: middle;
        margin-right: 10px;
    }

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; padding: 10px 0; }
    .main-nav ul li { margin: 0; }
    .main-nav ul li a { display: block; padding: 15px 20px; border-bottom: 1px solid #eee; }

    /* Correct Mobile Dropdown Styles */
    .main-nav ul li:hover > .dropdown { display: none; }

    .main-nav ul li .dropdown {
        position: static;
        box-shadow: none;
        padding: 0;
        min-width: auto;
    }

    .main-nav ul li .dropdown.open { display: block; }

    .main-nav .dropdown li a {
        padding-left: 40px;
        background: var(--secondary-color);
    }

    .header-cta { display: none; }
    .mobile-nav-toggle { display: block; }

    #hero { padding: 80px 0; }
    #hero h1 { font-size: 2.2rem; }
    .subtitle { font-size: 1.1rem; }
    .stats { grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px; }
    .stat-number { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }

    /* Center logo in footer on mobile */
    .footer-col .logo {
        margin: 0 auto;
    }
}
