/* IMAGE FULL SCREEN */
.carousel-img{
  width: 100%;
  height: 130vh;
  object-fit: cover;
}

/* CONTENT BOX */
.carousel-box{
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 520px;
}

/* TEXT */
.carousel-box h1{
  font-size: 48px;
  font-weight: 600;
}

.carousel-box h2{
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 20px;
}

.carousel-box p{
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 30px;
}

/* BUTTON */
.apply-btn{
  display: inline-block;
  background: #ff4d5a;
  color: #fff;
  padding: 14px 28px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

.apply-btn:hover{
  background: #e63a45;
}

/* MOBILE */
@media(max-width:768px){
  .carousel-box{
    left: 6%;
    right: 6%;
  }

  .carousel-box h1{
    font-size: 28px;
  }

  .carousel-box h2{
    font-size: 36px;
  }

  .carousel-img{
    height: 100vh;
  }
  .apply-btn{
    width: 85% ;
  }
}


.card-1 {
 margin-top: -80px;
  width: 363px;
  height: auto;
  background-color: #fe4a55;
}
.card-2 {
  margin-top: -80px;
  width: 363px;
  height: auto;
  background-color: #fe4a55;
} 
.card-3 {
    margin-top: -80px;
  width: 363px;
  height: 313px;
  background-color: #fe4a55;
}

.card-title {
  font-size: 32px;
  font-weight: 300;
  color: white;
}
.card-text {
  font-size: 17px;
  font-weight: 400;
  color: white;
  line-height: 27px;
}

.card-flex {
  display: flex;
  gap: 30px;
  justify-content: flex-start;
  align-items: space-evenly;
  flex-wrap: wrap;
}

/* ================= TABLET ================= */
@media (max-width: 992px) {
  .card-1,
  .card-2,
  .card-3 {
    width: 100%;
    margin-top: 20px;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 576px) {
  .card-flex {
    gap: 20px;
  }
  

  .card-title {
    font-size: 24px;
  }

  .card-text {
    font-size: 15px;
    line-height: 24px;
  }

  .card i {
    font-size: 40px;
  }
}


.skills-section{
  padding: 80px 0;
}

.skills-container{
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

/* LEFT TEXT */
.skills-text h2{
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 58px;
  font-weight: 400;
}

.skills-text p{
  line-height: 27px;
  margin-bottom: 30px;
  font-size: 17px;
  font-weight: 400;
}

.view-btn{
  background: #ff4d5a;
  color: #fff;
  padding: 14px 26px;
  text-decoration: none;
  font-weight: 600;
}

/* RIGHT GRID */
.skills-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* BOX */
.skill-box{
  height: 220px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
}

.skill-box i{
  font-size: 46px;
  margin-bottom: 15px;
}

/* COLORS */
.blue{ background:#2a8bdc; }
.yellow{ background:#f9b400; }
.red{ background:#ff5a6e; }
.green{ background:#22b5a0; }

/* RESPONSIVE */
@media(max-width:900px){
  .skills-container{
    grid-template-columns: 1fr;
  }
}


/* FIXED IMAGE SECTION */
.fixed-hero{
  height: 100vh;
  background-image: url("../images/img1.jpg"); /* same type image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* ⭐ MAIN KEY */
  position: relative;
}

/* DARK OVERLAY */
.fixed-overlay{
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTENT */
.fixed-content{
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 20px;
}

.fixed-content h6{
  font-size: 25px;
  letter-spacing: 2px;
  font-weight: 300;
  margin-bottom: 15px;
}

.fixed-content h1{
  font-size: 52px;
  font-weight: 400;
  margin-bottom: 20px;
}

.fixed-content p{
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 30px;
  font-weight: 400;
}

/* BUTTON */
.hero-btn{
  display: inline-block;
  background: #ff4d5a;
  color: #fff;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}

/* MOBILE FIX */
@media(max-width:768px){
  .fixed-hero{
    background-attachment: scroll; /* mobile safe */
  }

  .fixed-content h1{
    font-size: 32px;
  }

  .fixed-content p{
    font-size: 16px;
  }
}

.popular-courses-text h4{
  margin-top: 96px;
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 10px;
  text-align: center;
}

.popular-courses-text p{
  /* margin-top: 70px; */
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 10px;
  text-align: center;
  line-height: 27px;
}
















.program-section{
  /* padding: 80px 0; */
  padding-top: 20px;
}

.program-container{
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

/* LEFT */
.program-item{
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.icon{
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 50px;
  flex-shrink: 0;
}

/* COLORS */
.pink{ background:#f45b8a; }
.green{ background:#1fb7a6; }
.orange{ background:#ffa31a; }
.purple{ background:#5b5a92; }

.pink-text{ color:#f45b8a; }
.green-text{ color:#1fb7a6; }
.orange-text{ color:#ffa31a; }
.purple-text{ color:#5b5a92; }

.text h3{
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 400;
}

.text p{
  font-size: 17px;
  line-height: 27px;
  font-weight: 400;
}

/* RIGHT IMAGE */
.program-right img{
  width: 100%;
  max-width: 420px;
}
.steel{
  background:#4f7c8c;
}

.steel-text{
  color:#4f7c8c;
}


/* RESPONSIVE */
@media(max-width:900px){
  .program-container{
    grid-template-columns: 1fr;
  }

  .program-right{
    text-align: center;
  }

  .program-right img{
    max-width: 300px;
  }
}


/* PARALLAX SECTION */
.parallax-section{
  height: 100vh;
  background-image: url("../images/img01.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* ⭐ FIXED IMAGE */
  position: relative;
}

/* OVERLAY */
.parallax-overlay{
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 8%;
}

/* RED SPOT BOX */
.spot-box{
  position: relative;
  max-width: 520px;
  color: #fff;
}

.spot-box img{
  width: 100%;
}

/* TEXT ON SPOT */
.spot-box h2{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  text-align: left;
  font-size: 30px;
  line-height: 42px;
  width: 80%;
}

/* BUTTON */
.spot-btn{
  position: absolute;
  bottom: 25%;
  left: 18%;
  background: #fff;
  color: #ff4d5a;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
}

/* MOBILE FIX */
@media(max-width:768px){
  .parallax-section{
    background-attachment: scroll; /* mobile safe */
  }

  .parallax-overlay{
    justify-content: center;
    padding-left: 0;
  }

  .spot-box h2{
    font-size: 22px;
    line-height: 30px;
    text-align: center;
  }

  .spot-btn{
    left: 50%;
    transform: translateX(-50%);
  }
}


.team-section{
  padding: 80px 0;
}

.team-grid{
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 40px;
}

/* CARD */
.team-card{
  position: relative;
  overflow: hidden;
}

.team-card img{
  width: 79%;
  display: block;
}

/* OVERLAY BASE */
.team-overlay{
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: #ff4d5a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transition: 0.4s ease;
}

/* SIMPLE NAME OVERLAY */
.team-overlay h4{
  font-size: 18px;
  font-weight: 500;
}

/* FULL DETAIL BOX (SECOND IMAGE TYPE) */
.team-overlay.full{
  flex-direction: column;
}

.team-overlay.full span{
  font-size: 14px;
  margin: 8px 0;
}

.team-overlay.full hr{
  width: 40px;
  border: 1px solid #fff;
  margin: 10px 0;
}

.team-overlay.full p{
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 15px;
}

.team-overlay.full a{
  background: #fff;
  color: #ff4d5a;
  padding: 8px 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

/* HOVER EFFECT */
.team-card:hover .team-overlay{
  bottom: 0;
}

/* MOBILE */
@media(max-width:768px){
  .team-overlay{
    font-size: 14px;
  }
}
.team-section{
  padding: 80px 0;
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 40px;
}

/* CARD */
.team-card{
  position: relative;
  overflow: hidden;
}

.team-card img{
  width: 100%;
  display: block;
}

/* NAME STRIP (ALWAYS VISIBLE) */
.team-name{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ff4d5a;
  color: #fff;
  text-align: center;
  padding: 12px 10px;
  font-size: 16px;
  font-weight: 500;
  z-index: 2;
  transition: opacity 0.3s;
}

/* HOVER OVERLAY */
.team-overlay{
  position: absolute;
  inset: 0;
  background: #ff4d5a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transform: translateY(100%);
  transition: 0.4s ease;
  z-index: 3;
}

/* FULL DETAIL */
.team-overlay.full{
  flex-direction: column;
}

.team-overlay.full span{
  font-size: 14px;
  margin: 6px 0;
}

.team-overlay.full hr{
  width: 40px;
  border: 1px solid #fff;
  margin: 10px 0;
}

.team-overlay.full p{
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 15px;
}

.team-overlay.full a{
  background: #fff;
  color: #ff4d5a;
  padding: 8px 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

/* HOVER EFFECT */
.team-card:hover .team-overlay{
  transform: translateY(0);
}

.team-card:hover .team-name{
  opacity: 0; /* hide name strip on hover */
}



/* PARALLAX BACKGROUND */
.join-parallax{
  min-height: 85vh;
  background-image: url("../images/banner3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* OVERLAY */
.join-overlay{
  margin-top: 20px;
  /* width: 100%; */
  height: 85vh;
  background: rgba(0,0,0,0.40);
  display: flex;
  align-items: center;
}

/* MAIN WRAPPER */
.join-wrapper{
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

/* LEFT IMAGE */
.join-image img{
  margin-top: 5%;
     width: 550px;
    height: 350px;
  max-width: 520px;
  background: #fff;
  padding: 10px;
}

/* RIGHT CONTENT */
.join-content{
  color: #fff;
}

.join-tag{
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.9;
}

.join-heading{
  font-size: 42px;
  line-height: 50px;
  font-weight: 400;
  margin: 20px 0 30px;
}

/* BUTTON */
.join-button{
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 14px 26px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}

/* RESPONSIVE */
@media(max-width:900px){
  .join-wrapper{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .join-image img{
    /* margin: auto; */
    width: 100%;
    height: auto;
  }
  .join-content{
    margin-bottom: 30px;
  }

  .join-heading{
    font-size: 28px;
    line-height: 40px;
  }
}

/* MOBILE FIX */
@media(max-width:768px){
  .join-parallax{
    background-attachment: scroll;
  }
}
