﻿/* ================================================
   CAPN FINANCIAL - RESPONSIVE CSS
   responsive.css
   Breakpoints: 1200, 991, 768, 576
================================================ */

/* ---- XL (1200px and below) ---- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 40px;
    }

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

    .stat-item {
        padding: 8px 40px;
    }

    .newsletter-inner {
        padding: 44px 50px;
        gap: 36px;
    }

    .newsletter-content h2 {
        font-size: 23px;
    }
}

/* ---- LG (991px and below) - Mobile nav activates ---- */
@media (max-width: 991px) {

    /* Hide desktop nav */
    #navbarNav {
        display: none !important;
    }

    .navbar-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Hero */
    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

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

    .hero-desc {
        max-width: 100%;
        margin: 0 auto 30px;
    }


    .hero-img-wrap {
        text-align: center;
    }

    .hero-img {
        max-height: 340px;
        margin: 0 auto;
    }

    /* Stats */
    .stat-item {
        padding: 8px 24px;
    }

    .stat-num {
        font-size: 26px;
    }

    /* Sections */
    .services-section,
    .steps-section,
    .why-section,
    .faq-section,
    .testimonials-section {
        padding: 70px 0;
    }

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

    .section-head {
        margin-bottom: 40px;
    }

    /* Why section */
    .why-img-wrap {
        text-align: center;
    }

    .why-img {
        max-width: 480px;
        margin: 0 auto;
    }

    /* Newsletter */
    .newsletter-inner {
        flex-direction: column;
        padding: 44px 36px;
        text-align: center;
        gap: 28px;
    }

    .newsletter-img {
        width: 180px;
    }

    .newsletter-content h2 {
        font-size: 22px;
    }

    /* Footer */
    .footer-brand p {
        max-width: 100%;
    }
}

/* ---- MD (768px and below) ---- */
@media (max-width: 768px) {

    /* Navbar */
    .capn-navbar {
        padding: 12px 0;
    }


    .service_top_icon,
    .service_bottom_icon {
        display: none;
    }

    /* Stats Box */
    .stats-box {
        padding: 32px 20px;
    }

    .stat-num {
        font-size: 30px;
    }

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

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

    .btn-primary-capn,
    .btn-outline-capn {
        padding: 11px 22px;
        font-size: 14px;
    }

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

    .services-section,
    .steps-section,
    .why-section,
    .faq-section,
    .testimonials-section {
        padding: 60px 0;
    }

    .section-head {
        margin-bottom: 36px;
    }

    /* Steps */
    .step-card {
        padding: 12px;
    }

    /* FAQ */
    .faq-question {
        font-size: 14px;
        padding: 18px 20px;
    }

    .faq-answer-inner {
        padding: 0 20px 18px;
    }

    /* Newsletter */
    .newsletter-box {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .newsletter-box h2 {
        font-size: 20px;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

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

/* ---- SM (576px and below) ---- */
@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0 40px;
    }

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

    .hero-img {
        max-height: 260px;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .stat-num {
        font-size: 24px;
    }

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

    .service-card {
        padding: 24px 20px;
    }

    .why-card-offset {
        margin-left: 0;
    }

    .why-card {
        max-width: 100%;
    }

    .capn-offcanvas {
        width: 280px;
        right: -300px;
    }

    .newsletter-inner {
        padding: 30px 20px;
    }

    .newsletter-content h2 {
        font-size: 18px;
    }

    .btn-newsletter {
        padding: 11px 22px;
        font-size: 14px;
    }

    .testimonials-section {
        padding: 50px 0;
    }

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

    .footer-top {
        padding-bottom: 40px;
    }

    .capn-footer {
        padding-top: 50px;
    }

    .footer-socials {
        flex-wrap: wrap;
        justify-content: center;
    }

    .subscribe-input-box {
        max-width: 100%;
    }
}

/* ---- XS (400px and below) ---- */
@media (max-width: 400px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-capn,
    .btn-outline-capn {
        width: 100%;
        justify-content: center;
    }

    .stats-inner {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none !important;
    }

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

    .newsletter-inner {
        padding: 26px 16px;
    }

    .newsletter-img {
        width: 110px;
    }
}