/* =========================================================
   ROOT
========================================================= */

:root{

    --pemexa-blue:#1C9AE8;
    --pemexa-green:#2FAF45;
    --pemexa-gold:#F4C430;
    --pemexa-red:#D64541;

    --dark:#081C2E;
    --dark-2:#10283F;

    --white:#FFFFFF;

    --gray:#64748B;

    --light:#F8FAFC;

    --border:#E5E7EB;

    --shadow:
        0 15px 40px rgba(0,0,0,.08);

    --shadow-large:
        0 25px 60px rgba(0,0,0,.15);

}


/* =========================================================
   RESET
========================================================= */

*{

    margin:0;
    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    color:var(--dark);

    background:#FFFFFF;

    overflow-x:hidden;

}

a{

    text-decoration:none;

}

img{

    max-width:100%;

    display:block;

}

ul{

    list-style:none;

}


/* =========================================================
   CONTAINER
========================================================= */

.container{

    width:min(92%,1400px);

    margin:auto;

}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar{

    background:var(--dark);

    color:#FFFFFF;

    font-size:.85rem;

}

.top-bar-inner{

    min-height:42px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.top-left{

    display:flex;

    gap:20px;

}

.top-right{

    display:flex;

    gap:20px;

}

.top-right a{

    color:#FFFFFF;

    transition:.3s ease;

}

.top-right a:hover{

    color:var(--pemexa-gold);

}


/* =========================================================
   HEADER
========================================================= */

.header{

    position:sticky;

    top:0;

    z-index:1000;

    background:#FFFFFF;

    box-shadow:
        0 2px 15px rgba(0,0,0,.05);

}

.nav-container{

    min-height:90px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

}


/* =========================================================
   LOGO
========================================================= */

.logo{

    display:flex;

    align-items:center;

    gap:15px;

    flex-shrink:0;

}

.logo img{

    width:78px;

}

.logo-text{

    display:flex;

    flex-direction:column;

}

.logo-text span{

    font-size:1.8rem;

    font-weight:800;

    color:var(--dark);

}

.logo-text small{

    color:var(--pemexa-blue);

    font-weight:700;

    letter-spacing:2px;

}

.logo-text em{

    font-size:.75rem;

    color:var(--gray);

    font-style:normal;

}


/* =========================================================
   NAVIGATION
========================================================= */

.navigation{

    margin-left:auto;

}

.nav-links{

    display:flex;

    align-items:center;

    gap:18px;

}

.nav-links > li{

    position:relative;

}

.nav-links > li > a{

    color:var(--dark);

    font-size:.82rem;

    font-weight:700;

    transition:.3s ease;

    white-space:nowrap;

    display:flex;

    align-items:center;

    min-height:50px;

}

.nav-links > li > a:hover{

    color:var(--pemexa-blue);

}


/* =========================================================
   DROPDOWNS
========================================================= */

.dropdown-menu{

    position:absolute;

    top:100%;

    left:0;

    min-width:260px;

    background:#FFFFFF;

    border-radius:15px;

    box-shadow:var(--shadow);

    padding:12px 0;

    opacity:0;

    visibility:hidden;

    transform:translateY(15px);

    transition:.3s ease;

}

.has-dropdown:hover .dropdown-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.dropdown-menu li a{

    display:block;

    padding:12px 20px;

    color:var(--dark);

    font-size:.9rem;

}

.dropdown-menu li a:hover{

    background:#F1F5F9;

    color:var(--pemexa-blue);

}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions{

    display:flex;

    gap:12px;

}

.login-btn{

    height:44px;

    padding:0 24px;

    border:1px solid var(--border);

    border-radius:8px;

    display:flex;

    align-items:center;

    color:var(--dark);

    font-weight:700;

}

.register-btn{

    height:44px;

    padding:0 24px;

    border-radius:8px;

    display:flex;

    align-items:center;

    background:var(--pemexa-green);

    color:#FFFFFF;

    font-weight:700;

}


/* =========================================================
   HAMBURGER
========================================================= */

.mobile-toggle{

    display:none;

    background:none;

    border:none;

    cursor:pointer;

}

.mobile-toggle span{

    display:block;

    width:28px;

    height:3px;

    background:var(--dark);

    margin:5px 0;

    border-radius:5px;

}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu{

    display:none;

}

.mobile-group-title{

    font-weight:800;

}


/* =========================================================
   HERO
========================================================= */

.hero{

    position:relative;

    min-height:760px;

    background-color:#081C2E;

    background-image:
        url("../images/indexbackground.png");

    background-repeat:no-repeat;

    background-position:95% center;

    background-size:50% auto;

    display:flex;

    align-items:center;

    overflow:hidden;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(8,28,46,.90) 0%,
            rgba(8,28,46,.75) 25%,
            rgba(8,28,46,.45) 55%,
            rgba(8,28,46,.10) 100%
        );

}

.hero-content{

    position:relative;

    z-index:5;

    width:100%;

    min-height:760px;

    display:grid;

    grid-template-columns:
        minmax(550px,650px)
        1fr;

    align-items:center;

}

.hero-left{

    max-width:650px;

    padding:50px;

    background:
        rgba(16,31,58,.78);

    backdrop-filter:
        blur(35px);

    -webkit-backdrop-filter:
        blur(35px);

    border:
        1px solid rgba(255,255,255,.15);

    border-radius:32px;

    box-shadow:
        0 25px 70px rgba(0,0,0,.40);

}

.hero-left h5{

    color:var(--pemexa-gold);

    letter-spacing:3px;

    margin-bottom:20px;

}

.hero-left h1{

    color:#FFFFFF;

    font-size:5rem;

    line-height:.95;

    margin-bottom:25px;

}

.hero-left h1 span{

    display:block;

    color:var(--pemexa-green);

}

.hero-left p{

    color:#FFFFFF;

    font-size:1.15rem;

    line-height:1.9;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:15px;

}

.btn-primary{

    height:55px;

    padding:0 30px;

    background:var(--pemexa-green);

    color:#FFFFFF;

    border-radius:10px;

    display:flex;

    align-items:center;

    font-weight:700;

}

.btn-secondary{

    height:55px;

    padding:0 30px;

    border-radius:10px;

    border:2px solid rgba(255,255,255,.30);

    color:#FFFFFF;

    display:flex;

    align-items:center;

    font-weight:700;

}


/* =========================================================
   FLOATING STATS
========================================================= */

.stats-section{

    margin-top:-80px;

    position:relative;

    z-index:20;

}

.stats-bar{

    background:#FFFFFF;

    border-radius:25px;

    padding:30px;

    display:grid;

    grid-template-columns:
        repeat(6,1fr);

    gap:20px;

    box-shadow:var(--shadow-large);

}

.stat-item{

    text-align:center;

}

.stat-value{

    font-size:2rem;

    font-weight:800;

    color:var(--pemexa-blue);

    margin-bottom:8px;

}

.stat-label{

    font-size:.9rem;

    color:var(--gray);

    line-height:1.5;

}
/* =========================================================
   ABOUT + QUICK LINKS
========================================================= */

.overview-section{

    padding:80px 0;

}

.overview-grid{

    display:grid;

    grid-template-columns:
        2fr 1fr;

    gap:35px;

    align-items:stretch;

}

.about-card{

    background:#FFFFFF;

    border-radius:25px;

    overflow:hidden;

    box-shadow:var(--shadow);

}

.about-image{

    height:280px;

    overflow:hidden;

}

.about-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.about-content{

    padding:40px;

}

.about-content h2{

    font-size:2.3rem;

    margin-bottom:20px;

    color:var(--dark);

}

.about-content p{

    color:var(--gray);

    line-height:1.9;

    margin-bottom:30px;

}

.card-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    height:52px;

    padding:0 28px;

    border-radius:10px;

    background:var(--pemexa-blue);

    color:#FFFFFF;

    font-weight:700;

}


/* =========================================================
   QUICK LINKS
========================================================= */

.quick-links-card{

    background:#FFFFFF;

    border-radius:25px;

    box-shadow:var(--shadow);

    overflow:hidden;

}

.quick-links-header{

    padding:30px;

    background:var(--dark);

}

.quick-links-header h3{

    color:#FFFFFF;

    font-size:1.4rem;

}

.quick-links-grid{

    display:grid;

    grid-template-columns:1fr;

}

.quick-link{

    padding:24px 30px;

    border-bottom:1px solid var(--border);

    color:var(--dark);

    font-weight:700;

    transition:.3s ease;

}

.quick-link:hover{

    background:#F8FAFC;

    color:var(--pemexa-blue);

    padding-left:40px;

}


/* =========================================================
   CONNECT • GROW • GIVE BACK • IMPACT
========================================================= */

.highlights-section{

    padding:20px 0 80px;

}

.highlights-grid{

    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:25px;

}

.highlight-card{

    padding:40px 35px;

    border-radius:25px;

    color:#FFFFFF;

    min-height:260px;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    transition:.3s ease;

}

.highlight-card:hover{

    transform:translateY(-10px);

}

.feature-number{

    font-size:4rem;

    font-weight:900;

    opacity:.15;

    margin-bottom:15px;

}

.highlight-card h3{

    font-size:1.6rem;

    margin-bottom:15px;

}

.highlight-card p{

    line-height:1.8;

}

.connect-card{

    background:
        linear-gradient(
            135deg,
            var(--pemexa-blue),
            #1276C8
        );

}

.grow-card{

    background:
        linear-gradient(
            135deg,
            var(--pemexa-green),
            #1D8D34
        );

}

.give-card{

    background:
        linear-gradient(
            135deg,
            var(--pemexa-gold),
            #D4A200
        );

}

.impact-card{

    background:
        linear-gradient(
            135deg,
            var(--pemexa-red),
            #A52A24
        );

}


/* =========================================================
   SECTION HEADER
========================================================= */

.section-header{

    text-align:center;

    margin-bottom:60px;

}

.section-header span{

    display:inline-block;

    margin-bottom:15px;

    color:var(--pemexa-blue);

    font-weight:800;

    letter-spacing:2px;

}

.section-header h2{

    font-size:3rem;

    margin-bottom:20px;

    color:var(--dark);

}

.section-header p{

    max-width:800px;

    margin:auto;

    line-height:1.9;

    color:var(--gray);

}


/* =========================================================
   BUSINESS HUB
========================================================= */

.business-hub-section{

    padding:90px 0;

    background:#F8FAFC;

}

.business-grid{

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:30px;

}

.business-card{

    background:#FFFFFF;

    padding:40px;

    border-radius:25px;

    box-shadow:var(--shadow);

    transition:.3s ease;

}

.business-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-large);

}

.business-card h3{

    font-size:1.5rem;

    margin-bottom:20px;

    color:var(--dark);

}

.business-card p{

    color:var(--gray);

    line-height:1.8;

    margin-bottom:25px;

}

.business-card a{

    color:var(--pemexa-blue);

    font-weight:700;

}


/* =========================================================
   PROJECTS
========================================================= */

.projects-section{

    padding:90px 0;

}

.projects-grid{

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:30px;

}

.project-card{

    background:#FFFFFF;

    padding:45px;

    border-radius:25px;

    border:1px solid var(--border);

    transition:.3s ease;

}

.project-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}

.project-card h3{

    font-size:1.8rem;

    margin-bottom:20px;

    color:var(--dark);

}

.project-card p{

    color:var(--gray);

    line-height:1.9;

    margin-bottom:25px;

}

.project-card a{

    color:var(--pemexa-green);

    font-weight:700;

}


/* =========================================================
   LOCAL BRANCHES
========================================================= */

.branches-section{

    padding:100px 0;

    background:
        linear-gradient(
            135deg,
            #081C2E,
            #12304D
        );

}

.light-header span{

    color:var(--pemexa-gold);

}

.light-header h2{

    color:#FFFFFF;

}

.branches-grid{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px,280px)
        );

    justify-content:center;

    gap:25px;

}

.branch-card{

    background:
        rgba(255,255,255,.08);

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);

    border:
        1px solid rgba(255,255,255,.12);

    border-radius:25px;

    padding:40px 20px;

    text-align:center;

    text-decoration:none;

    transition:.3s ease;

}

.branch-card:hover{

    transform:translateY(-8px);

    background:
        rgba(255,255,255,.15);

}

.branch-card h3{

    color:#FFFFFF;

    font-size:1.2rem;

    margin:0;

}
/* =========================================================
   EVENTS + NEWS
========================================================= */

.events-news-section{

    padding:100px 0;

    background:#F8FAFC;

}

.events-news-grid{

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:35px;

}

.events-card,
.news-card{

    background:#FFFFFF;

    border-radius:25px;

    padding:45px;

    box-shadow:var(--shadow);

    transition:.3s ease;

}

.events-card:hover,
.news-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-large);

}

.events-card h3,
.news-card h3{

    font-size:1.8rem;

    margin-bottom:20px;

    color:var(--dark);

}

.events-card p,
.news-card p{

    color:var(--gray);

    line-height:1.9;

    margin-bottom:25px;

}

.events-card a{

    color:var(--pemexa-green);

    font-weight:700;

}

.news-card a{

    color:var(--pemexa-blue);

    font-weight:700;

}


/* =========================================================
   EXPERTS
========================================================= */

.experts-section{

    padding:100px 0;

}

.experts-preview{

    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:25px;

}

.expert-card{

    background:#FFFFFF;

    border-radius:25px;

    padding:45px 25px;

    text-align:center;

    border:1px solid var(--border);

    transition:.3s ease;

}

.expert-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}

.expert-card h3{

    color:var(--dark);

    font-size:1.3rem;

    margin-bottom:10px;

}

.expert-card p{

    color:var(--gray);

    line-height:1.7;

}


/* =========================================================
   CTA
========================================================= */

.cta-section{

    padding:100px 0;

    background:#F8FAFC;

}

.cta-box{

    background:
        linear-gradient(
            135deg,
            var(--pemexa-blue),
            #1276C8
        );

    border-radius:35px;

    padding:80px 60px;

    text-align:center;

    color:#FFFFFF;

    overflow:hidden;

    position:relative;

}

.cta-box::before{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    border-radius:50%;

    background:
        rgba(255,255,255,.08);

    top:-150px;

    right:-100px;

}

.cta-box::after{

    content:"";

    position:absolute;

    width:250px;

    height:250px;

    border-radius:50%;

    background:
        rgba(255,255,255,.05);

    bottom:-120px;

    left:-80px;

}

.cta-box h2{

    position:relative;

    z-index:2;

    font-size:3rem;

    margin-bottom:20px;

}

.cta-box p{

    position:relative;

    z-index:2;

    max-width:800px;

    margin:0 auto 35px;

    line-height:1.9;

    font-size:1.1rem;

}

.cta-box .btn-primary{

    position:relative;

    z-index:2;

    display:inline-flex;

    background:#FFFFFF;

    color:var(--pemexa-blue);

}


/* =========================================================
   FOOTER
========================================================= */

.footer{

    background:#081C2E;

    color:#FFFFFF;

    padding-top:80px;

}

.footer-grid{

    display:grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr
        1fr;

    gap:40px;

    padding-bottom:60px;

}

.footer-logo{

    width:100px;

    margin-bottom:20px;

}

.footer-column h4{

    color:var(--pemexa-gold);

    margin-bottom:20px;

    font-size:1rem;

    font-weight:800;

}

.footer-column a{

    display:block;

    color:
        rgba(255,255,255,.75);

    margin-bottom:12px;

    transition:.3s ease;

}

.footer-column a:hover{

    color:#FFFFFF;

    padding-left:5px;

}

.footer-column p{

    color:
        rgba(255,255,255,.75);

    line-height:1.8;

    margin-bottom:12px;

}

.footer-bottom{

    border-top:
        1px solid rgba(255,255,255,.10);

    padding:25px 0;

    text-align:center;

}

.footer-bottom p{

    color:
        rgba(255,255,255,.70);

}


/* =========================================================
   SCROLLED HEADER
========================================================= */

.header.header-scrolled{

    box-shadow:
        0 10px 30px rgba(0,0,0,.10);

}


/* =========================================================
   ACTIVE LINK
========================================================= */

.active-link{

    color:var(--pemexa-blue) !important;

}


/* =========================================================
   UTILITIES
========================================================= */

.text-center{

    text-align:center;

}

.hidden{

    display:none;

}