/*====================================================
    CIRI WEBSITE
    Citizens Initiative for Regional Integration
======================================================*/


/*====================================================
    GOOGLE FONT
======================================================*/

/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap'); */


/*====================================================
    VARIABLES
======================================================*/

:root{

--primary:#0B84F3;
--secondary:#0057A8;
--yellow:#FFE600;
--green:#118847;
--red:#E32020;

--dark:#1d2736;
--gray:#6c757d;
--light:#f7f9fc;
--white:#ffffff;

--shadow:0 15px 35px rgba(0,0,0,.08);

--radius:12px;

--transition:.35s;

}


/*====================================================
    RESET
======================================================*/

*{
 
  font-family: "Helvetica", "Arial", sans-serif;
  /* font-size: 16px;
  font-style: italic;
  font-weight: bold; */



margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Poppins',sans-serif;

background:var(--white);

color:var(--dark);

line-height:1.7;

overflow-x:hidden;

}

img{

max-width:100%;

display:block;

}

a{

text-decoration:none;

transition:var(--transition);

}

ul{

list-style:none;

}



/*=========================================
        DROPDOWN MENU
=========================================*/

.dropdown{
    position: relative;
}

/* Dropdown Button */
.dropdown > a{
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dropdown Container */
.dropdown-menu{
    position: absolute;
    top: 100%;
    left: 0;

    width: 240px;

    background: #fff;

    /* border-radius: 10px; */

    box-shadow: 0 15px 35px rgba(0,0,0,.12);

    padding: 10px 0;

    /* IMPORTANT */
    display: flex;
    flex-direction: column;
    gap: 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition: .3s;

    z-index: 999;
}

/* Show dropdown */
.dropdown:hover .dropdown-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Each item occupies full width */
.dropdown-menu li{
    width: 100%;
    display: block;
}

/* Links */
.dropdown-menu li a{
    display: block;

    width: 100%;

    padding: 14px 22px;

    color: #333;

    font-weight: 500;

    border-bottom: 1px solid #f2f2f2;
}

.dropdown-menu li:last-child a{
    border-bottom: none;
}

.dropdown-menu li a:hover{
    background: #eef6ff;
    color: var(--primary);
    padding-left: 30px;
}

/* Remove underline animation */
.dropdown-menu li a::after{
    display: none;
}
/*====================================================
    CONTAINER
======================================================*/

.container{

width:90%;

max-width:1300px;

margin:auto;

}


/*====================================================
    SECTION SPACING
======================================================*/

section{

padding:90px 0;

}


/*====================================================
    TYPOGRAPHY
======================================================*/

h1{

font-size:64px;

font-weight:800;

line-height:1.1;

}

h2{

font-size:42px;

font-weight:700;

}

h3{

font-size:24px;

font-weight:600;

}

h4{

font-size:18px;

font-weight:600;

}

p{

font-size:16px;

color:var(--gray);

margin:18px 0;

}


/*====================================================
    SECTION TITLE
======================================================*/

.section-title{

text-align:center;

margin-bottom:60px;

}

.section-title span{

display:inline-block;

padding:8px 18px;

background:#eaf4ff;

color:var(--primary);

/* border-radius:30px; */

font-size:14px;

font-weight:600;

margin-bottom:20px;

}

.section-title h2{

margin-bottom:20px;

}


/*====================================================
    BUTTONS
======================================================*/

.btn-primary{

display:inline-block;

padding:15px 38px;

background:var(--primary);

color:white;

/* border-radius:50px; */

font-weight:600;

box-shadow:var(--shadow);

}

.btn-primary:hover{

background:var(--secondary);

transform:translateY(-5px);

}

.btn-secondary{

display:inline-block;

padding:15px 38px;

background:var(--yellow);

color:var(--dark);

/* border-radius:50px; */

font-weight:600;

margin-left:15px;

box-shadow:var(--shadow);

}

.btn-secondary:hover{

transform:translateY(-5px);

}


/*====================================================
    TOP BAR
======================================================*/

.top-bar{

background:var(--secondary);

color:white;

font-size:14px;

}

.top-bar .container{

display:flex;

justify-content:space-between;

align-items:center;

padding:12px 0;

}

.top-left span{

margin-right:30px;

}

.top-left i{

margin-right:8px;

color:var(--yellow);

}

.top-right a{

width:35px;

height:35px;

display:inline-flex;

justify-content:center;

align-items:center;

/* border-radius:50%; */

background:rgba(255,255,255,.15);

color:white;

margin-left:8px;

}

.top-right a:hover{

background:var(--yellow);

color:var(--secondary);

}


/*====================================================
    HEADER
======================================================*/

header{

position:sticky;

top:0;

left:0;

width:100%;

background:white;

z-index:999;

box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.nav-container{

display:flex;

justify-content:space-between;

align-items:center;

padding:18px 0;

}

.logo{

display:flex;

align-items:center;

}

.logo img{

width:65px;

margin-right:15px;

}

.logo h2{

font-size:24px;

color:var(--primary);

}

.logo p{

margin:0;

font-size:13px;

}


/*====================================================
    NAVIGATION
======================================================*/

nav ul{

display:flex;

gap:28px;

align-items:center;

}

nav a{

color:var(--dark);

font-weight:500;

position:relative;

}

nav a:hover{

color:var(--primary);

}

nav a.active{

color:var(--primary);

}

nav a::after{

content:"";

position:absolute;

left:0;

bottom:-8px;

width:0;

height:3px;

background:var(--yellow);

transition:.4s;

}

nav a:hover::after{

width:100%;

}


/*====================================================
    RIGHT NAVIGATION
======================================================*/

.nav-right{

display:flex;

align-items:center;

gap:15px;

}

.search-btn{

width:45px;

height:45px;

border:none;

/* border-radius:50%; */

background:#eef6ff;

cursor:pointer;

font-size:18px;

}

.search-btn:hover{

background:var(--primary);

color:white;

}

.donate-btn{

padding:13px 28px;

background:var(--yellow);

color:black;

/* border-radius:50px; */

font-weight:600;

}

.donate-btn:hover{

background:var(--primary);

color:white;

}

.menu-btn{

display:none;

font-size:28px;

cursor:pointer;

}


/*====================================================
    HERO
======================================================*/

/* ================= HERO ================= */

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}


.overlay{

position:absolute;

width:100%;

height:100%;

background:linear-gradient(rgba(8, 8, 8, 0.95),
rgba(0, 0, 0, 0.72));

top:0;

left:0;

}

/* Hero Content */

.hero-content{

    position:relative;
    z-index:5;
    text-align:center;
    color:#fff; 
    max-width:900px;

}


.hero-logo{

width:120px;

margin:auto;

margin-bottom:35px;

animation:float 4s ease infinite;

}

.hero h4{

letter-spacing:4px;

margin-bottom:15px;

color:var(--yellow);

}

.hero h1{

margin-bottom:25px;


} 

.main_title{
    font-size:30px;
    margin-bottom:40px;
}

.hero p{

color:white;

font-size:19px;

margin-bottom:45px;

}

.hero-buttons{

display:flex;

justify-content:center;

} 

/* Background Slider */

.hero-slider{
    position:absolute;
    inset:0;
    z-index:1;
}

.hero-slider .slide{

    position:absolute;
    inset:0;

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    opacity:0;
    visibility:hidden;

    transition:
        opacity 2.5s ease-in-out,
        transform 8s ease;

    transform:scale(1.08);
}

.hero-slider .slide.active{

    opacity:1;
    visibility:visible;

    transform:scale(1);

    z-index:2;
}

/* Dark Overlay */

.overlay{

    position:absolute;
    inset:0;

    background:linear-gradient(
        rgba(0,0,0,.75),
        rgba(0,0,0,.65),
        rgba(0,0,0,.80)
    );

    z-index:3;
}



/*====================================================
    SCROLL INDICATOR
======================================================*/

.scroll-down{

position:absolute;

bottom:35px;

left:50%;

transform:translateX(-50%);

font-size:35px;

color:white;

animation:bounce 2s infinite;

cursor:pointer;

}


/*====================================================
    ANIMATIONS
======================================================*/

@keyframes float{

0%{transform:translateY(0);}
50%{transform:translateY(-15px);}
100%{transform:translateY(0);}

}

@keyframes bounce{

0%{transform:translate(-50%,0);}
50%{transform:translate(-50%,12px);}
100%{transform:translate(-50%,0);}

}


/*====================================================
    UTILITIES
======================================================*/

.text-center{

text-align:center;

}

.mt-50{

margin-top:50px;

}

.mb-50{

margin-bottom:50px;

}

.shadow{

box-shadow:var(--shadow);

}

.rounded{

/* border-radius:var(--radius); */

}

.bg-light{

background:var(--light);

}


/*====================================================
                ABOUT SECTION
====================================================*/

.about-section{

background:#fff;

}

.about-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

}

.about-image{

position:relative;

}

.about-image img{

width:100%;

/* border-radius:20px; */

box-shadow:0 20px 50px rgba(0,0,0,.12);

transition:.5s;

}

.about-image:hover img{

transform:scale(1.02);

}

.experience-card{

position:absolute;

right:-30px;

bottom:40px;

background:var(--primary);

padding:30px;

/* border-radius:18px; */

color:#fff;

text-align:center;

width:200px;

box-shadow:0 20px 40px rgba(11,132,243,.35);

}

.experience-card h2{

font-size:48px;

margin-bottom:10px;

color:var(--yellow);

}

.experience-card p{

color:white;

margin:0;

font-size:15px;

}

.section-tag{

display:inline-block;

padding:10px 20px;

background:#edf6ff;

color:var(--primary);

font-weight:600;

/* border-radius:50px; */

margin-bottom:25px;

}

.about-content h2{

margin-bottom:25px;

line-height:1.3;

}

.about-content p{

margin-bottom:30px;
text-align: justify;

}



/*====================================
        ABOUT SLIDE
====================================*/

.about-slide{

    position:relative;

    min-width:100%;

}

.about-slide img{

    width:100%;

    height:520px;

    object-fit:cover;

    display:block;

}

/* Dark overlay */

.about-slide::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:100%;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.70),
        rgba(0,0,0,.10)
    );

}

/* Caption */

.about-caption{

    position:absolute;

    left:30px;

    bottom:30px;

    z-index:2;

    color:#fff;

}

.about-caption h3{

    color:#fff;

    font-size:30px;

    margin-bottom:8px;

}

.about-caption span{

    display:inline-block;

    background:var(--primary);

    color:#fff;

    padding:8px 18px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

}

/*====================================
        ABOUT IMAGE CAROUSEL
====================================*/



.about-slider{

    position:relative;

    overflow:hidden;

    border-radius:20px;

}

.about-slides{

    display:flex;

    transition:transform .6s ease;

}

.about-slides img{

    min-width:100%; 

     height:100%; 

    object-fit:cover; 

    border-radius:20px;

}

.about-prev,
.about-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:48px;

    height:48px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.9);

    color:var(--primary);

    cursor:pointer;

    box-shadow:var(--shadow);

    transition:.3s;

    z-index:5;

}

.about-prev{

    left:20px;

}

.about-next{

    right:20px;

}

.about-prev:hover,
.about-next:hover{

    background:var(--primary);

    color:white;

}  




/*====================================================
            VISION & MISSION
====================================================*/

.mission-boxes{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:25px;

margin-bottom:40px;

}

.mission-card{

background:#fff;

padding:30px;

/* border-radius:15px; */

box-shadow:0 15px 35px rgba(0,0,0,.08);

transition:.35s;

border-top:5px solid var(--primary);

}

.mission-card:hover{

transform:translateY(-12px);

}

.mission-card i{

width:70px;

height:70px;

display:flex;

justify-content:center;

align-items:center;

background:var(--primary);

color:white;

/* border-radius:50%; */

font-size:28px;

margin-bottom:20px;

}

.mission-card:nth-child(2){

border-top:5px solid var(--green);

}

.mission-card:nth-child(2) i{

background:var(--green);

}

.mission-card h3{

margin-bottom:12px;

}

.italic_font{ 
     font-style: italic; 
     text-align: justify;
    
}



/*====================================================
                    TEAM
====================================================*/

.team-section{

    background:#f8fbff;

}

.team-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:35px;

}

.team-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 18px 45px rgba(0,0,0,.08);

    transition:.35s;

}

.team-card:hover{

    transform:translateY(-5px);

}

.team-image{

    position:relative;

    overflow:hidden;

}

.team-image img{

    width:100%;

    height:340px;

    object-fit:cover;

    /* transition:.5s; */

}

.team-card:hover img{

    /* transform:scale(1.08); */

}

.team-social{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    /* margin:20px auto 25px; */

    width:100%;

}

.team-social a{

    width:27px;

    height:27px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    transition:.3s;

}

.team-social a:hover{

    background:var(--yellow);

    color:#222;

    transform:translateY(-4px);

}

.team-info{

    padding:30px;

    text-align:center;

}

.team-info h3{

    margin-bottom:8px;

}

.team-info span{

    display:block;

    color:var(--primary);

    font-weight:600;

    margin-bottom:15px;

}

.team-info p{

    margin:0;

}
/*====================================================
                STATISTICS
====================================================*/

.statistics{

/* background:linear-gradient(135deg,#0057A8,#0B84F3); */

color:white;
background:url("../images/hq2.jpg") center center/cover;
background-attachment: fixed;

}

.stats-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:35px;



}

.stat-box{

/* background:rgba(255, 255, 255, 0.08); */

background:var(--primary);

padding:45px 20px;

/* border-radius:18px; */

text-align:center;

backdrop-filter:blur(8px);

transition:.35s;

}

.stat-box:hover{

transform:translateY(-12px);

background:rgba(255,255,255,.16);

}

.stat-box i{

font-size:45px;

color:var(--yellow);

margin-bottom:20px;

}

.stat-box h2{

font-size:54px;

color:white;

margin-bottom:12px;

}

.stat-box p{

color:white;

margin:0;

font-size:17px;

}


/*====================================================
            FOCUS AREA
====================================================*/

.focus-area{

background:#f8fbff;

}

.focus-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

}

.focus-card{

background:white;

padding:45px 35px;

/* border-radius:18px; */

text-align:center;

box-shadow:0 15px 40px rgba(0,0,0,.06);

transition:.35s;

position:relative;

overflow:hidden;

}

.focus-card::before{

content:"";

position:absolute;

left:0;

top:0;

width:100%;

height:5px;

background:var(--primary);

transition:.35s;

}

.focus-card:hover{

transform:translateY(-12px);

}

.focus-card:hover::before{

height:100%;

opacity:.05;

}

.focus-card i{

width:90px;

height:90px;

margin:auto;

display:flex;

justify-content:center;

align-items:center;

background:#eef6ff;

/* border-radius:50%; */

font-size:38px;

color:var(--primary);

margin-bottom:30px;

transition:.35s;

}

.focus-card:hover i{

background:var(--primary);

color:white;

transform:rotate(360deg);

}

.focus-card h3{

margin-bottom:15px;

}

.section-title p{
    text-align: justify;

}
/* team-info */

.team-info p{
    text-align: justify;

}



/*====================================================
            WHY CHOOSE US
====================================================*/

.why-section{

background:white;

}

.why-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

}

.why-right img{

width:100%;

/* border-radius:20px; */

box-shadow:0 20px 50px rgba(0,0,0,.12);

}

.why-list{

margin-top:40px;

}

.why-item{

display:flex;

gap:20px;

margin-bottom:30px;

padding:22px;

/* border-radius:15px; */

transition:.35s;

}

.why-item:hover{

background:#f8fbff;

transform:translateX(10px);

}

.why-item i{

font-size:28px;

color:var(--green);

margin-top:5px;

}

.why-item h4{

margin-bottom:6px;

}


/*====================================================
            IMAGE EFFECTS
====================================================*/

.about-image img,
.why-right img{

transition:.5s;

}

.about-image:hover img,
.why-right:hover img{

transform:scale(1.03);

}


/*====================================================
            CARD SHADOWS
====================================================*/

.focus-card,
.mission-card,
.stat-box{

box-shadow:0 20px 45px rgba(0,0,0,.08);

}


/*====================================================
            SECTION BACKGROUNDS
====================================================*/

.about-section{

position:relative;

overflow:hidden;

}

.about-section::before{

content:"";

position:absolute;

right:-120px;

top:-120px;

width:300px;

height:300px;

/* background:rgba(11,132,243,.04); */

/* border-radius:50%; */

}

.focus-area::after{

content:"";

position:absolute;

left:-150px;

bottom:-150px;

width:350px;

height:350px;

/* background:rgba(255,230,0,.10); */

/* border-radius:50%; */

}


/*====================================================
            HOVER EFFECTS
====================================================*/

.mission-card:hover,
.focus-card:hover,
.stat-box:hover{

cursor:pointer;

}

.about-content .btn-primary{

margin-top:10px;
}




/*====================================================
                FEATURED PROJECTS
====================================================*/

.projects-section{
    background:#ffffff;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.project-card{
    background:#fff;
    /* border-radius:18px; */
    overflow:hidden;
    box-shadow:0 18px 45px rgba(0,0,0,.08);
    transition:.35s;
}

.project-card:hover{
    transform:translateY(-12px);
}

.project-card img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.5s;
}

.project-card:hover img{
    transform:scale(1.08);
}

.project-content{
    padding:30px;
}

.project-content h3{
    margin-bottom:15px;
}

.project-content a{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:18px;
    color:var(--primary);
    font-weight:600;
}

.project-content a:hover{
    color:var(--secondary);
}


/*====================================================
                    NEWS
====================================================*/

.news-section{
    background:#f8fbff;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.news-card{
    background:#fff;
    overflow:hidden;
    /* border-radius:18px; */
    box-shadow:0 18px 45px rgba(0,0,0,.08);
    transition:.35s;
}

.news-card:hover{
    transform:translateY(-12px);
}

.news-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.news-content{
    padding:28px;
}

.news-content span{
    display:inline-block;
    color:var(--primary);
    font-size:14px;
    font-weight:600;
    margin-bottom:15px;
}

.news-content h3{
    margin-bottom:15px;
}

.news-content a{
    color:var(--primary);
    font-weight:600;
}

.news-content a:hover{
    color:var(--secondary);
}


/*====================================================
                EVENTS
====================================================*/

.events-section{
    background:#fff;
}

.events-list{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.event-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:25px 35px;
    background:#fff;
    /* border-radius:18px; */
    box-shadow:0 18px 45px rgba(0,0,0,.08);
    transition:.35s;
}

.event-card:hover{
    transform:translateY(-8px);
}

.event-date{
    width:90px;
    height:90px;
    background:var(--primary);
    color:#fff;
    /* border-radius:15px; */
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.event-date h2{
    font-size:34px;
    margin:0;
    color:#fff;
}

.event-date span{
    font-size:14px;
    letter-spacing:1px;
}

.event-details{
    flex:1;
    padding:0 30px;
}

.event-btn{
    background:var(--yellow);
    color:#222;
    padding:14px 28px;
    /* border-radius:50px; */
    font-weight:600;
}

.event-btn:hover{
    background:var(--primary);
    color:#fff;
}


/*====================================================
                PARTNERS
====================================================*/

.partners-section{
    background:#f7f9fc;
}

.partners-grid{
    display:grid;
    grid-template-columns:repeat(8,1fr);
    gap:30px;
    align-items:center;
} 

.front-grid{
    display:grid;
    grid-template-columns:repeat(8,1fr);
    /* gap:1px; */
    align-items:center;
}

.partners-grid img{
    width:100%;
    padding:2px;
    background:#fff;
    height:60px;
    /* border-radius:15px; */
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.35s;
}

.front-grid img{
    width:100%;
    /* padding:2px; */
    background:#fff;
    height:60px;
    /* border-radius:15px; */
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.35s;
}

.partners-grid img:hover{
    transform:translateY(-10px);
}


/*====================================================
                NEWSLETTER
====================================================*/

.newsletter{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
}

.newsletter-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
}

.newsletter h2,
.newsletter p{
    color:#fff;
}

.newsletter form{
    display:flex;
    width:500px;
    max-width:100%;
}

.newsletter input{
    flex:1;
    padding:18px;
    border:none;
    outline:none;
    /* border-radius:50px 0 0 50px; */
}

.newsletter button{
    border:none;
    background:var(--yellow);
    color:#222;
    padding:18px 35px;
    font-weight:600;
    /* border-radius:0 50px 50px 0; */
    cursor:pointer;
}


/*====================================================
                    FOOTER
====================================================*/

footer{
    background:#16263f;
    color:#fff;
    padding-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px;
    padding-bottom:50px;
}

.footer-logo{
    width:90px;
    margin-bottom:20px;
}

footer h3{
    margin-bottom:25px;
    color:#fff;
}

footer p{
    color:#d7d7d7;
}

footer ul li{
    margin-bottom:14px;
}

footer ul li a{
    color:#d7d7d7;
}

footer ul li a:hover{
    color:var(--yellow);
    padding-left:6px;
}

.footer-social{
    margin-top:20px;
}

.footer-social a{
    width:42px;
    height:42px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    background:rgba(255,255,255,.08);
    color:#fff;
    /* border-radius:50%; */
    margin-right:10px;
}

.footer-social a:hover{
    background:var(--yellow);
    color:#222;
}

.copyright{
    border-top:1px solid rgba(255,255,255,.1);
    padding:25px;
    text-align:center;
    color:#ccc;
}


/*====================================================
            SCROLL TO TOP
====================================================*/

.scroll-top{
    position:fixed;
    right:30px;
    bottom:30px;
    width:55px;
    height:55px;
    background:var(--primary);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    /* border-radius:50%; */
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
    transition:.35s;
    z-index:999;
}

.scroll-top:hover{
    background:var(--yellow);
    color:#222;
    transform:translateY(-6px);
}


/*====================================================
            CUSTOM SCROLLBAR
====================================================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#f2f2f2;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    /* border-radius:20px; */
}

::-webkit-scrollbar-thumb:hover{
    background:var(--secondary);
}


/*====================================================
            SIMPLE FADE ANIMATION
====================================================*/

.fade-up{
    animation:fadeUp .8s ease forwards;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}


/*====================================================
            LARGE LAPTOPS (1400px and below)
====================================================*/

@media (max-width:1400px){

.container{
    width:95%;
}

.hero h1{
    font-size:56px;
}

}


/*====================================================
                LAPTOPS
====================================================*/

@media (max-width:1200px){

nav ul{
    gap:18px;
}

nav a{
    font-size:15px;
}

.logo p{
    display:none;
}

.hero h1{
    font-size:50px;
}

.about-grid,
.why-grid{
    gap:50px;
}

.projects-grid,
.news-grid{
    grid-template-columns:repeat(2,1fr);
}

.partners-grid{
    grid-template-columns:repeat(3,1fr);
}

}


/*====================================================
                TABLETS
====================================================*/

@media (max-width:992px){

section{
    padding:70px 0;
}

h1{
    font-size:42px;
}

h2{
    font-size:34px;
}

.hero{
    height:auto;
    padding:150px 0;
}

.hero-buttons{
    flex-wrap:wrap;
    gap:15px;
}

.about-grid,
.why-grid{
    grid-template-columns:1fr;
}

.stats-grid{
    grid-template-columns:repeat(2,1fr);
}

.focus-grid{
    grid-template-columns:repeat(2,1fr);
}

.projects-grid,
.news-grid{
    grid-template-columns:1fr;
}

.footer-grid{
    grid-template-columns:repeat(2,1fr);
}

.partners-grid{
    grid-template-columns:repeat(3,1fr);
}

.newsletter-container{
    flex-direction:column;
    text-align:center;
}

.newsletter form{
    width:100%;
}

.event-card{
    flex-direction:column;
    text-align:center;
    gap:25px;
}

.event-details{
    padding:0;
}

.top-left{
    display:none;
}


/*========== MOBILE NAVIGATION ==========*/

.menu-btn{
    display:block;
}

nav{

position:fixed;

top:85px;

left:-100%;

width:280px;

height:calc(100vh - 85px);

background:#fff;

box-shadow:0 10px 35px rgba(0,0,0,.15);

transition:.35s;

overflow-y:auto;

}

nav.active{

left:0;

}

nav ul{

flex-direction:column;

align-items:flex-start;

padding:30px;

gap:0;

}

nav li{

width:100%;

}

nav a{

display:block;

padding:16px 0;

width:100%;

border-bottom:1px solid #eee;

}

}


/*====================================================
            LARGE PHONES
====================================================*/

@media (max-width:768px){

section{
    padding:60px 0;
}

.container{
    width:94%;
}

.hero{
    padding:130px 0;
}

.hero-logo{
    width:90px;
}

.hero h1{
    font-size:36px;
}

.hero p{
    font-size:17px;
}

.hero-buttons{
    flex-direction:column;
    align-items:center;
}

.btn-secondary{
    margin-left:0;
}

.mission-boxes{
    grid-template-columns:1fr;
}

.focus-grid{
    grid-template-columns:1fr;
}

.stats-grid{
    grid-template-columns:1fr;
}

.partners-grid{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:1fr;
    text-align:center;
}

.footer-logo{
    margin:auto auto 20px;
}

.footer-social{
    justify-content:center;
    display:flex;
}

.newsletter form{
    flex-direction:column;
}

.newsletter input{
    /* border-radius:50px; */
    margin-bottom:15px;
}

.newsletter button{
    /* border-radius:50px; */
}

.search-btn{
    display:none;
}

.donate-btn{
    display:none;
}

.experience-card{
    position:relative;
    right:auto;
    bottom:auto;
    margin-top:25px;
    width:100%;
}

.scroll-top{

width:48px;
height:48px;
right:20px;
bottom:20px;

}

}


/*====================================================
                SMALL PHONES
====================================================*/

@media (max-width:576px){

.hero h1{
    font-size:30px;
}

.hero h4{
    font-size:15px;
}

.hero p{
    font-size:16px;
}

.section-title h2{
    font-size:28px;
}

.about-content h2{
    font-size:28px;
}

.stat-box h2{
    font-size:40px;
}

.event-date{
    width:70px;
    height:70px;
}

.event-date h2{
    font-size:26px;
}

.project-content,
.news-content{
    padding:22px;
}

.partners-grid{
    grid-template-columns:1fr;
}

.logo img{
    width:50px;
}

.logo h2{
    font-size:20px;
}

.nav-container{
    padding:14px 0;
}

.scroll-down{
    display:none;
}

}


/*====================================================
            VERY SMALL DEVICES
====================================================*/

@media (max-width:380px){

.hero h1{
    font-size:26px;
}

.hero p{
    font-size:15px;
}

.btn-primary,
.btn-secondary{

width:100%;
text-align:center;

}

.section-title h2{
    font-size:24px;
}

h2{
    font-size:26px;
}

.stat-box{
    padding:30px 15px;
}

.focus-card,
.mission-card{
    padding:25px;
}

}

@media (max-width:992px){

.dropdown-menu{

    position:static;

    width:100%;

    opacity:1;

    visibility:visible;

    transform:none;

    box-shadow:none;

    background:#f7f9fc;

    /* border-radius:8px; */

    display:none;

    margin-top:10px;

}

.dropdown.active .dropdown-menu{

    display:block;

}

.dropdown-menu a{

    padding-left:35px;

}

}


/*=========================
        TEAM
==========================*/

@media(max-width:1200px){

.team-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.team-grid{

grid-template-columns:1fr;

}

.team-image img{

height:320px;

}

}



@media(max-width:768px){

.about-slides img{

height:350px;

}

.about-prev,
.about-next{

width:40px;

height:40px;

}

}