/* Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f5f7fb;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: #0f172a;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header */
header {
    background-color: transparent;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo .site-title {
    margin: 0;
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.55);
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    display: block;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.logo .site-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo .site-title a:hover {
    opacity: 0.8;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    color: #fff;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f0f0f0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.btn-nav {
    background-color: #1e3a8a;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.btn-nav:hover {
    background-color: #1e40af;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.45);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.0rem);
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.15;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.btn-hero {
    display: inline-block;
    background-color: #1e3a8a;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.35);
}

.btn-hero:hover {
    background-color: #1e40af;
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 48px 0 26px;
    background-color: #fff;
    text-align: center;
    color: #0f172a;
}

.about h2 {
    font-size: 2.2rem;
    margin-bottom: 22px;
    color: #0f172a;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.feature-item {
    flex: 1 1 150px;
    min-width: 150px;
    max-width: 200px;
    padding: 16px;
    background: transparent;
}

.feature-item h3 {
    color: #0f172a;
    margin-bottom: 6px;
}

.feature-item p {
    color: #5c6773;
    margin: 0;
    font-size: 0.95rem;
}

.feat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: #1e3a8a;
    stroke-width: 2.2px;
}

/* Success Stories / The Real Deal */
.stories {
    padding: 56px 0 68px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.stories h2 {
    font-size: 2.2rem;
    margin-bottom: 28px;
    color: #0f172a;
    text-align: center;
}

.stories-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.review-card {
    background: #fff;
    border: 1px solid rgba(30, 58, 138, 0.14);
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 58, 138, 0.28);
    box-shadow: 0 16px 30px rgba(30, 58, 138, 0.10);
}

.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.review-stars {
    color: #f59e0b;
    font-size: 1.05rem;
    letter-spacing: 1px;
    line-height: 1;
}

.review-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e3a8a;
    background: rgba(30, 58, 138, 0.10);
    border: 1px solid rgba(30, 58, 138, 0.18);
    white-space: nowrap;
}

.review-title {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 1.08rem;
}

.review-text {
    margin: 0 0 12px;
    color: #5c6773;
    line-height: 1.7;
    font-size: 0.98rem;
}

.review-meta {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 600;
}

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

.stories-gallery {
    display: flex;
    gap: 16px;
    flex: 0 0 auto;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-img {
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
}

.img-tall {
    width: clamp(145px, 26vw, 230px);
    height: clamp(230px, 42vw, 360px);
}

.img-wide {
    width: clamp(145px, 26vw, 230px);
    height: clamp(110px, 20vw, 172px);
}

.stories-content {
    min-width: 0;
    padding: 0;
    position: relative;
}

.stories-content::before {
    content: "“";
    position: absolute;
    top: -18px;
    left: -10px;
    font-size: 76px;
    line-height: 1;
    color: rgba(30, 58, 138, 0.16);
    font-family: 'Playfair Display', serif;
}

.stories-content p {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #555;
    margin-bottom: 18px;
}

.stories-content strong {
    color: #0f172a;
    font-weight: 700;
}

.stories-content .btn-hero {
    padding: 12px 34px;
    font-size: 1.05rem;
    border-radius: 14px;
}

/* SEO Content Section */
.seo-content {
    padding: 60px 0;
    background-color: #f5f7fb;
}

.seo-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.seo-img-float {
    float: left;
    width: 40%;
    max-width: 400px;
    margin-right: 40px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

.seo-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: #0f172a;
    margin-top: 0;
}

.seo-wrapper p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.seo-wrapper strong {
    color: #0f172a;
    font-weight: 700;
}

.intro-centered .seo-wrapper {
    max-width: 100%;
    text-align: center;
}

.intro-centered .howto-grid {
    margin-top: 34px;
}

.seo-wrapper a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
}

.seo-wrapper a:hover {
    text-decoration: underline;
}

.keyword-link {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
}

.keyword-link:visited {
    color: #1e3a8a;
}

.keyword-link:hover {
    text-decoration: underline;
}

.howto {
    padding: 52px 0 64px;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    text-align: center;
}

.howto-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.howto-left {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.howto-left h2 {
    font-size: 2.2rem;
    margin-bottom: 14px;
    color: #0f172a;
    text-align: center;
}

.howto-lead {
    color: #5c6773;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 880px;
    margin: 0 auto 22px;
}

.btn-howto {
    display: inline-block;
    border: 2px solid #1e3a8a;
    color: #1e3a8a;
    padding: 12px 44px;
    min-width: 220px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-howto:hover {
    background-color: #1e3a8a;
    color: #fff;
    transform: translateY(-1px);
}

.howto-grid + .btn-howto {
    margin-top: 40px;
}

.howto-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    counter-reset: howto-step;
    width: 100%;
}

.howto-step {
    counter-increment: howto-step;
    padding: 20px 20px 18px;
    background: #fff;
    border: 1px solid rgba(30, 58, 138, 0.16);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.howto-step:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 58, 138, 0.32);
    box-shadow: 0 14px 28px rgba(30, 58, 138, 0.10);
}

.howto-step h3 {
    margin: 8px 0 10px;
    color: #0f172a;
    font-size: 1.15rem;
}

.howto-step p {
    margin: 0;
    color: #5c6773;
    line-height: 1.7;
    font-size: 0.98rem;
}

.howto-step-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 138, 0.10);
    border-radius: 14px;
    position: relative;
}

.howto-step-icon::after {
    content: counter(howto-step);
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    background: #1e3a8a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(30, 58, 138, 0.28);
}

.howto-step-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #1e3a8a;
    stroke-width: 2px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #1e3a8a, #0b255a);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta-banner h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    background-color: #fff;
    color: #1e3a8a;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.btn-cta:hover {
    background-color: #f0f0f0;
    color: #1e40af;
}

/* Footer */
footer {
    background-color: #0b1f3b;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

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

.footer-links a {
    color: #ccc;
    margin: 0 15px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

/* Safety Section */
.safety {
    padding: 30px 0;
    background-color: #f1f5ff;
}

.safety h2 {
    font-size: 2.2rem;
    color: #0f172a;
    margin-bottom: 20px;
    text-align: center;
}

.safety-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.safety-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
}

.safety-content strong {
    color: #0f172a;
    font-weight: 700;
}

@media (max-width: 768px) {
    .safety-content {
        text-align: left;
    }
}

/* FAQ Section */
.faq-section {
    padding: 10px 0 30px;
    background-color: #fff;
    text-align: center;
}

.faq-section h2 {
    font-size: 2.2rem;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 35px;
}

.faq-list {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #f5f7fb;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-icon {
    font-size: 1.5rem;
    color: #1e3a8a;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

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

.faq-answer p {
    padding: 24px;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px; /* Approximate max height */
    border-top: 1px solid #eee;
}

/* Final CTA Section */
.final-cta {
    padding: 30px 0 60px;
    background-color: #f8f9fa; /* Light gray background */
    color: #333;
    text-align: center;
}

.final-cta h2 {
    color: #0f172a;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.final-cta p a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
}

.final-cta p a:hover {
    text-decoration: underline;
}

.final-cta .btn {
    display: inline-block;
    padding: 16px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    background-color: #1e3a8a;
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.25);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.final-cta .btn:hover {
    background-color: #1e40af;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.33);
}

/* Mature Advantages Section */
.mature-advantages {
    padding: 60px 0;
    background-color: #f5f7fb;
    text-align: left;
}

.mature-advantages h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: #0f172a;
    text-align: left;
    margin-top: 0;
}

.mature-content {
    max-width: 100%;
    margin: 0 auto;
}

.mature-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.mature-text {
    flex: 1;
    min-width: 0;
}

.mature-img-float {
    float: none;
    width: 44%;
    max-width: 460px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

.mature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.mature-list li::before {
    content: "•";
    color: #1e3a8a;
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.mature-list li strong {
    color: #0f172a;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 4px;
}

.mature-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.mature-content strong {
    color: #0f172a;
    font-weight: 700;
}

/* Local Cities Section */
.local-cities {
    padding: 20px 0 20px;
    background-color: #fff;
    text-align: center;
}

.local-cities h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #0f172a;
}

.cities-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

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

.city-item {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    padding: 30px 20px;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #1e3a8a;
}

.city-item h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #0f172a;
}

.city-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        color: #111;
        margin-left: auto;
    }
    header {
        position: fixed;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.96);
        box-shadow: 0 6px 20px rgba(0,0,0,0.10);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

    .logo .site-title {
        color: #1e3a8a;
        text-shadow: none;
    }
    header .container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 10px 16px;
        position: relative;
    }

    nav {
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1001;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 10px;
        right: 0;
        width: min(320px, calc(100vw - 32px));
        margin: 0;
        padding: 10px 0;
        flex-direction: column;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    }

    nav.open ul {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 12px 16px;
        color: #111;
    }

    nav ul li a:hover {
        background: #f5f5f5;
        color: #111;
    }

    nav ul li a.btn-nav {
        margin: 8px 16px 10px;
        text-align: center;
    }

    .hero-content {
        padding-top: 96px;
    }

    .features {
        gap: 16px;
    }

    .feature-item {
        min-width: 0;
        max-width: none;
        flex: 1 1 calc(50% - 16px);
        padding: 14px 10px;
    }

    .testimonials {
        flex-direction: column;
    }

    .testimonial {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .testimonial {
        padding: 24px;
    }

    .stories-container {
        text-align: left;
        gap: 24px;
        padding: 22px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .stories-gallery {
        justify-content: center;
    }

    .stories-content {
        padding: 0;
    }

    .howto {
        text-align: center;
    }

    .howto-grid {
        gap: 24px;
    }

    .howto-steps {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .seo-img-float {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 24px;
    }
    .mature-img-float {
        width: 100%;
        max-width: 100%;
        margin: 0 0 24px;
        display: block;
    }

    .mature-layout {
        flex-direction: column;
        gap: 0;
    }

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

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

    .howto-step {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .logo .site-title {
        font-size: 1.3rem;
        padding: 0 4px;
    }
    .btn-nav {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .hero-content {
        padding-top: 84px;
    }

    .feature-item {
        flex-basis: 100%;
    }

    .stories-gallery {
        gap: 10px;
    }
    
    .gallery-col {
        gap: 10px;
    }

    .img-tall {
        width: 145px;
        height: 230px;
    }

    .img-wide {
        width: 145px;
        height: 110px;
    }
}
