/* =========================
   RAZA OUTREACH - MAIN STYLE
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}


/* HEADER */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8edf3;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo a {
    color: #102f56;
    font-size: 25px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo img {
    display: block;
    width: 150px;
    height: auto;
    object-fit: contain;
}

.hero-image {
    display: block;
    width: 100%;
    max-width: 620px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(16, 47, 86, 0.18);
    overflow: hidden;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: #26354a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #168bb8;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: #102f56;
    font-size: 28px;
    cursor: pointer;
}


/* HERO */

.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, #f7fafc 0%, #ffffff 55%, #eef7fa 100%);
    padding: 65px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.hero-label {
    color: #168bb8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    color: #102f56;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 700px;
    margin-bottom: 25px;
}

.hero-description {
    color: #5a6779;
    font-size: 18px;
    line-height: 1.8;
    max-width: 650px;
    margin-bottom: 32px;
}


/* BUTTONS */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-primary {
    color: #ffffff;
    background: #102f56;
    border: 2px solid #102f56;
}

.btn-primary:hover {
    background: #168bb8;
    border-color: #168bb8;
}

.btn-secondary {
    color: #102f56;
    background: #ffffff;
    border: 2px solid #d7e0e9;
}

.btn-secondary:hover {
    border-color: #168bb8;
    color: #168bb8;
}


/* HERO VISUAL */

.hero-visual {
    display: flex;
    justify-content: center;
}


/* PAGE SECTIONS */

main section:not(.hero) {
    padding: 70px 0;
}

main section:not(.hero):nth-child(odd) {
    background: #f8fafc;
}

main section:not(.hero) h2 {
    color: #102f56;
    font-size: 36px;
    text-align: center;
}

/* SERVICES */

.services-section {
    background: #ffffff;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-label {
    color: #168bb8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-heading h2 {
    margin-bottom: 18px;
}

.section-heading p {
    color: #647184;
    font-size: 17px;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e5ebf1;
    border-radius: 14px;
    padding: 32px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(16, 47, 86, 0.10);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef7fb;
    border-radius: 12px;
    font-size: 25px;
    margin-bottom: 22px;
}

.service-card h3 {
    color: #102f56;
    font-size: 21px;
    line-height: 1.35;
    margin-bottom: 14px;
}

.service-card p {
    color: #667386;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.service-card a {
    color: #168bb8;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.service-card a:hover {
    color: #102f56;
}


/* SERVICES - TABLET */

@media (max-width: 900px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* SERVICES - MOBILE */

@media (max-width: 600px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 26px;
    }

    .section-heading {
        margin-bottom: 38px;
    }
}
/* HOW IT WORKS */

.how-section {
    background: #f7fafc;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.how-step {
    position: relative;
    background: #ffffff;
    border: 1px solid #e4eaf0;
    border-radius: 14px;
    padding: 34px 30px;
}

.step-number {
    color: #168bb8;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.how-step h3 {
    color: #102f56;
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 13px;
}

.how-step p {
    color: #667386;
    font-size: 15px;
    line-height: 1.75;
}

.how-cta {
    text-align: center;
    margin-top: 42px;
}


/* HOW IT WORKS - TABLET */

@media (max-width: 900px) {

    .how-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* HOW IT WORKS - MOBILE */

@media (max-width: 600px) {

    .how-grid {
        grid-template-columns: 1fr;
    }

    .how-step {
        padding: 27px 24px;
    }

    .how-cta {
        margin-top: 32px;
    }
}
/* ABOUT */

.about-section {
    background: #ffffff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-content h2 {
    color: #102f56;
    font-size: 38px;
    margin-bottom: 22px;
}

.about-content p {
    color: #667386;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-content .btn {
    margin-top: 10px;
}

.about-box {
    display: grid;
    gap: 18px;
}

.about-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e5ebf1;
    border-radius: 12px;
}

.about-feature span {
    min-width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #102f56;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.about-feature h3 {
    color: #102f56;
    font-size: 18px;
    margin-bottom: 6px;
}

.about-feature p {
    color: #667386;
    font-size: 14px;
    line-height: 1.65;
}


/* ABOUT - TABLET & MOBILE */

@media (max-width: 900px) {

    .about-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 600px) {

    .about-content h2 {
        font-size: 30px;
    }

    .about-feature {
        padding: 20px;
    }
}
/* FAQ */

.faq-section {
    background: #f7fafc;
}

.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e3eaf0;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: #ffffff;
    color: #102f56;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.faq-question span {
    color: #168bb8;
    font-size: 25px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.faq-answer {
    display: none;
    padding: 0 22px 20px;
}

.faq-answer p {
    color: #667386;
    font-size: 15px;
    line-height: 1.75;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}


/* FAQ MOBILE */

@media (max-width: 600px) {

    .faq-question {
        font-size: 16px;
        padding: 18px;
    }

    .faq-answer {
        padding: 0 18px 18px;
    }
}
/* CONTACT */

.contact-section {
    background: #ffffff;
}
.contact-section {
    padding-bottom: 45px !important;
}

.contact-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.contact-content h2 {
    color: #102f56;
    font-size: 38px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.contact-intro {
    color: #667386;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-details {
    display: grid;
    gap: 18px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef7fb;
    color: #102f56;
    border-radius: 10px;
    font-size: 20px;
}

.contact-detail span {
    display: block;
    color: #667386;
    font-size: 13px;
    margin-bottom: 3px;
}

.contact-detail a {
    color: #102f56;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.contact-detail a:hover {
    color: #168bb8;
}


/* CONTACT FORM */

.contact-form-box {
    background: #f8fafc;
    border: 1px solid #e3eaf0;
    border-radius: 16px;
    padding: 36px;
}

.contact-form-box h3 {
    color: #102f56;
    font-size: 23px;
    margin-bottom: 26px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    color: #102f56;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #d8e0e8;
    background: #ffffff;
    border-radius: 8px;
    padding: 13px 14px;
    color: #26384d;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #168bb8;
    box-shadow: 0 0 0 3px rgba(22, 139, 184, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.contact-submit {
    border: 0;
    cursor: pointer;
}

.form-note {
    color: #7a8797;
    font-size: 13px;
    margin-top: 13px;
}


/* CONTACT TABLET */

@media (max-width: 900px) {

    .contact-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}


/* CONTACT MOBILE */

@media (max-width: 600px) {

    .contact-content h2 {
        font-size: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-box {
        padding: 25px 20px;
    }
}
/* FOOTER */

footer {
    background: #0d2746;
    color: #cbd7e3;
    padding: 28px 0;
    text-align: center;
    font-size: 14px;
}
/* FOOTER */

.site-footer {
    background: #f1f7fa;
    color: #102f56;
    padding: 65px 0 0;
    border-top: 1px solid #e0e9ef;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 45px;
    padding-bottom: 50px;
}

.footer-logo {
    width: 125px;
    height: auto;
    margin-bottom: 18px;
}

.footer-about p,
.footer-column p {
    color: #b8c5d3;
    font-size: 14px;
    line-height: 1.75;
}

.footer-about {
    max-width: 310px;
}

.footer-column h3 {
    color: #102f56;
}

.footer-about p,
.footer-column p {
    color: #5f6f82;
}

.footer-column > a {
    color: #40566f;
}

.footer-column > a:hover,
.footer-legal a:hover {
    color: #168bb8;
}

.footer-social a {
    border: 1px solid #cad7e2;
    color: #102f56;
}

.footer-social a:hover {
    background: #168bb8;
    border-color: #168bb8;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #d7e2ea;
}

.footer-bottom p,
.footer-legal a {
    color: #66788a;
}

.footer-column > a {
    display: block;
    color: #b8c5d3;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-column > a:hover,
.footer-legal a:hover {
    color: #55c3e8;
}


/* SOCIAL */

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.footer-social a:hover {
    background: #168bb8;
    border-color: #168bb8;
}


/* FOOTER BOTTOM */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-bottom p {
    color: #9eafc0;
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #9eafc0;
    text-decoration: none;
    font-size: 13px;
}


/* FOOTER TABLET */

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* FOOTER MOBILE */

@media (max-width: 600px) {

    .site-footer {
        padding-top: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 22px 0;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 15px;
    }
}


/* TABLET */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-label {
        text-align: center;
    }
}


/* MOBILE */

@media (max-width: 600px) {
    .logo img {
    width: 120px;
}

.hero-image {
    max-width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
}

    .container {
        width: 90%;
    }

    .header-container {
        min-height: 70px;
    }

    .logo a {
        font-size: 20px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
    }

    
    main section:not(.hero) {
        padding: 65px 0;
    }

    main section:not(.hero) h2 {
        font-size: 29px;
    }
}
/* MOBILE NAVIGATION */

@media (max-width: 900px) {

    .header-container {
        position: relative;
    }

    .main-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 0;
        background: #ffffff;
        border-top: 1px solid #e8edf3;
        box-shadow: 0 12px 25px rgba(16, 47, 86, 0.10);
    }

    .main-nav.active a {
        padding: 13px 22px;
        text-align: left;
    }

    .main-nav.active a:hover {
        background: #f4f8fb;
    }
}
/* =========================================
   FINAL RAZA OUTREACH FOOTER DESIGN
   ========================================= */

.site-footer {
    background: #e9f1f7;
    color: #102f56;
    padding: 60px 0 0;
    border-top: 1px solid #d5e1eb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 55px;
    padding-bottom: 48px;
}

/* LOGO AREA */

.footer-logo {
    display: block;
    width: 135px;
    height: auto;
    margin-bottom: 22px;
}

.footer-about {
    max-width: 320px;
}

.footer-about p {
    color: #50657a !important;
    font-size: 14px;
    line-height: 1.8;
}


/* FOOTER HEADINGS */

.footer-column h3 {
    color: #102f56 !important;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 22px;
}


/* FOOTER LINKS */

.footer-column > a {
    display: block;
    color: #40566d !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 13px;
    transition: 0.2s ease;
}

.footer-column > a:hover {
    color: #0b86c4 !important;
    transform: translateX(3px);
}


/* CONTACT TEXT */

.footer-column p {
    color: #50657a !important;
    font-size: 14px;
    line-height: 1.7;
}


/* SOCIAL ICONS */

.footer-social {
    display: flex;
    gap: 11px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: 1px solid #b9cad8;

    color: #102f56 !important;
    background: #ffffff;

    text-decoration: none;
    font-size: 14px;
    font-weight: 800;

    transition: 0.2s ease;
}

.footer-social a:hover {
    background: #102f56;
    border-color: #102f56;
    color: #ffffff !important;
}


/* FOOTER BOTTOM */

.footer-bottom {
    min-height: 74px;
    border-top: 1px solid #ccd9e4;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-bottom p {
    color: #62758a !important;
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #51687f !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.footer-legal a:hover {
    color: #0b86c4 !important;
}


/* TABLET */

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .site-footer {
        padding-top: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-logo {
        width: 125px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 22px 0;
        gap: 12px;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 16px;
    }
}
/* FIX FOOTER SOCIAL ICON ALIGNMENT */

.footer-social {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 0;
    width: 100%;
}

.footer-social a {
    margin: 0;
    flex: 0 0 38px;
}
.footer-column:last-child {
    text-align: left;
}

.footer-column:last-child h3 {
    text-align: left;
}

.footer-column:last-child > a,
.footer-column:last-child > p {
    text-align: left;
}

.footer-column:last-child .footer-social {
    justify-content: flex-start;
}
.footer-column {
    text-align: left;
}
/* =========================================
   LEGAL PAGES
   ========================================= */

.legal-hero {
    background: linear-gradient(
        135deg,
        #f5f9fc 0%,
        #ffffff 60%,
        #edf6fa 100%
    );

    padding: 80px 0 70px;
    text-align: center;
}

.legal-hero h1 {
    color: #102f56;
    font-size: 48px;
    line-height: 1.15;
    margin: 10px 0 18px;
}

.legal-hero > .container > p:last-child {
    max-width: 700px;
    margin: 0 auto;
    color: #647386;
    font-size: 17px;
    line-height: 1.8;
}


.legal-section {
    background: #ffffff;
    padding: 75px 0;
}

.legal-container {
    max-width: 900px;
}

.legal-updated {
    display: inline-block;
    background: #eef7fb;
    color: #168bb8;
    padding: 8px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 35px;
}

.legal-container h2 {
    color: #102f56;
    font-size: 24px;
    line-height: 1.35;
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: left;
}

.legal-container p {
    color: #5e6e80;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 15px;
}

.legal-container a {
    color: #168bb8;
    text-decoration: none;
}

.legal-container a:hover {
    text-decoration: underline;
}


/* LEGAL MOBILE */

@media (max-width: 600px) {

    .legal-hero {
        padding: 55px 0 45px;
    }

    .legal-hero h1 {
        font-size: 35px;
    }

    .legal-hero > .container > p:last-child {
        font-size: 15px;
    }

    .legal-section {
        padding: 50px 0;
    }

    .legal-container h2 {
        font-size: 21px;
    }

    .legal-container p {
        font-size: 15px;
    }
}
/* LEGAL PAGE TEXT ALIGNMENT */

.legal-container {
    text-align: left;
}

.legal-container h2 {
    text-align: left !important;
}

.legal-container p {
    text-align: justify !important;
    text-justify: inter-word;
}
/* =========================================
   MOBILE HERO IMPROVEMENTS
   ========================================= */

@media (max-width: 768px) {

    .hero {
        padding: 40px 18px 42px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-eyebrow {
        font-size: 11px;
        line-height: 1.5;
        letter-spacing: 1.5px;
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: 31px;
        line-height: 1.04;
        letter-spacing: -0.5px;
        margin-bottom: 20px;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.7;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .hero-buttons {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .hero-buttons .btn {
        flex: 1;
        padding: 13px 10px;
        font-size: 13px;
        text-align: center;
        white-space: nowrap;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
    }

    .hero-image img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 14px;
    }
}
/* FINAL MOBILE HERO TYPOGRAPHY */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 34px !important;
        line-height: 1.08 !important;
        font-weight: 700;
    }

    .hero-text {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    .hero-eyebrow {
        font-size: 12px !important;
    }
}
/* =========================================
   MOBILE SERVICES SECTION
   ========================================= */

@media (max-width: 768px) {

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .service-card {
        width: 100%;
        padding: 24px 20px !important;
        border-radius: 14px;
    }

    .service-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 18px;
    }

    .service-card h3 {
        font-size: 20px !important;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 15px !important;
        line-height: 1.65 !important;
        margin-bottom: 18px;
    }

    .service-card a {
        font-size: 14px !important;
        font-weight: 600;
    }
}
/* =========================================
   MOBILE HOW IT WORKS SECTION
   ========================================= */

@media (max-width: 768px) {

    #how-it-works {
        padding: 48px 18px !important;
    }

    #how-it-works .section-header {
        margin-bottom: 28px !important;
    }

    #how-it-works .section-label {
        font-size: 12px !important;
        letter-spacing: 2px;
    }

    #how-it-works h2 {
        font-size: 28px !important;
        line-height: 1.2;
        margin: 10px 0 14px;
    }

    #how-it-works .section-header p {
        font-size: 15px !important;
        line-height: 1.65 !important;
        max-width: 100%;
    }

    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .process-card {
        padding: 22px 20px !important;
        border-radius: 14px;
    }

    .process-card .step-number {
        font-size: 13px !important;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .process-card h3 {
        font-size: 19px !important;
        line-height: 1.35;
        margin-bottom: 10px;
    }

    .process-card p {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }
}
/* =========================================
   MOBILE ABOUT SECTION
   ========================================= */

@media (max-width: 768px) {

    #about {
        padding: 50px 18px !important;
    }

    #about .section-label {
        font-size: 12px !important;
        letter-spacing: 2px;
    }

    #about h2 {
        font-size: 28px !important;
        line-height: 1.2;
        margin: 12px 0 20px;
    }

    #about .about-content p {
        font-size: 15px !important;
        line-height: 1.75 !important;
        margin-bottom: 16px;
        text-align: left;
    }

    #about .btn {
        margin-top: 6px;
        padding: 13px 18px;
        font-size: 14px;
    }

    .about-feature {
        padding: 20px 18px !important;
        gap: 16px;
    }

    .about-feature h3 {
        font-size: 17px !important;
        line-height: 1.35;
    }

    .about-feature p {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
}
/* =========================================
   FAQ - MOBILE REFINEMENT
   ========================================= */

@media (max-width: 768px) {

    #faq {
        padding: 48px 16px !important;
    }

    #faq .section-label {
        font-size: 12px !important;
        letter-spacing: 1.8px;
        margin-bottom: 12px;
    }

    #faq h2 {
        font-size: 26px !important;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    #faq .section-intro {
        font-size: 14px !important;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    #faq .faq-question {
        font-size: 14px !important;
        line-height: 1.4;
        padding: 17px 15px !important;
        gap: 12px;
    }

    #faq .faq-answer {
        font-size: 14px !important;
        line-height: 1.7;
    }

    #faq .faq-item {
        margin-bottom: 10px;
        border-radius: 10px;
    }
}
/* =========================================
   CONTACT SECTION - MOBILE POLISH
   ========================================= */

@media (max-width: 768px) {

    #contact {
        padding: 48px 16px !important;
    }

    /* Contact introduction */
    #contact .section-label {
        text-align: left !important;
        font-size: 12px;
        letter-spacing: 1.7px;
        margin-bottom: 10px;
    }

    #contact h2 {
        text-align: left !important;
        font-size: 25px !important;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    #contact .contact-text,
    #contact .section-intro {
        text-align: left !important;
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    /* Contact information */
    #contact .contact-info {
        margin-top: 22px;
        margin-bottom: 30px;
    }

    /* Form card */
    #contact .contact-form,
    #contact .form-card {
        padding: 20px 16px !important;
        border-radius: 12px;
    }

    #contact .contact-form h3,
    #contact .form-card h3 {
        font-size: 20px !important;
        line-height: 1.3;
        margin-bottom: 22px;
    }

    /* Form controls */
    #contact input,
    #contact select,
    #contact textarea {
        width: 100%;
        font-size: 14px !important;
    }

    #contact label {
        font-size: 13px;
    }

    #contact textarea {
        min-height: 120px;
    }

    /* Submit button */
    #contact button[type="submit"] {
        min-height: 46px;
        padding: 12px 20px;
    }
}
/* =========================================
   FOOTER - FINAL MOBILE DESIGN
   ========================================= */

@media (max-width: 768px) {

    .site-footer {
        padding: 38px 16px 20px !important;
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 32px 20px !important;
    }

    /* Brand block across full width */
    .footer-brand {
        display: block !important;
        grid-column: 1 / -1 !important;
        text-align: left !important;
        margin-bottom: 4px;
    }

    .footer-brand img {
        display: block !important;
        width: 100px !important;
        height: auto !important;
        margin: 0 0 15px 0 !important;
    }

    .footer-brand p {
        max-width: 290px;
        font-size: 13px !important;
        line-height: 1.65;
        margin: 0 !important;
    }

    /* Footer headings */
    .footer-column h3,
    .footer-column h4 {
        font-size: 15px !important;
        margin-bottom: 14px !important;
    }

    /* Links */
    .footer-column ul {
        margin: 0;
        padding: 0;
    }

    .footer-column li {
        margin-bottom: 9px !important;
    }

    .footer-column a,
    .footer-column p {
        font-size: 12.5px !important;
        line-height: 1.5;
    }

    /* Contact column full width */
    .footer-contact {
        grid-column: 1 / -1 !important;
    }

    /* Social icons */
    .social-links {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }

    .social-links a {
        width: 38px !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    /* Bottom copyright area */
    .footer-bottom {
        margin-top: 28px !important;
        padding-top: 18px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .footer-bottom p {
        font-size: 11.5px !important;
        margin: 0 !important;
    }

    .footer-legal {
        display: flex !important;
        flex-wrap: wrap;
        gap: 14px !important;
    }

    .footer-legal a {
        font-size: 11.5px !important;
    }
}
/* =========================================
   LEGAL PAGES - MOBILE OPTIMIZATION
   ========================================= */

@media (max-width: 768px) {

    .legal-hero {
        padding: 48px 18px 40px !important;
    }

    .legal-hero h1 {
        font-size: 32px !important;
        line-height: 1.2;
    }

    .legal-hero p {
        font-size: 14px !important;
        line-height: 1.7;
    }

    .legal-section {
        padding: 42px 18px !important;
    }

    .legal-container {
        width: 100%;
        max-width: 100%;
    }

    .legal-updated {
        font-size: 12px;
        margin-bottom: 24px;
    }

    .legal-container h2 {
        font-size: 20px !important;
        line-height: 1.35;
        margin-top: 28px;
        margin-bottom: 10px;
        text-align: left !important;
    }

    .legal-container p {
        font-size: 15px !important;
        line-height: 1.75 !important;
        text-align: left !important;
        margin-bottom: 14px;
    }
}
/* =========================================
   SERVICE PAGE DESIGN
   ========================================= */

.service-hero {
    padding: 80px 0;
    background: linear-gradient(
        135deg,
        #f6f9fc 0%,
        #ffffff 55%,
        #edf6fa 100%
    );
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.service-hero-content h1 {
    color: #102f56;
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 22px;
}

.service-hero-content > p:not(.section-label) {
    color: #647386;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.service-hero-image img {
    display: block;
    width: 100%;
    max-width: 540px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 22px 55px rgba(16, 47, 86, 0.15);
}


/* SERVICE CONTENT */

.service-content-section,
.service-process-section,
.service-why-section,
.service-cta {
    padding: 80px 0;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-feature-box {
    padding: 28px;
    border: 1px solid #e4eaf0;
    border-radius: 13px;
    background: #ffffff;
}

.service-feature-box h3 {
    color: #102f56;
    font-size: 19px;
    margin-bottom: 12px;
}

.service-feature-box p {
    color: #667386;
    font-size: 15px;
    line-height: 1.7;
}


/* PROCESS */

.service-process-section {
    background: #f7fafc;
}

.service-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-process-step {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e4eaf0;
    border-radius: 13px;
}

.service-process-step span {
    display: block;
    color: #168bb8;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.service-process-step h3 {
    color: #102f56;
    font-size: 19px;
    margin-bottom: 10px;
}

.service-process-step p {
    color: #667386;
    font-size: 15px;
    line-height: 1.7;
}


/* WHY CHOOSE US */

.service-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-why-grid h2 {
    color: #102f56;
    font-size: 36px;
    margin-bottom: 18px;
}

.service-why-grid p {
    color: #667386;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-why-list {
    display: grid;
    gap: 14px;
}

.service-why-list div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e3eaf0;
    border-radius: 10px;
}

.service-why-list strong {
    color: #168bb8;
}

.service-why-list span {
    color: #102f56;
    font-weight: 600;
}


/* CTA */

.service-cta {
    text-align: center;
    background: #f4f8fb;
}

.service-cta h2 {
    color: #102f56;
    font-size: 34px;
    margin-bottom: 14px;
}

.service-cta p {
    color: #667386;
    max-width: 650px;
    margin: 0 auto 26px;
    font-size: 16px;
    line-height: 1.7;
}

.service-cta .hero-buttons {
    justify-content: center;
}


/* TABLET */

@media (max-width: 900px) {

    .service-hero-grid,
    .service-why-grid {
        grid-template-columns: 1fr;
    }

    .service-features-grid,
    .service-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .service-hero,
    .service-content-section,
    .service-process-section,
    .service-why-section,
    .service-cta {
        padding: 50px 18px;
    }

    .service-hero-content h1 {
        font-size: 32px;
    }

    .service-hero-content > p:not(.section-label) {
        font-size: 15px;
    }

    .service-features-grid,
    .service-process-grid {
        grid-template-columns: 1fr;
    }

    .service-feature-box,
    .service-process-step {
        padding: 22px 20px;
    }

    .service-why-grid h2 {
        font-size: 28px;
    }

    .service-cta h2 {
        font-size: 28px;
    }
}
/* ================================
   CONTACT PAGE
================================ */

.contact-form-wrapper {
    max-width: 950px;
    margin: 40px auto 0;
}

.contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d6dce5;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    background: #ffffff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group-full {
    margin-top: 22px;
}

.form-group textarea {
    resize: vertical;
}

.contact-submit {
    margin-top: 22px;
    border: none;
    cursor: pointer;
}

.contact-form-note {
    margin-top: 15px;
    font-size: 13px;
    opacity: 0.75;
}


/* CONTACT PAGE MOBILE */

@media (max-width: 768px) {

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 22px;
    }

}
/* =========================================
   SERVICES PAGE - SERVICE CARDS
========================================= */

.services-page .service-features-grid {
    gap: 26px;
}


/* Individual service card */

.services-page .service-feature-box {
    background: linear-gradient(
        145deg,
        #0b2f59 0%,
        #0d3b70 55%,
        #114d86 100%
    );

    border: 1px solid rgba(39, 155, 255, 0.35);
    border-radius: 18px;

    padding: 34px 30px;

    min-height: 250px;

    display: flex;
    flex-direction: column;

    box-shadow:
        0 10px 25px rgba(9, 46, 87, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Card hover effect */

.services-page .service-feature-box:hover {
    transform: translateY(-6px);

    border-color: #28a9ff;

    box-shadow:
        0 18px 40px rgba(9, 46, 87, 0.20);
}


/* Service heading */

.services-page .service-feature-box h3 {
    color: #ffffff;

    font-size: 23px;

    line-height: 1.3;

    margin-bottom: 16px;
}


/* Description text */

.services-page .service-feature-box p {
    color: #d9e9f7;

    font-size: 16px;

    line-height: 1.7;

    margin-bottom: 22px;
}


/* Learn More link */

.services-page .service-feature-box .service-link {
    color: #55c7ff;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none;

    margin-top: auto;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


/* Learn More hover */

.services-page .service-feature-box .service-link:hover {
    color: #ffffff;

    transform: translateX(5px);
}


/* Remove browser visited purple */

.services-page .service-feature-box .service-link:visited {
    color: #55c7ff;
}


/* Mobile */

@media (max-width: 768px) {

    .services-page .service-feature-box {
        padding: 26px 22px;
        min-height: auto;
    }

    .services-page .service-feature-box h3 {
        font-size: 20px;
    }

    .services-page .service-feature-box p {
        font-size: 15px;
    }

}
/* =========================================
   BACK TO ALL SERVICES - FINAL
========================================= */

.back-services {
    margin-top: 30px;
    text-align: center;
}

.back-services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 28px;

    background-color: #eef6ff;
    color: #0866d8;

    border: 2px solid #a8d0ff;
    border-radius: 8px;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.back-services-btn:hover {
    background-color: #0866d8;
    color: #ffffff;
    border-color: #0866d8;
    transform: translateX(-3px);
}

@media (max-width: 768px) {

    .back-services {
        margin-top: 25px;
    }

    .back-services-btn {
        padding: 14px 22px;
        font-size: 16px;
    }

}
/* =========================================
   MOBILE IMPROVEMENTS
   ========================================= */

@media (max-width: 480px) {

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

}
/* =========================================
   MOBILE FOOTER IMPROVEMENT
========================================= */

@media (max-width: 480px) {

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-about,
    .footer-column {
        width: 100%;
    }

    .footer-about {
        text-align: left;
    }

    .footer-column h3 {
        margin-bottom: 12px;
    }

    .footer-column a,
    .footer-column p,
    .footer-about p {
        font-size: 14px;
        line-height: 1.6;
    }

    .footer-social {
        margin-top: 14px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-legal {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

}
/* =========================================
   FINAL MOBILE FOOTER OVERRIDE
========================================= */

@media (max-width: 480px) {

    .site-footer .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .site-footer .footer-about,
    .site-footer .footer-column {
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
    }

    .site-footer .footer-logo {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .site-footer .footer-column h3 {
        margin-bottom: 12px;
    }

    .site-footer .footer-column a,
    .site-footer .footer-column p,
    .site-footer .footer-about p {
        font-size: 14px;
        line-height: 1.6;
    }

    .site-footer .footer-bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .site-footer .footer-legal {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
}
/* =========================================
   EXTRA SMALL MOBILE - 320px to 360px
   ========================================= */

@media (max-width: 360px) {

    .hero h1 {
        font-size: 26px;
        line-height: 1.18;
        letter-spacing: -0.3px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.65;
    }
}

 
    /* Hero paragraph */
    .hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    /* Hero content spacing */
    .hero-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Buttons */
    .hero-buttons,
    .cta-buttons {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
/* =========================================
   SERVICES PAGE - EXTRA SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .services-page .section-heading h2,
    .services-page .service-why-section h2,
    .services-page .service-process-section h2,
    .services-page .service-cta h2 {
        font-size: 24px;
        line-height: 1.25;
        letter-spacing: -0.2px;
    }

    .services-page .section-heading p,
    .services-page .service-why-section p,
    .services-page .service-cta p {
        font-size: 15px;
        line-height: 1.65;
    }

    .services-page .service-feature-box,
    .services-page .service-process-step {
        padding: 22px;
    }
}
/* =========================================
   INDIVIDUAL SERVICE PAGES - EXTRA SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .service-hero-content h1 {
        font-size: 26px;
        line-height: 1.15;
        letter-spacing: -0.3px;
    }

    .service-hero-content > p:not(.section-label) {
        font-size: 15px;
        line-height: 1.65;
    }

    .service-hero-content .section-label {
        font-size: 13px;
        line-height: 1.4;
    }

    .service-hero {
        padding-top: 42px;
        padding-bottom: 42px;
    }
}
/* =========================================
   SERVICES DROPDOWN MENU
========================================= */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;

    min-width: 245px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    box-shadow: 0 12px 30px rgba(15, 45, 75, 0.12);

    padding: 8px 0;

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 999;
}

.nav-dropdown-menu a {
    display: block;

    padding: 11px 16px;

    color: #15395f;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #eef6ff;
    color: #0b67c8;
}


/* DESKTOP HOVER */

@media (min-width: 769px) {

    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }

}


/* MOBILE DROPDOWN */

@media (max-width: 768px) {

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;

        min-width: 100%;

        box-shadow: none;

        border: none;
        border-radius: 0;

        padding: 0 0 6px 14px;

        opacity: 1;
        visibility: visible;

        transform: none;

        display: none;

        background: #f8fbff;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown.open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu a {
        padding: 10px 12px;

        font-size: 13px;

        border-bottom: 1px solid #e8eef5;
    }

}
/* Highlight View All Services */

.nav-dropdown-menu .view-all-services {
    color: #0b67c8;
    font-weight: 700;
    border-bottom: 1px solid #e3edf7;
}

.nav-dropdown-menu .view-all-services:hover {
    background: #eaf4ff;
    color: #084f9e;
}
/* =========================================
   BLOG PAGE
========================================= */

.blog-section {
    padding: 90px 0;
    background: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 45px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e3ebf4;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(16, 47, 86, 0.07);
    transition: 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(16, 47, 86, 0.12);
}

.blog-category {
    display: inline-block;
    margin-bottom: 16px;
    color: #168bb8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.blog-card h3 {
    margin-bottom: 14px;
    color: #102f56;
    font-size: 22px;
    line-height: 1.35;
}

.blog-card p {
    color: #596b80;
    font-size: 15px;
    line-height: 1.7;
}

.blog-read-more {
    display: inline-block;
    margin-top: 18px;
    color: #0b67c8;
    font-weight: 700;
    text-decoration: none;
}

.blog-read-more:hover {
    color: #084f9e;
}


.blog-categories-section {
    padding: 90px 0;
    background: #f6f9fc;
}

.blog-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.blog-category-box {
    display: block;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e3ebf4;
    border-radius: 14px;
    text-decoration: none;
    transition: 0.25s ease;
}

.blog-category-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(16, 47, 86, 0.10);
}

.blog-category-box h3 {
    margin-bottom: 10px;
    color: #102f56;
    font-size: 20px;
}

.blog-category-box p {
    color: #596b80;
    font-size: 14px;
    line-height: 1.65;
}


/* BLOG TABLET */

@media (max-width: 992px) {

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* BLOG MOBILE */

@media (max-width: 768px) {

    .blog-section,
    .blog-categories-section {
        padding: 60px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-category-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        padding: 24px;
    }

    .blog-card h3 {
        font-size: 20px;
    }

    .blog-category-box {
        padding: 24px;
    }
}


/* EXTRA SMALL MOBILE */

@media (max-width: 360px) {

    .blog-card {
        padding: 20px;
    }

    .blog-card h3 {
        font-size: 19px;
        line-height: 1.35;
    }

    .blog-card p {
        font-size: 14px;
    }
}
/* =========================================
   BLOG ARTICLE PAGES
========================================= */

.article-hero {
    padding: 90px 0 70px;
    background: #f5f9fd;
}

.article-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.article-hero h1 {
    margin: 12px 0 22px;
    color: #102f56;
    font-size: 48px;
    line-height: 1.15;
}

.article-intro {
    max-width: 780px;
    margin: 0 auto;
    color: #596b80;
    font-size: 18px;
    line-height: 1.75;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    color: #718096;
    font-size: 14px;
}


.article-section {
    padding: 80px 0;
    background: #ffffff;
}

.article-container {
    max-width: 900px;
}

.article-content h2 {
    margin-top: 44px;
    margin-bottom: 16px;
    color: #102f56;
    font-size: 30px;
    line-height: 1.3;
}

.article-content h3 {
    margin-bottom: 12px;
    color: #102f56;
    font-size: 22px;
}

.article-content p {
    margin-bottom: 18px;
    color: #4f6278;
    font-size: 17px;
    line-height: 1.8;
}

.article-list {
    margin: 18px 0 28px 24px;
}

.article-list li {
    margin-bottom: 10px;
    color: #4f6278;
    font-size: 17px;
    line-height: 1.7;
}


.article-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 28px 0;
}

.article-comparison > div {
    padding: 28px;
    background: #f7fafd;
    border: 1px solid #e2eaf3;
    border-radius: 14px;
}


.article-cta {
    margin-top: 55px;
    padding: 42px;
    text-align: center;
    background: #f4f8fc;
    border-radius: 16px;
    border: 1px solid #e2eaf3;
}

.article-cta h2 {
    margin-top: 0;
}

.article-cta p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


.article-back {
    margin-top: 35px;
}

.article-back a {
    color: #0b67c8;
    font-weight: 700;
    text-decoration: none;
}

.article-back a:hover {
    color: #084f9e;
}


/* TABLET */

@media (max-width: 992px) {

    .article-hero h1 {
        font-size: 40px;
    }
}


/* MOBILE */

@media (max-width: 768px) {

    .article-hero {
        padding: 60px 0 50px;
    }

    .article-hero h1 {
        font-size: 31px;
    }

    .article-intro {
        font-size: 16px;
    }

    .article-section {
        padding: 55px 0;
    }

    .article-content h2 {
        margin-top: 36px;
        font-size: 25px;
    }

    .article-content p,
    .article-list li {
        font-size: 15px;
    }

    .article-comparison {
        grid-template-columns: 1fr;
    }

    .article-cta {
        padding: 28px 22px;
    }
}


/* EXTRA SMALL MOBILE */

@media (max-width: 360px) {

    .article-hero h1 {
        font-size: 27px;
        line-height: 1.2;
    }

    .article-content h2 {
        font-size: 23px;
    }

    .article-meta {
        flex-wrap: wrap;
    }
}/* =========================================
   BUTTON WIDTH REFINEMENT
========================================= */

/* Hero section buttons */
.hero-buttons {
    max-width: 520px;
}

.hero-buttons .btn {
    width: 100%;
}
/* =========================================
   CTA BUTTON WIDTH FIX
========================================= */

.cta-buttons {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cta-buttons .btn {
    width: 100%;
}
/* =========================================
   SERVICES PAGE CTA BUTTONS
========================================= */

.service-cta-buttons {
    max-width: 520px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-cta-buttons .btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
/* =========================================
   STANDARD PAGE HERO BUTTON WIDTH
========================================= */

.page-hero-buttons {
    max-width: 520px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page-hero-buttons .btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}


/* =========================================
   STANDARD BOTTOM CTA BUTTON WIDTH
========================================= */

.service-cta-buttons {
    max-width: 520px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-cta-buttons .btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
/* =========================================
   NICHE EDITS - FINAL CTA BUTTON FIX
   ========================================= */

.service-cta .cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.service-cta .cta-buttons .btn {
    width: auto;
    min-width: 220px;
    max-width: 280px;
    padding: 15px 26px;
    text-align: center;
}


/* =========================================
   FOOTER BOTTOM ALIGNMENT FIX
   ========================================= */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-legal a {
    display: inline-block;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .service-cta .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .service-cta .cta-buttons .btn {
        width: 100%;
        max-width: 340px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}
/* =========================================
   HOMEPAGE HERO TRUST CARD
========================================= */

.hero-trust {
    margin-top: 10px;
    max-width: 520px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e4edf5;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(18, 56, 95, 0.07);
}

.hero-trust-label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0b8fc4;
}

.hero-trust-title {
    margin: 0 0 7px;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
    color: #12385f;
}

.hero-trust-services {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    color: #607286;
}

.hero-trust-services span {
    margin: 0 6px;
    color: #0b8fc4;
}

@media (max-width: 768px) {

    .hero-trust {
        margin-top: 25px;
        padding: 17px 18px;
        max-width: 100%;
    }

    .hero-trust-title {
        font-size: 19px;
    }

    .hero-trust-services {
        font-size: 13px;
    }
}
/* =========================================
   ACTIVE NAVIGATION MENU
========================================= */

.main-nav > a.active,
.nav-dropdown-toggle.active {
    color: #168bb8 !important;
    position: relative;
}

.main-nav > a.active::after,
.nav-dropdown-toggle.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    background: #168bb8;
    border-radius: 3px;
}
/* Blog Article CTA Buttons */
.article-cta .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.article-cta .hero-buttons .btn {
    width: auto;
    min-width: 220px;
    padding: 15px 24px;
    text-align: center;
}

/* Mobile */
@media (max-width: 600px) {
    .article-cta .hero-buttons {
        flex-direction: column;
    }

    .article-cta .hero-buttons .btn {
        width: 100%;
        min-width: 0;
    }
}
/* =========================================
   FINAL BLOG ARTICLE CTA BUTTON FIX
========================================= */

.article-cta .hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    max-width: none !important;
    width: 100% !important;
    margin: 24px auto 0 !important;
}

.article-cta .hero-buttons .btn {
    width: auto !important;
    min-width: 220px;
    max-width: 280px;
    padding: 15px 24px;
    text-align: center;
}

/* Mobile */
@media (max-width: 600px) {

    .article-cta .hero-buttons {
        flex-direction: column !important;
    }

    .article-cta .hero-buttons .btn {
        width: 100% !important;
        max-width: 340px;
        min-width: 0;
    }
}
/* =========================================
   LINK BUILDING CTA - EQUAL BUTTON WIDTH
========================================= */

.service-cta .hero-buttons .btn {
    width: 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
}
/* =========================================
   LINK BUILDING CTA - FINAL FIX
========================================= */

.link-building-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.link-building-cta-buttons .link-building-cta-btn {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    min-height: 62px !important;

    box-sizing: border-box;

    display: flex !important;
    align-items: center;
    justify-content: center;

    padding: 14px 22px !important;
    text-align: center;
    line-height: 1.35;
}

/* Mobile */
@media (max-width: 480px) {

    .link-building-cta-buttons {
        width: 100%;
    }

    .link-building-cta-buttons .link-building-cta-btn {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 340px !important;
    }
}