/* =========================================
   LARGE DESKTOP — 1400px and above
========================================= */

@media (min-width: 1400px) {

    .main-header {
        width: calc(100% - 100px);
    }

    .header-inner {
        padding: 0 40px;
    }

    .header-nav {
        gap: 25px;
    }

}


/* =========================================
   DESKTOP / LAPTOP — 1200px to 1399px
========================================= */

@media (min-width: 1200px) and (max-width: 1399.98px) {

    .main-header {
        width: calc(100% - 80px);
    }

    .header-inner {
        padding: 0 26px;
    }

    .header-nav {
        gap: 20px;
    }

}


/* =========================================
   SMALL LAPTOP — 992px to 1199px
========================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {

    .main-header {
        width: calc(100% - 60px);
    }

    .header-inner {
        padding: 0 22px;
    }

    .header-nav {
        gap: 16px;
    }

    .header-nav a {
        font-size: 11px;
    }

    .header-nav .quote-btn {
        padding: 11px 16px;
    }

    .footer-company {
        padding-right: 20px;
    }

    .footer-main {
        padding-bottom: 25px;
    }
     .hero-slide img {
        height: 550px;
    }

    .hero-content {
        left: 7%;
        max-width: 550px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-content p {
        font-size: 17px;
    }

}


@media (max-width: 480px) {
    
    .solutions-section {
        padding: 20px 20px;
    }
    .solutions-intro h2 {
        font-size: 28px;
    }
    .about-top {
        gap: 30px;
    }

    .about-heading h2 {
        font-size: 24px;
    }

    .about-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 22px;
    }

    .about-content {
        padding: 35px 30px;
    }
}


@media (max-width: 767px) {

    .about-expertise-section {
        padding: 20px 0;
    }

    .about-top {
        display: block;
    }

    .about-heading h2 {
        font-size: 23px;
    }

    .about-description {
        width: 100%;
        padding-top: 20px;
    }

    .about-description p {
        text-align: left;
        max-width: 300px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
        margin-top: 30px;
    }

    .about-stat {
        gap: 8px;
    }

    .stat-number {
        font-size: 21px;
    }

    .stat-text {
        font-size: 17px;
    }

    .about-bottom {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-image {
        height: 100%;
    }

    .about-content {
        min-height: auto;
        padding: 45px 25px;
    }

    .about-content h3 {
        font-size: 20px;
    }

    .about-content p {
        font-size: 12px;
    }
}

@media (max-width: 991px) {

    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .solution-card {
        height: 380px;
    }
    .about-top {
        gap: 30px;
    }

    .about-heading h2 {
        font-size: 24px;
    }

    .about-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 22px;
    }

    .about-content {
        padding: 35px 30px;
    }
    .faq-image {
        min-height: 400px;
    }

    .faq-section h2 {
        font-size: 30px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .hero-buttons { 
        gap: 12px;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    .main-header {
        width: calc(100% - 50px);
        top: 20px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .header-nav {
        gap: 14px;
    }

    .header-nav a {
        font-size: 11px;
    }

    .header-nav .quote-btn {
        padding: 10px 14px;
    }

    .footer-company {
        padding-right: 20px;
    }

    .footer-main {
        padding-bottom: 25px;
    }
     .hero-slide img {
        height: 500px;
    }

    .hero-content {
        left: 6%;
        max-width: 500px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.5;
    }

    .hero-btn {
        padding: 11px 22px;
        font-size: 14px;
    }
     .mobile-nav a:hover {
        color: var(--primary);
        background: #fafafa;
    }

    .mobile-nav a:last-child {
        border-bottom: none;
    }

    /* Mobile Quote Button */
    .mobile-nav .mobile-quote-btn {
        margin: 10px 15px;
        padding: 11px 15px;
        background: var(--primary);
        color: #fff;
        border-radius: 14px;
        text-align: center;
    }

    .mobile-nav .mobile-quote-btn:hover {
        background: #8d2325;
        color: #fff;
    }

}

@media (max-width: 767.98px) {
    .leadership-card-wrap {
        flex-direction: column;
        gap: 24px;
    }

    .leadership-photo {
        max-width: 200px;
    }
    .brand-cta-section {
        min-height: 420px;
        padding-bottom: 40px;
    }

    .brand-cta-content h2 {
        font-size: 26px;
    }

    .brand-cta-lead {
        font-size: 15px;
    }
}

/* =========================================
   MOBILE — 576px to 767px
========================================= */

@media (min-width: 576px) and (max-width: 767.98px) {

    .main-header {
        top: 15px;
        width: calc(100% - 30px);
        max-width: none;
    }

    .header-inner {
        height: 55px;
        padding: 0 16px 0 20px;
        border-radius: 14px;
    }

    .header-logo img {
        width: 88px;
    }

    .header-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav.active {
        display: block;
    }

     .main-header {
        width: calc(100% - 30px);
        top: 15px;
    }

    .header-inner {
        height: 55px;
        padding: 0 18px;
        border-radius: 14px;
    }

    .header-logo img {
        width: 82px;
    }

    /* Hide desktop menu */
    .header-nav {
        display: none;
    }

    /* Show hamburger */
    .mobile-menu-btn {
        display: block;
    }
     /* Mobile menu */
    .mobile-nav {
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #fff;
        border-radius: 14px;
        padding: 10px 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
        display: none;
        overflow: hidden;
    }

    .mobile-nav.active {
        display: block;
    }

    .mobile-nav a {
        display: block;
        padding: 12px 20px;
        color: #252525;
        font-size: 13px;
        font-weight: 400;
        text-decoration: none;
        border-bottom: 1px solid #f1f1f1;
    }
     .mobile-nav a:hover {
        color: var(--primary);
        background: #fafafa;
    }

    .mobile-nav a:last-child {
        border-bottom: none;
    }

    /* Mobile Quote Button */
    .mobile-nav .mobile-quote-btn {
        margin: 10px 15px;
        padding: 11px 15px;
        background: var(--primary);
        color: #fff;
        border-radius: 14px;
        text-align: center;
    }

    .mobile-nav .mobile-quote-btn:hover {
        background: #8d2325;
        color: #fff;
    }

    /* Footer */

    .site-footer {
        padding-top: 25px;
    }

    .footer-company {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.20);
        padding-right: 0;
        padding-bottom: 25px;
        min-height: auto;
    }

    .footer-company p {
        max-width: 100%;
    }

    .footer-title {
        margin-bottom: 12px;
    }

    .footer-main {
        padding-bottom: 5px;
    }

    .footer-bottom {
        margin-top: 10px;
        padding: 15px 10px;
    }

    .footer-bottom p {
        line-height: 1.5;
    }
     .hero-slide img {
        height: 450px;
    }

    .hero-content {
        left: 5%;
        right: 5%;
        max-width: none;
    }

    .hero-tag {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 25px;
    }

}


/* =========================================
   SMALL MOBILE — below 576px
========================================= */

@media (max-width: 575.98px) {
    .team-section-header {
        gap: 12px;
    }

    .team-section-header h2 {
        font-size: 22px;
        white-space: normal;
    }

    .leadership-card {
        padding: 20px;
    }

    .leadership-photo {
        max-width: 180px;
        margin-bottom: 18px;
    }

    .leadership-card h4 {
        font-size: 18px;
    }
    .leadership-position {
        font-size: 13px;
    }

    .leadership-card p {
        font-size: 14px;
        line-height: 1.55;
    }
     .faq-section h2 {
        font-size: 24px;
    }

    .faq-accordion .accordion-button {
        font-size: 16px;
        padding-right: 30px;
    }

    .brand-cta-section {
        min-height: 380px;
    }

    .brand-cta-content h2 {
        font-size: 22px;
    }

    .brand-cta-tagline {
        font-size: 16px;
    }

    .brand-cta-btn {
        display: inline-block;
        width: auto;
        padding: 11px 22px;
        font-size: 13px;
    }
     .solutions-intro-section h2 {
        font-size: 24px;
    }

    .solutions-intro-section p {
        font-size: 15px;
        max-width: 100%;
    }

    .solutions-intro-media {
        height: 240px;
    }

    .main-header {
        top: 12px;
        width: calc(100% - 24px);
        max-width: none;
    }

    .header-inner {
        height: 54px;
        padding: 0 15px 0 18px;
        border-radius: 14px;
    }

    .header-logo img {
        width: 132%;
    }

    .header-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav.active {
        display: block;
    }

    .site-footer {
        padding-top: 25px;
    }

    .footer-company {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.20);
        padding-right: 0;
        padding-bottom: 15px;
        min-height: auto;
    }

    .footer-company p {
        max-width: 100%;
    }

    .footer-title {
        margin-bottom: 12px;
    }

    .footer-main {
        padding-bottom: 5px;
    }

    .footer-bottom {
        margin-top: 10px;
        padding: 15px 10px;
    }

    .footer-bottom p {
        line-height: 1.5;
    }
    .hero-slide img {
        height: 400px;
    }

    .hero-content {
        left: 20px;
        right: 20px;
    }

    .hero-tag {
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.45;
    }

    .hero-btn {
        padding: 9px 18px;
        font-size: 12px;
    }

}


@media (max-width: 991.98px) {

    .leadership-card h4 {
        font-size: 20px;
    }

    .leadership-card p {
        font-size: 15px;
    }
    .leadership-section {
        padding: 30px 0;
    }

    .team-section-header h2 {
        font-size: 30px;
    }

    .leadership-card-wrap {
        max-width: 100%;
    }

    .leadership-card {
        padding: 24px;
    }

    .leadership-photo {
        max-width: 200px;
    }
    .solutions-intro-section {
        padding: 20px 0;
    }

    .solutions-intro-section h2 {
        font-size: 28px;
    }

    .solutions-intro-media {
        height: 300px;
        margin-top: 10px;
    }
     .about-story-section {
        padding: 60px 0;
    }

    .about-story-media {
        height: 420px;
        margin-top: 30px;
    }

    .about-story-section h2 {
        font-size: 28px;
    }
     .about-story-section {
        padding: 40px 0 40px; 
    }

    .about-story-media {
        height: 420px;
        margin-top: 0px;
    }

    .about-story-section h2 {
        font-size: 28px;
    }
    .bulk-quote-section {
        padding: 70px 0 50px;
        min-height: auto;
    }

    .bulk-quote-top {
        flex-direction: column;
        gap: 20px;
    }

    .bulk-quote-heading h2 {
        font-size: 32px;
    }

    .bulk-quote-heading p {
        font-size: 18px;
    }

    .quote-btn {
        align-self: flex-start;
    }

    .bulk-quote-bottom {
        margin-top: 40px;
    }

    .support-label {
        font-size: 18px;
    }

    

    .support-pill {
        flex: 1 1 45%;
        min-width: 150px;
        padding: 28px 24px;
        font-size: 18px;
    }
}



/* ===== Mobile (Bootstrap sm breakpoint) ===== */
@media (max-width: 575.98px) {

    .about-story-stats {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .about-story-media {
        height: 320px;
    }

    .story-media-front {
        width: 65%;
    }

    .about-story-section h2 {
        font-size: 24px;
    }
    .simple-cta-content h2 {
        font-size: 26px;
    }
    .simple-cta-content p {
        font-size: 14px;
    }
    .simple-cta-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    .about-story-section {
        padding: 30px 0 30px;
    }

    .about-story-section h2 {
        font-size: 22px;
    }

    .about-story-section > .container > .row > .col-lg-6 p {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 24px;
    }

    .about-story-stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
        column-gap: 12px;
        margin-top: 10px;
        padding: 20px;
    }

    .story-stat {
        gap: 4px;
    }

    .story-stat-label {
        font-size: 16px;
        line-height: 1.3;
    }

    .story-stat-number {
        font-size: 22px;
    }

    .about-story-media {
        height: 100%;
        margin-top: 0px;
    }

    .story-media-front {
        width: 65%;
    }
    .bulk-quote-section {
        padding: 40px 0 30px;
    }

    .bulk-quote-heading h2 {
        font-size: 24px;
    }

    .bulk-quote-heading p {
        font-size: 15px;
    }

    .quote-btn {
        width: 100%;
        text-align: center;
    }

    .support-label {
        font-size: 15px;
    }

    .support-pill {
        font-size: 14px;
        padding: 18px 16px;
        border-radius: 16px;
    }
}
