*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:#f5f7fb;
color:#333;
}

/* NAVBAR */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 80px;
background:white;
border-bottom:1px solid #eee;
}

.logo a{
font-size:22px;
font-weight:700;
text-decoration:none;
color:#222;
}

.logo span{
color:#4f46e5;
}

.nav-links a{
margin-left:25px;
text-decoration:none;
color:#333;
font-weight:500;
}

.nav-btn{
background:#4f46e5;
color:white!important;
padding:8px 16px;
border-radius:6px;
}

/* HERO */

.hero{
padding:80px 20px;
text-align:center;
background:linear-gradient(120deg,#4f46e5,#6366f1);
color:white;
}

.hero h1{
font-size:42px;
margin-bottom:10px;
}

.hero p{
max-width:650px;
margin:auto;
font-size:16px;
opacity:0.9;
}

/* SECTION */

.section{
max-width:1200px;
margin:auto;
padding:80px 20px;
}

.section-title{
text-align:center;
margin-bottom:50px;
}

.section-title h2{
font-size:30px;
margin-bottom:10px;
}

.section-title p{
color:#666;
}

/* VIDEO GRID */

.video-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
gap:30px;
}

/* VIDEO CARD */

.video-card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 8px 20px rgba(0,0,0,0.05);
cursor:pointer;
transition:all .25s ease;
}

.video-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 30px rgba(0,0,0,0.1);
}

/* THUMB */

.video-thumb{
position:relative;
width:100%;
aspect-ratio:16/9;
overflow:hidden;
}

.video-thumb img{
width:100%;
height:100%;
object-fit:cover;
}

/* PLAY BUTTON */

.play-btn{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
background:rgba(0,0,0,0.65);
color:white;
font-size:24px;
padding:12px 16px;
border-radius:50%;
}

/* CARD BODY */

.video-info{
padding:15px;
}

.video-info h3{
font-size:16px;
font-weight:600;
line-height:1.4;
}

/* MODAL */

.video-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.92);
display:none;
justify-content:center;
align-items:center;
z-index:9999;
padding:20px;
}

.video-modal-content{
width:100%;
max-width:900px;
position:relative;
}

.video-modal iframe{
width:100%;
height:500px;
border-radius:10px;
}

.close-video{
position:absolute;
top:-40px;
right:0;
color:white;
font-size:30px;
cursor:pointer;
}

/* FOOTER */

footer{
margin-top:80px;
text-align:center;
padding:30px;
background:#111;
color:white;
font-size:14px;
}




/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width:1024px){

.navbar{
padding:20px 40px;
}

.video-grid{
grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
}

}

/* TABLET */

@media (max-width:768px){

.navbar{
flex-direction:column;
gap:15px;
padding:20px;
}

.nav-links{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:15px;
}

.nav-links a{
margin:0;
}

.hero{
padding:60px 20px;
}

.hero h1{
font-size:32px;
}

.section{
padding:60px 20px;
}

.video-grid{
grid-template-columns:1fr 1fr;
gap:20px;
}

/* VIDEO MODAL */

.video-modal iframe{
height:350px;
}

}

/* PHONE */

@media (max-width:480px){

.hero h1{
font-size:26px;
}

.hero p{
font-size:14px;
}

.video-grid{
grid-template-columns:1fr;
}

.video-modal iframe{
height:220px;
}

.close-video{
top:-35px;
font-size:24px;
}

}
