/* =============================================================
   JJ INSURANCE CONNECTION LLC — Professional Redesign
   =============================================================
   Colors:
     #0D3721  — Dark green (primary brand)
     #D7FE3F  — Lime green (accent)
     #FFFFFF  — White
     #1a1a1a  — Dark text
     #54595F  — Gray text
     #f0f4f0  — Light section bg
   Fonts:
     'Inter'  — UI / body text
     'Playfair Display' — decorative headings
   ============================================================= */

/* ===== RESET ===== */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

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

/* ===== TYPOGRAPHY ===== */
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #D7FE3F;
    background: #0D3721;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #0D3721;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-title.light { color: #ffffff; }

.section-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #54595F;
    margin-bottom: 8px;
}

.section-desc {
    font-size: 16px;
    color: #54595F;
    max-width: 600px;
    line-height: 1.7;
}

.section-desc.light { color: rgba(255,255,255,0.85); }

.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
    background: #0D3721;
    color: #ffffff;
    border-color: #0D3721;
}
.btn-primary:hover {
    background: #0a2d1b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13,55,33,0.25);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: #ffffff;
    color: #0D3721;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-accent {
    background: #D7FE3F;
    color: #0D3721;
    border-color: #D7FE3F;
}
.btn-accent:hover {
    background: #c5ed35;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(215,254,63,0.35);
}


/* ===== TOP BAR ===== */
.top-bar {
    background: #0D3721;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-tagline {
    font-size: 13px;
    font-weight: 500;
    color: #D7FE3F;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-tagline i { font-size: 14px; }

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-link {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-link i { font-size: 12px; color: #D7FE3F; }
.top-bar-link:hover { color: #D7FE3F; }


/* ===== HEADER / NAV ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.header-logo img {
    height: 52px;
    width: auto;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D7FE3F;
    transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #0D3721; }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #D7FE3F;
    color: #0D3721;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background: #c5ed35;
    transform: translateY(-1px);
}

.nav-cta-mobile { display: none; }

.menu-toggle {
    display: none;
    font-size: 24px;
    color: #0D3721;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-close {
    display: none;
    font-size: 24px;
    color: #0D3721;
    cursor: pointer;
    background: none;
    border: none;
    position: absolute;
    top: 20px;
    right: 20px;
}


/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.png') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,55,33,0.88) 0%, rgba(13,55,33,0.6) 50%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero .container { position: relative; z-index: 2; }

.hero-content { max-width: 700px; }

.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(215,254,63,0.2);
    color: #D7FE3F;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(215,254,63,0.3);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-highlight {
    color: #D7FE3F;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #D7FE3F;
    line-height: 1;
}

.hero-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.hero-bottom-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}

.hero-bottom-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}


/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: #ffffff;
}

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

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(13,55,33,0.15);
}

.about-image-badge {
    position: absolute;
    bottom: -16px;
    left: -16px;
    background: #D7FE3F;
    color: #0D3721;
    padding: 14px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 30px rgba(215,254,63,0.3);
}

.about-image-badge i { font-size: 20px; }

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #54595F;
    margin: 20px 0 28px;
}

.about-services-heading {
    font-size: 18px;
    font-weight: 600;
    color: #0D3721;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-services-heading i { color: #D7FE3F; font-size: 20px; }

.about-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.about-services-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    padding: 10px 14px;
    background: #f8faf8;
    border-radius: 8px;
    border-left: 3px solid #D7FE3F;
}

.about-services-list li i {
    color: #0D3721;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.about-cta { margin-top: 32px; }


/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: #f6f8f6;
}

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

.service-card {
    background: #ffffff;
    padding: 36px 28px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    border: 1px solid #eef2ee;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(13,55,33,0.1);
    border-color: #D7FE3F;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #f0f6f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #D7FE3F;
}

.service-icon i {
    font-size: 28px;
    color: #0D3721;
}

.service-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #0D3721;
    margin-bottom: 10px;
}

.service-card-desc {
    font-size: 14px;
    color: #54595F;
    line-height: 1.6;
}


/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: #0D3721;
    background-image: url('../images/how-it-works-bg.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

.steps {
    max-width: 720px;
    margin: 0 auto 40px;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 28px 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(6px);
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: rgba(215,254,63,0.4);
    line-height: 1;
    min-width: 60px;
}

.step-content { flex: 1; }

.step-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(215,254,63,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.step-icon-wrapper i {
    font-size: 22px;
    color: #D7FE3F;
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.step-text {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

.step-connector {
    text-align: center;
    padding: 8px 0;
    color: #D7FE3F;
    font-size: 18px;
}

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


/* ===== WHY CHOOSE US ===== */
.why-us {
    padding: 100px 0;
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 16px;
    background: #f6f8f6;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13,55,33,0.08);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: #0D3721;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.why-icon i {
    font-size: 24px;
    color: #D7FE3F;
}

.why-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #0D3721;
    margin-bottom: 10px;
}

.why-text {
    font-size: 14px;
    color: #54595F;
    line-height: 1.7;
}


/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: #0D3721;
    background-image: linear-gradient(135deg, #0D3721 0%, #1a4f31 100%);
}

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

.contact-text {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin: 16px 0 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(215,254,63,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon i {
    font-size: 20px;
    color: #D7FE3F;
}

.contact-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2px;
}

.contact-detail-value {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.contact-detail-value:hover { color: #D7FE3F; }

/* Contact Form Card */
.contact-form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.form-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #0D3721;
    margin-bottom: 24px;
    text-align: center;
}

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

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
    background: #f5f7f5;
    border: 2px solid transparent;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #D7FE3F;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(215,254,63,0.15);
}

.form-control::placeholder { color: #9aa3a0; }

textarea.form-control { resize: vertical; min-height: 110px; }

/* Form Status Messages */
.form-status {
    display: none;
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}

.form-status.success {
    display: block;
    background: #e8f8e8;
    color: #0D3721;
    border: 1px solid #b8e6b8;
}

.form-status.error {
    display: block;
    background: #fef0f0;
    color: #b33c3c;
    border: 1px solid #f5c6c6;
}


/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 80px 0;
    background: #f6f8f6;
}

.cta-banner-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: #0D3721;
    margin-bottom: 12px;
}

.cta-banner-text {
    font-size: 17px;
    color: #54595F;
    margin-bottom: 28px;
}


/* ===== FOOTER ===== */
.footer {
    background: #0D3721;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand-text {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i { color: #D7FE3F; font-size: 13px; }
.footer-links a:hover { color: #D7FE3F; }

.footer-cta { margin-top: 20px; }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}


/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #D7FE3F;
    color: #0D3721;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(215,254,63,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(215,254,63,0.4);
}


/* =============================================================
   RESPONSIVE
   ============================================================= */

/* ---- 1024px ---- */
@media (max-width: 1024px) {
    .hero-title { font-size: 44px; }
    .section-title { font-size: 34px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* ---- 991px ---- */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper { max-width: 400px; margin: 0 auto; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-stats { gap: 24px; }

    .top-bar-contacts { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* ---- Mobile Menu (≤ 768px) ---- */
@media (max-width: 768px) {
    .header-cta { display: none; }

    .menu-toggle { display: block; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        z-index: 2000;
        transition: right 0.35s ease;
        padding: 80px 32px 32px;
    }

    .nav.active { right: 0; }

    .nav-close { display: block; }
    .nav-cta-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #D7FE3F;
        color: #0D3721;
        font-weight: 600;
        font-size: 15px;
        padding: 14px;
        border-radius: 10px;
        margin-top: 24px;
    }

    .nav-list { flex-direction: column; gap: 20px; }
    .nav-link { font-size: 18px; }

    .hero { min-height: 80vh; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 18px; }
    .hero-actions { flex-direction: column; }
    .hero-stat-number { font-size: 26px; }
    .hero-bottom-wave svg { height: 30px; }

    .about { padding: 60px 0; }
    .services { padding: 60px 0; }
    .how-it-works { padding: 60px 0; }
    .why-us { padding: 60px 0; }
    .contact { padding: 60px 0; }
    .cta-banner { padding: 60px 0; }

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

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }

    .about-services-list { grid-template-columns: 1fr; }

    .step { padding: 20px 24px; }
    .step-number { font-size: 32px; min-width: 44px; }

    .contact-form-card { padding: 28px 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer { padding: 50px 0 0; }

    .cta-banner-title { font-size: 30px; }
}

/* ---- 480px ---- */
@media (max-width: 480px) {
    .hero-title { font-size: 30px; }
    .hero-badge { font-size: 11px; }

    .section-title { font-size: 26px; }

    .header-logo img { height: 40px; }

    .contact-form-card { padding: 24px 20px; }

    .about-image-badge {
        position: static;
        margin-top: 16px;
    }

    .step { flex-direction: column; gap: 12px; }
    .step-number { font-size: 28px; }

    .cta-banner-title { font-size: 26px; }
}
