/* ============================================================
   SEABROOKS e-CImpact LANDING PAGE — responsive.css
   Breakpoints: 1200, 991, 767, 575
   ============================================================ */

/* Desktop Centering */
@media (min-width: 992px) {
    .nav-title-container {
        position: absolute;
        width: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 0;
        margin: 0;
        z-index: 10;
    }
}

/* Desktop Only: Parallel Grid */
@media (min-width: 992px) {
    .hero-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        column-gap: 120px;
        row-gap: 20px;
        align-items: start;
    }

    .hero-intro {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        /* Align title baseline with image bottom */
    }

    .hero-image-box {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
    }

    .hero-para-1 {
        grid-column: 1;
        grid-row: 2;
    }

    .hero-para-2 {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (min-width: 992px) {
    .hero-subtitle {
        font-size: 26px;
    }

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

    .hero-text {
        font-size: 24px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1440px;
        /* Matching the wider design look */
    }
}

/* ---------- LARGE DESKTOPS (≤1400px) ---------- */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 24px;
    }

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

    .pricing-title {
        font-size: 28px;
    }

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

/* ---------- DESKTOPS (≤1200px) ---------- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 22px;
    }

    .hero-ecimpact-logo {
        max-width: 190px;
    }

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

    .stack-title {
        font-size: 22px;
    }

    .mission-card {
        padding: 28px 24px;
    }

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

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

    .cta-title {
        font-size: 28px;
    }
}

/* ---------- TABLETS (≤991px) ---------- */
@media (max-width: 991.98px) {

    /* Navbar */
    #mainNavbar {
        padding: 10px 0;
    }

    .header-wave {
        margin-top: -4px;
    }

    .btn-demo {
        margin-top: 0;
        font-size: 14px;
        padding: 8px 16px;
    }

    /* Hero */
    .hero-section {
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .hero-layout {
        text-align: center;
    }

    .hero-subtitle {
        font-size: 22px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 26px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ecimpact-logo {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }

    .hero-image-wrap {
        margin: 0 auto;
        display: block;
    }

    /* Sections */
    .section-title {
        font-size: 22px;
    }

    .mission-section {
        padding: 40px 0 30px;
    }

    .mission-image-wrap {
        margin-bottom: 30px;
    }

    .mission-card {
        padding: 25px 20px;
    }

    .stack-section {
        padding: 40px 0 30px;
    }

    .stack-item {
        margin-bottom: 40px;
    }

    .stack-section-blue {
        padding: 100px 0;
        margin: -40px 0;
    }

    .stack-image-wrap {
        margin-top: 25px;
    }

    .stack-title {
        font-size: 20px;
    }

    .amplifund-section,
    .community-section {
        padding: 40px 0 30px;
    }

    .pricing-section {
        padding: 40px 0 50px;
    }

    .pricing-title {
        font-size: 24px;
    }

    .pricing-subtitle {
        font-size: 20px;
    }

    .pricing-image-wrap {
        margin-top: 30px;
    }

    /* FAQ */
    .faq-section {
        padding: 50px 0;
    }

    .faq-title {
        font-size: 24px;
    }

    .faq-image-wrap {
        margin-bottom: 30px;
    }

    /* CTA */
    .cta-section {
        padding: 50px 0;
    }

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

    /* Footer */
    .footer-content {
        padding: 40px 0 30px;
    }

    .footer-brand {
        margin-bottom: 30px;
    }

    .footer-bottom .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

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

@media (max-width: 991px) {
    .stack-flex-container {
        gap: 40px;
        flex-direction: column !important;
    }

    .stack-flex-content,
    .stack-flex-image {
        width: 100%;
        flex: none;
    }
}

@media (max-width: 991.98px) {
    .platform-section {
        padding: 70px 0 55px;
    }

    .platform-header {
        margin-bottom: 40px;
    }

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

    .platform-layout {
        flex-direction: column;
        gap: 36px;
    }

    .platform-content,
    .platform-media {
        min-width: 0;
    }

    .platform-media {
        text-align: center;
    }

    .platform-image {
        max-width: 100%;
        border-radius: 14px 90px 14px 14px;
        margin-bottom: 22px;
    }
}

@media (max-width: 991.98px) {
    .faq-section {
        padding: 70px 0 60px;
    }

    .faq-layout {
        flex-direction: column;
        gap: 40px;
    }

    .faq-media,
    .faq-content {
        min-width: 0;
    }

    .faq-title {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .solution-bottom-sec h2 {
        font-size: 40px;
    }

    .footer-main-content {
        text-align: center;
    }

    .footer-logo-wrap,
    .footer-social-links {
        justify-content: center;
        display: flex;
    }

    .footer-newsletter-form .input-group {
        margin: 0 auto;
    }
}

@media(max-width:850px) {
    .wave-light-blue-top::before {
        height: 64.5px
    }
}

@media(max-width:850px) {
    .wave-light-blue-bottom::before {
        height: 64.5px;
    }
}

@media(max-width:850px) {
    .wave-blue-top::before {
        height: 64.5px
    }
}

@media(max-width:850px) {
    .wave-blue-bottom::before {
        height: 64.5px;
    }
}

/* ---------- SMALL TABLETS & LARGE PHONES (≤767px) ---------- */
@media (max-width: 767.98px) {
    body {
        font-size: 14px;
    }

    /* Hero */
    .hero-section {
        padding-top: 30px;
        padding-bottom: 25px;
    }

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

    .hero-title {
        font-size: 22px;
        line-height: 1.25;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-ecimpact-logo {
        max-width: 180px;
    }

    /* Sections */
    .section-title {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .section-badge {
        font-size: 12px;
        padding: 8px 20px;
        letter-spacing: 1.5px;
    }

    .mission-section {
        padding: 30px 0 25px;
    }

    .mission-card-title {
        font-size: 20px;
    }

    .stack-section {
        padding: 30px 0 25px;
    }

    .stack-title {
        font-size: 18px;
    }

    .stack-text {
        font-size: 13px;
    }

    .check-list li {
        font-size: 14px;
    }

    .check-list li i {
        font-size: 16px;
    }

    .amplifund-section,
    .community-section {
        padding: 30px 0 25px;
    }

    /* Pricing */
    .pricing-section {
        padding: 30px 0 40px;
    }

    .pricing-title {
        font-size: 22px;
    }

    .pricing-subtitle {
        font-size: 18px;
    }

    .pricing-text {
        font-size: 13px;
    }

    /* FAQ */
    .faq-section {
        padding: 40px 0;
    }

    .faq-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .accordion-button {
        font-size: 13px;
        padding: 14px 5px;
    }

    .faq-icon {
        font-size: 20px;
    }

    .accordion-body {
        font-size: 13px;
        padding: 0 5px 14px 36px;
    }

    /* CTA */
    .cta-section {
        padding: 40px 0;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-wrapper {
        padding: 30px 20px;
    }

    .btn-demo-cta {
        font-size: 14px;
        padding: 10px 28px;
    }

    /* Footer */
    .footer-content {
        padding: 35px 0 25px;
    }

    .footer-heading {
        font-size: 15px;
    }

    .footer-text {
        font-size: 13px;
    }

    .footer-bottom .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .footer-links {
        justify-content: center;
        gap: 4px 12px;
    }

    /* Scroll to top */
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }


    .top-sub {
        line-height: 28px;
        font-weight: 600;
        font-size: 20px;
    }


}

/* ---------- PHONES (≤575.98px) ---------- */
@media (max-width: 575.98px) {
    .logo-img {
        height: 30px;
    }

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

    .footer-legal-links {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 15px 25px !important;
        margin-bottom: 25px !important;
    }

    .footer-legal-links a,
    .footer-legal-links span {
        font-size: 16px !important;
        opacity: 1 !important;
        color: #fff !important;
    }

    /* Diversity link on its own line */
    .footer-legal-links a[href*="contact-us-request-demo"] {
        width: 100%;
        display: block;
        margin-top: 5px;
    }

    .footer-bottom-bar p {
        font-size: 16px !important;
        opacity: 1 !important;
        color: #fff !important;
        margin-bottom: 15px !important;
        text-align: center !important;
        width: 100%;
    }

    .footer-bottom-bar .row {
        flex-direction: column !important;
        align-items: center;
    }

    .footer-bottom-bar [class^="col-"] {
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .hero-section {
        padding-top: 25px;
        padding-bottom: 20px;
    }


    .badge-intro {
        font-size: 20px;
        letter-spacing: 8px;
        color: #104C97;
        float: left;
    }

    .hero-ecimpact-logo {
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }

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

    .hero-subtitle {
        font-size: 24px;
        text-align: left;
        line-height: normal;
        margin-bottom: 20px;
    }

    .hero-text {
        font-size: 18px;
        color: #6D6E6F;
        text-align: left;
        line-height: 24px;
        padding-top: 0;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 28px;
        line-height: 36px;
        font-weight: 700;
    }

    .section-subtitle {
        font-size: 18px;
        line-height: 24px;
    }

    .mission-card {
        padding: 0;
    }

    .mission-card-title {
        font-size: 33px;
        line-height: 42px;
        font-weight: 800;
        margin-bottom: 7px;
    }

    .mission-card-text {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .stack-title {
        font-size: 17px;
    }

    .stack-text {
        font-size: 12.5px;
    }

    .check-list li {
        font-size: 19px;
        line-height: 22px;
    }

    .check-list-icon {
        width: 35px;
        height: 35px;
    }

    .wave-light-blue-top {
        height: 6vh;
    }

    .pricing-title {
        font-size: 19px;
    }

    .pricing-subtitle {
        font-size: 17px;
    }

    .pricing-text {
        font-size: 12.5px;
    }

    .faq-title {
        font-size: 36px;
        line-height: 42px;
        font-weight: 700;
    }

    .accordion-header .accordion-button {
        font-size: 20px;
        line-height: 26px;
    }

    .faq-accordion .accordion-body {
        font-size: 18px;
        line-height: 24px;
    }

    .solution-bottom-sec {
        padding-top: 50px;
        padding-bottom: 150px;
    }

    .solution-bottom-sec h2 {
        font-size: 34px;
        line-height: 50px;
        margin-bottom: 30px;
    }

    .accordion-button {
        font-size: 12.5px;
        gap: 8px;
    }

    .faq-icon {
        font-size: 18px;
    }

    .accordion-body {
        font-size: 12.5px;
        padding-left: 30px;
    }

    .stack-section-blue {
        padding: 0;
        margin: 0;
    }

    .curve-divider {
        height: 60px;
    }



    .stack-header-text {
        font-size: 20px;
        letter-spacing: 6px;
        padding-top: 30px;
        line-height: 60px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 15px;
    }

    .stack-title-white {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 15px;
    }

    .stack-text-white {
        font-size: 18px;
        line-height: 24px;
    }

    .stack-text-white.second {
        font-weight: 560 !important;
        margin-bottom: 20px;
    }

    .check-list-custom li {
        font-size: 18px;
        line-height: 24px;
        align-items: flex-start;
    }

    .stack-text-white.mob-submittable {
        margin-bottom: 0;
    }

    .img-curve-left {
        border-radius: 60px 10px 60px 10px;
        margin-top: 35px;
    }

    .stack-flex-image {
        padding-bottom: 35px;
    }

    .wave-light-blue-bottom {
        height: 0;
    }

    .stack-section-white {
        padding-top: 0;
    }

    .stack-title-blue {
        font-size: 28px;
        font-weight: 700;
        padding-top: 20px;
    }

    .stack-text-gray {
        font-size: 18px;
        line-height: 24px;
    }

    .stack-text-gray.fw-bold {
        padding-bottom: 25px;
    }

    .check-icon-gold {
        width: 35px;
        height: 35px;
    }

    .cta-title {
        font-size: 20px;
    }

    .btn-demo-cta {
        font-size: 13px;
        padding: 10px 22px;
    }

    .stack-text-gray.foundant-mob {
        margin-bottom: 20px;
    }

    .img-curve-right {
        border-radius: 60px 10px 60px 10px;
    }

    .wave-blue-top {
        height: 2vh;
    }

    .wave-blue-bottom {
        height: 60px;
    }

    .stack-text-white.amplified-p {
        margin-bottom: 0;
    }

    .stack-flex-container {
        gap: 0;
    }

    .stack-text-gray.andar-mob {
        margin-bottom: 0;
    }

    .platform-section {
        padding: 20px 0;
    }

    .platform-title {
        font-size: 28px;
        line-height: 36px;
    }

    .platform-header {
        margin-bottom: 21px;
    }

    .platform-lead {
        font-size: 36px;
        line-height: 42px;
        font-weight: 700;
    }

    .platform-text {
        font-size: 18px;
        line-height: 24px;
    }

    .platform-checklist li span:last-child {
        font-size: 20px;
    }

    .faq-image-wrap {
        border-radius: 60px 10px 60px 10px;
        margin-bottom: 0;
    }

    .btn-primary-custom {
        font-size: 13px;
        padding: 9px 22px;
    }

    .footer-logo {
        height: 30px;
    }

    .footer-address {
        font-size: 13px;
    }

    .social-link img {
        width: 32px;
        height: 32px;
    }

    .footer-copyright,
    .footer-credit,
    .footer-links a {
        font-size: 11px;
    }

    .scroll-to-top {
        width: 38px;
        height: 38px;
        font-size: 16px;
        bottom: 16px;
        right: 16px;
    }


    .hero-item.hero-image-box {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .mission-image-wrap {
        border-radius: 60px 10px 60px 10px;
    }

    .footer-main-content {
        text-align: left;
        padding-top: 50px;
    }

    .footer-contact-info p {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 10px;
        font-weight: 400;
    }

    .footer-logo-wrap {
        padding-bottom: 20px;
    }

    .footer-btn-contact {
        text-align: center;
    }

    .site-footer .ft-txt {
        font-size: 21px;
        line-height: 30px;
        padding-bottom: 20px;
    }

    .footer-newsletter-wrap h4 {
        padding-bottom: 10px;
    }

    .footer-social-links {
        justify-content: left;
    }

    /* Footer Bottom Bar (Copyright & Legal) */
    .footer-bottom-bar {
        padding: 40px 0;
        text-align: center;
    }

    .footer-bottom-bar .row {
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Reorder footer elements for mobile: Legal -> Copyright -> Credit */
    .footer-bottom-bar .col-md-5 {
        order: 1 !important;
        /* Legal Links First */
        margin-bottom: 25px !important;
        width: 100% !important;
    }

    .footer-bottom-bar .col-md-4 {
        order: 2 !important;
        /* Copyright Second */
        margin-bottom: 10px !important;
        width: 100% !important;
    }

    .footer-bottom-bar .col-md-3 {
        order: 3 !important;
        /* Website Credit Last */
        margin-bottom: 0 !important;
        width: 100% !important;
    }

    .footer-legal-links {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 10px 15px !important;
        margin-bottom: 0 !important;
        padding: 0 10px;
    }

    .footer-legal-links a,
    .footer-legal-links span {
        font-size: 16px !important;
        opacity: 1 !important;
        color: #fff !important;
        font-weight: 400;
    }

    /* Diversity link on its own line */
    .footer-legal-links a[href*="contact-us-request-demo"] {
        width: 100%;
        display: block;
        margin-top: 8px;
        text-align: center;
    }

    .footer-bottom-bar p {
        font-size: 16px !important;
        opacity: 1 !important;
        color: #fff !important;
        text-align: center !important;
        width: 100%;
        font-weight: 400;
        margin-bottom: 0 !important;
    }

    .footer-legal-links {
        gap: 8px 9px !important;
    }
}