/* ==========================================================================
CUSTOM RESPONSIVE CSS
========================================================================== */

/* Extra small devices (portrait phones, less than 576px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
    h1 {
        font-weight: 200;
        font-size: 2.4rem;
    }
    
    .section-heading {
        font-size: 2.2rem;
    }
 }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .stat-number {
        font-size: 2.75rem; /* three narrow columns between md and lg, so keep the numbers small */
    }

    #client-journey .journey-cards {
        padding: calc(var(--journey-icon) / 2 + 2.5rem) 2.5rem 2.5rem;
    }

    /* Testimonial thumbs: fixed row height so wide and narrow tiles line up */
    .video-thumb {
        aspect-ratio: auto;
        height: 220px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    h1 {
        font-size: 2.8rem;
    }

    .stat-number {
        font-size: 4.5rem;
    }

    .nav-pill {
        border-radius: 50rem;
        padding: 0.3rem;
        margin-top: 0;
    }
    .header-logo {
        height: 50px;
    }
    .header-logo.header-logo-incisive {
        height: 38px;
    }

    .section-heading {
        font-size: 2.8rem;
    }

    .video-thumb {
        height: 260px;
    }

    /* Clipping box for the circle: reaches 200px up into the section above, but clips the sides and bottom.
       (overflow: hidden here, rather than clip-path on the section, so the clipped part can't cause scrollbars) */
    .contact-circle {
        position: absolute;
        top: -200px;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
        overflow: hidden;
        pointer-events: none;
    }

    .contact-circle-img {
        border-radius: 50%;
        top: 70px;                      /* 200px box offset - 130px, so the circle sits exactly where it did before */
        width: 1200px;
        height: 1200px;
        position: absolute;
        left: 58%;
    }
 }

/* Below xl (under 1200px): slightly smaller nav logos */
@media (max-width: 1199.98px) {
    .navbar-brand img {
        height: 36px;
    }
}

/* Large devices only (992px up to, but not including, 1200px): tighten the nav so all items fit */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .nav-pill {
        gap: 0;
    }

    .navbar .navbar-nav.nav-pill .nav-link {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
    h1 {
        font-size: 3rem;
    }

    header h2 {
        font-size: 1.4rem;
    }

    .section-heading {
        font-size: 3rem;
    }

    .video-thumb {
        height: 300px;
    }
 }


/*  XXL devices (large desktops, 1400px and up) */
@media (min-width: 1400px) { 
    h1 {
        font-size: 3.6rem;
    }

    header h2 {
        font-size: 1.6rem;
    }
 }



 /*  XxXL devices (large desktops, 1800px and up) */
@media (min-width: 1800px) { 
    .contact-circle-img {
        width: 1400px;
        height: 1400px;
        position: absolute;
        left: 68%;
    }
 }
