/* =======================================================
IPPM OFFICIAL WEBSITE
Institute of Public Peace and Management
Main Stylesheet
======================================================= */

/* Google Fonts */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Merriweather:wght@300;400;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* =======================================================
ROOT VARIABLES
======================================================= */

:root {

--primary-green: #0B5D3B;
--secondary-green: #14744C;

--gold: #C89B3C;
--gold-light: #D8B35D;

--cream: #F8F6EF;
--white: #FFFFFF;

--dark: #2E2E2E;
--light-grey: #f2f2f2;

--shadow:
0 10px 25px rgba(0,0,0,0.10);

}

/* =======================================================
RESET
======================================================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{

font-family:'Poppins',sans-serif;
background:var(--cream);
color:var(--dark);
line-height:1.7;

}

/* =======================================================
HEADINGS
======================================================= */

h1,h2,h3,h4{

font-family:'Cinzel',serif;
color:var(--primary-green);

}

h1{

font-size:3rem;
margin-bottom:15px;

}

h2{

font-size:2rem;
margin-bottom:15px;

}

h3{

font-size:1.4rem;

}

p{

margin-bottom:15px;

}

/* =======================================================
LINKS
======================================================= */

a{

text-decoration:none;
transition:0.3s;

}

a:hover{

opacity:0.85;

}

/* =======================================================
NAVIGATION
======================================================= */

.navbar{

position:sticky;
top:0;

background:#ffffff;

display:flex;
justify-content:space-between;
align-items:center;

padding:15px 5%;

box-shadow:var(--shadow);

z-index:9999;

}

.logo img{

height:80px;

}

.navbar ul{

display:flex;
list-style:none;
gap:25px;

}

.navbar ul li a{

color:var(--primary-green);
font-weight:600;

}

.language select{

padding:8px;
border:1px solid #ddd;
border-radius:6px;

}

/* =======================================================
HERO SECTION
======================================================= */

.hero{

position:relative;
height:85vh;

overflow:hidden;

}

.hero img{

width:100%;
height:100%;
object-fit:cover;

}

.hero-overlay{

position:absolute;
inset:0;

background:rgba(0,0,0,0.45);

display:flex;
flex-direction:column;

justify-content:center;
align-items:center;

text-align:center;

padding:20px;

}

.hero-overlay h1{

color:white;
max-width:900px;

}

.hero-overlay h2{

color:var(--gold-light);

}

.hero-overlay p{

color:white;
font-size:1.2rem;

}

/* =======================================================
BUTTONS
======================================================= */

.button{

display:inline-block;

margin-top:15px;

background:var(--gold);

color:white;

padding:14px 30px;

border-radius:30px;

font-weight:600;

box-shadow:var(--shadow);

}

.button:hover{

background:var(--gold-light);

}

/* =======================================================
SECTIONS
======================================================= */

section{

padding:80px 8%;

}

.welcome,
.membership,
.event,
.contact{

background:white;

}

/* =======================================================
FOCUS GRID
======================================================= */

.focus{

background:var(--cream);

}

.grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(220px,1fr));

gap:25px;

margin-top:30px;

}

.grid div{

background:white;

padding:25px;

border-radius:12px;

text-align:center;

font-weight:600;

box-shadow:var(--shadow);

transition:0.3s;

}

.grid div:hover{

transform:translateY(-8px);

border-bottom:
5px solid var(--gold);

}

/* =======================================================
EVENT SECTION
======================================================= */

.event{

text-align:center;

}

.event h3{

color:var(--gold);

margin-bottom:10px;

}

/* =======================================================
CONTACT
======================================================= */

.contact{

text-align:center;

}

.contact img{

margin-top:20px;

border-radius:12px;

box-shadow:var(--shadow);

}

/* =======================================================
FOOTER
======================================================= */

footer{

background:var(--primary-green);

color:white;

text-align:center;

padding:35px;

}

footer p{

margin-bottom:10px;

}

/* =======================================================
UTILITIES
======================================================= */

.text-center{

text-align:center;

}

.mt-20{

margin-top:20px;

}

.mt-40{

margin-top:40px;

}

.shadow{

box-shadow:var(--shadow);

}

/* ==========================
Sticky Navigation
========================== */

.sticky{

position:fixed;

top:0;

left:0;

right:0;

background:#0B5D3B;

box-shadow:0 6px 20px rgba(0,0,0,.2);

z-index:999;

}

/* ==========================
Back To Top
========================== */

#topButton{

position:fixed;

bottom:30px;

right:30px;

width:50px;

height:50px;

border:none;

border-radius:50%;

background:#C89B3C;

color:white;

font-size:22px;

cursor:pointer;

display:none;

z-index:999;

}

#topButton:hover{

background:#0B5D3B;

}

/* ==========================
WhatsApp
========================== */

#whatsappButton{

position:fixed;

left:25px;

bottom:30px;

width:60px;

height:60px;

background:#25D366;

color:white;

font-size:30px;

text-align:center;

line-height:60px;

border-radius:50%;

text-decoration:none;

box-shadow:0 8px 20px rgba(0,0,0,.25);

z-index:999;

}

#whatsappButton:hover{

transform:scale(1.1);

}

/* ==========================
Active Menu
========================== */

.navbar a.active{

color:#FFD76A;

font-weight:bold;

border-bottom:2px solid #FFD76A;

}

/* =====================================
Statistics
===================================== */

.statistics{

background:#ffffff;

text-align:center;

padding:80px 20px;

}

.stats-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

gap:30px;

margin-top:40px;

}

.stats-grid div{

background:#F8F6EF;

padding:30px;

border-radius:15px;

box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.counter{

font-size:48px;

font-weight:bold;

color:#0B5D3B;

margin-bottom:10px;

}

.stats-grid p{

font-weight:600;

color:#444;

}
