:root {
  --main-color: #c72a53;
  --mujanda: #9d0c67;
  --light-grey: #dcdcdc;
  --dark-grey: #a4a4a4;
}

/* cursor-following ripple */
body {
  margin: 0;
  height: 100vh;
}
.cursor,
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* Small main cursor */
.cursor {
  width: 10px;
  height: 10px;
  background-color: #9d0c67;
}

/* Large faded one */
.cursor-trail {
  width: 30px;
  height: 30px;
  background-color: rgba(157, 12, 103, 0.3);
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-grey);
}

::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--mujanda);
}

/* WhatsApp Button Styles */
.whatsapp-button {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-button svg {
  width: 35px;
  height: 35px;
  fill: white;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-button.pulse {
  animation: pulse 2s infinite;
}

/* NAVBAR */
.navbar {
  background-color: var(--dark-grey);
}
.navbar-logo {
  height: 70px;
}
.navbar ul li a {
  color: var(--main-color);
}
.navbar ul li a:hover {
  color: var(--mujanda);
  animation: headShake 1s;
}

/* Scrolling Announcement Bar */
.announcement-bar {
  background-color: var(--main-color);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 15px 0;
}

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

.announcement-text {
  display: inline-block;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 50px;
}

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

/* Pause animation on hover */
.announcement-bar:hover .announcement-content {
  animation-play-state: paused;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("images/hero.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
/* MEDIA QUERY */
@media (max-width: 768px) {
  .hero-section {
    height: auto;
    aspect-ratio: 9 / 6;
    background-size: contain;
    background-position: center top;
  }
}

/* Middle Section Styling  */
.middle-section {
  padding: 40px 0;
  background-color: var(--dark-grey);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: black;
}
.section-title span {
  color: var(--main-color);
}
.section-subtitle {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto;
}

.info-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 10px 20px rgb(103, 98, 98);
  transition: transform 0.3s ease;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-10px);
}

.info-card .icon {
  font-size: 40px;
  color: var(--main-color);
  margin-bottom: 20px;
}
.info-card .icon:hover {
  color: var(--mujanda);
  transform: rotate(360deg);
}
.info-card h4 {
  color: var(--main-color);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.info-card p {
  font-size: 0.97rem;
}

/* Faculty Section Styling */
.faculty-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.faculty-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
}

.faculty-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(157, 12, 103, 0.3);
}

.faculty-image-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.faculty-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-image {
  transform: scale(1.1);
}

.faculty-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.faculty-content {
  padding: 25px;
  text-align: center;
}

.faculty-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 8px;
}

.faculty-title {
  font-size: 1rem;
  color: var(--mujanda);
  font-weight: 600;
  margin-bottom: 5px;
}

.faculty-subject {
  font-size: 0.9rem;
  color: var(--dark-grey);
  font-style: italic;
  margin-bottom: 15px;
}

.faculty-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.faculty-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--light-grey);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--main-color);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--dark-grey);
  display: block;
  margin-top: 5px;
}

/* Statistics Section */
/* Enrollment Chart (LEFT SIDE ) */
.graph-container {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.graph-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 25px;
  text-align: center;
}

.chart-wrapper {
  position: relative;
  height: 300px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-box {
  background: #fff;
  border-radius: 15px;
  padding: 25px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(157, 12, 103, 0.3);
}

.stat-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--main-color), var(--mujanda));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  flex-shrink: 0;
}

.stat-details {
  flex: 1;
}

.stat-count {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--main-color);
  margin: 0;
}

.stat-count::after {
  content: "+";
  font-size: 1.3rem;
}

.stat-text {
  font-size: 0.95rem;
  color: #666;
  margin-top: 5px;
  font-weight: 600;
}

/* RIGHT SIDE – GRADE DISTRIBUTION */
.grade-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 60px;
}

.grade-bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.grade-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grade-label {
  font-weight: 700;
  color: #333;
  font-size: 1rem;
}

.grade-percentage {
  font-weight: 800;
  color: var(--main-color);
  font-size: 1.05rem;
}

.grade-bar-bg {
  width: 100%;
  height: 28px;
  background-color: var(--light-grey);
  border-radius: 14px;
  overflow: hidden;
}

.grade-bar-fill {
  height: 100%;
  border-radius: 14px;
  width: 0%;
  transition: width 1.5s ease-in-out;
}

/* ===============================
   DESKTOP ALIGNMENT FIX
================================ */
@media (min-width: 992px) {
  .statistics-section .row {
    align-items: flex-start;
  }

  .statistics-section .col-lg-5 {
    padding-right: 20px;
  }

  .statistics-section .col-lg-7 {
    padding-left: 20px;
  }
}

/* ===============================
   MOBILE RESPONSIVENESS
================================ */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .chart-wrapper {
    height: 260px;
  }

  .stat-count {
    font-size: 2rem;
  }
}

/* Footer Styling */
.footer {
  background: linear-gradient(
    135deg,
    var(--mujanda) 0%,
    var(--main-color) 100%
  );
  color: white;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--light-grey),
    transparent
  );
}

.footer-section {
  margin-bottom: 30px;
}

.footer-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--light-grey);
}

.footer-logo {
  height: 90px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.footer-description {
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--light-grey);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-links a i {
  margin-right: 8px;
  color: var(--light-grey);
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: white;
  color: var(--main-color);
  transform: translateY(-5px);
  transform: rotate(360deg);
}

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 15px;
  color: var(--light-grey);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.contact-info li i {
  margin-right: 12px;
  color: white;
  font-size: 1.1rem;
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 40px;
}

.footer-bottom p {
  margin: 8px 0;
  color: var(--light-grey);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--light-grey);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: white;
}

/* ADDMISSION FORM */
/*  Breadcrumb */
.page-hero {
  position: relative;
  height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)),
    url("images/about.jpg") center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
}
/* MEDIA QUERY */
@media (max-width: 768px) {
  .page-hero {
    height: auto;
    aspect-ratio: 9 / 5;
    background-size: contain;
    background-position: center top;
  }
}
/* FORM SECTION  */
#contact {
  background-color: var(--light-grey);
}

.cont-section {
  color: var(--main-color);
  font-weight: bold;
}

.form-control {
  background-color: #fff;
  border: 1px solid var(--dark-grey);
  color: var(--mujanda);
}

.form-control:focus {
  background-color: #fff;
  border-color: var(--main-color);
  box-shadow: 0 0 0 0.25rem rgba(199, 42, 83, 0.25);
  color: var(--mujanda);
}

.form-label {
  color: var(--main-color);
  font-weight: 500;
}

.custom-btn {
  background-color: var(--main-color);
  border: none;
  color: white;
}

.custom-btn:hover {
  background-color: var(--mujanda);
  color: black;
}

.social-icon i {
  color: var(--mujanda);
  transition: color 0.3s ease;
}

.social-icon i:hover {
  color: var(--main-color);
}

/* RESOURCES PAGE */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
}

.pattern-circle {
  position: absolute;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* Page Title */
.page-header {
  text-align: center;
  width: 100%;
  z-index: 1;
  animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Underline that animates from left to right */
.page-header h1::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 5px;
  background-color: var(--main-color);
  transition: width 0.8s ease;
}

.page-header h1:hover::after {
  width: 100%;
}

.page-header h1:hover {
  transform: translateY(-5px);
}
/* Main Content */
.resource-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  width: 100%;
  max-width: 1400px;
  padding: 40px;
  position: relative;
  z-index: 1;
  margin-top: 100px;
}

.box {
  background: linear-gradient(
    135deg,
    var(--main-color) 0%,
    var(--mujanda) 100%
  );
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 45px rgba(199, 42, 83, 0.25);
}

/* Decorative corner accents */
.box::before,
.box::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
}

.box::before {
  top: -50px;
  left: -50px;
  border-right: none;
  border-bottom: none;
  border-radius: 25px 0 0 0;
}

.box::after {
  bottom: -50px;
  right: -50px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 25px 0;
}

.box:hover::before {
  top: 20px;
  left: 20px;
}

.box:hover::after {
  bottom: 20px;
  right: 20px;
}

/* Animated gradient overlay */
.box .gradient-overlay {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  transform: scale(0);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.box:hover .gradient-overlay {
  transform: scale(1);
}

/* Shine effect */
.box .shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.7s ease;
  pointer-events: none;
}

.box:hover .shine {
  left: 150%;
}

.box:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(199, 42, 83, 0.4);
}

.box:nth-child(1) {
  animation: slideInLeft 0.8s ease 0.2s both;
}

.box:nth-child(2) {
  animation: slideInRight 0.8s ease 0.4s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.box-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.box:hover .box-content {
  transform: translateY(-25px);
}

/* Academic icon */
.academic-icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  transition: all 0.5s ease;
}

.box:hover .academic-icon {
  transform: rotateY(360deg) scale(1.1);
  color: white;
}

.res-text {
  color: white;
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.res-text::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: transform 0.5s ease;
}

.box:hover .res-text::after {
  transform: translateX(-50%) scaleX(1);
}

.arrow-circle {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px) scale(0.5);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.box:hover .arrow-circle {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: bounceArrow 1.5s ease infinite;
}

@keyframes bounceArrow {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.05);
  }
}

.arrow-circle i {
  font-size: 2.5rem;
  color: var(--main-color);
  transition: transform 0.3s ease;
}

.box:hover .arrow-circle i {
  transform: translateX(5px);
}

/* Decorative floating elements */
.floating-shape {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.floating-shape.circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  top: -40px;
  right: -40px;
  animation: rotate 15s linear infinite;
}

.floating-shape.square {
  width: 80px;
  height: 80px;
  bottom: -30px;
  left: -30px;
  animation: rotate 20s linear infinite reverse;
  border-radius: 15px;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-header h1 {
    font-size: 2.5rem;
  }

  .resource-section {
    gap: 40px;
    padding: 30px;
    margin-top: 80px;
  }

  .box {
    padding: 80px 40px;
  }

  .res-text {
    font-size: 3.5rem;
  }

  .academic-icon {
    font-size: 3.5rem;
  }

  .arrow-circle {
    width: 75px;
    height: 75px;
  }

  .arrow-circle i {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    top: 40px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .resource-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 25px;
    margin-top: 120px;
  }

  .box {
    padding: 70px 35px;
  }

  .res-text {
    font-size: 3rem;
  }

  .academic-icon {
    font-size: 3rem;
  }

  .arrow-circle {
    width: 70px;
    height: 70px;
  }

  .arrow-circle i {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }

  .resource-section {
    padding: 20px;
    margin-top: 100px;
  }

  .box {
    padding: 50px 25px;
  }

  .res-text {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }

  .academic-icon {
    font-size: 2.5rem;
  }

  .box-content {
    gap: 10px;
  }

  .whatsapp-button {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-button svg {
    width: 26px;
    height: 26px;
  }
}
/* O / A LEVEL Page */
.custom-card {
  position: relative;
  height: 100%;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(240, 240, 240, 0.85)
  );
  border: 1px solid var(--light-grey);
  transition: all 0.45s ease;
  overflow: hidden;
}

/* Gradient Accent Line (Premium Touch) */
.custom-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--main-color), var(--mujanda));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
}

/* Hover Effect */
.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

/* Badge – small & academic */
.badge {
  font-size: 10.5px;
  padding: 4px 9px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-notes {
  background-color: var(--main-color);
}

.badge-papers {
  background-color: var(--mujanda);
}

/* Title */
.custom-card h5 {
  margin-top: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #2b2b2b;
  transition: color 0.35s ease;
}

/* Download Button  */
.download-btn {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  text-decoration: none;
  transition: all 0.35s ease;
}

/* Button Hover */
.custom-card:hover .download-btn {
  background: var(--main-color);
  color: #fff;
  transform: translateX(4px);
}

/* Icon Micro Interaction */
.download-btn i {
  transition: transform 0.35s ease;
}

.custom-card:hover .download-btn i {
  transform: translateY(2px);
}

/* Text color on hover */
.custom-card:hover h5 {
  color: #1f1f1f;
}
