/* ============================================================
   North Country Insulation — Responsive (media queries only)
   ============================================================ */
@media (max-width: 1600px) {
    header img.header-logo {
        width: 150px;
    }

    header .navbar-nav .nav-link, .dropdown-item {
        font-size: 14px;
    }
    .nav-item .dropdown-toggle{
        top: 15px;
        right: -2px;
    }
}

@media (max-width: 1400px) {
    header img.header-logo {
        width: 100px;
    }

}

/* ============================================================
   BREAKPOINT: 1199.98px (Extra Large)
   ============================================================ */
@media (max-width: 1199.98px) {
    header .navbar-nav .nav-link {
        padding: 0px !important;
    }

    header .hero-section__call {
        position: unset !important;
    }

    h1 {
        font-size: 48px;
    }

    .hero-section .hero-section__left {
        padding: 28px 36px 40px;
    }

    .inner-hero-section .inner-hero-section__panel {
        padding: 28px 36px 64px;
    }
}

/* ============================================================
   BREAKPOINT: 991.98px (Large)
   ============================================================ */
@media (max-width: 991.98px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 34px;
    }

    h3 {
        font-size: 24px;
    }

    .py-8 {
        padding: 70px 0;
    }

    .pt-8 {
        padding-top: 70px;
    }

    .pb-8 {
        padding-bottom: 70px;
    }

    .hero-section .hero-section__left {
        padding: 24px 28px 32px;
    }

    .hero-section .hero-section__right {
        padding: 0 24px 24px;
    }

    .hero-section .navbar-collapse {
        background-color: var(--color-white);
        border-radius: 16px;
        margin-top: 16px;
        padding: 12px 16px;
    }

    .hero-section .hero-section__call {
        top: 24px;
        right: 24px;
    }

    .inner-hero-section .inner-hero-section__panel {
        padding: 24px 28px 56px;
    }

    .inner-hero-section .inner-hero-section__header {
        margin-bottom: 50px;
    }

    .inner-hero-section .navbar-collapse {
        background-color: var(--color-white);
        -webkit-border-radius: 16px;
        border-radius: 16px;
        margin-top: 16px;
        padding: 12px 16px;
    }

    .nav-item .dropdown-toggle{
        top: 13px;
    }
    .process-section .process-section__timeline::before {
        display: none;
    }

    .locations-section .locations-section__item {
        padding: 10px 15px;
    }

    .contact-quote-section .contact-quote-section__form-wrapper {
        margin-top: 40px;
    }

    .footer-section .footer-section__main {
        padding: 60px 0;
    }

    .footer-section .footer-section__logo,
    .footer-section .row>.col-lg-4:first-child>img.img-fluid,
    .footer-section .footer-section__map {
        margin: 0 auto;
    }
}

/* ============================================================
   BREAKPOINT: 767.98px (Medium/Tablet)
   ============================================================ */
@media (max-width: 767.98px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    .py-8 {
        padding: 50px 0;
    }

    .pt-8 {
        padding-top: 50px;
    }

    .pb-8 {
        padding-bottom: 50px;
    }

    .hero-section {
        padding: 12px;
    }

    .hero-section .hero-section__left {
        padding: 20px;
    }

    .hero-section .hero-section__right {
        padding: 0 16px 16px;
    }

    .hero-section .hero-section__call {
        top: 16px;
        right: 16px;
        padding: 6px 14px 6px 6px;
    }

    .hero-section .hero-section__call-icon {
        width: 30px;
        height: 30px;
    }

    .inner-hero-section {
        padding: 12px;
    }

    .inner-hero-section .inner-hero-section__panel {
        padding: 20px 20px 46px;
    }

    .inner-hero-section .inner-hero-section__header {
        margin-bottom: 36px;
    }

    .about-stats-section .about-stats-section__item {
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .about-stats-section .about-stats-section__item:last-child {
        border-bottom: 0;
    }

    .cta-section .cta-section__inner {
        padding: 50px 20px;
    }

    .contact-quote-section .contact-quote-section__item {
        border-right: 1px solid var(--color-border) !important;
        border-bottom: 1px solid var(--color-border);
    }

    .contact-quote-section .contact-quote-section__item:nth-child(2n) {
        border-right: 1px solid var(--color-border);
    }

    .contact-quote-section .contact-quote-section__item:nth-child(n+3) {
        border-bottom: 1px solid var(--color-border);
    }

    .contact-quote-section__item:nth-child(4) {
        border-bottom: none;
    }

    .contact-quote-section__form-wrapper {
        padding: 30px 20px;
    }

    .cta-estimate-section {
        min-height: 300px;
    }

    .cta-estimate-section h2 {
        font-size: 28px;
    }

    .cta-estimate-section p {
        font-size: 16px;
    }

    .footer-section .footer-section__main {
        padding: 40px 0;
    }

    .footer-section .footer-section__logo {
        max-width: 150px;
    }

    .footer-section .footer-section__desc {
        font-size: 13px;
    }

    .footer-section .footer-section__heading {
        margin-top: 20px;
    }

    .footer-section .footer-section__map {
        margin-top: 20px;
    }

    .footer-section .footer-section__copyright-inner {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .footer-section .footer-section__copyright-powered {
        text-align: center;
    }
}

/* ============================================================
   BREAKPOINT: 575.98px (Small/Mobile)
   ============================================================ */
@media (max-width: 575.98px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .usps-section .usps-section__card-body {
        padding: 20px;
    }
}

/* ============================================================
   RELATED BLOGS RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 767.98px) {
    .blog-card__title {
        font-size: 18px;
    }
    
    .blog-card__desc {
        font-size: 15px;
        margin-bottom: 18px;
    }
}

@media (max-width: 575.98px) {
    .blog-card__badge-body {
        gap: 10px;
        padding-right: 25px;
    }
}

/* ============================================================
   BLOG DETAIL RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 991.98px) {
    .blog-detail-hero__title {
        font-size: 30px;
    }
    
    .blog-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .blog-detail-hero__title {
        font-size: 24px;
    }
    
    .blog-detail-hero__meta {
        gap: 15px !important;
    }
    
    .blog-detail__body p.lead-text {
        font-size: 18px;
    }
    
    .blog-detail__subheading {
        font-size: 22px;
    }
    
    .blog-detail__blockquote {
        padding: 20px 24px;
    }
    
    .blog-detail__blockquote-text {
        font-size: 17px;
    }
}

@media (max-width: 575.98px) {
    .blog-detail-hero__title {
        font-size: 20px;
    }
}