/* ===========================================
   body-style.css (CLEANED + OPTIMIZED VERSION)
   =========================================== */

/* ---------- Root Variables ---------- */
:root {
  /* Layout */
  --container-width: 1280px;
  --section-spacing: 80px;
  --content-spacing: 32px;
  --component-spacing: 24px;

  /* Colors */
  --bg-primary: #f5f5f5;
  --bg-secondary: #ffffff;
  --text-primary: #222;
  --text-muted: #666;
  --text-light: #fff;

  /* Gradients and Branding */
  --grad-1: linear-gradient(90deg, #ffac00, #ff6a00);
  --primary: #551B8C;
  --border: rgba(255, 255, 255, 0.12);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Cards */
  --gap: 20px;
  --card-height: 420px;
  --transition: 450ms cubic-bezier(.2, .9, .2, 1);
  --img-1: url('assets/img/bg2/why us bg.png');
  --img-2: url('assets/img/bg2/clubs-councils bg.jpg');
  --img-3: url('assets/img/bg2/skill based bg.avif');
  --img-4: url('assets/img/bg2/campus bg.webp');
}

/* ---------- Global Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito Sans', 'Poppins', system-ui;
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--component-spacing);
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
}

.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0;
}


/*Header*/

/* Overlays for background */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9998;
}

.mobile-menu-overlay.active {
  display: block;
}

/* MAIN MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 350px;
  height: 100vh;
  background: #ffffff;
  padding: 20px;
  transition: 0.35s ease;
  z-index: 9999;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
}

/* Slide-in active state */
.mobile-menu.active {
  left: 0;
}

/* MENU HEADER */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-logo {
  height: 50px;
}

/* CLOSE BUTTON CIRCLE (Like Screenshot) */
.close-mobile-menu {
  width: 45px;
  height: 45px;
  background: #006D4D;
  /* green circle */
  color: white;
  border-radius: 50%;
  border: none;
  font-size: 28px;
  font-weight: bold;
  line-height: 45px;
  text-align: center;
  cursor: pointer;
}

/* MENU ITEMS */
.mobile-menu-list {
  margin-top: 25px;
  list-style: none;
  padding: 0;
}

.mobile-menu-list li {
  border-bottom: 1px solid #eee;
  padding: 18px 0;
}

.mobile-menu-list li a {
  text-decoration: none;
  font-size: 18px;
  color: #151515;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

/* ARROW ICON LIKE SCREENSHOT */
.mobile-menu-list li a span {
  font-size: 20px;
  color: #555;
}


/* Search Icon Button */
.icon-btn {
  background: #ffac00;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: white;

}

/* Search Box Styling */
.searchBox {
  position: absolute;
  top: 70px;
  right: 20px;
  width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  padding: 0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

/* When Active: Open Search Box */
.searchBox.active {
  width: 250px;
  opacity: 1;
  padding: 8px 12px;
  pointer-events: auto;
}

/* Input box */
.searchBox input {
  width: 100%;
  border: none;
  outline: none;
  padding: 8px;
  font-size: 16px;
}

/* Close (X) button */
.closeSearch {
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #666;
}



/*slider*/

/* ------------------------------------
   HERO SLIDER (FULL UPDATED CSS)
------------------------------------- */

/* MAIN SLIDER CONTAINER */
.hero-slider {
  position: relative;
  width: 100%;
  min-height: 40vh;
  overflow: hidden;
  margin-top: 50px;
}

/* SLIDER TRACK */
.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

/* SLIDE ITEM */
.slide-item {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-item img {
  width: 90%;
  height: auto;
  object-fit: contain;
}



/* ------------------------------------
   DOTS
------------------------------------- */
.slider-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 15;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bbbbbb;
  opacity: 0.7;
  transition: 0.3s ease;
}

.slider-dots .active {
  background: #ffffff;
  opacity: 1;
  transform: scale(1.2);
}



/* ------------------------------------
   PREV/NEXT BUTTONS (DESKTOP)
------------------------------------- */
.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
}

.prev-btn img,
.next-btn img {
  width: 22px;
  height: auto;
}

.prev-btn {
  left: 15px;
}

.next-btn {
  right: 15px;
}

.prev-btn:hover,
.next-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}



/* ------------------------------------
   RESPONSIVE (TABLET)
------------------------------------- */
@media (max-width: 1024px) {
  .hero-slider {
    min-height: 50vh;
    margin-top: 100px;
  }
}



/* ------------------------------------
   RESPONSIVE (MOBILE)
   - Auto slide ON
   - Buttons OFF
   - No manual scroll
------------------------------------- */
@media (max-width: 768px) {

  /* Hide arrow buttons on mobile */
  .prev-btn,
  .next-btn {
    display: none !important;
  }

  /* Prevent manual swipe/drag */
  .hero-slider {
    overflow: hidden !important;
  }

  /* Mobile image size */
  .slide-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
  }

  .hero-slider {
    min-height: 30vh;
    margin-top: 70px;
  }
}



/* ------------------------------------
   SMALL MOBILE
------------------------------------- */
@media (max-width: 480px) {
  .hero-slider {
    min-height: 25vh;
  }
}



/* ---------- Cards Section ---------- */
.wrap {
  display: flex;
  overflow-x: auto;
  width: 100vw;
  scroll-snap-type: x mandatory;
  padding: 0;
  margin: 0;
  gap: 0;
}

.wrap::-webkit-scrollbar {
  display: none;
}

/* CARD */
.wrap .card {
  position: relative;
  flex: 0 0 25%;
  /* Desktop → 4 cards */
  height: 500px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform .25s ease;
  border-radius: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

/* BACKGROUND IMAGE */
.card .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* OVERLAY */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.92;
  transition: opacity .25s ease;
}

/* DIAGONAL CUTS */
@media (min-width:1400px) {

  .c1::after,
  .c2::after,
  .c3::after,
  .c4::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px;
    background: inherit;
    opacity: 1;
    z-index: 1;
  }

}

.c1::after {
  bottom: -90px;
  transform: skewY(-8deg);
}

.c2::after {
  bottom: -35px;
  transform: skewY(-8deg);
}

.c3::after {
  bottom: -35px;
  transform: skewY(8deg);
}

.c4::after {
  bottom: -90px;
  transform: skewY(8deg);
}

/* CONTENT */
.card .content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card h3 {
  font-size: 25px;
  margin-bottom: 10px;
  color: white;
}

.card .content img {
  width: 90px;
  margin: 10px auto 16px;
}

.card p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #fff;
}

.card .btn {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #000;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.card .btn:hover {
  background: #FDD835;
  transform: translate(-50%, -2px);
}

/* OVERLAY COLORS */
.card.c1::before {
  background: rgba(6, 89, 172, 0.95);
}

.card.c2::before {
  background: rgba(223, 32, 118, 0.95);
}

.card.c3::before {
  background: rgba(248, 152, 28, 0.95);
}

.card.c4::before {
  background: rgba(101, 56, 173, 0.95);
}

/* 📱 MOBILE — 1 CARD PER VIEW */
@media (max-width: 768px) {

  .wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    margin-bottom: 30px;
  }

  .wrap .card {
    flex: 0 0 100% !important;
    /* FULL WIDTH */
    width: 100% !important;
    /* FULL WIDTH */
    max-width: 100% !important;
    /* STOP SHRINK BUG */
    height: 0px !important;
    /* FIX HEIGHT ISSUE */
    border-radius: 0;
  }

  .wrap .card .content img {
    width: 40px;
    justify-content: center;
  }

  .wrap .card .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .card .btn {
    bottom: 10px;
    width: 80%;
  }
}

/* 📟 TABLET — 2 CARDS PER VIEW */
@media (min-width: 769px) and (max-width: 1024px) {
  .wrap .card {
    flex: 0 0 50vw;
  }
}

/* ======================================
   MAIN WRAPPER — 2 COLUMN DESKTOP LAYOUT
====================================== */
.news-layout {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  /* LEFT = NEWS, RIGHT = GALLERY */
  gap: 30px;
  align-items: start;
}


/* ======================================
   LEFT SIDE — NEWS BLOCK
====================================== */
.news-section {
  background: #fff;
  padding: 20px 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  max-height: 500px;
  /* Scrollable news box */
  overflow-y: auto;
}

.news-section h2 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Single News Item */
.news-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

/* Date Box */
.date-box {
  width: 65px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  border-radius: 4px;
  margin-right: 15px;
}

.news-content h4 {
  font-size: 16px;
  color: #000;
}

.news-content p {
  font-size: 13px;
  color: #555;
}



/* ======================================
   RIGHT SIDE — GALLERY BLOCK
====================================== */
.gallery-section {
  background: #E34073;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
}

/* Gallery Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2x2 grid */
  gap: 10px;
  padding-top: 20px;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  transition: .25s ease;
}

/* Hover Zoom */
.gallery img:hover {
  transform: scale(1.05);
}

/* Button */
.explore-btn {
  margin-top: 20px;
  background: white;
  color: black;
  padding: 10px 25px;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
}

.explore-btn:hover {
  background: #ffac00;
}



/* ======================================
   📱 MOBILE (0–768px)
   STACK NEWS + GALLERY VERTICALLY
====================================== */
@media (max-width: 768px) {

  .news-layout {
    grid-template-columns: 1fr;
    /* Stacked */
    gap: 25px;
  }

  /* News becomes auto height */
  .news-section {
    max-height: none;
    overflow-y: visible;
  }

  /* Gallery becomes 1 column */
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 180px;
  }
}



/* ======================================
   📲 TABLET (768–1024px)
====================================== */
@media (min-width: 768px) and (max-width: 1024px) {

  .news-layout {
    grid-template-columns: 1fr;
    /* Stacked vertically */
  }

  /* Keep gallery 2 columns on tablet */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}


/*welcome section*/
.welcome-section {

  text-align: center;
}

.welcome-section h3 {
  font-size: 28px;
  color: #1a685b;
  margin-bottom: 20px;
}

.welcome-section p {
  font-size: 16px;
  /* color: #333; */
  max-width: 800px;
  margin: 0 auto;
}

.welcome-content span {
  color: #ffac00;
  font-weight: 700;
}

/* ---------- Achievements Section ---------- */
.achievements-section {
  text-align: center;
  padding: 50px 20px;
}

.achievements-section h2 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1a685b;
  white-space: nowrap;
}

/* MAIN STUDENT (TOP CARD) */
.main-student {
  background: #ffac00;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto 50px;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-student img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.main-student h3 {
  font-size: 30px;
  color: #1a685b;
}

.main-student p {
  font-size: 16px;
  color: #1a1a1a;
}


/* ---------- DESKTOP GRID (unchanged) ---------- */
.students-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.student-card {
  background: #1a685b;
  width: 230px;
  border-radius: 6px;
  text-align: center;
  padding: 20px 10px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.student-card:hover {
  transform: translateY(-6px);
  border: 2px solid orange;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.student-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.student-card h4 {
  font-size: 16px;
  color: #ffac00;
}

.student-card p {
  font-size: 13px;
  color: white;
}



/* =========================================================
   📱 MOBILE (≤ 768px) → 2×2 GRID
========================================================= */
@media (max-width: 768px) {

  .achievements-section h2 {
    font-size: 28px;
    white-space: nowrap;
  }

  /* Top student smaller */
  .main-student img {
    width: 150px;
    height: 150px;
  }

  .main-student h3 {
    font-size: 22px;
  }

  /* ⭐ Convert to 2-column grid */
  .students-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 15px;
    justify-items: center;
  }

  .student-card {
    width: 170px;
    padding: 15px 10px;
  }

  .student-card img {
    width: 85px;
    height: 85px;
  }

  .student-card h4 {
    font-size: 14px;
  }

  .student-card p {
    font-size: 12px;
  }
}



/* =========================================================
   📱 SMALL MOBILE (≤ 480px) → 2×2 compact
========================================================= */
@media (max-width: 480px) {

  .achievements-section h2 {
    font-size: 22px;
  }

  .students-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .student-card {
    width: 150px;
    padding: 12px 8px;
  }

  .student-card img {
    width: 75px;
    height: 75px;
  }
}

/* ---------- Placement Section ---------- */
.placement-section {
  text-align: center;
}

.placement-section h2 {
  font-size: 40px;
  font-weight: 700;
  color: #1a685b;
  white-space: nowrap;
  /* Prevents 2-line break */
  margin-top: 50px;
}

/* 📱 MOBILE FIX */
@media (max-width: 768px) {
  .placement-section h2 {
    font-size: 26px;
    /* smaller so it fits */
    white-space: nowrap;
    /* force single line */
  }
}

/* 📱 SMALL MOBILE */
@media (max-width: 480px) {
  .placement-section h2 {
    font-size: 22px;
    /* fits all devices */
    white-space: nowrap;
  }
}


/* Logo Slider */
/* ============================
   AUTO SLIDER (DESKTOP)
============================ */

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  background: #ffffff;
  padding: 40px 0;
  white-space: nowrap;
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: flex;
  gap: 45px;
  animation: slide 20s linear infinite;
  /* Auto slide for desktop */
}

.logos-slide img {
  flex: 0 0 5em;
  height: 100px;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: 0.3s ease;
  width: auto;
  border-radius: 10%;
}


/* ============================
   📱 MOBILE MODE → MANUAL SLIDER
============================ */

@media (max-width: 768px) {

  /* Disable auto animation */
  .logos-slide {
    animation: none !important;
    transform: none !important;
    gap: 20px;
  }

  /* Enable manual scroll */
  .logos {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  /* Hide scrollbar */
  .logos::-webkit-scrollbar {
    display: none;
  }

  .logos-slide img {
    height: 70px;
  }
}


/* MAIN CONTAINER */
.placement-carousel {
  width: 100%;
  /* Increased padding to avoid cut */
  background: #fff;
  margin: 5px;
  overflow: visible !important;
  /* Ensure no cutting */
  position: relative;
  z-index: 4;
}

/* SLIDER WRAPPER */
.placement-carousel .slider {
  display: flex;
  align-items: center;
  overflow: visible !important;
  /* FIX HOVER CUT */
  position: relative;
  padding-top: 30px;
  /* Space for hover expansion */
  padding-bottom: 30px;
  /* Space for hover expansion */
}

/* SLIDE TRACK (Desktop Auto Scroll) */
.placement-carousel .slide-track {
  display: flex;
  gap: 20px;
  animation: scrollAnim 35s linear infinite;
  padding-top: 20px;
  /* Extra headroom */
  padding-bottom: 20px;
}

/* CARD DESIGN */
.place-card {
  min-width: 320px;
  max-width: 260px;
  background: white;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease-in-out;
  height: 450px;
  border: 2px solid #ffac00;
  position: relative;
  z-index: 1;
}

/* HOVER EFFECT — FIXED (No Cutting Anymore) */
.place-card:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  z-index: 50 !important;
  /* Bring to top */
}

/* CARD IMAGE */
.place-card img {
  width: 100%;
  height: 220px;
  border-radius: 14px;
  object-fit: cover;
}

/* TEXT */
.place-card h3 {
  color: #1a237e;
  font-size: 22px;
  font-weight: 700;
}

.place-card h4 {
  color: #3949ab;
  font-size: 16px;
}

.place-card p {
  color: #455a64;
  font-size: 15px;
}

/* AUTO SLIDE KEYFRAMES */
@keyframes scrollAnim {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------
   📱 MOBILE — MANUAL SLIDER
   -------------------------------------------- */
@media (max-width: 768px) {

  /* Manual swipe scroll */
  .placement-carousel .slider {
    overflow-x: scroll !important;
    overflow-y: visible !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
  }

  /* Hide scrollbar */
  .placement-carousel .slider::-webkit-scrollbar {
    display: none;
  }

  /* Disable auto animation */
  .placement-carousel .slide-track {
    animation: none !important;
    flex-wrap: nowrap;
    gap: 16px;
    width: max-content;
  }

  /* Mobile card size */
  .placement-carousel .place-card {
    min-width: 260px;
    max-width: 260px;
    height: auto;
    padding: 18px;
  }
}

/* ---------- News & Gallery layout ---------- */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
  padding: 40px var(--content-spacing);
  max-width: var(--container-width);
  margin: 0 auto;
}

.news-section {
  background: transparent;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.news-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.date-box {
  text-align: center;
  width: 64px;
}

.date-box h3 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
}

.gallery-section .gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-section .gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

/* Header and Nav bar fully overlap slider1 */
.th-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}

.sticky-wrapper {
  position: relative;
  z-index: 100 !important;
}

.internship-slider-section {
  padding-top: 0;
}




/*---------Counter--------------*/
/* ================================
   ⭐ STATS SECTION
================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Updated for 4 counters */
  gap: 20px;
  text-align: center;
  padding: 40px 20px;
  background: #ffac00;
  color: #fff;
  font-family: sans-serif;
}

.stat-box {
  padding: 15px 10px;
  border-radius: 12px;
  font-weight: 900;
}

/* Number */
.stat-box .counter {
  font-weight: 900;
  color: white;
  font-size: 3rem;
}

/* BIGGER + SIGN */
.stat-box .plus-sign {
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  margin-left: 4px;
}

.stat-box p {
  margin-top: 5px;
  font-size: 1.1rem;
  color: white;
  font-weight: 700;
  opacity: 0.95;
}


/* 📱 MOBILE (max 600px) — 1 column */
@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr;
    padding: 30px 10px;
    gap: 25px;
  }

  .stat-box .counter {
    font-size: 2.4rem;
  }

  .stat-box .plus-sign {
    font-size: 2.4rem;
  }

  .stat-box p {
    font-size: 1rem;
  }
}


/* 📟 TABLET (600px → 1024px) — 2 columns */
@media (min-width: 601px) and (max-width: 1024px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 35px 20px;
    gap: 30px;
  }

  .stat-box .counter {
    font-size: 2.8rem;
  }

  .stat-box .plus-sign {
    font-size: 2.8rem;
  }
}


/* ================================
   ⭐ RESPONSIVE NEWS/GALLERY WRAPPER
================================ */
@media (max-width: 1200px) {
  .news-layout {
    grid-template-columns: 1fr 360px;
    padding: 32px 20px;
  }
}

@media (max-width: 1024px) {
  .news-layout {
    grid-template-columns: 1fr;
    padding: 28px 18px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .gallery-section .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .news-layout {
    gap: 18px;
  }

  .card {
    flex: 0 0 260px;
  }

  .students-grid {
    flex-direction: column;
    align-items: center;
  }

  .gallery-section .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .card {
    flex: 0 0 220px;
  }

  .gallery-section .gallery {
    grid-template-columns: 1fr;
  }

  .slider {
    height: auto;
  }
}


/* Internship slider center */
#internship-slider {
  display: flex;
  justify-content: center;
  align-items: center;
}

#internship-slider .slider {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  display: block;
}


/* Small viewports images */
@media (max-width: 520px) {
  .start-img img {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .start-img img {
    animation: none !important;
    transition: none !important;
  }
}


/* ================================
   ⭐ EXTRA FOOTER SPACING ON MOBILE
================================ */
@media (max-width: 768px) {

  footer {
    margin-top: 40px !important;
    padding-top: 20px;
  }

  .stats,
  .news-layout,
  .gallery-section,
  .achievements-section,
  .placement-carousel {
    margin-bottom: 35px !important;
  }
}


/* ---------- Auto Slider (Slider 1) ---------- */