/* ========== HERO SECTION ========== */
.ctv-hero {
  background: url("../img/adm.png") center center / cover no-repeat;
  min-height: 50vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  padding: 0 5%;
  overflow: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
    padding-bottom: 400px; /* Reserve space for boxes */
}


/* Footer - UNIFORM */
.footer {
  background: #134faf; /* navy */
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

.footer a {
  color: #FFE6CC;
  text-decoration: underline;
}

.footer a:hover {
  color: #FF6F00;
}


/* Overlay */
.ctv-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* slightly lighter for better text contrast */
  z-index: 0;
  pointer-events: none;
}

/* ========== HERO CONTENT ========== */
.ctv-content {
  position: relative;
  margin-top: 0;     
  z-index: 5;
  max-width: 700px;
  text-align: center;
  padding: 0 15px;
  word-wrap: break-word;
}

.ctv-content p:first-of-type {
  font-size: 20px;
  letter-spacing: 2px;
  color: white;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.ctv-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
  color: orange;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.ctv-content p:nth-of-type(2) {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 0.5px 0.5px 3px rgba(0,0,0,0.4);
}

/* Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* space between buttons */
  margin-top: 20px;
  flex-wrap: wrap; /* ensures buttons wrap nicely on smaller screens */
}


.btn-apply,
.btn-explore {
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-apply {
  background-color: orange;
  color: #003366;
}

.btn-explore {
  border: 2px solid orange;
  color: white;
}

.btn-apply:hover {
  background-color: #ffb24c;
  transform: scale(1.05);
}

.btn-explore:hover {
  background-color: orange;
  color: #003366;
  transform: scale(1.05);
}


/* ========== INFO BOXES ========== */
.ctv-boxes {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px;
  z-index: 1;
  color:white;
}


.ctv-boxes-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  gap: 40px;
  transition: all 0.3s ease;
}



.ctv-box {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  padding: 45px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: 1.6;
  font-size: 18px;
}

.ctv-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

.blue-box {
  background-color: #134faf;
  color: white;
}

.orange-box {
  background-color: orange;
  color: #003366;
}

.ctv-box h3 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.25rem;
}


/* =======================
   ADMISSIONS PROCESS
   ======================= */

.process h2 {
  color: #ffb84d;
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin: 50px 0 30px;
}

.process-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 0 20px 40px;
}

.process .step {
  background: linear-gradient(135deg, #0a2a57, #ffb84d40);
  padding: 18px 25px;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  border-left: 4px solid #ffb84d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.process-steps .step {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-steps .step:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}


/*program card*/

.program-cardsf {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 28px 24px;
  width: 85%;
  max-width: 900px;
  color: #f7f7f7;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  text-align: left;
  border-top: 6px solid #FF9800;
  transition: all 0.3s ease;
}

.program-cardsf h2 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 800;
  color: #1E90FF;
}

.program-cardsf p {
text-align:center;
  margin: 0;
  font-size: 16px;
  color: rgba(247,247,247,0.9);
  line-height: 1.5;
}

/* hover effects */
.program-cardsf:hover {
  transform: translateY(-4px);
  border-left-color: #1E90FF;
box-shadow: 0 10px 28px rgba(30,144,255,0.45); /* Dodger Blue glow */
  transition: 0.3s ease;
}


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

/* Large desktops / Laptops */
/* Fix overlap issue for large screens */
/* Fix overlap of ctv-boxes with text and buttons on large screens */
@media (min-width: 1200px) {
  .ctv-hero {
    position: relative;
    padding-top: 180px;      /* add breathing space above */
    padding-bottom: 350px;   /* increase bottom spacing so boxes stay below buttons */
  }

  .ctv-content {
    position: relative;
    z-index: 5; /* keep text/buttons above */
  }

  .hero-buttons {
    position: relative;
    z-index: 6;
  }

  .ctv-boxes {
    position: relative;
    bottom: unset;
    margin-top: 60px;
    padding-bottom: 60px;
  }
   
  .ctv-box {
    color: white;
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
}

/* Tablets */
@media (max-width: 992px) {
  .ctv-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .ctv-content {
    margin-top: 0;
  }
  .ctv-content h1 {
    font-size: 2.4rem;
  }
  .ctv-content p:nth-of-type(2) {
    font-size: 1rem;
  }
  .ctv-boxes {
    position: relative;
    bottom: unset;
    margin-top: 60px;
    padding-bottom: 60px;
  }
  .placement-policy {
    padding: 40px 15px;
    width: 80%;
  }

  .placement-policy h2 {
    font-size: 28px;
  }

  .placement-policy p {
    font-size: 18px;
  }
}

/* Phones */
@media (max-width: 768px) {
  .ctv-hero {
    padding-top: 120px;
    padding-bottom: 120px;
    text-align: center;
  }

  .ctv-content {
    text-align: center;
  }

  .ctv-content h1 {
    font-size: 2rem;
  }

  .ctv-content p {
    font-size: 0.95rem;
  }

  .ctv-box {
    padding: 30px 20px;
  }
  .placement-policy {
    padding: 40px 15px;
    width: 80%;
  }

  .placement-policy h2 {
    font-size: 28px;
  }

  .placement-policy p {
    font-size: 18px;
  }
}

/* Small phones */
@media (max-width: 360px) {
  .ctv-content h1 {
    font-size: 1.6rem;
  }
  .ctv-content p {
    font-size: 0.9rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn-apply, .btn-explore {
    width: 80%;
  }
  .ctv-boxes-inner {
    gap: 20px;
  }
  .ctv-box {
    padding: 25px 15px;
    max-width: 90%;
  }
  .placement-policy {
    padding: 40px 15px;
    width: 80%;
  }

  .placement-policy h2 {
    font-size: 28px;
  }

  .placement-policy p {
    font-size: 18px;
  }
}
@media (min-width: 993px) and (max-width: 1199px) {
   .ctv-hero {
    position: relative;
    padding-top: 180px;      /* add breathing space above */
    padding-bottom: 350px;   /* increase bottom spacing so boxes stay below buttons */
  }

  .ctv-content {
    position: relative;
    z-index: 5; /* keep text/buttons above */
  }

  .hero-buttons {
    position: relative;
    z-index: 6;
  }

  .ctv-boxes {
    position: relative;
    bottom: unset;
    margin-top: 60px;
    padding-bottom: 60px;
  }

  .ctv-box {
    color: white;
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  .ctv-box orange-box{
  	    background: orange;
  }
}


/* ===============================
   CTV HERO – VERY SMALL SCREENS (≤360px)
   =============================== */
@media (max-width: 360px) {

  /* HERO SECTION */
  .ctv-hero {
    min-height: 35vh;          /* reduced from 50vh */
    padding-bottom: 260px;  
  }

  /* HERO CONTENT */
  .ctv-content {
    max-width: 100%;
    padding: 0;
  }

  .ctv-content p:first-of-type {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .ctv-content h1 {
    font-size: 22px;           /* 👈 key reduction */
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .ctv-content p:nth-of-type(2) {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  /* BUTTONS */
  .hero-buttons {
    flex-direction: column;    /* stack buttons */
    gap: 12px;
  }

  .btn-apply,
  .btn-explore {
    width: 100%;
    max-width: 220px;
    padding: 10px 0;
    font-size: 14px;
  }

  /* INFO BOXES */
  .ctv-boxes {
    padding: 20px 12px;
  }

  .ctv-boxes-inner {
    width: 100%;
    gap: 16px;
  }

  .ctv-box {
    min-width: 100%;
    max-width: 100%;
    padding: 24px 16px;
    font-size: 14px;
  }

  .ctv-box h3 {
    font-size: 16px;
  }
}
/* ===============================
   PLACEMENT POLICY SECTION
   =============================== */

.placement-cards {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.program-cardsf {
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 40px 30px;
  max-width: 800px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}

/* Heading */
.program-cardsf h2 {
  font-size: 32px;
  color: #1E90FF;
  margin-bottom: 20px;
  font-weight: 800;
}

/* Paragraph text */
.placement-text p{
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  text-align:justify;
}

.placement-text-secondary {
  margin-top: 10px;
}





