
/* ==================================================
   WEBLYD - RESPONSIVE DESIGN
================================================== */


/* ==========================================
   LARGE DESKTOP
   1441px and above
========================================== */

@media (min-width: 1441px) {

    :root {
        --container-width: 1320px;
        --section-padding: 110px;
    }

}


/* ==========================================
   DESKTOP & LAPTOP
   1200px and below
========================================== */

@media (max-width: 1200px) {

    :root {
        --container-padding: 24px;
        --section-padding: 90px;
    }

    .grid-6 {
        grid-template-columns: repeat(
            4, minmax(0, 1fr)
        );
    }

    .grid-5 {
        grid-template-columns: repeat(
            4, minmax(0, 1fr)
        );
    }

}


/* ==========================================
   TABLET LANDSCAPE
   1024px and below
========================================== */

@media (max-width: 1024px) {

    :root {
        --container-padding: 24px;
        --section-padding: 80px;
        --header-height: 75px;
    }

    .grid {
        gap: var(--space-md);
    }

    .grid-4 {
        grid-template-columns: repeat(
            2, minmax(0, 1fr)
        );
    }

    .grid-5,
    .grid-6 {
        grid-template-columns: repeat(
            3, minmax(0, 1fr)
        );
    }

    .card {
        padding: var(--space-md);
    }

    .section-heading {
        max-width: 760px;
    }

}


/* ==========================================
   TABLET PORTRAIT
   768px and below
========================================== */

@media (max-width: 768px) {

    :root {
        --container-padding: 20px;
        --section-padding: 64px;
        --header-height: 70px;
    }

    .grid-3 {
        grid-template-columns: repeat(
            2, minmax(0, 1fr)
        );
    }

    .grid-5,
    .grid-6 {
        grid-template-columns: repeat(
            2, minmax(0, 1fr)
        );
    }

    .section-heading {
        margin-bottom: var(--space-lg);
    }

    .section-heading p {
        font-size: 1rem;
    }

    .section-sm {
        padding-block: 40px;
    }

    .content-body {
        font-size: 1rem;
    }

    .glow-effect::before {
        width: 350px;
        height: 350px;
    }

}


/* ==========================================
   MOBILE
   576px and below
========================================== */

@media (max-width: 576px) {

    :root {
        --container-padding: 16px;
        --section-padding: 48px;
        --header-height: 65px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6 {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid {
        gap: var(--space-md);
    }

    .section-heading {
        margin-bottom: var(--space-lg);
    }

    .section-heading h1,
    .section-heading h2 {
        margin-bottom: var(--space-sm);
    }

    .section-heading p {
        font-size: 1rem;
    }

    .section-label {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
    }

    .card {
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }

    .card-icon {
        width: 52px;
        height: 52px;
    }

    .card-icon svg {
        width: 24px;
        height: 24px;
    }

    .btn {
        min-height: 48px;
        padding: 12px 20px;
        font-size: 0.9375rem;
    }

    .btn-sm {
        min-height: 40px;
        padding: 10px 16px;
    }

    .btn-lg {
        min-height: 54px;
        padding: 15px 26px;
    }

    .faq-item summary {
        padding: 16px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 16px 16px;
    }

    .form-control {
        min-height: 50px;
        padding: 12px 16px;
    }

    .glow-effect::before {
        top: -100px;
        right: -100px;
        width: 250px;
        height: 250px;
    }

}


/* ==========================================
   SMALL MOBILE
   360px and below
========================================== */

@media (max-width: 360px) {

    :root {
        --container-padding: 12px;
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
    }

    .card {
        padding: 20px;
    }

    .btn {
        padding-inline: 16px;
    }

}



/* ==================================================
   START: MOBILE HAMBURGER MENU FIX
================================================== */

@media (max-width: 1100px) {

    #site-header .header-container {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    /* START: HAMBURGER BUTTON */

    #site-header #menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 8px;
        color: #08CBB6;
        background: transparent;
        border: 1px solid #263244;
        border-radius: 8px;
        cursor: pointer;
    }

    #site-header #menu-toggle > * {
        display: none !important;
    }

    #site-header #menu-toggle::before {
        content: "\2630";
        font-size: 26px;
        line-height: 1;
    }

    #site-header #menu-toggle[aria-expanded="true"]::before {
        content: "\00D7";
        font-size: 32px;
    }

    #site-header #menu-toggle::after {
        display: none;
    }

    /* END: HAMBURGER BUTTON */


    /* START: MOBILE NAVIGATION */

    #site-header[data-menu-ready="true"] #main-navigation {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: calc(100dvh - var(--header-height, 65px));
        padding: 16px;
        background: #080D14;
        border-top: 1px solid #263244;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
        overflow-y: auto;
        z-index: 1000;
    }

    #site-header[data-menu-ready="true"] #main-navigation.is-open {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    /* END: MOBILE NAVIGATION */

}

/* START: DESKTOP NAVIGATION */

@media (min-width: 1101px) {

    #site-header #menu-toggle {
        display: none !important;
    }

}

/* END: DESKTOP NAVIGATION */

/* ==================================================
   END: MOBILE HAMBURGER MENU FIX
================================================== */




/* ==================================================
   START: MOBILE DROPDOWN SCROLL FIX
================================================== */

@media (max-width: 1100px) {

    /* Keep navigation aligned from the top */

    #site-header[data-menu-ready="true"] #main-navigation.is-open {
        top: 100%;
        bottom: auto;
        justify-content: flex-start !important;
        align-items: stretch;
        align-content: flex-start;
        min-height: 0;
        height: auto;
        max-height: calc(100vh - var(--header-height, 65px));
        max-height: calc(100dvh - var(--header-height, 65px));
        overflow-y: auto !important;
        overflow-x: hidden;
        overscroll-behavior-y: contain;
        overflow-anchor: none;
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent menu items from shrinking */

    #site-header #main-navigation > * {
        flex-shrink: 0;
    }

    /* Keep navigation lists aligned from the top */

    #site-header #main-navigation ul {
        justify-content: flex-start;
        align-content: flex-start;
    }

    #site-header #main-navigation li {
        flex-shrink: 0;
    }

    /* Mobile navigation scrollbar */

    #site-header #main-navigation {
        scrollbar-width: thin;
        scrollbar-color: #08CBB6 #101828;
    }

    #site-header #main-navigation::-webkit-scrollbar {
        width: 4px;
    }

    #site-header #main-navigation::-webkit-scrollbar-thumb {
        background: #08CBB6;
        border-radius: 10px;
    }

    #site-header #main-navigation::-webkit-scrollbar-track {
        background: #101828;
    }
}

/* ==================================================
   END: MOBILE DROPDOWN SCROLL FIX
================================================== */



















