/* ===== CSS RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --primary-green: #166534;
    --accent-green: #22c55e;
    --light-blue: #3b82f6;
    --dark: #0f172a;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
}

.logo-quick {
    color: var(--primary-blue);
    font-style: italic;
}

.logo-accurate {
    color: var(--primary-green);
    font-style: italic;
}

.logo-books {
    display: block;
    font-size: 12px;
    color: var(--gray-600);
    letter-spacing: 2px;
    margin-top: -6px;
    border-top: 2px solid var(--primary-green);
    padding-top: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 600;
    transition: color 0.3s;
}

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

.cta-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 70px;
}

.hero-image-wrapper {
    width: 100%;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-text-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    padding: 80px 0;
    text-align: center;
}

.hero-text-section .container {
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title span {
    display: inline;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 12px;
    opacity: 0;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    opacity: 0;
}

.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s, border-color 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.floating-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(50px);
}

.card-icon {
    font-size: 28px;
}

.card-text {
    font-weight: 700;
    font-size: 16px;
    color: var(--gray-800);
}

/* ===== SECTION STYLES ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
}

/* ===== CERTIFICATIONS ===== */
.certifications {
    background: var(--gray-50);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cert-card {
    text-align: center;
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 3px solid var(--primary-green);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cert-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 16px;
    border-radius: 12px;
}

.cert-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--primary-blue);
}

/* ===== SERVICES ===== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--gray-50);
    padding: 36px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: var(--white);
    border-color: var(--light-blue);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    background: var(--gray-50);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.about-text .label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.about-text .title {
    font-size: 18px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.about-text .btn-primary {
    margin: 24px 0;
}

.credentials {
    display: flex;
    gap: 20px;
    margin-top: 24px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: 12px;
    flex: 1;
}

.cred-icon {
    font-size: 28px;
}

.credential strong {
    display: block;
    color: var(--gray-800);
}

.credential div {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.4;
}

/* ===== EXCLUSIONS ===== */
.exclusions {
    background: var(--white);
}

.exclusions-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.exclusions-text h2 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
}

.exclusions-text ul {
    list-style: none;
    margin: 24px 0;
}

.exclusions-text li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid #ef4444;
}

.x-icon {
    color: #ef4444;
    font-weight: 700;
    font-size: 20px;
}

.focus-text {
    padding: 20px;
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.1), rgba(34, 197, 94, 0.1));
    border-radius: 12px;
    border-left: 4px solid var(--accent-green);
    font-weight: 600;
    color: var(--primary-green);
}

.focus-badge {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.4);
}

.badge-inner {
    text-align: center;
    color: var(--white);
}

.badge-number {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 800;
    display: block;
}

.badge-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--gray-50);
}

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

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.quote {
    font-size: 48px;
    color: var(--light-blue);
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--gray-600);
    margin-bottom: 24px;
    font-style: italic;
}

.client {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.client strong {
    display: block;
    color: var(--gray-800);
}

.client div {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.4;
}

/* ===== LOCATION ===== */
.location {
    background: var(--white);
}

.location-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-text h2 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
}

.location-text>p {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.location-features {
    display: flex;
    gap: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    font-size: 32px;
}

.feature strong {
    display: block;
    color: var(--gray-800);
}

.feature div {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.4;
}



/* ===== LEAD MAGNET ===== */
.lead-magnet {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #22c55e 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.lead-magnet::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.lead-magnet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lead-magnet-text {
    color: var(--white);
}

.lead-magnet-text .label {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.lead-magnet-text h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.lead-magnet-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.6;
}

.lead-magnet-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lead-magnet-benefits li {
    font-size: 16px;
    padding: 8px 0;
    opacity: 0.9;
}

.lead-magnet-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.lead-magnet-form .form-group {
    margin-bottom: 16px;
}

.lead-magnet-form input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.lead-magnet-form input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.lead-magnet-btn {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border: none;
    border-radius: 12px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.lead-magnet-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}

.form-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 12px;
    margin-bottom: 0;
}

/* ===== CONTACT ===== */
.contact {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-info>p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: var(--white);
    transition: background 0.3s;
    flex: 1;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
}

.method-icon {
    font-size: 28px;
}

.contact-method strong {
    display: block;
}

.contact-method div {
    font-size: 14px;
    line-height: 1.4;
}

.urgency-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    margin-bottom: 24px;
    border: 2px solid var(--accent-green);
}

.urgency-icon {
    font-size: 32px;
}

.urgency-box p {
    margin: 4px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.trust-signals {
    display: flex;
    gap: 24px;
}

.trust-signals span {
    font-size: 14px;
    opacity: 0.9;
}

.contact-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: var(--accent-green);
    color: var(--white);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.card-body {
    padding: 32px;
    color: var(--gray-800);
}

.card-body h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-body>p {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.stats {
    display: flex;
    gap: 24px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 13px;
    color: var(--gray-600);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 24px;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 80px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===== FAQ SECTION ===== */
.faq {
    background: var(--gray-50);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-blue);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
}

.contact-form-wrapper h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.contact-form .form-submit {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* ===== BUSINESS HOURS ===== */
.business-hours {
    margin-top: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.business-hours h3 {
    margin-bottom: 16px;
    font-size: 18px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-row.closed span:last-child {
    color: var(--accent-green);
    font-weight: 600;
}

/* ===== CONTACT RIGHT (Calendly + Newsletter) ===== */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calendly-wrapper,
.newsletter-wrapper {
    background: var(--white);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.calendly-wrapper h3,
.newsletter-wrapper h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.calendly-wrapper p,
.newsletter-wrapper p {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-100);
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.newsletter-form button {
    white-space: nowrap;
    padding: 12px 20px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

/* ===== EXIT POPUP ===== */
.exit-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.exit-popup.active {
    display: flex;
}

.exit-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.exit-popup-content {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    max-width: 450px;
    text-align: center;
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.exit-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-600);
    cursor: pointer;
    line-height: 1;
}

.exit-popup-close:hover {
    color: var(--gray-800);
}

.exit-popup-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.exit-popup-content h2 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.exit-popup-offer {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.exit-popup-description {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.exit-popup-cta {
    display: inline-block;
    margin-bottom: 16px;
}

.exit-popup-dismiss {
    font-size: 13px;
    color: var(--gray-600);
    cursor: pointer;
    text-decoration: underline;
}

.exit-popup-dismiss:hover {
    color: var(--gray-800);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.4);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
}

/* ===== MOBILE CLICK-TO-CALL ===== */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5);
    z-index: 1000;
    align-items: center;
    gap: 8px;
}

.mobile-call-btn .call-icon {
    font-size: 18px;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-100);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader p {
    color: var(--gray-600);
    font-size: 14px;
}

/* ===== ANIMATED STATS ===== */
.stat-value {
    display: inline-block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

    .hero-content,
    .about-content,
    .exclusions-content,
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-cards {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-image img {
        max-width: 300px;
        margin: 0 auto;
    }

    .credentials {
        justify-content: center;
    }

    .location-features {
        justify-content: center;
    }

    .contact-methods {
        flex-direction: column;
    }

    .trust-signals {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    /* Prevent horizontal scroll on mobile */
    html,
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    /* Navigation */
    .navbar {
        padding: 10px 0;
    }

    .navbar .container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding-top: 16px;
        border-top: 1px solid var(--gray-100);
        margin-top: 12px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 16px;
        padding: 12px 0;
        text-align: center;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links a:last-child {
        border-bottom: none;
        margin-top: 8px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 15px;
        display: block;
    }

    /* Hero */
    .hero {
        padding-top: 60px;
    }

    .hero-image-wrapper {
        max-height: none;
    }

    .hero-text-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-title span {
        display: block;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 15px;
    }

    /* Grids */
    .cert-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Certifications */
    .cert-card {
        padding: 24px;
    }

    .cert-card img {
        max-width: 150px;
    }

    /* Services */
    .service-card {
        padding: 28px 20px;
    }

    .service-icon {
        font-size: 40px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }

    /* About */
    .about-text h2 {
        font-size: 32px;
    }

    .about-text p {
        font-size: 15px;
    }

    .credentials {
        flex-direction: column;
        gap: 12px;
    }

    .credential {
        padding: 14px;
    }

    /* Exclusions */
    .exclusions-text h2 {
        font-size: 28px;
    }

    .focus-badge {
        width: 200px;
        height: 200px;
        margin-top: 32px;
    }

    .badge-number {
        font-size: 48px;
    }

    .badge-text {
        font-size: 14px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 24px;
    }

    .quote {
        font-size: 36px;
    }

    .testimonial-card p {
        font-size: 14px;
    }

    /* Location */
    .location-text h2 {
        font-size: 28px;
    }

    .location-features {
        flex-direction: column;
        gap: 16px;
    }



    /* Contact */
    .contact-info h2 {
        font-size: 28px;
    }

    .contact-info>p {
        font-size: 15px;
    }

    .contact-method {
        padding: 16px;
        gap: 12px;
    }

    .method-icon {
        font-size: 24px;
    }

    .urgency-box {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .trust-signals {
        flex-direction: column;
        gap: 8px;
    }

    .contact-card {
        margin-top: 24px;
    }

    .card-body {
        padding: 24px;
    }

    .card-body h3 {
        font-size: 20px;
    }

    .stats {
        flex-direction: row;
        gap: 16px;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-books {
        font-size: 10px;
    }

    /* Lead Magnet Mobile */
    .lead-magnet {
        padding: 60px 0;
    }

    .lead-magnet-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lead-magnet-text h2 {
        font-size: 28px;
    }

    .lead-magnet-text p {
        font-size: 16px;
    }

    .lead-magnet-form-wrapper {
        padding: 24px;
    }

    .lead-magnet-btn {
        font-size: 16px;
        padding: 16px 20px;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 30px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .floating-card {
        width: 100%;
    }
}

/* Mobile specific visibility */
@media (max-width: 768px) {
    .mobile-call-btn {
        display: flex;
    }

    .back-to-top {
        bottom: 90px;
        right: 20px;
    }

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

    /* FIX: Force long words to break (like email) */
    .contact-method div {
        word-break: break-word;
        /* Better wrapping than break-all */
        min-width: 0;
        font-size: 14px;
        /* Smaller font for contact details */
    }

    .contact-method strong {
        font-size: 16px;
    }

    /* FIX: Reduce Business Hours padding and size */
    .business-hours {
        padding: 16px 12px;
        /* Tighter padding */
        margin-top: 24px;
        width: 100%;
        box-sizing: border-box;
    }

    .business-hours h3 {
        font-size: 16px;
        /* Smaller header */
    }

    .hours-row {
        font-size: 12px;
        /* Even smaller for rows */
        padding-bottom: 6px;
        margin-bottom: 6px;
    }

    .contact-info h2 {
        font-size: 24px;
        /* Specific fix for contact header */
    }

    /* FIX: Reduce form wrapper padding on mobile */
    .contact-form-wrapper,
    .calendly-wrapper,
    .newsletter-wrapper,
    .contact-card,
    .testimonial-card,
    .service-card,
    .cert-card {
        padding: 16px;
        /* Reduce from 24px+ to maximize space */
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px 12px;
        /* Smaller input padding */
    }
}