/* === Slide 1 === */
/* === Slide 1 Layout Fix === */
/* === Slide 1 === */
.slide1-container {
  height: 100%;
  min-height: 75vh;   /* ensures background is visible */

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

  background-image: url('../img/abt.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 20px 80px;
  gap: 60px;
}
/* Dark overlay for Slide 1 background */
.slide1-container {
  position: relative;
}

.slide1-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); 
  z-index: 0;
}

.slide1-text {
  flex: 1;
  max-width: 800px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;

  padding-left: 0;

  transform: translateX(40px);   
}


.slide1-text,
.slide1-image {
  position: relative;
  z-index: 1;
}


/* Right image block */
.slide1-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide1-title {
  font-size: 55px;        /* clean & readable */
background: linear-gradient(
  90deg,
  #38bdf8,   /* light blue */
  #d97706    /* dark orange */
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;


  font-weight: 800;
  margin-bottom: 15px;
  padding: 0;
  text-align: center;
}

.slide1-desc {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 15px;
  padding: 0;
}

.slide1-tagline {
  font-size: 18px;
  color: orange;

  margin-top: 20px;        /* move text DOWN */
  margin-bottom: 25px;

  padding: 0;
  max-width: 100%;         /* allow full width */
  white-space: nowrap;     /* FORCE ONE LINE */
}

.tagline-highlight {
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}


.slide1-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  background: linear-gradient(90deg, #1E90FF, #b5764b);
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.slide1-btn:hover {
  transform: translateY(-2px);
}


.slide1-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  background: transparent; /* remove background box */
  border-radius: 16px;
  
}

/* Only one blue shadow — clean and professional */
.slide1-image img {
  width: 380px;              /* balanced & user-friendly */
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(30,144,255,0.4);
}

/* Gentle hover lift (optional) */
.slide1-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 45px rgba(30, 144, 255, 0.6); /* slightly stronger blue glow */
}


/*Buttons*/

.btns {
  background: #134faf; /* navy */
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  margin: 5px;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition: background 0.3s ease;
   text-decoration: none;
}

.btns:hover {
  background: #fe7029; /* orange on hover */
}

.btn-outliness {
 background:  #fe7029; /* navy */
  text-decoration: none;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  margin: 5px;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition: background 0.3s ease;
}

.btn-outliness:hover {
  background:#134faf ; /* orange on hover */
  color: white;
}


/* === Hero Section (Slides 2 & 3) === */
/* === Slides 2 & 3 === */
.hero {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  z-index: 1;          /* overlay sits under text */
}

.hero-content {
  position: relative;
  z-index: 2;          /* ensure text is on top */
  max-width: 80%;
}

.hero-content h1 {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 0px 3px 6px rgba(0,0,0,0.6);
  color: white;
}

.hero-content p {
  color: white;
  font-size: 20px;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.5);
}


.hero-2 {
  background: url('../img/home2.png') center/cover no-repeat;
}

.hero-3 {
  background: url('../img/works.jpg') center/cover no-repeat;
}
/* Slide-specific heading colors */
.hero-3 h1 {
  color: orange;
  font-size: 70px;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.5);
}

.hero-2 h1 {
  color: #1E90FF;
  text-shadow: 0px 3px 6px rgba(0,0,0,0.6);
}

/* ===== WHY JOIN CTV ===== */
.why-us{
   background: linear-gradient(180deg, #000000 0%, #0b132b 100%);
  color: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  padding: 80px 20px;
  text-align: center;
}

.why-us h2 {
  color: #1E90FF;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.cardss {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.carde {
  background: rgba(255,255,255,0.04);
  padding: 35px 20px;
  border-radius: 15px;
  width: 280px;
  text-align: center;
  font-weight: 600;
  color: #f7f7f7;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
  border-top: 3px solid #FF9800;
}
.carde:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(30,144,255,0.3);
  border-top-color: 
  #1E90FF;
}


/*Home*/

.course-grids {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  background: #fff;
  gap: 30px;
}

/* Uniform card size & clean responsive layout */
.course-cards {
  background: #bcd1f1; /* soft orange - UNIFORM */
  padding: 30px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  font-weight: bold;
  color: #001F54;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  /* Fix width and consistent sizing */
  width: 320px;              /* same width for all */
  min-height: 100px;         /* ensures uniform height */
  box-sizing: border-box;
}

.course-cards:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.course-card h3 {
  color: #134faf; /* navy - UNIFORM */
  margin-bottom: 15px;
  margin-top: 0;
  font-size: 1.3em;
  flex-shrink: 0;
}

.course-cards ul {
  text-align: left;
  padding-left: 20px;
  margin: 15px 0;
  line-height: 1.8;
  flex-grow: 1;
}

.course-cards .btn {
  margin-top: 15px;
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Placements - UNIFORM */
.placements {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.placement-cards {
  display: flex;
  flex-direction: column;  /* stack vertically */
  align-items: center;     /* center horizontally */
  gap: 25px;               /* space between cards */
}
.placement-cards .card {
  background-color: orange;
  border-radius: 10px;
  padding: 25px;
  width: 70%;              /* controls card width */
  font-size: 18px;
  color: black;             /* correct property for text color */
  font-weight: normal;      /* makes text not bold */
  line-height: 1;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

/*Eligibility:admisisions*/
.eligibility {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.elgibile {
  display: flex;
  flex-direction: column;  /* stack vertically */
  align-items: center;     /* center horizontally */
  gap: 25px;               /* space between cards */
}


/* Link styling for step */
.step1 a {
  color: white;
  text-decoration: underline;
}

.step1 a:hover {
  color: #FFE6CC;
}

/* Programs section styling */
.programs {
  padding: 60px 20px;
  background: #f8f9fa;
}

/* ===== ADMISSIONS PROCESS ===== */
.admissions-process{
  background: linear-gradient(180deg, #000000 0%, #0b132b 100%);
  color: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  padding: 80px 20px;
  text-align: center;
}
.admissions-process h2{
	color: #1E90FF;
	font-weight:bold;
	font-size:35px;
}

.process-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
  max-width: 980px;
  margin: 0 auto;
}

.step1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 160px;
}

.circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  background: #111;
  color: #fff;
  margin-bottom: 10px;
  border: 2px solid rgba(255,255,255,0.04);
  box-shadow: 0 0 12px rgba(30,144,255,0.3);
  transition: all 0.3s ease;
  border: 1px solid #ff9800;
}

.circle:hover {
  background: linear-gradient(90deg, #1E90FF, #FF9800);
  box-shadow: 0 0 18px rgba(255,152,0,0.4);
}

.step1 p {
  margin: 0;
  font-size: 16px;
  color: #f7f7f7;
  line-height: 1.35;
}

.line {
  display: block;
  width: 60px;
  height: 4px;
  background: rgba(255,255,255,0.06);
  align-self: center;
}


/* Loading state for buttons */
.btn:active {
  transform: scale(0.98);
}

/* Improve accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #FF6F00;
  outline-offset: 2px;
}

/* === Programs - Vertical Boxes === */
.programs-section {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(180deg, #000000 0%, #0b0b0b 100%);
  
}

.programs-heading {
  font-size: 46px;
  font-weight: 800;
  color: #1E90FF;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* vertical layout for boxes */
.programs-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

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

.program-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

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

/* hover effects */
.program-card: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;
}

.programs-note {
  margin-top: 30px;
  color: rgba(247,247,247,0.9);
  font-size: 18px;
}

/*Career guide*/

.program-cards {
  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-left: 6px solid #FF9800;
  transition: all 0.3s ease;
}

.program-cards h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

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

/* hover effects */
.program-cards: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;
}

.pgs{
 color:#1E90FF;
 font-weight:bold;
 font-size:30px;
}

/* === Responsive Adjustments === */


/* === TOP MOVING ANNOUNCEMENT BAR === */
/* === TOP MOVING ANNOUNCEMENT BAR === */
.announcement-marquee {
  width: 100%;
  height: 50px;
  background: linear-gradient(90deg, #ff9800, #ff5722);
  color: #ffffff;

  display: flex;
  align-items: center;

  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: 16px;

  position: relative;   /* NOT fixed */
  z-index: 10;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee-scroll 40s linear infinite;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ===============================
   FIX FULL CAROUSEL HEIGHT
   =============================== */

/* Height available after navbar + announcement */
:root {
  --top-offset: 120px; /* navbar (70) + announcement (50) */
}

/* Carousel wrapper */
#homeCarousel {
  height: calc(100vh - var(--top-offset));
}

/* Bootstrap internal elements MUST inherit height */
#homeCarousel .carousel-inner,
#homeCarousel .carousel-item {
  height: 100%;
}

/* Slide 1 */
.slide1-container {
  /* height: 100%; */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slides 2 & 3 */
.hero {
  /* height: 100%; */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===============================
   USER FRIENDLY SLIDE HEIGHT
   =============================== */

/* Carousel wrapper */
#homeCarousel {
  height: 75vh;        /* 👈 REDUCED HEIGHT */
}

/* Internal bootstrap elements */
#homeCarousel .carousel-inner,
#homeCarousel .carousel-item {
  height: 100%;
}


/*SLide 4*/
/* Slide 4 main container */
.slide4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-height: 450px;
background: linear-gradient(
  120deg,
  #020617 0%,
  #0B5ED7 55%,
  #020617 100%
);


  padding: 0 80px;
}

/* LEFT CONTENT */
.slide4-content {
  margin-left: 100px !important;
  margin-right: auto !important;   /* 🔑 PUSHES CONTENT LEFT */
  align-items: flex-start !important;
  text-align: left !important;
}


.slide4-content h1 {
  font-size: clamp(26px, 4.5vw, 50px);
  line-height: 1.1;
  font-weight: 800;
  color: #F97316; /* orange */
  margin-bottom: 20px;
  line-height: 1.1;
  text-align:left;
}

.slide4-content p {
  font-size: 20px;
  color: white;
  margin-bottom: 35px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* JOIN US BUTTON */
.slide4-actions {
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin-left: 0 !important;
}

.slide4-btn {
  display: block !important;       /* 🔑 NOT inline */
  align-self: flex-start !important;
  margin-left: 0 !important;
  margin-right: auto !important;   /* 🔑 KILLS CENTERING */
}


.slide4-btn.primary {
  padding: 12px 38px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

.slide4-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.6);
}

.slide4-btn.secondary {
  padding: 12px 30px;
  background: transparent;
  color: #f97316;
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid rgba(249, 115, 22, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.slide4-btn.secondary:hover {
  background: rgba(249, 115, 22, 0.12);
  transform: translateY(-2px);
}

/* RIGHT IMAGE CONTAINER */
.slide4-image {
  flex: 1;
  max-width: 45%;
  display: flex;
  align-items: center;        /* vertical center */
  justify-content: flex-end;  /* push image to the right */
  padding-right: 40px;        /* optional spacing from edge */
}

/* IMAGE */
.slide4-image img {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  border-radius: 14px;
}

.admission-title {
  display: flex;
  flex-direction: column;   /* stack lines vertically */
  align-items: flex-start;  /* LEFT align */
  text-align: left;
  margin-bottom: 20px;
}




/* ===============================
   New addition: MOBILE HERO (0 – 575px)
   =============================== */
@media (max-width: 575px) {

  /* Container layout */
  .slide1-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-height: 70vh;
    padding: 20px 14px;
    gap: 18px;
  }

  /* Remove desktop offset */
  .slide1-text {
    transform: none;
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  /* Title */
  .slide1-title {
    font-size: 26px;     /* from 55px */
    line-height: 1.2;
    margin-bottom: 6px;
  }

   .slide1-desc {
    display: -webkit-box;          /* enable flex-like box */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;         /* 👈 show only 2 lines */
    
    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 14px;
    line-height: 1.4;
    text-align: center;

    margin: 6px 0;
    max-width: 90%;
  }
  
  /* Tagline */
  .slide1-tagline {
    font-size: 13px;
    margin-top: 6px;
    margin-bottom: 12px;

    white-space: normal;   /* allow wrap */
    text-align: center;
  }

  /* Button */
  .slide1-btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  /* Image container */
  .slide1-image {
    margin-top: 10px;
  }

  /* Image size */
  .slide1-image img {
    width: 220px;        /* from 380px */
    max-width: 80%;
    box-shadow: 0 0 18px rgba(30,144,255,0.35);
  }

  /* Disable hover effects on mobile */
  .slide1-image img:hover {
    transform: none;
    box-shadow: 0 0 18px rgba(30,144,255,0.35);
  }
}

/* ===============================
   ULTRA-SMALL PHONES (≤375px)
   =============================== */
@media (max-width: 375px) {

  /* Prevent any horizontal overflow */
  html, body {
    overflow-x: hidden;
  }

  /* Container must never exceed screen */
  .slide1-container {
    padding-left: 12px;
    padding-right: 12px;
    gap: 14px;
  }

  /* Kill all transforms */
  .slide1-text {
    transform: none !important;
    max-width: 100%;
  }

  /* Title smaller */
  .slide1-title {
    font-size: 22px;
    line-height: 1.15;
  }

  /* Tagline MUST wrap */
  .slide1-tagline {
    font-size: 12px;
    white-space: normal;
    text-align: center;
  }

  /* Image even smaller */
  .slide1-image img {
    width: 180px;
    max-width: 75%;
  }

  /* Button compact */
  .slide1-btn {
    font-size: 13px;
    padding: 9px 18px;
  }
}


/* ===============================
   SMALL DEVICES (576 – 767px)
   =============================== */
/* ===============================
   SMALL DEVICES (576 – 767px)
   SPACING-REFINED
   =============================== */
@media (min-width: 576px) and (max-width: 767px) {

  /* Container spacing */
  .slide1-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-height: 75vh;
    padding: 86px 20px 28px;  /* 👈 more top breathing space */
    gap: 15px;
  }

  /* Text block */
  .slide1-text {
    transform: none;
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  /* Title with top spacing */
  .slide1-title {
    font-size: 30px;
    line-height: 1.2;

    margin-top: 12px;      /* 👈 small top spacing */
    margin-bottom: 8px;    /* controlled gap to desc */
  }

  /* Description (clamped) */
  .slide1-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 15px;
    line-height: 1.5;
    text-align: center;

    margin: 6px 0;         /* 👈 tighter vertical rhythm */
    max-width: 95%;
  }

  /* Tagline */
  .slide1-tagline {
    font-size: 14px;
    white-space: normal;
    text-align: center;

    margin-top: 8px;
    margin-bottom: 14px;
  }

  /* Button */
  .slide1-btn {
    padding: 11px 24px;
    font-size: 14.5px;
    margin-top: 4px;
  }

  /* Image */
  .slide1-image {
    margin-top: 5px;
  }

  .slide1-image img {
    width: 260px;
    max-width: 85%;
    box-shadow: 0 0 22px rgba(30,144,255,0.4);
  }

  /* Disable hover effects */
  .slide1-image img:hover {
    transform: none;
  }
}

/* ===============================
   TABLETS (768 – 1023px)
   REDUCE TEXT SO BUTTON FITS
   =============================== */
@media (min-width: 768px) and (max-width: 1023px) {

  /* Container slightly tighter */
  .slide1-container {
    min-height: 70vh;          /* was 75vh */
    padding: 16px 60px;        /* reduce vertical pressure */
    gap: 40px;                 /* was 60px */
  }

  /* Text block */
  .slide1-text {
    transform: translateX(30px);  /* reduce offset */
    max-width: 700px;
  }

  /* Title reduced */
  .slide1-title {
    font-size: 32px;           /* was 55px */
    line-height: 1.15;
    margin-bottom: 10px;
    text-align:center;
  }

  /* Description reduced */
  .slide1-desc {
    font-size: 14px;           /* was 16px */
    line-height: 1.45;
    margin-bottom: 10px;
  }

  /* Tagline tighter */
  .slide1-tagline {
    font-size: 16px;           /* was 18px */
    margin-top: 12px;
    margin-bottom: 16px;
    white-space: normal;       /* allow wrap if needed */
  }

  /* Button pulled back into view */
  .slide1-btn {
    padding: 10px 24px;
    font-size: 14px;
    margin-top: 4px;
  }

  /* Image slightly reduced */
  .slide1-image img {
    width: 300px;              /* was 380px */
  }
}


/* ===============================
   SMALL LAPTOPS (1024 – 1279px)
   BALANCED REDUCTION
   =============================== */
@media (min-width: 1024px) and (max-width: 1279px) {

  /* Container: slightly tighter than full desktop */
  .slide1-container {
    min-height: 72vh;        /* was 75vh */
    padding: 18px 100px;      /* reduce vertical + horizontal pressure */
    gap: 48px;               /* was 60px */
  }

  /* Text block */
  .slide1-text {
    transform: translateX(32px);  /* reduce offset */
    max-width: 750px;
  }

  /* Title */
  .slide1-title {
    font-size: 40px;         /* was 55px */
    line-height: 1.15;
    margin-bottom: 12px;
        text-align:center;
  }

  /* Description */
  .slide1-desc {
    font-size: 15.5px;       /* slightly reduced */
    line-height: 1.45;
    margin-bottom: 12px;
  }

  /* Tagline */
  .slide1-tagline {
    font-size: 17px;         /* was 18px */
    margin-top: 14px;
    margin-bottom: 18px;
    white-space: normal;     /* allow wrap if needed */
  }

  /* Button */
  .slide1-btn {
    padding: 11px 26px;
    font-size: 14.5px;
    margin-top: 4px;
  }

  /* Image */
  .slide1-image img {
    width: 360px;            /* slightly smaller than desktop */
  }
}

/* ===============================
   DESKTOP (1280 – 1535px)
   REFINED SPACING
   =============================== */
@media (min-width: 1280px) and (max-width: 1535px) {

  /* Container refinement */
  .slide1-container {
    min-height: 74vh;        /* slightly less than full desktop */
    padding: 20px 100px;      /* keep original horizontal feel */
    gap: 50px;               /* slightly tighter than 60px */
  }

  /* Text block */
  .slide1-text {
    transform: translateX(36px); /* slightly reduced offset */
    max-width: 780px;
  }

  /* Title */
  .slide1-title {
    font-size: 50px;        /* was 55px */
    line-height: 1.15;
    margin-bottom: 14px;
  }

  /* Description */
  .slide1-desc {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  /* Tagline */
  .slide1-tagline {
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 20px;
    white-space: normal;     /* safer for narrower heights */
  }

  /* Button */
  .slide1-btn {
    padding: 12px 28px;
    font-size: 15px;
    margin-top: 6px;
  }

  /* Image */
  .slide1-image img {
    width: 380px;            /* keep premium desktop presence */
  }
}
/* ===============================
   ULTRA-WIDE DESKTOPS (1536px+)
   FULL DESKTOP EXPERIENCE
   =============================== */
@media (min-width: 1536px) {

  /* Container */
  .slide1-container {
    min-height: 78vh;        /* premium height */
    padding: 24px 120px;     /* more horizontal breathing room */
    gap: 64px;
  }

  /* Text block */
  .slide1-text {
    transform: translateX(40px); /* original desktop offset */
    max-width: 820px;            /* prevents overly wide text */
  }

  /* Title */
  .slide1-title {
    font-size: 56px;         /* flagship size */
    line-height: 1.15;
    margin-bottom: 16px;
  }

  /* Description */
  .slide1-desc {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  /* Tagline */
  .slide1-tagline {
    font-size: 19px;
    margin-top: 18px;
    margin-bottom: 22px;
    white-space: nowrap;     /* keep premium single-line look */
  }

  /* Button */
  .slide1-btn {
    padding: 13px 32px;
    font-size: 15.5px;
    margin-top: 6px;
  }

  /* Image */
  .slide1-image img {
    width: 420px;            /* strong visual presence */
    box-shadow: 0 0 36px rgba(30,144,255,0.45);
  }
}
/* ===============================
   SLIDE 4 – FORCE CENTER (0–575px)
   =============================== */
   
@media (max-width: 575px) {

  /* Main section — TRUE CENTER */
  .slide4 {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;   /* 👈 real centering */

    padding-left: 30px!important;    /* symmetric padding */
    gap: 10px !important;
  }

  /* Text column — centered, then shifted slightly */
  .slide4-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 280px !important;

    margin: 0 auto !important;        /* 👈 center column */
    padding-left: 16px !important;    /* 👈 controlled right shift */

    text-align: left !important;
  }

  /* Heading */
  .admission-title {
    width: 100%;
    text-align: left !important;
    margin-bottom: 10px !important;
  }

  .admission-title span {
    display: block !important;
    text-align: left !important;
    font-size: 34px !important;
    line-height: 1.05 !important;
  }

  /* Tagline */
  .admission-tagline {
    width: 100%;
    text-align: left !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-bottom: 14px !important;
  }

  /* Buttons — LEFT aligned */
  .slide4-actions {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .slide4-btn {
    width: auto !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    border-radius: 20px !important;
  }

  /* Hide image on mobile */
  .slide4-image {
    display: none !important;
  }
}
/* ===============================
   SLIDE 4 – MOBILE-PLUS (576–767px)
   CENTERED COLUMN + LEFT TEXT
   =============================== */
@media (min-width: 576px) and (max-width: 767px) {

  /* Main section — true center */
  .slide4 {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;

    padding-left: 2px !important;   /* 👈 gentle right shift */
    gap: 14px !important;
  }

  /* Text column — centered, slightly shifted */
  .slide4-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 360px !important;

    margin: 0 auto !important;

    text-align: left !important;
  }

  /* Heading */
  .admission-title {
    width: 100%;
    text-align: left !important;
    margin-bottom: 12px !important;
  }

  .admission-title span {
    display: block !important;
    text-align: left !important;
    font-size: 60px !important;   /* slightly larger than mobile */
    line-height: 1.05 !important;
  }

  /* Tagline */
  .admission-tagline {
    width: 100%;
    text-align: left !important;

    font-size: 15px !important;
    line-height: 1.45 !important;
    margin-bottom: 16px !important;
  }

  /* Buttons — aligned with text */
  .slide4-actions {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .slide4-btn {
    width: auto !important;
    font-size: 14px !important;
    border-radius: 22px !important;
  }

  /* Image — still visible in this range */
  .slide4-image {
    display: none;
   
  }
}


/* ===============================
   SLIDE 4 – SIDE BY SIDE (768–1023px)
   IMAGE BESIDE TEXT (TOP CROPPED)
   =============================== */
@media (min-width: 768px) and (max-width: 1023px) {

  /* Main container */
  .slide4 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    padding-left: 5px !important;   /* 👈 gentle left padding */
    gap: 24px !important;
  }

  /* LEFT: Text with left padding */
  .slide4-content {
    flex: 1 !important;
    max-width: 55% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    text-align: left !important;
    padding-left: 2px !important;   /* 👈 gentle left padding */
  }

  /* Heading */
 .admission-title {
    width: 100%;
    text-align: left !important;
    margin-bottom: 12px !important;
  }

  .admission-title span {
    display: block !important;
    text-align: left !important;
    font-size: 40px !important;   /* slightly larger than mobile */
    line-height: 1.05 !important;
  }
  /* Tagline */
  .admission-tagline {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
    text-align: left !important;
  }

  /* Buttons */
  .slide4-actions {
    display: flex !important;
    gap: 14px !important;
    justify-content: flex-start !important;
  }

  .slide4-btn {
    padding: 11px 22px !important;
    font-size: 14.5px !important;
    border-radius: 24px !important;
  }

  /* RIGHT: Image at right corner */
   .slide4-image {
    flex: 1 !important;
    max-width: 45% !important;

    display: flex !important;
    justify-content: flex-end !important;
    overflow: hidden !important;   /* vertical crop only */
  }

  /* Image: width preserved, vertical crop only */
  .slide4-image img {
    width: 100% !important;        /* 🔒 FULL WIDTH – NEVER CROPPED */
    max-width: 100% !important;

    height: 280px !important;      /* 👈 taller height */
    
    object-fit: cover !important;  /* crop happens on height */
    object-position: center 35% !important; /* 👈 crop from TOP */

    transform: scale(1.06) !important;  /* 👈 gentle zoom */
  }
}

@media (min-width: 1024px) {

  .slide4-actions {
    display: flex !important;
    justify-content: center !important;  /* 👈 horizontal centering */
    align-items: center !important;      /* 👈 vertical alignment */
    gap: 16px !important;
    width: 100% !important;
  }
}

@media (max-width: 575px) {

  .hero {
    min-height: 60vh;
    padding: 30px 16px;
  }

  .hero-content {
    max-width: 100%;
  }

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

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

  .hero-buttons a {
    padding: 10px 18px;
    font-size: 14px;
  }
}

@media (min-width: 576px) and (max-width: 1023px) {

  .hero {
    min-height: 65vh;
    padding: 40px 30px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

/* ===============================
   RESPONSIVE: 0–700px
   =============================== */
@media (max-width: 400px) {

  /* ===============================
     ADMISSIONS PROCESS
     =============================== */
  .admissions-process {
    padding: 40px 16px;
    text-align: center;
  }

  .admissions-process h2 {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .process-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .line {
    display: none; /* hide horizontal connectors on mobile */
  }

  .step1 {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 320px;
    justify-content: flex-start;
  }

  .circle {
    width: 36px;
    height: 36px;
    font-size: 16px;
    flex-shrink: 0;
  }

  .step1 p {
    font-size: 15px;
    margin: 0;
    text-align: left;
  }

  /* ===============================
     PROGRAMS SECTION
     =============================== */
  .programs-section {
    padding: 40px 16px;
  }

  .programs-heading {
    font-size: 28px;
    margin-bottom: 26px;
  }

  .programs-vertical {
    gap: 18px;
  }

  .program-card {
    width: 100%;
    max-width: 100%;
    padding: 20px 18px;
    font-size: 15px;
  }

  .program-card h3 {
    font-size: 18px;
  }

  .program-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .programs-note {
    font-size: 15px;
    margin-top: 20px;
  }

  /* ===============================
     CAREER READINESS CARDS
     =============================== */
  .pgs {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .placement-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .program-cards {
    width: 100%;
    max-width: 100%;
    padding: 20px 18px;
    font-size: 14.5px;
  }

  .program-cards p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* ===============================
   ADMISSIONS PROCESS: 401–700px
   ONE ROW LAYOUT
   =============================== */
@media (min-width: 401px) and (max-width: 700px) {

  .process-container {
    display: flex;
    flex-direction: row;          /* 👈 ONE ROW */
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;            /* 👈 force single row */
    
  }

  .step1 {
    flex-direction: column;       /* number above text */
    align-items: center;
    text-align: center;

    width: auto;
    min-width: 70px;
  }

  .circle {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .step1 p {
    font-size: 13px;
    margin-top: 6px;
    text-align: center;
    white-space: nowrap;          /* keeps text tidy */
  }

  /* Lines between steps */
  .line {
    display: block;
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.35);
    margin: 0 4px;
  }
}

@media (min-width: 350px) and (max-width: 700px) {

  .slide1-container {
    flex-direction: column;
    padding: 55px 18px 20px 18px;
    text-align: center;
  }

  /* Reduce gap between text elements */
  .slide1-text > * {
    margin: 5px 0;   /* very tight spacing */
  }

  .slide1-title {
    font-size: clamp(17px, 4vw, 22px);
    line-height: 1.25;
    font-weight: 600;
  }

  .slide1-desc {
    font-size: clamp(12px, 3.2vw, 15px);
    line-height: 1.45;
  }

  .slide1-tagline {
    font-size: clamp(13px, 3.5vw, 16px);
    margin: 6px 0;
  }

  .slide1-btn {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 22px;
    margin-top: 6px;
  }

  /* 🔥 Smaller Image */
  .slide1-image {
    width: 50%;        /* reduced from 75–80% */
    margin: 12px auto 0;  /* very small gap from button */
  }

  .slide1-image img {
    width: 60%;
    height: auto;
    border-radius: 12px;
  }
}


