*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}
/* NAVBAR */
.navbar {
  width: 100%;
  padding: 12px 25px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  position: relative;
  z-index: 999;
}

/* LOGO */
.logo-link { text-decoration: none; }
.logo-box { display: flex; align-items: center; gap: 10px; }
.logo-box img { width: 52px; }
.logo-text h2 { font-size: 18px; color: #00a8ff; }
.logo-text p { font-size: 13px; color: #555; }

/* NAV LINKS (DESKTOP) */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  background: #05b4ff;
  padding: 12px 22px;
  border-radius: 12px;
}

.nav-links li a,
.dropdown-btn {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* DROPDOWNS (Our Projects + Mandatory Disclosure) */
.dropdown-item {
  position: relative;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-menu {
  position: absolute;
  top: 45px;
  left: 0;
  background: #fff;
  list-style: none;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: none;
  z-index: 1000;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 16px;
  color: #333;
  font-size: 14px;
}

.dropdown-menu li a:hover {
  background: #05b4ff;
  color: #fff;
}

.dropdown-menu.show {
  display: block;
}

/* SCHOLARSHIP BUTTON */
.scholar-desktop {
  background: #00a8ff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILE SCHOLAR */
.mobile-scholar { display: none; }

/* ================= MOBILE VIEW ================= */
@media (max-width: 900px) {
  .hamburger { display: block; }

  .nav-links {
    position: fixed;
    top: 88px;
    left: -100%;
    width: 100%;
    height: auto;
    background: #05b4ff;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    transition: 0.4s ease;
    border-radius: 0;
  }

  .nav-links.active { left: 0; }
  .nav-links li { margin: 1px 0; }

  .nav-links li a,
  .dropdown-btn {
    font-size: 17px;
    padding: 6px 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    width: 90%;
    margin-top: 6px;
  }

  .scholar-desktop { display: none; }
  .mobile-scholar { display: block; margin-top: 10px; }

  .mobile-scholar-btn {
    background: #fff;
    color: #05b4ff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
  }
}



/* ===== Footer Section ===== */


.footer {
  position: relative;
  background: linear-gradient(135deg, #003c5f, #007BFF);
  color: #fff;
  padding: 60px 20px 30px;
  overflow: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-about,
.footer-programs,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
  margin: 20px;
  min-width: 250px;
}

.footer-about h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Social Icons */
.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  margin-right: 12px;
  color: #fff;
  font-size: 1.1rem;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #ffcc00;
  transform: translateY(-3px);
}

.footer-programs h3,
.footer-links h3,
.footer-contact h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  border-left: 4px solid #ffcc00;
  padding-left: 10px;
}

.footer-programs ul,
.footer-links ul {
  list-style: none;
}

.footer-programs ul li,
.footer-links ul li {
  margin-bottom: 10px;
}

.footer-programs ul li a,
.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-programs ul li a:hover,
.footer-links ul li a:hover {
  color: #ffcc00;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 1rem;
}

.footer-contact i {
  margin-right: 8px;
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}

.footer-bottom a {
  color: #ffcc00;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Floating Dot Effect */
.footer-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, rgba(255, 255, 255, 0.2));
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.07s ease-out;
  z-index: 1;
  opacity: 0;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.footer:hover .footer-dot {
  opacity: 1;
}

/* Responsive Design - Improved for Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: left;
    gap: 15px; /* Add small gap instead of big margins */
  }

  .footer-about,
  .footer-programs,
  .footer-links,
  .footer-contact {
    margin: 10px 0; /* Reduce vertical margin */
    flex: 1 1 auto;
  }

  .footer-about h2 {
    font-size: 1.5rem;
  }

  .footer-about p,
  .footer-contact p,
  .footer-programs ul li a,
  .footer-links ul li a {
    font-size: 0.95rem; /* Slightly smaller text for mobile */
  }

  .footer-programs h3,
  .footer-links h3,
  .footer-contact h3 {
    border: none;
    padding-left: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
  }

  .footer-social a {
    margin-right: 8px;
    font-size: 1rem;
  }

  .footer-bottom {
    text-align: left;
    font-size: 0.8rem;
    margin-top: 20px;
    padding-top: 10px;
  }
}


 /* Hero Section */
  .hero {
      width: 100%;
      height: 100vh;
      height: 100dvh; /* fixes mobile browser address-bar jump */
      position: relative;
      overflow: hidden;
      background: #111;
  }
 
  /* Slide */
  .slide {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      visibility: hidden;
      z-index: 1;
      transition: opacity 0.8s ease, visibility 0.8s ease;
  }
 
  /* Active Slide */
  .slide.active {
      opacity: 1;
      visibility: visible;
      z-index: 2; /* keeps the incoming slide above the outgoing one during crossfade */
  }
 
  /* Image */
  .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      user-select: none;
      -webkit-user-drag: none;
  }
 
  /* Buttons */
  .prev, .next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 50px;
      height: 50px;
      border: none;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.5);
      color: white;
      font-size: 28px;
      cursor: pointer;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.3s;
  }
 
  .prev:hover, .next:hover { background: rgba(0, 0, 0, 0.8); }
  .prev:focus-visible, .next:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
 
  .prev { left: 25px; }
  .next { right: 25px; }
 
  /* Dots (added so users on touch devices have a non-hover way to see position) */
  .dots {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 10;
  }
 
  .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      border: none;
      cursor: pointer;
      padding: 0;
      transition: 0.3s;
  }
 
  .dot.active { background: #fff; width: 26px; border-radius: 6px; }
 
  /* Tablet */
  @media (max-width: 768px) {
      .prev, .next { width: 45px; height: 45px; font-size: 24px; }
      .prev { left: 15px; }
      .next { right: 15px; }
  }
 
  /* Mobile */
  @media (max-width: 480px) {
      .prev, .next { width: 38px; height: 38px; font-size: 20px; }
      .prev { left: 10px; }
      .next { right: 10px; }
      .slide img { object-position: center; }
      .dots { bottom: 14px; }
  }
 
  @media (prefers-reduced-motion: reduce) {
      .slide { transition: none; }
  }
  :root {
  --sky:           #2E9FE0;   /* primary sky blue accent */
  --sky-deep:      #0E6FA8;   /* deeper blue for hover / CTA */
  --sky-mist:      rgba(46, 159, 224, 0.14); /* faint tint for glow, quote bg */
  --ink:           #17293A;   /* primary text (no dark background anymore) */
  --ink-dim:       rgba(23, 41, 58, 0.68);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
}

.about {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  background: none;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 460px);
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

/* faint radiating glow behind the whole section, like a clear sky */
.about::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--sky-mist) 0%, rgba(46,159,224,0) 70%);
  transform: translateY(-50%);
  pointer-events: none;
}

/* ---------- Left: content ---------- */
.about-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sky-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow .rule {
  width: 28px;
  height: 1px;
  background: var(--sky-deep);
  opacity: 0.6;
}

/* the flame icon — lit once, flickers gently forever */
.flame-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.flame-icon path {
  animation: flicker 2.6s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes flicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  45%      { opacity: 0.88; transform: scale(0.97) translateY(1px); }
  60%      { opacity: 1; transform: scale(1.03); }
}

h1.about-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.22;
  color: var(--ink);
  max-width: 16ch;
  margin-bottom: 16px;
}

h1.about-title em {
  font-style: normal;
  color: var(--sky-deep);
}

.about-text {
  color: var(--ink-dim);
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 12px;
}

.about-quote {
  position: relative;
  margin: 18px 0;
  padding: 14px 18px 14px 18px;
  border-left: 2px solid var(--sky);
  background: var(--sky-mist);
  border-radius: 0 10px 10px 0;
  max-width: 48ch;
}

.about-quote p {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.45;
  color: var(--ink);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sky);
  color: #FFFFFF;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.cta-button:hover {
  background: var(--sky-deep);
  transform: translateY(-2px);
}

.cta-button:focus-visible {
  outline: 2px solid var(--sky-deep);
  outline-offset: 3px;
}

.cta-sub {
  color: var(--ink-dim);
  font-size: 0.85rem;
}

/* ---------- Right: video ---------- */
.about-video {
  position: relative;
  z-index: 2;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 460px;
  max-height: 580px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #05090F;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.about-video::after {
  /* thin sky-tinted frame */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(46, 159, 224, 0.4);
  pointer-events: none;
}

.about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(46, 159, 224, 0.28);
  border: 1.5px solid var(--sky);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(46, 159, 224, 0.45);
}

.video-play-btn svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
  margin-left: 3px; /* optical centering for the triangle */
}

.about-video.is-playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #FFFFFF;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.about-video.is-playing .video-caption { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about-video { aspect-ratio: 16 / 10; max-width: 100%; max-height: none; order: 2; }
  .about-content { order: 1; }
  .about-text, .about-quote { max-width: 100%; }
}

@media (max-width: 480px) {
  .about { padding: 28px 18px; }
  h1.about-title { max-width: none; }
  .cta-row { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .flame-icon path { animation: none; }
}

/* ================================
   Tribal Educational Development
================================ */

.tribal-education-section {
    width: 100%;
    padding: 90px 20px;
    background: linear-gradient(135deg, #eafaff 0%, #d8f5ff 100%);
    font-family: "Poppins", sans-serif;
    overflow: hidden;
}

.tribal-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading */

.tribal-heading {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.tribal-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 18px;
    border-radius: 30px;
    background: #ffffff;
    color: #009bd4;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.tribal-heading h2 {
    margin: 0 0 18px;
    color: #075985;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
}

.tribal-heading p {
    margin: 0;
    color: #416979;
    font-size: 16px;
    line-height: 1.8;
}

/* Main Content */

.tribal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

/* Image */

.tribal-image {
    position: relative;
    height: 540px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 139, 190, 0.16);
}

.tribal-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tribal-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 91, 130, 0.65),
        transparent 55%
    );
}

.tribal-image-box {
    position: absolute;
    z-index: 2;
    left: 25px;
    right: 25px;
    bottom: 25px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
}

.tribal-image-box strong {
    display: block;
    margin-bottom: 5px;
    color: #075985;
    font-size: 19px;
}

.tribal-image-box span {
    color: #527382;
    font-size: 13px;
}

/* Cards */

.tribal-details {
    display: grid;
    gap: 18px;
}

.tribal-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(0, 166, 220, 0.12);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 130, 170, 0.08);
    transition: 0.3s ease;
}

.tribal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 130, 170, 0.15);
}

.tribal-icon {
    min-width: 55px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #dff7ff;
    font-size: 25px;
}

.tribal-card h3 {
    margin: 0 0 7px;
    color: #075985;
    font-size: 18px;
}

.tribal-card p {
    margin: 0;
    color: #617d89;
    font-size: 14px;
    line-height: 1.7;
}

/* Bottom Stats */

.tribal-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.tribal-stat {
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 17px;
    border: 1px solid rgba(0, 166, 220, 0.12);
    transition: 0.3s ease;
}

.tribal-stat:hover {
    transform: translateY(-5px);
    background: #ffffff;
}

.tribal-stat span {
    display: inline-block;
    margin-bottom: 10px;
    color: #00a4d6;
    font-size: 13px;
    font-weight: 700;
}

.tribal-stat h4 {
    margin: 0 0 8px;
    color: #075985;
    font-size: 17px;
}

.tribal-stat p {
    margin: 0;
    color: #67828d;
    font-size: 13px;
    line-height: 1.6;
}

/* ================================
   Tablet
================================ */

@media (max-width: 992px) {

    .tribal-education-section {
        padding: 70px 20px;
    }

    .tribal-heading h2 {
        font-size: 36px;
    }

    .tribal-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tribal-image {
        height: 450px;
    }

    .tribal-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 45px;
    }
}

/* ================================
   Mobile
================================ */

@media (max-width: 600px) {

    .tribal-education-section {
        padding: 55px 15px;
    }

    .tribal-heading {
        margin-bottom: 35px;
    }

    .tribal-label {
        font-size: 11px;
        padding: 6px 14px;
    }

    .tribal-heading h2 {
        font-size: 28px;
    }

    .tribal-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .tribal-content {
        gap: 30px;
    }

    .tribal-image {
        height: 350px;
        border-radius: 18px;
    }

    .tribal-image-box {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 15px;
    }

    .tribal-image-box strong {
        font-size: 16px;
    }

    .tribal-card {
        padding: 17px;
        gap: 13px;
    }

    .tribal-icon {
        min-width: 45px;
        width: 45px;
        height: 45px;
        font-size: 20px;
        border-radius: 11px;
    }

    .tribal-card h3 {
        font-size: 16px;
    }

    .tribal-card p {
        font-size: 13px;
    }

    .tribal-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 35px;
    }

    .tribal-stat {
        padding: 20px;
    }
}

/* Small Mobile */

@media (max-width: 380px) {

    .tribal-heading h2 {
        font-size: 25px;
    }

    .tribal-image {
        height: 300px;
    }

    .tribal-card {
        align-items: flex-start;
    }
}


/* =========================================
   KALVIYIN KURAL
   ========================================= */

.kalviyin-kural-section {
    width: 100%;
    padding: 90px 20px;
    background: transparent;
    font-family: "Poppins", sans-serif;
}

.kalviyin-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* HEADING */

.kalviyin-heading {
    max-width: 850px;
    margin: 0 auto 65px;
    text-align: center;
}

.kalviyin-heading span {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #38a9e8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.kalviyin-heading h2 {
    margin: 0 0 18px;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 700;
    color: #087db5;
}

.kalviyin-heading h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 3px;
    margin: 18px auto 0;
    background: #55c5f2;
    border-radius: 10px;
}

.kalviyin-heading p {
    max-width: 780px;
    margin: 25px auto 0;
    font-size: 16px;
    line-height: 1.8;
    color: #667788;
}


/* INTRO */

.kalviyin-intro {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 60px;
}

.kalviyin-intro-content {
    max-width: 900px;
}

.kalviyin-small-title {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #3ab3e8;
}

.kalviyin-intro-content h3 {
    margin: 0 0 15px;
    font-size: 30px;
    color: #075f8c;
    line-height: 1.3;
}

.kalviyin-intro-content p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.8;
    color: #687987;
}

.kalviyin-intro-line {
    flex: 1;
    height: 1px;
    background: #b9e9fa;
}


/* PROGRAM GRID */

.kalviyin-programs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}


/* CARD */

.kalviyin-card {
    overflow: hidden;
    border: 1px solid #c9edf9;
    border-radius: 18px;
    background: transparent;
    transition: all 0.35s ease;
}

.kalviyin-card:hover {
    transform: translateY(-7px);
    border-color: #73cfee;
}


/* IMAGES */

.kalviyin-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
}

.college-image,
.program-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
}

.college-image img,
.program-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kalviyin-card:hover .college-image img,
.kalviyin-card:hover .program-image img {
    transform: scale(1.06);
}


/* IMAGE LABEL */

.college-image span,
.program-image span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 11px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    color: #087db5;
    font-size: 11px;
    font-weight: 600;
}


/* CARD CONTENT */

.kalviyin-card-content {
    padding: 25px;
}

.program-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 15px;
    border: 1px solid #9cdef5;
    border-radius: 50%;
    color: #0788c3;
    font-size: 13px;
    font-weight: 600;
}

.kalviyin-card-content h3 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.4;
    color: #075f8c;
}

.kalviyin-card-content h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #36aede;
}

.kalviyin-card-content p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.75;
    color: #6c7c88;
}


/* PROGRAM INFO */

.program-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.program-info div {
    padding: 8px 12px;
    border: 1px solid #d1eef8;
    border-radius: 8px;
    font-size: 12px;
    color: #71818c;
}

.program-info strong {
    color: #087db5;
}


/* BOTTOM */

.kalviyin-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 55px;
    padding: 28px 0;
    border-top: 1px solid #c9edf9;
    border-bottom: 1px solid #c9edf9;
}

.bottom-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #8dd8f3;
    border-radius: 50%;
    color: #1fa8dc;
    font-size: 28px;
    font-weight: 300;
}

.kalviyin-bottom h3 {
    margin: 0 0 7px;
    font-size: 20px;
    color: #075f8c;
}

.kalviyin-bottom p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6c7c88;
}


/* TABLET */

@media (max-width: 900px) {

    .kalviyin-kural-section {
        padding: 70px 20px;
    }

    .kalviyin-heading h2 {
        font-size: 38px;
    }

    .kalviyin-programs {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .kalviyin-kural-section {
        padding: 55px 15px;
    }

    .kalviyin-heading {
        margin-bottom: 45px;
    }

    .kalviyin-heading h2 {
        font-size: 32px;
    }

    .kalviyin-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .kalviyin-intro {
        display: block;
        margin-bottom: 40px;
    }

    .kalviyin-intro-content h3 {
        font-size: 24px;
    }

    .kalviyin-intro-content p {
        font-size: 14px;
    }

    .kalviyin-intro-line {
        display: none;
    }

    .kalviyin-programs {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .kalviyin-images {
        grid-template-columns: 1fr 1fr;
    }

    .college-image,
    .program-image {
        height: 160px;
    }

    .kalviyin-card-content {
        padding: 20px;
    }

    .kalviyin-card-content h3 {
        font-size: 19px;
    }

    .program-info {
        flex-direction: column;
    }

    .program-info div {
        width: 100%;
    }

    .kalviyin-bottom {
        align-items: flex-start;
        gap: 15px;
        margin-top: 40px;
    }

    .bottom-icon {
        width: 44px;
        height: 44px;
        font-size: 23px;
    }

    .kalviyin-bottom h3 {
        font-size: 17px;
    }

    .kalviyin-bottom p {
        font-size: 13px;
    }
}


/* SMALL MOBILE */

@media (max-width: 400px) {

    .kalviyin-heading h2 {
        font-size: 28px;
    }

    .kalviyin-images {
        grid-template-columns: 1fr;
    }

    .college-image,
    .program-image {
        height: 190px;
    }
}