/*
Theme Name: Xtrakewl Theme
Theme URI: https://xtrakewl.com/
Author: Napoleon Cajucom
Description: A classic base WordPress theme using flexbox layout.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xtrakewl
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@font-face {
    font-family: 'Avant Garde';
    src: url('assets/ag.woff2') format('woff2'),
         url('assets/ag.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Northwell Regular';
    src: url('assets/nw.woff2') format('woff2'),
         url('assets/nw.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Northwell Alt';
    src: url('assets/nwa.woff2') format('woff2'),
         url('assets/nwa.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
body {
    padding-top: 90px;
    margin: 0;
    font-family: Montserrat, sans-serif;
    overflow-x: hidden;
}

/* =======================
   HEADER STYLING
   ======================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    border-bottom: 1px solid #eaeaea;
}

.header-inner {
    width: 100%;
    max-width: 1440px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* --- LOGO --- */
.site-logo {
    padding: 0 0 0 60px;
    display: flex;
    align-items: center;
}

.site-logo img {
    max-width: 230px;
    height: auto;
}

/* --- NAVIGATION --- */
.main-nav {
    padding-right: 60px;
}

.main-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin-left: 30px;
}

.main-menu a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    color: #6E7359;
}

/* --- LAST MENU ITEM BUTTON --- */
.main-menu li:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 122px;
    height: 57px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    background-color: #8EC63F;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}
.main-menu a{
    position: relative;
    overflow: visible;
}

.main-menu a.is__selected{
    color: #3C97D3;
}

.main-menu a.is__selected:after{
    content: "";
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    bottom: -14px;
    width:77px;
    height: 16px;
    background-image: url("data:image/svg+xml;utf8,<svg width='77' height='16' viewBox='0 0 77 16' xmlns='http://www.w3.org/2000/svg'><path d='M61.32 0.99C61.86 1.12 61.23 -0.06 61.94 0.05C62.64 -0.01 62.16 0.56 62.72 0.87C65.45 -0.25 67.18 1.36 68.65 0C70.32 0.91 72.9 0.16 74.38 0.91C75.41 2.59 75.26 4.89 76.62 6.36C76.51 7.08 75.6 6.8 76.01 7.47C68.54 6.89 62.07 7.63 55.72 7.65C41.89 9.04 31.17 11.56 14.37 13.38C10.21 14.27 4.5 15.65 1.07 14.72C0.41 13.19 0.5 12.3 0 10.58C0.27 9.67 1.1 9.07 1.01 8.02C7 5.91 16.66 5.24 23.19 5.2C27.48 3.77 30.34 4.22 33.6 3.05C34.11 2.83 34.14 3.18 34.17 3.53C38.66 2.43 46.61 2.44 52.14 1.08C53.06 1.53 54.48 1.58 55.1 0.64C57.26 1.16 59.13 0.29 61.31 0.98L61.32 0.99ZM52.48 2.83C43.56 3.79 32.9 5.07 24.26 7.24C32.8 5.96 40.57 5.99 48.08 4.98C47.86 4.47 48 4.1 48.53 4.06C48.74 4.4 48.4 4.6 48.43 4.95C54.26 4.97 57.53 3.98 64.73 3.53C65.13 4.03 65.32 4.18 66.02 4.12C66 3.95 65.78 3.43 66.13 3.4C67.9 3.42 69.24 2.6 70.22 3.75C70.94 3.86 71.24 3.31 71.62 3.63C71.37 2.77 71.89 2.72 72.02 2.18C67.55 1.51 61.3 2.76 56.67 2.29C55.31 2.94 54.06 2.69 52.48 2.83ZM61.86 3.07L65.26 3.65L74.69 4.42' fill='%23C7C8CA'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.main-menu a[href="#apply"].is__selected:after{
    bottom: 0px;
}


@media (max-width: 1180px) {
    .site-logo {
        padding: 0 20px;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .main-nav {
        width: 100%;
        padding: 0 20px 20px;
    }

    .main-menu {
        justify-content: center;
    }

    .main-menu li {
        margin: 10px 15px;
    }

    .main-menu li:last-child {
        width: 100%;
        text-align: center;
    }

    .main-menu li:last-child a {
        border-radius: 25px;
    }    
}
.menu-closer{
    opacity: 0;
    pointer-events: none;
}
.close-btn {
    position: fixed;
    top: 16px;
    right: 32px;
    color: #fff;
    font-size: 50px;
    transition: all 0.5s ease;
    background-color: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.hamburger {
	width: 25px;
	height: 12px;
	display: block;
	position: absolute;
	background-color: transparent;
	border: 0;
	border-top: 2px solid #40B8C7;
	border-bottom: 2px solid #40B8C7;
	top: 40px;
	right: 32px;
	transform: translateY(-50%);
	cursor: pointer;
  opacity: 0;
  pointer-events: none;
}
.hamburger:after {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  left: 0;
  background-color: #40B8C7;
  pointer-events: none;
}
@media (max-width: 1180px) {
    body{
        padding-top: 130px;
    }
    .site-header{
        height: 130px;
    }
    .custom-logo-link{
        display: none;
    }
    .the-mobile-logo {
        display: block !important;
    }

    .the-mobile-logo svg{
        width: 132px;
    }
    .menu-closer{
        opacity: 1;
        pointer-events: auto;
    }
    .hamburger {
        opacity: 1;
        pointer-events: auto;
    }
    .main-nav,
    .main-menu {
        justify-content: center;
        position: fixed;
        background-color: #6CC4EA;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        flex-direction: column;
        transition: all 0.5s ease;
    }
    .main-menu{
        row-gap: 40px !important;
    }
    .main-nav{
        transform: translateX(-100%);
        z-index: 100;
        overflow: auto;
    }    
     body.mobile-menu .main-nav{
        transform: translateX(-39px);
    }    
    .main-menu li a {
        font-family: Montserrat !important;
        font-size: 24px !important;
        font-weight: 500 !important;
        color: #fff;
    }
    .main-menu li:last-child a {
        background-color: #FFC50B;
        color: #fff;
        min-width: 235px !important;
        height: 58px !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        font-size: 23px !important;
    }
 
    .who-can-apply__right,
    .who-can-apply__left {
        width: 100% !important;
        text-align: center;
    }
    .page-intro .container {
        padding: 0 20px !important;
        box-sizing: border-box;
    }
    .arrow-down{
        pointer-events: auto !important;
        opacity: 1 !important;
        cursor: pointer;
        z-index: 98;
    }
}
@media screen and (min-width: 1600px){
    #menu-item-16 a{
        width: 75px;
    }
    #menu-item-16 a{
        position: fixed;
        right: 0px;
        top:15px;
        width: 122px;
    }    
}
@media screen and (max-width: 1024px){
    .why-join__grid {
        column-gap: 40px;
        row-gap: 40px;
        flex-wrap: wrap;
    }
    .why-join__item {
        width: calc(50% - 20px) !important;
    }      
}

@media screen and (max-width: 767px){
    .why-join__grid {
        flex-direction: column;
        gap: 40px;
    }
    .why-join__item {
        width: 100% !important;
    }      
}
