/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

/* BODY */
body{
  font-family:'Poppins',sans-serif;
  background:#F4F7FA;
  color:#222;
  line-height:1.6;
}

/* CONTAINER */
.container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

/* HEADER */
.header{
  background:#0B3C5D;
  color:#fff;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 0;
}

.nav a{
  color:#fff;
  margin-left:20px;
  text-decoration:none;
  font-weight:500;
  transition:0.3s;
}

.nav a:hover{
  color:#00A8A8;
}

/* HERO SLIDER */
.hero{
  position:relative;
  height:450px;
  overflow:hidden;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  animation:fadeSlide 15s infinite;
}

.slide:nth-child(1){
  background-image:url('assets/AICT TOP.jpg');
}
.slide:nth-child(2){
  background-image:url('assets/AICT Class.jpg');
  animation-delay:5s;
}
.slide:nth-child(3){
  background-image:url('assets/AICT Students.jpg');
  animation-delay:10s;
}

@keyframes fadeSlide{
  0%{opacity:1}
  33%{opacity:0}
  66%{opacity:0}
  100%{opacity:1}
}

.overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(rgba(11,60,93,0.8),rgba(0,168,168,0.6));
  color:#fff;
  text-align:center;
}

/* BUTTON */
.btn{
  background:#FF6B35;
  color:#fff;
  padding:12px 28px;
  border-radius:8px;
  text-decoration:none;
  display:inline-block;
  margin-top:15px;
  font-weight:500;
  transition:all 0.3s ease;
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.btn:hover{
  background:#e85a2b;
  transform:translateY(-3px);
  box-shadow:0 8px 20px rgba(0,0,0,0.3);
}

/* SECTION */
.section{
  padding:80px 0;
}

h2{
  color:#0B3C5D;
  margin-bottom:20px;
  font-size:28px;
}

.grid{
  display:flex;
  flex-wrap:wrap;
}
/* CARD */
.card{
  background:#fff;
  border-radius:15px;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
  flex:1 1 300px;
  padding:20px;
  transition:all 0.3s ease;
  overflow:hidden;
  position:relative;
}

.card img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:10px;
}

.card:hover{
  transform:translateY(-10px);
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

/* CARD GLOW EFFECT */
.card::before{
  content:'';
  position:absolute;
  width:100%;
  height:5px;
  top:0;
  left:0;
  background:linear-gradient(90deg,#00A8A8,#FF6B35);
}

/* GALLERY */
.gallery img{
  width:100%;
  border-radius:12px;
  transition:0.3s;
}

.gallery img:hover{
  transform:scale(1.05);
}

/* CONTACT */
#contact{
  text-align:center;
}

/* FOOTER */
.footer{
  background:#0B3C5D;
  color:#fff;
  text-align:center;
  padding:25px;
  margin-top:40px;
}
/* VIDEO GRID FIX */
.video-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr); /* 3 columns desktop */
  gap:25px;
}

/* Tablet */
@media (max-width: 992px){
  .video-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px){
  .video-grid{
    grid-template-columns:1fr;
  }
}

.video-card{
  background:#fff;
  padding:15px;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  transition:0.3s;
}

.video-card:hover{
  transform:translateY(-5px);
}

.video-card iframe{
  width:100%;
  height:200px;
  border-radius:10px;
  border:none;
}
/* WHATSAPP BUTTON */
.whatsapp{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:#fff;
  padding:15px;
  border-radius:50%;
  font-size:22px;
  text-decoration:none;
  box-shadow:0 5px 15px rgba(0,0,0,0.3);
  animation:pulse 2s infinite;
}

@keyframes pulse{
  0%{transform:scale(1)}
  50%{transform:scale(1.1)}
  100%{transform:scale(1)}
}