/* Top links css */

.link-columns {
  list-style: none;
  padding: 0;
  margin: 0.5em 0;
  display: grid;
  gap: 0.5em;
}

@media (max-width: 599px) {
  .link-columns {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 600px) and (max-width: 991px) {
  .link-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .link-columns {
    grid-template-columns: repeat(4, 1fr);
  }
}

.link-columns li {
  display: flex;
}

.link-columns a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

/* recruiter logos */

.logo-section {
  padding: 40px 20px;
  background: #f8f9fa;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* Desktop */
  gap: 24px;
}

/* SAME SIZE BOX */
.logo-item {
  height: 140px; /* Fixed height */
  background: #fff;
  border-radius: 10px;
  display: flex; /* Center logo */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* LOGO CONTROL */
.logo-item img {
  max-width: 80%;
  max-height: 70%;
  object-fit: contain;
  filter: grayscale(0);
  transition: 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(100%);
  transform: scale(1.05);
}

/* Tablet – 3 columns */
@media (max-width: 992px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile – 2 columns */
@media (max-width: 576px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* youtube videos */

.video-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Responsive 16:9 Ratio */
.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tablet */
@media (max-width: 991px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* IAS Collab CSS */

.image-grid-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Desktop */
  gap: 25px;
}

/* Tablet */
@media (max-width: 992px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.grid-item:hover {
  transform: translateY(-6px);
}

.grid-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.grid-item h3 {
  font-size: 1rem;
  margin: 15px 0 20px;
  color: #000;
}

/* Multiple CSS for Blog , event sections */
.blog-section {
  padding: 30px 0px;
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

/* Link */
.blog-link {
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image */
.blog-img {
  position: relative;
}

.blog-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Date */
.blog-date {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #000;
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
}

/* Content */
.blog-content {
  padding: 18px;
  flex-grow: 1;
}

.blog-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-img img {
    height: 180px;
  }
}

/* image grid css carousal css */

.gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.gallery.grid .gallery-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5em;
}

.gallery.carousel .gallery-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 0.5em;
}

.gallery.carousel .img-box {
  min-width: 25%;
}

/* Image */
.img-box {
  overflow: hidden;
  border-radius: 8px;
}

.img-box img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.img-box img:hover {
  transform: scale(1.08);
}

/* Buttons */
.navbtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 10px 14px;
  cursor: pointer;
  display: none;
}

.gallery.carousel .navbtn {
  display: block;
}

.iconprev {
  left: 10px;
}
.iconnext {
  right: 10px;
}

/* Tablet */
@media (max-width: 992px) {
  .gallery.grid .gallery-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery.carousel .img-box {
    min-width: 33.33%;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .gallery.grid .gallery-track {
    grid-template-columns: 1fr;
  }

  .gallery.carousel .img-box {
    min-width: 100%;
  }

  .navbtn {
    display: none;
  }
}

/* ===== BUTTON BASE ===== */
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #0f172a;
  color: #ffffff;
  font-weight: 600;
  border-radius: 6px;
  padding: clamp(10px, 1vw, 14px) clamp(18px, 2vw, 28px);
  font-size: clamp(14px, 1.2vw, 18px);
  transition: all 0.3s ease;
  border: 1px solid #0f172a;
}

/* ===== HOVER ===== */
@media (hover: hover) {
  .btn-link:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #0f172a;
    text-decoration: none;
  }
}

/* ===== ACTIVE ===== */
.btn-link:active {
  transform: scale(0.96);
}

/* ===== MOBILE FULL WIDTH (OPTIONAL) ===== */
@media (max-width: 480px) {
  .btn-link.full {
    width: 100%;
  }
}

/* ===== NOTE SECTION BACKGROUND ONLY ===== */
.note-section {
  background: #f8fafc;
  padding: clamp(16px, 4vw, 50px);
}

/* ===== CONTAINER ===== */
.note-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== NOTE BOX ===== */
.note-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border-left: 6px solid #0f172a;
  padding: clamp(14px, 2vw, 24px);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ===== ICON ===== */
.note-icon {
  font-size: clamp(22px, 2vw, 30px);
  color: #0f172a;
  line-height: 1;
}

/* ===== TEXT ===== */
.note-content {
  color: #1e293b;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.6;
}

.note-content strong {
  color: #0f172a;
}

/* ===== MOBILE STACK ===== */
@media (max-width: 480px) {
  .note-box {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== ABOUT SECTION HOME PAGE ===== */
.about-section {
  background: #f8fafc;
  padding: 30px 0;
}

.about-content {
  background: #ffffff;
  padding: clamp(18px, 3vw, 40px);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-content p {
  color: #334155;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-mid-image {
  margin: 30px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.about-mid-image img.desktop-img {
  width: 100%;
  aspect-ratio: 4 / 1; /* 1600x400 */
  object-fit: cover;
  display: block;
}

.about-mid-image img.mobile-img {
  display: none;
  width: 100%;
  aspect-ratio: 1 / 1; /* 1600x1600 */
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-mid-image img.desktop-img {
    display: none;
  }
  .about-mid-image img.mobile-img {
    display: block;
  }
}

/* ===== SCHOOL CARD CSS SECTION ===== */
.card-section {
  padding: 30px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.card-item-lv {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.card-item-lv:hover {
  transform: translateY(-6px);
}

.card-item-lv img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.card-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.1)
  );
  z-index: -1;
}

.card-text-lv {
  width: 100%;
  padding: 18px 14px;
  text-align: center;
  min-height: 72px;
}

.card-text-lv h4 {
  font-size: clamp(14px, 1.1vw, 20px);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  white-space: normal;
  word-break: break-word;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
