/* From Uiverse.io by adamgiebl */
.custom-btn {
  font-size: 18px;
  display: inline-block;
  outline: 0;
  border: 0;
  cursor: pointer;
  will-change: box-shadow, transform;
  background: radial-gradient(100% 100% at 100% 0%, #89e5ff 0%, #5468ff 100%);
  box-shadow: 0px 0.01em 0.01em rgb(45 35 66 / 40%),
    0px 0.3em 0.7em -0.01em rgb(45 35 66 / 30%),
    inset 0px -0.01em 0px rgb(58 65 111 / 50%);
  padding: 0 2em;
  border-radius: 0.3em;
  color: #fff;
  height: 2.6em;
  text-shadow: 0 1px 0 rgb(0 0 0 / 40%);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.custom-btn:hover {
  box-shadow: 0px 0.1em 0.2em rgb(45 35 66 / 40%),
    0px 0.4em 0.7em -0.1em rgb(45 35 66 / 30%), inset 0px -0.1em 0px #3c4fe0;
  transform: translateY(-0.1em);
}

.custom-btn:active {
  box-shadow: inset 0px 0.1em 0.6em #3c4fe0;
  transform: translateY(0em);
}

:root {
  --primary-blue: #1a4f8b;
  --secondary-blue: #3a7cce;
  --accent-gold: #ffd700;
  --light-blue: #e8f1ff;
  --dark-text: #2d3748;
  --light-text: #718096;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
  /* font-family: "Poppins"; */
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
  background: #f8fafc;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
      135deg,
      rgba(26, 79, 139, 0.548) 0%,
      rgba(58, 125, 206, 0.27) 100%
    ),
    url("./img/unnamed.webp") no-repeat center center/cover;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 2rem;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' ... %3E");
  opacity: 0.5;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: fadeInDown 1.2s ease-out;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1.2s ease-out 0.3s both;
  font-weight: 300;
}

.hero-badge {
  display: inline-block;
  /* background: var(); */
  color: var(--accent-gold);
  padding: 0.5rem 1.5rem;
  /* border-radius: 50px; */
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-out 0.6s both;
  /* box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3); */
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 0.9s both;
}
.btn-primary-2 {
  background: linear-gradient(
    to right,
    var(--primary-blue),
    var(--secondary-blue)
  );
  color: var(--white);
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(58, 124, 206, 0.4);
}
.btn-primary-2:hover {
  background: linear-gradient(
    to right,
    var(--secondary-blue),
    var(--primary-blue)
  );
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(58, 124, 206, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeInUp 1s ease-out 1.2s both;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.scroll-indicator span {
  display: block;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
}

.background {
  background-color: #0d6efd38 !important;
}

/* About Section */
.about-section {
  padding: 2.5rem 0;
  background-color: var(--white);
  overflow: hidden;
}
.about-content {
  /* max-width: 900px; */
  margin: 0 auto;
  text-align: center;
}
.about-content h2 {
  color: var(--primary-blue);
  margin-bottom: 2.5rem;
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}
.about-content h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-blue),
    var(--secondary-blue)
  );
}
.about-content p {
  text-align: justify;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
.highlight {
  background: linear-gradient(
    120deg,
    var(--light-blue) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  color: var(--primary-blue);
  padding: 0 8px;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}
.highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 79, 139, 0.2);
}

/* Institutes Section */
.institutes-section {
  padding: 2.5rem 0;
  background: linear-gradient(to bottom, var(--light-blue) 0%, #f9fbff 100%);
}
.section-title {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--primary-blue);
}
.section-title h2 {
  font-weight: 800;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-blue),
    var(--secondary-blue)
  );
}
.section-title p {
  font-size: 1.2rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}
.institute-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  height: 100%;
  border: none;
}
.card-img-container {
  height: 220px;
  overflow: hidden;
}
.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.institute-card:hover .card-img-top {
  transform: scale(1.1);
}
.card-body {
  padding: 2rem;
}
.card-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.4rem;
}
.card-subtitle {
  color: var(--secondary-blue);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--light-blue);
  border-radius: 50px;
}
.card-text {
  color: var(--light-text);
  margin-bottom: 1.8rem;
  font-size: 1rem;
}
.btn-view {
  background: linear-gradient(
    to right,
    var(--primary-blue),
    var(--secondary-blue)
  );
  color: var(--white);
  border: none;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 5px 15px rgba(58, 124, 206, 0.3);
}
.btn-view:hover {
  background: linear-gradient(
    to right,
    var(--secondary-blue),
    var(--primary-blue)
  );
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 124, 206, 0.5);
}
.btn-view i {
  transition: var(--transition);
}
.btn-view:hover i {
  transform: translateX(4px);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Utility animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }
  .hero-content p {
    font-size: 1.3rem;
  }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero-content p {
    font-size: 1.2rem;
  }
  .card-body {
    padding: 1.5rem;
  }
}
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .stat-item {
    flex: 0 0 calc(50% - 1.5rem);
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary-2,
  .btn-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ✅ Fixed Achievements Section */

/* Background */
.achievements-section {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #f8fbff;
  color: #333;
}

/* Section */
.achievements {
  position: relative;
  padding: 60px 20px;
  overflow: hidden;
  text-align: center;
}

/* Floating blobs */
.achievements .background .blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(0, 123, 255, 0.15);
  filter: blur(100px);
  border-radius: 50%;
  z-index: 0;
  animation: floatBlob 12s ease-in-out infinite alternate;
}
.achievements .background .blob:nth-child(2) {
  bottom: -100px;
  right: -150px;
}
.achievements .background .blob:nth-child(3) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes floatBlob {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50px);
  }
}

/* ✅ Changed: Avoided clash with Institutes .section-title */
.achievements-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  color: #1a3c6e;
  position: relative;
  z-index: 2;
}
.achievements-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Grid */
/* .achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
} */

/* ✅ Changed: Scoped to achievements only */
.achievements-card {
  background: rgba(255, 255, 255, 0.769);
  border-radius: 16px;
  padding: 30px 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}
.achievements-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.achievements-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Icons */
.achievements-card i {
  font-size: 2.5rem;
  color: #1e5ef2;
  margin-bottom: 15px;
  display: block;
}

/* Numbers */
.achievements-card h3 {
  font-size: 1.6rem;
  color: #163d73;
  margin: 10px 0 5px;
  font-weight: 600;
}

/* Text */
.achievements-card p {
  font-size: 0.95rem;
  color: #5f6e85;
}

/*Approvals Section */
.approvals-section {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
  padding: 0 10%;
  padding-bottom: 2rem;
}

/* Heading */
.section-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2a44;
  text-transform: uppercase;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

/* Grid Layout */
.approvals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* always 3 per row */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card */
.approval-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

/* Logo */
.approval-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Text */
.approval-text {
  font-weight: 600;
  font-size: 1rem;
  color: #2e3a59;
}

/* Hover Effect */
.approval-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 90, 255, 0.2);
}

/* Reveal Animations */
.show-heading {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.show-card {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Responsive: 2 per row on tablets */
@media (max-width: 992px) {
  .approvals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 per row on mobiles */
@media (max-width: 576px) {
  .approvals-grid {
    grid-template-columns: 1fr;
  }
}

/* chairman section */
/* -------- Grid System (12 columns) -------- */
.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

.grid-col-12 {
  grid-column: span 12;
}
.grid-col-8 {
  grid-column: span 8;
}
.grid-col-4 {
  grid-column: span 4;
}

/* -------- Section Styling -------- */
.chairman-message {
  width: 100%;
  min-height: 100vh;
  padding: 20px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
}

.chairman-message.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Title */
.section-title h1 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #0056d2;
  position: relative;
}

.section-title h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #0056d2;
  margin: 12px auto 0;
  border-radius: 4px;
}

/* -------- Image -------- */
.chairman-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-frame {
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.photo-frame img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.photo-frame:hover {
  transform: scale(1.05);
}

/* -------- Text Content -------- */
.chairman-content small {
  display: block;
  text-transform: uppercase;
  color: #0056d2;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 10px;
}

.chairman-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  display: inline-block;
  position: relative;
}

.chairman-content h2::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: #0056d2;
  transition: width 0.4s ease-in-out;
  margin-top: 6px;
}

.chairman-content h2:hover::after {
  width: 100%;
}

.chairman-content h3 {
  font-style: italic;
  color: #0056d2;
  font-weight: 500;
  margin: 15px 0 20px;
}

.chairman-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
}

.chairman-content .closing {
  color: #e63946;
  font-weight: bold;
  font-size: 1.2rem;
}

/* -------- Responsive -------- */
@media (max-width: 900px) {
  .grid-col-4,
  .grid-col-8,
  .grid-col-12 {
    grid-column: span 12;
  }
  .chairman-content {
    text-align: center;
  }
}

/* explore campus section */
.campus-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

.campus-section h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #2563eb;
  margin-bottom: 10px;
}

.campus-section h3 {
  font-size: 36px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 50px;
}

.campus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.campus-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
}

/* Visible state triggered by JS */
.campus-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.campus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.campus-card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.campus-card:hover .campus-card-bg {
  transform: scale(1.1);
}

.campus-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  opacity: 1;
  transition: background 0.5s ease;
}

.campus-overlay h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.campus-overlay p {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

.campus-card:hover .campus-overlay {
  background: rgba(0, 0, 0, 0.75);
}

/* life at campus */
.life-campus {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

.life-campus h2 {
  font-size: 34px;
  font-weight: 800;
  color: #1d4ed8; /* Primary Blue */
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.life-campus h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #3b82f6; /* Accent Blue */
  margin: 10px auto 0;
  border-radius: 2px;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.life-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15); /* blue shadow */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
}

/* Scroll animation when visible */
.life-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.life-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

.life-card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.life-card:hover .life-card-bg {
  transform: scale(1.1);
}

.life-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #23306e, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
}

.life-overlay h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.life-overlay p {
  font-size: 13px;
  opacity: 0.9;
}

/* Our Premium Recruiters */
.section {
  padding: 0 20px 60px 20px;
  position: relative;
  overflow: hidden;
}
.section--muted {
  background: #eef5ff;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 2rem 0;
  color: #0056b3;
}
.recruiters-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.recruiters-container {
  overflow: visible; /* allow logos to scale beyond row */
  width: 100%;
}
.recruiters-row {
  display: flex;
  width: fit-content;
  gap: 20px;
  align-items: center;
}
.recruiters-row--left {
  animation: scroll-left 35s linear infinite;
}
.recruiters-row--right {
  animation: scroll-right 40s linear infinite;
}
.recruiters-row--left-slow {
  animation: scroll-left 45s linear infinite;
}

.recruiter-card {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  width: 180px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
}
.recruiter-card--hoverable:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.recruiter-card__img {
  max-height: 60px;
  max-width: 100%;
  display: block;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.recruiters-fade {
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}
.recruiters-fade--left {
  left: 0;
  background: linear-gradient(to right, #eef5ff, transparent);
}
.recruiters-fade--right {
  right: 0;
  background: linear-gradient(to left, #eef5ff, transparent);
}
.recruiters-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #333;
}

.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}
.show {
  opacity: 1;
  transform: translateY(0);
}
.fade-left {
  transform: translateX(-40px);
}
.fade-right {
  transform: translateX(40px);
}
.zoom {
  transform: scale(0.8);
}
.show.fade-left,
.show.fade-right,
.show.zoom {
  transform: translateX(0) scale(1);
  opacity: 1;
}

/* placement section */
:root {
  --lbg: #f8fbff;
  --primary: #2563eb;
  --accent: #3b82f6;
  --text-dark: #1e293b;
  --card-shadow: rgba(59, 130, 246, 0.15);
  --card-shadow-hover: rgba(37, 99, 235, 0.4);
  --marquee-duration: 28s;
}

.placement {
  padding: 48px 24px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.kicker {
  display: block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}
/* h1 {
  margin: 0 0 20px;
  font-size: 34px;
  text-align: center;
  color: var(--text-dark);
  font-weight: 800;
} */

.placement-row-outer {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
}
.placement-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
  z-index: 20;
}
.placement-fade--left {
  left: 0;
  background: linear-gradient(
    to right,
    var(--lbg) 20%,
    rgba(248, 251, 255, 0) 100%
  );
}
.placement-fade--right {
  right: 0;
  background: linear-gradient(
    to left,
    var(--lbg) 20%,
    rgba(248, 251, 255, 0) 100%
  );
}

.placement-track {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: nowrap;
  animation: marquee var(--marquee-duration) linear infinite;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Student Card */
.student-card {
  flex: 0 0 auto;
  min-width: 320px;
  max-width: 360px;
  background: #fff;
  border-radius: 14px;
  padding: 23px 18px;
  text-align: center;
  box-shadow: 0 8px 20px var(--card-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Hover magic */
.student-card:hover {
  transform: translateY(-10px) scale(1.05) rotateX(4deg);
  box-shadow: 0 14px 35px var(--card-shadow-hover);
}
.student-card:hover .student-photo img {
  transform: scale(1.1);
}
.student-card:hover .student-name {
  color: var(--primary);
}

/* Shimmer effect */
.student-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
}
.student-card:hover::before {
  transform: translateX(250%);
}

/* Image styling */
.student-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent);
  margin: 0 auto;
  transition: transform 0.35s ease;
}
.student-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.student-name {
  font-weight: 700;
  font-size: 16px;
  margin-top: 10px;
  transition: color 0.35s;
}
.student-detail {
  font-size: 13px;
  color: #555;
}
.student-company {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 560px) {
  .student-card {
    min-width: 180px;
    max-width: 200px;
    padding: 14px;
  }
  .student-photo {
    width: 76px;
    height: 76px;
  }
  .placement-fade {
    display: none;
  }
}

/* Approval Slider */
.carousel {
  /** Create an anchor for the buttons later on **/
  anchor-name: --carousel;

  /** Set the scroll behaviour & type **/
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  /*
  * Tell the browser where we want to place our marker 
  * https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-marker-group
  */
  scroll-marker-group: after;
}

.carousel::scroll-button(inline-start),
.carousel::scroll-button(inline-end) {
  display: block;
  content: "\00AB";
  width: 3rem;
  border: none;
  border-radius: 50%;
  position: fixed;
  position-anchor: --carousel;
  position-area: center left;
  cursor: pointer;
  font-size: 2rem;
  /* background-color: hsl(from var(--brand) h s 20%); */
  color: #000;
  padding-bottom: 0.5rem;
  /* margin: 0 -30px; */
  transform: translate(50%);
  transition: opacity 0.4s ease-in-out;
  z-index: 5;
}

/* Adjusting the right button */
.carousel::scroll-button(inline-end) {
  content: "\00BB";
  position-area: center right;
  transform: translate(-50%);
}

@media (min-width: 768px) {
  /** 
   * Create the buttons
   * https://developer.mozilla.org/en-US/docs/Web/CSS/::scroll-button
  **/
  .carousel::scroll-button(inline-start),
  .carousel::scroll-button(inline-end) {
    display: block;
    content: "\00AB";
    width: 3rem;
    border: none;
    border-radius: 50%;
    position: fixed;
    position-anchor: --carousel;
    position-area: center left;
    cursor: pointer;
    font-size: 2rem;
    /* background-color: hsl(from var(--brand) h s 20%); */
    color: #000;
    padding-bottom: 0.5rem;
    margin: 0 -30px;
    transform: translate(50%);
    transition: opacity 0.4s ease-in-out;
    z-index: 5;
  }

  /* Adjusting the right button */
  .carousel::scroll-button(inline-end) {
    content: "\00BB";
    position-area: center right;
    transform: translate(-50%);
  }

  /* Controlling disabled buttons */
  .carousel::scroll-button(inline-start):disabled,
  .carousel::scroll-button(inline-end):disabled {
    opacity: 0.4;
    filter: grayscale(100%);
    cursor: default;
  }
}

/* Set basic style for the scroll maker group */
.carousel::scroll-marker-group {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  align-items: center;
  margin-inline: 20%;
}

@media (min-width: 768px) {
  .carousel::scroll-marker-group {
    gap: 0.5rem;
    margin-inline: 0;
  }
}
/** Controlling the items **/

/* Slide for a single card on mobile */
@media (max-width: 767px) {
  .item {
    scroll-snap-align: center;
  }

  .item:first-child {
    scroll-snap-align: start;
  }

  .item:last-child {
    scroll-snap-align: end;
  }
}

/* We want to slide per 3 items on desktop */
@media (min-width: 768px) {
  .item:nth-child(3n + 1) {
    scroll-snap-align: start;
  }
}

/* Styling for the scrollmarker */
.item::scroll-marker {
  content: "";
  border-top: 0.25rem solid rgb(from var(--brand) r g b / 0.2);
  transition: border-color 0.4s ease-in-out;
  display: none;
}

@media (max-width: 767px) {
  .item::scroll-marker {
    flex: 1 1 auto;
    display: block;
  }
}

/**
 * Each item will get it's own scroll marker
 * let's hide the one's we don't use
**/
@media (min-width: 768px) {
  .item:nth-child(3n + 1)::scroll-marker {
    display: block;
    width: 1rem;
    height: 1rem;
    box-sizing: border-box;
  }
}

/* Set active state on current active scroll marker */
.item::scroll-marker:target-current {
  border-color: var(--brand);
}

/** General styling **/
:root {
  --brand: #11abb0;
  --max-width: 1140px;
}

::selection {
  /* background-color: hsl(from var(--brand) h s 20%); */
}
h1,
p {
  max-width: var(--max-width);
  margin-inline: auto;
}

p {
  opacity: 0.7;
  line-height: 150%;
}

em {
  display: block;
}

a {
  color: var(--brand);
  text-underline-offset: 5px;
}

.carousel {
  /* display: flex; */
  gap: 1rem;
  max-width: calc(var(--max-width) * 1.5);
  overflow-x: auto;
  /* overflow-y: visible; */
  overflow-y: hidden;
  margin-inline: auto;
  /* margin-top: 3rem;
  margin-bottom: 2rem; */
}

@media (min-width: 768px) {
  .carousel {
    border-radius: 8px;
  }

  .carousel:has(.item:hover) .item:not(:hover) {
    filter: grayscale(25%);
  }
}

.carousel::-webkit-scrollbar {
  display: none;
}

.item {
  /* flex: 0 0 80%;
  aspect-ratio: 16 / 9;
  background-color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1; */
  transition: filter 0.4s 1s ease-in-out;
}

.item::before {
  content: "";
  border: 2px solid #fff;
  border-radius: 50%;
  border-right-color: transparent;
  opacity: 0.4;
  position: absolute;
  inset: auto;
  display: flex;
  place-content: center;
  align-item: center;
  animation: rotate 1s infinite;
  aspect-ratio: 1 / 1;
  transform-origin: center center;
  vertical-align: middle;
  width: 1rem;
}

/* .item img {
  object-fit: cover;
  position: absolute;
} */

@media (min-width: 768px) {
  .item {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.note {
  display: flex;
  justify-content: space-between;
  font-size: 0.75em;
  max-width: var(--max-width);
  margin-top: 5rem;
}

.warning {
  --color: red;
  --icon: "\00D7";
  font-size: 0.75em;
}

.warning .title {
  display: block;
  margin-bottom: 8px;
  opacity: 0.7;
}

.warning a {
  text-decoration: none;
}

.warning code {
  background-color: hsl(from var(--color) h s 20%);
  color: hsl(from var(--color) h s 80%);
  padding: 4px 6px;
  border-radius: 4px;
}

.warning code::before {
  content: var(--icon);
  margin-inline: 4px;
  font-weight: 700;
}

@supports (scroll-marker-group: after) {
  .smg {
    --color: green;
    --icon: "\2713";
  }
}

@supports selector(::scroll-button(inline-start)) {
  .sb {
    --color: green;
    --icon: "\2713";
  }
}

.wavy-circle {
  --s: 300px; /* adjust to control the size */

  width: var(--s);
  aspect-ratio: 1;
  --g: /calc(var(--s) * 0.347) calc(var(--s) * 0.347) radial-gradient(
      50% 50%,
      #000 99%,
      #0000 101%
    ) no-repeat;
  mask: calc(50% + var(--s) * 0.296) calc(50% + var(--s) * 0) var(--g),
    calc(50% + var(--s) * 0.091) calc(50% + var(--s) * 0.281) var(--g),
    calc(50% + var(--s) * -0.239) calc(50% + var(--s) * 0.174) var(--g),
    calc(50% + var(--s) * -0.239) calc(50% + var(--s) * -0.174) var(--g),
    calc(50% + var(--s) * 0.091) calc(50% + var(--s) * -0.281) var(--g),
    radial-gradient(calc(var(--s) * 0.399), #000 99%, #0000 101%) subtract,
    calc(50% + var(--s) * 0.437) calc(50% + var(--s) * 0.317) var(--g),
    calc(50% + var(--s) * -0.167) calc(50% + var(--s) * 0.514) var(--g),
    calc(50% + var(--s) * -0.54) calc(50% + var(--s) * 0) var(--g),
    calc(50% + var(--s) * -0.167) calc(50% + var(--s) * -0.514) var(--g),
    calc(50% + var(--s) * 0.437) calc(50% + var(--s) * -0.317) var(--g);
}

/* swiper */
.reviews-section {
  padding: 4rem 1rem;
  text-align: center;
}

.reviews-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2.5rem;
}

.swiper {
  padding-bottom: 3rem;
  overflow: visible;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.review-card {
  background: #f5f9ff;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease-in-out;
  &:hover{
    scale: 1.05;
  }
}

.review-card blockquote {
  font-style: italic;
  color: #1e40af; /* darker blue */
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-footer img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #3b82f6;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: bold;
  color: #1e3a8a;
  margin: 0;
}

.author-role {
  font-size: 0.9rem;
  color: #2563eb;
  margin: 0;
}

/* Swiper pagination */
.swiper-pagination {
  margin-top: 1rem;
}

/* Swiper arrows */
.swiper-button-prev,
.swiper-button-next {
  color: #2563eb;
}
