/* ==========================================================================
CUSTOM RESPONSIVE CSS
========================================================================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        max-width: 440px;
    }

    /* Navigation arrows */
    .numbered-slider-section .nav-button {
        position: absolute;
        top: 0px;
        width: 200px;
        height: 100%;
        background: rgba(255,255,255,0.9);
        border: none;
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        margin-top: 0px;
        padding: 0px;
    }

    .numbered-slider-section .nav-button.prev {
        left: -220px;
        padding-right: 1rem;
        justify-content: right;
    }

    .numbered-slider-section .nav-button.next {
        right: -220px;
        padding-left: 1rem;
        justify-content: left;
    }

    /* Navigation arrows */
    .documents-downloads-slider-section .nav-button {
        position: absolute;
        top: 0px;
        width: 200px;
        height: 100%;
        background: rgba(255,255,255,0.9);
        border: none;
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        margin-top: 0px;
        padding: 0px;
    }

    .documents-downloads-slider-section .nav-button.prev {
        left: -220px;
        padding-right: 1rem;
        justify-content: right;
    }

    .documents-downloads-slider-section .nav-button.next {
        right: -220px;
        padding-left: 1rem;
        justify-content: left;
    }
}

@media (min-width: 676px) {
    .container {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    

    .trapezoid-left, .trapezoid-right {
        width: 30%;
    }

    .section-with-images .double-image {
        width: 200%;
    }

    .section-with-images .double-image img {
        width: 50%;
        margin-right: 2rem;
    }

    .slide-icon {
        width: 14%;
    }

    .container {
        max-width: 620px;
    }

    .modal-side-panel {
        width: 75%;
        margin-left: auto;
        max-width: 800px;
    }

    .big-page-header-content {
        /* margin-bottom: 10rem; */
    }
    
    .stat-title {
        font-size: 2rem;
    }
    
    .stat-description {
        font-size: 0.875rem;
    }

    /* Team Members - Tablet and up - enable hover effects */
    .team-member-overlay {
        opacity: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    }
    
    .team-member-info {
        transform: translateY(20px);
    }
    
    .team-member-card:hover {
        transform: translateY(-5px);
    }
    
    .team-member-card:hover .team-member-image img {
        transform: scale(1.05);
    }
    
    .team-member-card:hover .team-member-overlay {
        opacity: 1;
    }
    
    .team-member-card:hover .team-member-info {
        transform: translateY(0);
    }

}

@media (min-width: 868px) {
    .container {
        max-width: 720px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    body {
        padding-top: 80px;
    }
    
    /* WordPress Admin Bar Padding */
    .admin-bar body {
        padding-top: 112px; /* 80px + 32px for admin bar */
    }
    
    section.position-fixed {
        top: 80px;
    }

    .admin-bar section.position-fixed {
        top: 112px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .navbar-expand-lg .navbar-nav > .menu-item:first-child > .nav-link {
        padding-left: 0;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu .nav-link {
        white-space: nowrap;
    }

    /* Navbar Dropdown - Desktop and up - restore standard dropdown styling */
    .navbar .dropdown-menu {
        background-color: #fff;
        border: 1px solid rgba(0, 0, 0, 0.15);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
        margin-top: 0;
        padding-left: 0;
    }
    
    .navbar .dropdown-menu .dropdown-item {
        color: #212529;
        padding: 0.25rem 1rem;
    }
    
    .navbar .dropdown-menu .dropdown-item:hover,
    .navbar .dropdown-menu .dropdown-item:focus {
        background-color: #F4F5F7;
        color: #212529;
    }
    
    .navbar .dropdown-toggle::after {
        float: none;
        margin-top: 0;
    }

    .section-with-boxes .section-boxes {
        margin-top: 0;
    }

    .section-with-boxes .section-bottom, .documents-downloads-slider-section .section-bottom {
        padding-top: 2rem;
    }

    .container {
        max-width: 860px;
    }

    .frame-cut-out-container-left {
        width: 150%;
    }
    
    .frame-cut-out-container-right {
        width: 150%;
    }
    
    .big-page-header-sidebar {
        margin-top: 0;
    }
    
    .stat-title {
        font-size: 2.5rem;
    }


    .team-title-container .team-title {
        font-size: 1rem;
    }

}

@media (min-width: 1092px) {

    .container {
        max-width: 960px;
    }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    .big-page-header-section .video-background iframe {
        min-height: 100vh;
        min-width: 177.77vh;
    }
    
    .section-with-boxes .section-bottom, .documents-downloads-slider-section .section-bottom {
        padding-top: 2.4rem;
    }

    .slide-icon {
        width: 20%;
    }

    .container {
        max-width: 1060px;
    }

    .modal-side-panel {
	    width: 50%;
	    margin-left: auto;
	}

    .team-title-container .team-title {
        font-size: 1.4rem;
    }
    
}

@media (min-width: 1300px) {
    
    .container {
        max-width: 1140px;
    }
    
}

/* Extra large devices (large desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1260px;
    }

    .team-title-container .team-title {
        font-size: 1.6rem;
    }

}

/* Extra large devices (large desktops, 1500px and up) */
@media (min-width: 1500px) {
    .container {
        max-width: 1320px;
    }

    .frame-cut-out-container-left {
        width: 170%;
    }
    
    .frame-cut-out-container-right {
        width: 170%;
    }
}


/* Admin Bar Padding */
@media (max-width: 782px) {
    .admin-bar body {
        padding-top: 102px; /* 70px + 46px for mobile admin bar */
    }
    
    .admin-bar .fixed-top {
        top: 46px; /* Account for admin bar on mobile */
    }
}

@media (max-height: 660px) {
    .big-page-header-section {
        height: auto!important;
        min-height: auto!important;
    }

    .big-page-header-content {
        margin-bottom: 8rem;
    }
}

@media (max-width: 500px) {
    .big-page-header-section {
        height: auto!important;
        min-height: auto!important;
    }
}

@media (min-height: 800px) {
    .big-page-header-top-row {
        margin-top: 2rem;
    }
    .big-page-header-bottom-row {
        margin-bottom: 2rem;
    }
}

@media (min-height: 1000px) {
    .big-page-header-top-row {
        margin-top: 6rem;
    }
    .big-page-header-bottom-row {
        margin-bottom: 6rem;
    }
}

@media (min-height: 1200px) {
    .big-page-header-top-row {
        margin-top: 10rem;
    }
    .big-page-header-bottom-row {
        margin-bottom: 10rem;
    }
}

@media (min-height: 1400px) {
    .big-page-header-top-row {
        margin-top: 12rem;
    }
    .big-page-header-bottom-row {
        margin-bottom: 12rem;
    }
}