/* =========================================================
   PEMEXA WORLDWIDE
   MAIN.CSS

   PART 1 OF 3
   FULL REPLACEMENT

   ROOT
   RESET
   GLOBAL
   CONTAINER
   HEADER
   NAVIGATION
   HERO

========================================================= */

/* =========================================================
   ROOT
========================================================= */

:root{

    --pemexa-blue:#0B4EA2;
    --pemexa-green:#14963F;
    --pemexa-gold:#E9A913;

    --white:#FFFFFF;

    --background:#F5F7FA;

    --text-dark:#1F2937;
    --text-medium:#6B7280;
    --text-light:#9CA3AF;

    --border:#E5E7EB;

    --shadow-sm:
        0 2px 8px rgba(0,0,0,.05);

    --shadow-md:
        0 10px 25px rgba(0,0,0,.08);

    --shadow-lg:
        0 18px 45px rgba(0,0,0,.10);

    --radius-sm:4px;
    --radius-md:8px;
    --radius-lg:12px;

    --transition:.3s ease;

    --container-width:1600px;

}

/* =========================================================
   RESET
========================================================= */

*{

    margin:0;
    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;

    background:var(--background);

    color:var(--text-dark);

    overflow-x:hidden;

    line-height:1.6;

}

img{

    display:block;

    max-width:100%;

    height:auto;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

button{

    border:none;

    background:none;

    cursor:pointer;

}

input{

    font-family:inherit;

}

svg{

    display:block;

}

/* =========================================================
   GLOBAL
========================================================= */

section{

    position:relative;

}

main{

    overflow:hidden;

}

/* =========================================================
   CONTAINER
========================================================= */

.container{

    width:min(96%,1600px);

    margin:auto;

}

/* =========================================================
   HEADER
========================================================= */

.header{

    position:sticky;

    top:0;

    z-index:99999;

    background:#FFFFFF;

    border-bottom:1px solid #E8ECF0;

    box-shadow:
        0 2px 10px rgba(0,0,0,.04);

}

.header-scrolled{

    box-shadow:
        0 8px 24px rgba(0,0,0,.08);

}

.nav-container{

    min-height:105px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:30px;

}

/* =========================================================
   LOGO
========================================================= */

.logo{

    display:flex;

    align-items:center;

    gap:18px;

    flex-shrink:0;

}

.logo img{

    width:110px;

    min-width:110px;

    object-fit:contain;

}

.logo-text{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.logo-text span{

    font-size:3.2rem;

    line-height:.95;

    font-weight:800;

    color:var(--pemexa-blue);

    letter-spacing:-1px;

}

.logo-text small{

    color:var(--pemexa-green);

    font-size:1.15rem;

    font-weight:700;

    letter-spacing:6px;

}

.logo-text em{

    margin-top:6px;

    color:#7A7A7A;

    font-style:normal;

    font-size:.85rem;

    line-height:1.3;

}

/* =========================================================
   NAVIGATION
========================================================= */

.navigation{

    margin-left:auto;

    flex-shrink:0;

}

.nav-links{

    display:flex;

    align-items:center;

    gap:32px;

}

.nav-links li{

    position:relative;

}

.nav-links a{

    display:block;

    color:#111827;

    font-size:.95rem;

    font-weight:600;

    letter-spacing:.2px;

    white-space:nowrap;

    transition:var(--transition);

}

.nav-links a:hover{

    color:var(--pemexa-green);

}

.nav-links a::after{

    content:'';

    position:absolute;

    left:0;

    bottom:-12px;

    width:0;

    height:3px;

    background:var(--pemexa-green);

    transition:var(--transition);

}

.nav-links a:hover::after{

    width:100%;

}

.active-link{

    color:var(--pemexa-green)!important;

}

.active-link::after{

    width:100%!important;

}

/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions{

    display:flex;

    align-items:center;

    gap:14px;

    flex-shrink:0;

}

.search-btn{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    color:#4B5563;

    transition:var(--transition);

}

.search-btn:hover{

    background:#F3F4F6;

}

.search-btn svg{

    width:18px;

    height:18px;

}

.login-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    min-width:110px;

    height:46px;

    border:1px solid #D6DBE3;

    border-radius:4px;

    background:#FFFFFF;

    color:var(--pemexa-blue);

    font-size:.85rem;

    font-weight:700;

    transition:var(--transition);

}

.login-btn:hover{

    background:#F8FAFC;

}

.join-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    min-width:145px;

    height:46px;

    border-radius:4px;

    background:var(--pemexa-green);

    color:#FFFFFF;

    font-size:.85rem;

    font-weight:700;

    transition:var(--transition);

}

.join-btn:hover{

    background:#0F7C34;

}

/* =========================================================
   MOBILE TOGGLE
========================================================= */

.mobile-toggle{

    display:none;

    flex-direction:column;

    gap:5px;

    width:40px;

    height:40px;

    align-items:center;

    justify-content:center;

}

.mobile-toggle span{

    width:24px;

    height:2px;

    background:var(--pemexa-blue);

}

/* =========================================================
   HERO
========================================================= */

.hero-home{

    background:#FFFFFF;

    padding:60px 0 50px;

}

.hero-home-container{

    display:grid;

    grid-template-columns:
        minmax(420px,560px)
        minmax(600px,1fr);

    gap:60px;

    align-items:center;

}

.hero-home-left h1{

    font-family:'Montserrat',sans-serif;

    font-size:5rem;

    font-weight:800;

    line-height:.98;

    margin-bottom:35px;

}

.blue-text{

    color:var(--pemexa-blue);

}

.green-text{

    color:var(--pemexa-green);

}

.gold-text{

    color:var(--pemexa-gold);

}

.hero-home-left p{

    max-width:560px;

    color:var(--text-medium);

    font-size:1.15rem;

    line-height:1.9;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    align-items:center;

    gap:14px;

    flex-wrap:wrap;

}

.btn-green{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:54px;

    padding:0 26px;

    background:var(--pemexa-green);

    color:#FFFFFF;

    border-radius:4px;

    font-size:.95rem;

    font-weight:700;

    transition:var(--transition);

}

.btn-green:hover{

    background:#0F7C34;

}

.btn-outline{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:54px;

    padding:0 26px;

    border:2px solid #CBD5E1;

    border-radius:4px;

    color:var(--pemexa-blue);

    font-size:.95rem;

    font-weight:700;

    transition:var(--transition);

}

.btn-outline:hover{

    border-color:var(--pemexa-blue);

}

.hero-home-right{

    display:flex;

    align-items:center;

    justify-content:center;

}

.hero-home-right img{

    width:100%;

    max-width:980px;

    object-fit:contain;

}
/* =========================================================
   PEMEXA WORLDWIDE
   MAIN.CSS

   PART 2 OF 3
   FULL REPLACEMENT

   STATS
   PANELS
   NEWS
   EVENTS
   FEATURED ALUMNI
   CONTENT SECTIONS
   SHARED GRIDS

========================================================= */

/* =========================================================
   STATISTICS
========================================================= */

.stats-section{

    background:#F4F7FA;

    padding:25px 0 50px;

}

.stats-grid{

    display:grid;

    grid-template-columns:
        repeat(5,1fr);

    gap:20px;

}

.stat-card{

    background:#FFFFFF;

    border:1px solid #E8ECF0;

    border-radius:10px;

    padding:28px 20px;

    text-align:center;

    box-shadow:0 2px 8px rgba(0,0,0,.04);

    transition:.3s ease;

}

.stat-card:hover{

    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.stat-number{

    font-size:2.5rem;

    font-weight:800;

    line-height:1;

    color:var(--pemexa-blue);

    margin-bottom:8px;

}

.stat-title{

    color:#6B7280;

    font-size:.95rem;

    font-weight:500;

}

/* =========================================================
   HOME PANELS
========================================================= */

.home-panels{

    background:#FFFFFF;

    padding:30px 0 70px;

}

.home-panels-grid{

    display:grid;

    grid-template-columns:
        1fr
        1fr
        1fr
        1fr;

    gap:25px;

}

/* =========================================================
   PANEL
========================================================= */

.panel{

    background:#FFFFFF;

    border:1px solid #E5E7EB;

    border-radius:10px;

    overflow:hidden;

    transition:.3s ease;

    box-shadow:0 2px 8px rgba(0,0,0,.04);

}

.panel:hover{

    transform:translateY(-5px);

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.panel h3{

    position:relative;

    color:#111827;

    font-size:1rem;

    font-weight:800;

    padding:24px 24px 14px;

}

.panel h3::after{

    content:'';

    position:absolute;

    left:24px;

    bottom:0;

    width:45px;

    height:3px;

    background:var(--pemexa-green);

}

.panel-image{

    padding:20px 24px 0;

}

.panel-image img{

    width:100%;

    height:180px;

    object-fit:cover;

    border-radius:8px;

}

.panel p{

    color:#4B5563;

    font-size:.95rem;

    line-height:1.8;

    padding:20px 24px;

}

/* =========================================================
   PANEL LINKS
========================================================= */

.panel-link{

    display:inline-flex;

    align-items:center;

    gap:8px;

    margin:0 24px 24px;

    color:var(--pemexa-blue);

    font-size:.9rem;

    font-weight:700;

    transition:.3s ease;

}

.panel-link:hover{

    color:var(--pemexa-green);

}

/* =========================================================
   NEWS LIST
========================================================= */

.news-list{

    padding:10px 24px 24px;

}

.news-list li{

    position:relative;

    padding-left:18px;

    padding-bottom:14px;

    margin-bottom:14px;

    border-bottom:1px solid #ECECEC;

    color:#374151;

    font-size:.92rem;

    line-height:1.6;

}

.news-list li:last-child{

    border-bottom:none;

    margin-bottom:0;

}

.news-list li::before{

    content:'';

    position:absolute;

    left:0;

    top:8px;

    width:8px;

    height:8px;

    border-radius:50%;

    background:var(--pemexa-green);

}

/* =========================================================
   EVENTS LIST
========================================================= */

.events-list{

    padding:10px 24px 24px;

}

.events-list li{

    position:relative;

    padding-left:18px;

    padding-bottom:14px;

    margin-bottom:14px;

    border-bottom:1px solid #ECECEC;

    color:#374151;

    font-size:.92rem;

    line-height:1.6;

}

.events-list li:last-child{

    border-bottom:none;

    margin-bottom:0;

}

.events-list li::before{

    content:'';

    position:absolute;

    left:0;

    top:8px;

    width:8px;

    height:8px;

    border-radius:50%;

    background:var(--pemexa-gold);

}

/* =========================================================
   FEATURED ALUMNI / AWARD FEATURE
========================================================= */

.featured-alumni {

    display: flex;

    flex-direction: column;

}

.featured-card {

    background: linear-gradient(
        135deg,
        #0B4EA2,
        #2A72D4
    );

    color: #FFFFFF;

    padding: 20px;

    border-radius: 10px;

    overflow: hidden;

}

.featured-content {

    margin-bottom: 20px;

}

.featured-content p {

    font-size: 1rem;

    line-height: 1.8;

    margin-bottom: 15px;

}

.featured-content p::before {

    content: "“";

    display: block;

    font-size: 3rem;

    line-height: 1;

    color: rgba(255,255,255,.25);

    margin-bottom: 10px;

}

.featured-content h4 {

    font-size: 1.4rem;

    margin-bottom: 8px;

    color: #FFFFFF;

}

.featured-content small {

    display: block;

    color: rgba(255,255,255,.9);

    line-height: 1.6;

}

.featured-card img {

    display: block;

    width: 100%;

    height: 220px;

    object-fit: cover;

    border-radius: 8px;

    margin-top: 20px;

}


/* =========================================================
   CONTENT SECTION
========================================================= */

.content-section{

    padding:80px 0;

    background:#FFFFFF;

}

.content-section-alt{

    padding:80px 0;

    background:#F5F7FA;

}

.section-title{

    text-align:center;

    margin-bottom:50px;

}

.section-title h2{

    color:var(--pemexa-blue);

    font-size:3rem;

    font-weight:800;

    margin-bottom:15px;

}

.section-title p{

    max-width:900px;

    margin:auto;

    color:#6B7280;

    line-height:1.9;

}

/* =========================================================
   CONTENT CARD
========================================================= */

.content-card{

    background:#FFFFFF;

    border:1px solid #E5E7EB;

    border-radius:12px;

    padding:30px;

    box-shadow:0 2px 8px rgba(0,0,0,.04);

    transition:.3s ease;

}

.content-card:hover{

    transform:translateY(-5px);

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.content-card h3{

    color:var(--pemexa-blue);

    margin-bottom:15px;

    font-size:1.3rem;

}

.content-card p{

    color:#4B5563;

    line-height:1.9;

}

/* =========================================================
   SHARED GRIDS
========================================================= */

.grid-2{

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:30px;

}

.grid-3{

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:30px;

}

.grid-4{

    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:25px;

}

.grid-5{

    display:grid;

    grid-template-columns:
        repeat(5,1fr);

    gap:20px;

}


/* =========================================================
   PART 3 OF 3
   CLEAN FOOTER VERSION
   FIXED SOCIAL ICONS
========================================================= */

.footer{

    margin-top:0;

}

/* =========================================================
   FOOTER TOP
========================================================= */

.footer-top{

    background:
        linear-gradient(
            135deg,
            #0B4EA2 0%,
            #1E5FBE 100%
        );

    color:#FFFFFF;

    padding:42px 0;

}

.footer-top-grid{

    display:grid;

    grid-template-columns:

        330px
        170px
        220px
        180px
        180px
        340px;

    gap:35px;

    align-items:start;

}

/* =========================================================
   BRAND
========================================================= */

.footer-brand{

    display:flex;

    align-items:flex-start;

    gap:18px;

}

.footer-brand img{

    width:100px;

    min-width:100px;

    object-fit:contain;

}

.footer-brand-content{

    display:flex;

    flex-direction:column;

}

.footer-brand h3{

    color:#FFFFFF;

    font-size:1.05rem;

    font-weight:800;

    line-height:1.15;

    margin-bottom:10px;

}

.footer-brand p{

    color:rgba(255,255,255,.95);

    font-size:.95rem;

    line-height:1.7;

    margin-bottom:16px;

}

/* =========================================================
   SOCIAL ICONS
========================================================= */

.social-links{

    display:flex;

    align-items:center;

    gap:10px;

    margin-top:2px;

}

.social-links a{

    width:28px;

    height:28px;

    min-width:28px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    border:none;

    background:none;

    box-shadow:none;

    border-radius:0;

    transition:.2s ease;

}

.social-links a:hover{

    transform:translateY(-2px);

}

/* Facebook */

.social-links .facebook{

    color:#1877F2;

}

/* X */

.social-links .x{

    color:#FFFFFF;

}

/* Instagram */

.social-links .instagram{

    color:#E4405F;

}

/* YouTube */

.social-links .youtube{

    color:#FFFFFF;

}

/* LinkedIn */

.social-links .linkedin{

    color:#0A66C2;

}

.social-links i{

    font-size:1.35rem;

    line-height:1;

}

/* =========================================================
   COLUMN TITLES
========================================================= */

.footer-top h4{

    color:#FFFFFF;

    font-size:1rem;

    font-weight:800;

    margin-bottom:18px;

}

/* =========================================================
   LINKS
========================================================= */

.footer-top a{

    display:block;

    color:rgba(255,255,255,.95);

    text-decoration:none;

    margin-bottom:12px;

    font-size:.95rem;

    line-height:1.45;

    transition:.2s ease;

}

.footer-top a:hover{

    color:#FFFFFF;

    transform:translateX(2px);

}

/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-text{

    color:rgba(255,255,255,.95);

    font-size:.95rem;

    line-height:1.8;

    margin-bottom:18px;

}

.newsletter-form{

    display:flex;

    width:100%;

}

.newsletter-form input{

    flex:1;

    height:50px;

    border:none;

    outline:none;

    padding:0 18px;

    border-radius:4px 0 0 4px;

    font-size:.95rem;

}

.newsletter-form button{

    width:120px;

    height:50px;

    border:none;

    background:#17A33D;

    color:#FFFFFF;

    font-size:.9rem;

    font-weight:700;

    border-radius:0 4px 4px 0;

    cursor:pointer;

    transition:.2s ease;

}

.newsletter-form button:hover{

    background:#118734;

}

/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom{

    background:#17A33D;

    padding:18px 0;

}

.footer-bottom-content{

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.footer-bottom-content p{

    color:#FFFFFF;

    font-size:.92rem;

}

.footer-bottom-links{

    display:flex;

    align-items:center;

    gap:20px;

}

.footer-bottom-links a{

    color:#FFFFFF;

    text-decoration:none;

    font-size:.92rem;

}

.footer-bottom-links span{

    color:rgba(255,255,255,.75);

}

.footer-bottom-links a:hover{

    text-decoration:underline;

}

/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.navigation{

    display:flex;

    align-items:center;

}

.nav-links{

    display:flex;

    align-items:center;

    gap:28px;

    margin:0;

    padding:0;

    list-style:none;

}

.nav-links > li{

    position:relative;

    list-style:none;

}

.nav-links > li > a{

    display:flex;

    align-items:center;

    justify-content:center;

    height:100%;

    color:#111827;

    text-decoration:none;

    font-size:.95rem;

    font-weight:700;

    letter-spacing:.2px;

    transition:.25s ease;

}

.nav-links > li > a:hover{

    color:var(--pemexa-green);

}

.active-link{

    color:var(--pemexa-green) !important;

}


/* =========================================================
   DROPDOWN MENU
========================================================= */

.dropdown-menu{

    position:absolute;

    top:calc(100% + 18px);

    left:0;

    min-width:250px;

    background:#FFFFFF;

    border-radius:10px;

    padding:10px 0;

    margin:0;

    list-style:none;

    box-shadow:
        0 18px 40px rgba(0,0,0,.12);

    border:1px solid #E5E7EB;

    opacity:0;

    visibility:hidden;

    transform:translateY(12px);

    transition:.25s ease;

    z-index:9999;

}

.has-dropdown:hover .dropdown-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.dropdown-menu li{

    list-style:none;

}

.dropdown-menu a{

    display:block;

    padding:12px 18px;

    color:#374151;

    font-size:.85rem;

    font-weight:600;

    text-decoration:none;

    transition:.2s ease;

}

.dropdown-menu a:hover{

    background:#F8FAFC;

    color:var(--pemexa-green);

    padding-left:24px;

}


/* =========================================================
   DROPDOWN BRIDGE
========================================================= */

.has-dropdown::after{

    content:"";

    position:absolute;

    left:0;

    top:100%;

    width:100%;

    height:24px;

}

/* =========================================================
   PAGE HERO
========================================================= */

.page-hero{

    background:
        linear-gradient(
            135deg,
            var(--pemexa-blue),
            #1E5FBE
        );

    color:#FFFFFF;

    padding:90px 0;

}

.page-hero h1{

    font-family:'Montserrat',sans-serif;

    font-size:4rem;

    font-weight:800;

    margin-bottom:20px;

}

.page-hero p{

    max-width:900px;

    font-size:1.1rem;

    line-height:1.9;

}

/* =========================================================
   SHARED COMPONENTS
========================================================= */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

}

.card{

    background:#FFFFFF;

    border-radius:12px;

    border:1px solid #E5E7EB;

    padding:28px;

    box-shadow:
        0 2px 8px rgba(0,0,0,.04);

}

.text-center{

    text-align:center;

}

.hidden{

    display:none !important;

}
/* =========================================================
   MOBILE HAMBURGER SYSTEM
   COMPLETE REPLACEMENT
========================================================= */


/* =========================================================
   HAMBURGER BUTTON
========================================================= */

.mobile-toggle{

    display:none;

    width:46px;

    height:46px;

    padding:0;

    margin-left:auto;

    background:none;

    border:none;

    cursor:pointer;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    gap:6px;

    z-index:100001;

}

.mobile-toggle span{

    display:block;

    width:28px;

    height:3px;

    border-radius:10px;

    background:var(--pemexa-blue);

    transition:.3s ease;

}

.mobile-toggle.active span:nth-child(1){

    transform:
        translateY(9px)
        rotate(45deg);

}

.mobile-toggle.active span:nth-child(2){

    opacity:0;

}

.mobile-toggle.active span:nth-child(3){

    transform:
        translateY(-9px)
        rotate(-45deg);

}


/* =========================================================
   MOBILE MENU PANEL
========================================================= */

.mobile-menu{

    position:fixed;

    top:86px;

    left:0;

    width:100%;

    height:calc(100vh - 86px);

    background:#FFFFFF;

    overflow-y:auto;

    display:none;

    flex-direction:column;

    box-shadow:
        0 20px 40px rgba(0,0,0,.12);

    z-index:99999;

}

.mobile-menu.active{

    display:flex;

}


/* =========================================================
   MOBILE LINKS
========================================================= */

.mobile-menu a{

    display:block;

    padding:16px 24px;

    border-bottom:1px solid #E5E7EB;

    text-decoration:none;

    color:#111827;

    font-size:.95rem;

    font-weight:600;

    transition:.2s ease;

}

.mobile-menu a:hover{

    background:#F8FAFC;

    color:var(--pemexa-green);

}



/* =========================================================
   BODY LOCK
========================================================= */

body.menu-open{

    overflow:hidden;

}
/* =========================================================
   RESPONSIVE NAVIGATION
   COMPLETE REPLACEMENT

   DESKTOP
   TABLET
   MOBILE

========================================================= */


/* =========================================================
   DESKTOP
========================================================= */

@media screen and (min-width:1101px){

    .navigation{

        display:flex !important;

        align-items:center;

    }

    .header-actions{

        display:flex !important;

        align-items:center;

    }

    .mobile-toggle{

        display:none !important;

    }

    .mobile-menu{

        display:none !important;

    }

}


/* =========================================================
   TABLET + MOBILE
========================================================= */

@media screen and (max-width:1100px){

    /* -----------------------------
       DESKTOP NAVIGATION OFF
    ----------------------------- */

    .navigation{

        display:none !important;

    }

    .header-actions{

        display:none !important;

    }

    /* -----------------------------
       HAMBURGER ON
    ----------------------------- */

    .mobile-toggle{

        display:flex !important;

    }

    /* -----------------------------
       HEADER
    ----------------------------- */

    .nav-container{

        display:flex;

        align-items:center;

        justify-content:space-between;

        min-height:84px;

        gap:12px;

    }

    .logo{

        flex:1;

        min-width:0;

    }

    .logo img{

        width:72px;

    }

    .logo-text span{

        font-size:2rem;

    }

    .logo-text small{

        font-size:.78rem;

        letter-spacing:3px;

    }

    .logo-text em{

        display:none;

    }

}


/* =========================================================
   LARGE TABLETS
   iPad Pro
   Galaxy Tab
========================================================= */

@media screen and (max-width:1024px){

    .nav-container{

        min-height:80px;

    }

    .logo img{

        width:66px;

    }

    .logo-text span{

        font-size:1.8rem;

    }

    .logo-text small{

        font-size:.72rem;

    }

    .mobile-menu{

        top:80px;

        height:calc(100vh - 80px);

    }

}


/* =========================================================
   TABLETS
========================================================= */

@media screen and (max-width:900px){

    .logo img{

        width:62px;

    }

    .logo-text span{

        font-size:1.55rem;

    }

    .logo-text small{

        font-size:.68rem;

    }

    .mobile-menu{

        top:78px;

        height:calc(100vh - 78px);

    }

}


/* =========================================================
   LARGE PHONES
========================================================= */

@media screen and (max-width:768px){

    .nav-container{

        min-height:74px;

    }

    .logo{

        gap:10px;

    }

    .logo img{

        width:56px;

    }

    .logo-text span{

        font-size:1.3rem;

    }

    .logo-text small{

        font-size:.58rem;

        letter-spacing:2px;

    }

    .mobile-menu{

        top:74px;

        height:calc(100vh - 74px);

    }

    .mobile-menu a{

        font-size:.9rem;

        padding:15px 20px;

    }

}


/* =========================================================
   SMALL PHONES
   iPhone SE
========================================================= */

@media screen and (max-width:480px){

    .nav-container{

        min-height:70px;

    }

    .logo img{

        width:50px;

    }

    .logo-text span{

        font-size:1.05rem;

        line-height:1.1;

    }

    .logo-text small{

        display:none;

    }

    .mobile-toggle{

        width:40px;

        height:40px;

    }

    .mobile-toggle span{

        width:24px;

    }

    .mobile-menu{

        top:70px;

        height:calc(100vh - 70px);

    }

    .mobile-menu a{

        font-size:.85rem;

        padding:14px 18px;

    }

}


/* =========================================================
   EXTRA SMALL DEVICES
========================================================= */

@media screen and (max-width:360px){

    .logo img{

        width:46px;

    }

    .logo-text span{

        font-size:.95rem;

    }

    .mobile-menu a{

        font-size:.82rem;

    }

}


/* =========================================================
   HEADER SAFETY
========================================================= */

.header{

    position:relative;

    z-index:100000;

}

.nav-container{

    position:relative;

}


/* =========================================================
   MOBILE DROPDOWNS OFF
========================================================= */

@media screen and (max-width:1100px){

    .dropdown-menu{

        display:none !important;

    }

}


/* =========================================================
   HOVER FIX
========================================================= */

@media screen and (min-width:1101px){

    .has-dropdown:hover .dropdown-menu{

        opacity:1;

        visibility:visible;

        transform:translateY(0);

    }

}

/* =========================================================
   MOBILE MENU GROUPS
========================================================= */

.mobile-group{

    border-bottom:1px solid #E5E7EB;

}

.mobile-group-title{

    padding:16px 24px;

    background:#F8FAFC;

    color:var(--pemexa-blue);

    font-size:.85rem;

    font-weight:800;

    letter-spacing:.5px;

    text-transform:uppercase;

}

.mobile-group a{

    padding-left:40px !important;

}