/* ===== MODERN DESIGN CSS FOR SJCW ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Playfair+Display:ital,wght@0,700;1,600&family=Dancing+Script:wght@700&display=swap');

:root {
  --navy: #0A2647;
  --red: #B91646;
  --gold: #E5BA73;
  --light: #F8F9FA;
  --gray: #6c757d;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body.modern-page {
  font-family: 'Outfit', sans-serif;
  background: var(--light);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ===== TOP BAR ===== */
.sjcw-topbar {
  background: var(--navy);
  color: #aec6e8;
  font-size: 13px;
  padding: 6px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
.sjcw-topbar .ticker-wrap {
  flex: 1;
  overflow: hidden;
  margin: 0 20px;
}
.sjcw-topbar .ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  color: #E5BA73;
  font-weight: 500;
}
@keyframes ticker { from{transform:translateX(100vw)} to{transform:translateX(-100%)} }
.sjcw-topbar a { color: #aec6e8; text-decoration: none; }
.sjcw-topbar .socials a {
  margin-left: 10px;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.3s;
}
.sjcw-topbar .socials a:hover { background: var(--red); color: white; }

/* ===== HEADER ===== */
.sjcw-header {
  background: white;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky; top: 0; z-index: 999;
}
.sjcw-header .logo-area {
  display: flex; align-items: center; gap: 15px;
}
.sjcw-header .logo-area img { height: 70px; }
.sjcw-header .college-name h1 {
  font-size: 1.4rem; color: var(--red);
  margin: 0; font-weight: 700; line-height: 1.2;
}
.sjcw-header .college-name span {
  font-size: 0.7rem; color: var(--navy); font-weight: 600;
  display: block; letter-spacing: 1px;
}
.sjcw-header .college-name p {
  font-size: 1rem; color: #333; margin: 0; font-weight: 600;
}

/* ===== NAVBAR ===== */
.sjcw-nav {
  background: var(--navy);
  position: sticky; top: 100px; z-index: 998;
}
.sjcw-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap;
}
.sjcw-nav ul li { position: relative; }
.sjcw-nav ul li a {
  display: block; padding: 14px 16px;
  color: #cce0f5; font-size: 13px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.5px;
  transition: all 0.3s; border-bottom: 3px solid transparent;
}
.sjcw-nav ul li a:hover, .sjcw-nav ul li a.active {
  color: var(--gold); border-bottom-color: var(--gold);
}
.sjcw-nav ul li ul {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--navy); min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-top: 3px solid var(--gold);
  flex-direction: column; z-index: 9999;
}
.sjcw-nav ul li:hover > ul { display: flex; }
.sjcw-nav ul li ul li a { padding: 10px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 12px; }
.sjcw-nav ul li ul li ul { left: 100%; top: 0; }

/* ===== 3D SECTION BASE ===== */
.section-3d {
  perspective: 1200px;
  transform-style: preserve-3d;
}
.animate-in {
  opacity: 0;
  transform: translateY(60px) rotateX(10deg);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}
.animate-left {
  opacity: 0;
  transform: translateX(-80px) rotateY(15deg);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.animate-left.visible { opacity: 1; transform: translateX(0) rotateY(0); }
.animate-right {
  opacity: 0;
  transform: translateX(80px) rotateY(-15deg);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.animate-right.visible { opacity: 1; transform: translateX(0) rotateY(0); }
.animate-zoom {
  opacity: 0;
  transform: scale(0.7) rotateZ(-5deg);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-zoom.visible { opacity: 1; transform: scale(1) rotateZ(0); }

/* ===== HERO SLIDER ===== */
.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.hero-section .owl-carousel .item {
  height: 600px;
  position: relative;
}
.hero-section .owl-carousel .item img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,38,71,0.75) 0%, rgba(185,22,70,0.35) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.hero-overlay h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; color: white;
  text-shadow: 2px 4px 20px rgba(0,0,0,0.5);
  margin-bottom: 10px; animation: heroFade 1.2s ease;
}
.hero-overlay p {
  color: var(--gold); font-size: 1.1rem;
  letter-spacing: 2px; margin-bottom: 30px; animation: heroFade 1.5s ease;
}
.hero-overlay .btn-hero {
  background: var(--red); color: white;
  padding: 14px 40px; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid var(--red);
  transition: all 0.3s; box-shadow: 0 10px 30px rgba(185,22,70,0.4);
  animation: heroFade 1.8s ease;
}
.hero-overlay .btn-hero:hover {
  background: transparent; color: white;
  box-shadow: 0 10px 40px rgba(185,22,70,0.7);
}
@keyframes heroFade { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }

/* ===== STATS BAR ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3f6f 100%);
  padding: 40px 20px;
}
.stat-item {
  text-align: center; color: white;
  transform-style: preserve-3d;
  transition: transform 0.4s;
  cursor: default;
}
.stat-item:hover { transform: translateY(-10px) rotateX(10deg); }
.stat-item .num {
  font-size: 3rem; font-weight: 800; color: var(--gold);
  display: block; line-height: 1;
}
.stat-item .label { font-size: 0.85rem; color: #aec6e8; letter-spacing: 1px; margin-top: 5px; }

/* ===== INTRO + NEWS ===== */
.intro-section { background: white; padding: 70px 30px; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; color: var(--navy); margin-bottom: 10px;
}
.section-title span { color: var(--red); }
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 4px; margin-bottom: 25px;
}
.intro-text {
  font-size: 1.05rem; color: #444; line-height: 1.9;
  text-align: justify;
}

/* ===== NEWS CARD ===== */
.news-panel {
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,38,71,0.25);
}
.news-panel .panel-head {
  background: var(--red); color: white;
  padding: 14px 20px; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.news-panel .news-scroll {
  height: 420px; overflow-y: auto; padding: 15px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.news-item {
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,0.05);
  border-radius: 0 8px 8px 0;
  padding: 12px 15px; margin-bottom: 14px;
  transition: all 0.3s;
}
.news-item:hover { background: rgba(229,186,115,0.1); transform: translateX(5px); }
.news-item h6 { color: var(--gold); font-size: 0.9rem; margin: 0 0 5px; }
.news-item p { color: #ccc; font-size: 0.8rem; margin: 0 0 5px; line-height: 1.5; }
.news-item .news-date { color: #888; font-size: 0.75rem; }

/* ===== COURSES SECTION ===== */
.courses-section {
  background: linear-gradient(180deg, #f0f4f8 0%, #e8ecf0 100%);
  padding: 70px 30px;
}
.course-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  position: relative;
  margin-bottom: 25px;
}
.course-card:hover {
  transform: translateY(-15px) rotateX(5deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(10,38,71,0.2);
}
.course-card img { width: 100%; height: 180px; object-fit: cover; }
.course-card .card-badge {
  position: absolute; top: 15px; right: 15px;
  background: var(--red); color: white;
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; letter-spacing: 1px;
}
.course-card .card-body2 { padding: 20px; }
.course-card h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.course-card p { font-size: 0.85rem; color: #666; line-height: 1.6; margin-bottom: 15px; }
.course-card .btn-join {
  display: inline-block; background: var(--navy);
  color: white; padding: 8px 22px; border-radius: 25px;
  font-size: 0.82rem; font-weight: 600; text-decoration: none;
  transition: all 0.3s;
}
.course-card .btn-join:hover { background: var(--red); transform: scale(1.05); }

/* ===== VISION MISSION ===== */
.vision-section {
  background: var(--navy);
  padding: 70px 30px;
  position: relative; overflow: hidden;
}
.vision-section::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(185,22,70,0.1) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}
@keyframes rotate { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.vm-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(229,186,115,0.3);
  border-radius: 20px;
  padding: 40px 30px; text-align: center;
  transition: all 0.4s; backdrop-filter: blur(10px);
  transform-style: preserve-3d; position: relative; z-index: 1;
}
.vm-card:hover {
  background: rgba(229,186,115,0.1);
  border-color: var(--gold);
  transform: translateY(-12px) rotateX(8deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.vm-card img { width: 100px; margin-bottom: 20px; filter: drop-shadow(0 5px 15px rgba(229,186,115,0.3)); }
.vm-card h4 { color: var(--gold); font-weight: 700; margin-bottom: 15px; font-size: 1.2rem; letter-spacing: 2px; }
.vm-card p { color: #bdd4e7; line-height: 1.8; font-size: 0.95rem; }

/* ===== PRINCIPAL'S DESK ===== */
.principal-section { background: white; padding: 80px 30px; }
.principal-img {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  object-fit: cover; width: 100%; max-height: 480px;
  box-shadow: 0 20px 60px rgba(185,22,70,0.2);
  background: linear-gradient(135deg, #ec8f5e, #d2691e);
  transition: transform 0.5s; transform-style: preserve-3d;
}
.principal-img:hover { transform: rotateY(5deg) rotateX(5deg) scale(1.03); }
.principal-quote {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem; color: var(--red); line-height: 1.8;
  border-left: 5px solid var(--gold); padding-left: 25px;
  margin: 25px 0;
}
.principal-name { color: var(--navy); font-weight: 700; font-size: 1.1rem; }
.principal-name span { color: var(--gray); font-weight: 400; font-size: 0.9rem; display: block; }

/* ===== ACADEMIC HUB & SIDEBAR ===== */
.hub-section .quick-links-box {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}
.hub-section .ql-head {
  background: var(--navy);
  color: white;
  padding: 15px 20px;
  font-weight: 700;
  font-size: 1rem;
}
.hub-section .quick-links-box ul { list-style: none; padding: 0; margin: 0; }
.hub-section .quick-links-box li { border-bottom: 1px solid #f5f5f5; }
.hub-section .quick-links-box li:last-child { border: none; }
.hub-section .quick-links-box a {
  display: block;
  padding: 12px 20px;
  color: #444;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.hub-section .quick-links-box a:hover {
  background: #fff8f0;
  color: var(--red);
  padding-left: 25px;
}
.hub-section .quick-links-box a i { color: var(--gold); margin-right: 10px; width: 20px; text-align: center; }

/* BIRTHDAY CARD SLIDER */
.birthday-card {
  background: linear-gradient(135deg, #fffcf5, #fff5f8);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(185,22,70,0.1);
  padding-bottom: 20px;
  border: 1px solid rgba(229,186,115,0.3);
}
.bday-header {
  background: linear-gradient(90deg, var(--red), #8e0e33);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}
.bday-img-wrap {
  padding: 30px 20px 20px;
}
.bday-main-img {
  width: 180px !important;
  height: 180px !important;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 5px solid white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: block;
}
.bday-info { padding: 0 20px; text-align: center; }
.bday-info h5 { color: var(--navy); font-weight: 700; margin-bottom: 5px; }
.bday-info span { color: var(--gray); font-size: 0.85rem; font-weight: 600; }

/* REFINED COURSE CARD FOR HUB */
.hub-section .course-card {
  height: 100%;
  border-radius: 15px;
  background: white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.04);
  transition: all 0.3s;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}
.hub-section .course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}




/* ===== NCTE/IQAC ===== */
.ncte-section {
  background: linear-gradient(135deg, #fff8f0 0%, #fff0f5 100%);
  padding: 70px 30px;
}
.ncte-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s;
  transform-style: preserve-3d;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.ncte-card:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.ncte-card .ncte-inner {
  background: white; padding: 40px 30px; text-align: center;
}
.ncte-card img { height: 100px; object-fit: contain; margin-bottom: 20px; }
.ncte-card h4 { color: var(--navy); font-weight: 700; margin-bottom: 15px; }
.ncte-card p { color: #666; line-height: 1.8; font-size: 0.92rem; }
.ncte-card .btn-more {
  display: inline-block; margin-top: 15px;
  color: var(--red); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
  transition: all 0.3s; letter-spacing: 1px; font-size: 0.85rem;
}
.ncte-card .btn-more:hover { color: var(--navy); border-color: var(--navy); }

/* ===== GALLERY BANNER ===== */
.gallery-banner {
  background: #1a1a2e;
  padding: 80px 30px; text-align: center; position: relative; overflow: hidden;
}
.gallery-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../slider/sjc_31.jpg') center/cover no-repeat;
  opacity: 0.2;
  filter: blur(2px);
}
.gallery-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; color: white; position: relative; z-index: 1;
  text-shadow: 2px 5px 30px rgba(0,0,0,0.5);
}
.gallery-banner .btn-gallery {
  position: relative; z-index: 1;
  display: inline-block; margin-top: 20px;
  background: var(--red); color: white;
  padding: 14px 45px; border-radius: 50px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  box-shadow: 0 10px 40px rgba(185,22,70,0.5);
  transition: all 0.3s;
}
.gallery-banner .btn-gallery:hover {
  background: var(--gold); color: var(--navy);
  box-shadow: 0 15px 50px rgba(229,186,115,0.5);
  transform: scale(1.05);
}

/* ===== FOOTER ===== */
.modern-footer {
  background: var(--navy);
  padding: 60px 30px 30px;
}
.modern-footer h5 {
  color: var(--gold); font-weight: 700; letter-spacing: 2px;
  font-size: 0.85rem; text-transform: uppercase;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(229,186,115,0.3);
}
.modern-footer p, .modern-footer li { color: #9db8cc; font-size: 0.9rem; line-height: 2; }
.modern-footer a { color: #9db8cc; text-decoration: none; transition: color 0.3s; }
.modern-footer a:hover { color: var(--gold); }
.modern-footer ul { list-style: none; padding: 0; }
.modern-footer ul li::before { content: '→ '; color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { color: #6a8dad; font-size: 0.82rem; margin: 0; }

/* ===== QUICK LINKS BOX ===== */
.quick-links-box {
  background: white; border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(10,38,71,0.12);
  transform-style: preserve-3d; transition: all 0.4s;
}
.quick-links-box:hover { transform: translateY(-8px) rotateX(5deg); }
.quick-links-box .ql-head {
  background: linear-gradient(135deg, var(--navy), #1a3f6f);
  padding: 18px 20px; color: white; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.quick-links-box ul { padding: 15px 20px; margin: 0; list-style: none; }
.quick-links-box ul li { border-bottom: 1px solid #f0f0f0; }
.quick-links-box ul li:last-child { border-bottom: none; }
.quick-links-box ul li a {
  display: block; padding: 10px 0;
  color: var(--red); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: all 0.2s;
}
.quick-links-box ul li a:hover { padding-left: 10px; color: var(--navy); }

/* ===== EVENTS BOX ===== */
.events-box { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 50px rgba(10,38,71,0.12); }
.events-box .ev-head { background: linear-gradient(135deg, #B91646, #8b0e32); padding: 18px 20px; color: white; font-weight: 700; }
.events-box .ev-body { max-height: 420px; overflow-y: auto; padding: 10px; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.event-item {
  display: flex; gap: 15px; align-items: flex-start;
  border-bottom: 1px solid #f5f5f5; padding: 12px 10px;
  transition: all 0.3s;
}
.event-item:hover { background: #fff8f8; transform: translateX(5px); }
.event-item .date-badge {
  background: var(--navy); color: white;
  border-radius: 10px; padding: 8px 10px;
  text-align: center; min-width: 50px; flex-shrink: 0;
}
.event-item .date-badge .dd { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.event-item .date-badge .mm { font-size: 0.65rem; letter-spacing: 1px; color: var(--gold); }
.event-item .ev-info a { color: var(--navy); font-size: 0.85rem; font-weight: 600; text-decoration: none; display: block; }
.event-item .ev-info span { color: var(--gray); font-size: 0.75rem; }

/* ===== RESPONSIVE ===== */
@media(max-width: 991px) {
  .sjcw-header { flex-direction: column; text-align: center; gap: 15px; padding: 20px; }
  .sjcw-header .logo-area { flex-direction: column; }
  .sjcw-header .college-name h1 { font-size: 1.2rem; }
  .sjcw-header .college-name span { font-size: 0.6rem; }
  .sjcw-nav ul li a { padding: 10px; font-size: 11px; }
}

@media(max-width: 768px) {
  .sjcw-topbar { flex-direction: column; height: auto; padding: 10px; gap: 10px; }
  .sjcw-topbar .socials { order: 3; }
  .hero-overlay h2 { font-size: 1.8rem; }
  .section-title { font-size: 1.6rem; }
  #nav-toggle { display: block !important; }
  .sjcw-nav ul { display: none; background: var(--navy); width: 100%; position: absolute; top: 100%; left: 0; z-index: 9999; }
  .sjcw-nav.open ul { display: flex; flex-direction: column; }
  .sjcw-nav ul li a { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 15px; }
  .gallery-banner h2 { font-size: 2.2rem; }
  .hub-section .col-md-8 { margin-top: 40px; }
}

/* ===== ADMISSION MODAL ===== */
#admissionModal {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(10,38,71,0.78) !important;
  z-index: 999999 !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(4px);
}
#admissionModal.show-modal {
  display: flex !important;
}
#admissionModal > div {
  animation: modalPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform-origin: center center;
  margin: auto;
}
@keyframes modalPop {
  0%   { opacity: 0; transform: scale(0.6) translateY(40px); }
  70%  { transform: scale(1.04) translateY(-5px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===== TESTIMONIALS 3D CAROUSEL (MATCHED TO IMAGE) ===== */
.testimonials-section {
  background: #fdfaf5;
  padding: 100px 0;
  position: relative; overflow: hidden;
  perspective: 1500px;
}
.testimonial-wrapper {
  position: relative;
  height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}
.testimonial-card {
  position: absolute;
  width: 400px;
  background: white;
  border-radius: 30px;
  padding: 45px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  transition: all 0.7s cubic-bezier(0.2, 1, 0.3, 1);
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transform: translateX(0) scale(0.6) translateZ(-400px) rotateY(0);
}
.testimonial-card.active {
  opacity: 1;
  visibility: visible;
  z-index: 20;
  transform: translateX(0) scale(1) translateZ(0) rotateY(0);
  filter: blur(0);
  box-shadow: 0 30px 100px rgba(0,0,0,0.12);
}
.testimonial-card.prev {
  opacity: 0.5;
  visibility: visible;
  z-index: 10;
  transform: translateX(-70%) scale(0.8) translateZ(-250px) rotateY(15deg);
  filter: blur(6px);
  pointer-events: none;
}
.testimonial-card.next {
  opacity: 0.5;
  visibility: visible;
  z-index: 10;
  transform: translateX(70%) scale(0.8) translateZ(-250px) rotateY(-15deg);
  filter: blur(6px);
  pointer-events: none;
}
.testimonial-card .stars { color: #ffc107; font-size: 1.2rem; margin-bottom: 25px; display: flex; gap: 4px; }
.testimonial-card p { color: #333; line-height: 1.8; margin-bottom: 40px; font-size: 1.1rem; }
.testimonial-card .profile { display: flex; align-items: center; gap: 15px; border-top: 1px solid #f0f0f0; padding-top: 25px; }
.testimonial-card .profile-avatar {
  width: 55px; height: 55px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.2rem; flex-shrink: 0;
}
.testimonial-card:nth-child(1n) .profile-avatar { background: #ff5e62; }
.testimonial-card:nth-child(2n) .profile-avatar { background: #00d2ff; }
.testimonial-card:nth-child(3n) .profile-avatar { background: #00c853; }
.testimonial-card:nth-child(4n) .profile-avatar { background: #7b1fa2; }
.testimonial-card .profile-info strong { display: block; color: #222; font-size: 1rem; }
.testimonial-card .profile-info span { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 1px; }

.testimonial-controls { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 20px; }
.control-btn {
  width: 65px; height: 65px; border-radius: 50%;
  background: white; border: none; color: #666;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.4s; font-size: 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.control-btn:hover { color: #B91646; transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 40px rgba(185,22,70,0.15); }

/* ===== ACADEMIC HUB & SIDEBAR ===== */
.hub-section .quick-links-box { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee; }
.hub-section .ql-head { background: var(--navy); color: white; padding: 15px 20px; font-weight: 700; font-size: 1rem; }
.hub-section .quick-links-box ul { list-style: none; padding: 0; margin: 0; }
.hub-section .quick-links-box li { border-bottom: 1px solid #f5f5f5; }
.hub-section .quick-links-box a { display: block; padding: 12px 20px; color: #444; text-decoration: none; font-size: 0.9rem; transition: all 0.3s; }
.hub-section .quick-links-box a:hover { background: #fff8f0; color: var(--red); padding-left: 25px; }
.hub-section .quick-links-box a i { color: var(--gold); margin-right: 10px; width: 20px; text-align: center; }

.birthday-card { background: linear-gradient(135deg, #fffcf5, #fff5f8); border-radius: 25px; overflow: hidden; box-shadow: 0 15px 40px rgba(185,22,70,0.1); padding-bottom: 20px; border: 1px solid rgba(229,186,115,0.3); }
.bday-header { background: linear-gradient(90deg, var(--red), #8e0e33); color: white; padding: 15px; text-align: center; font-weight: 700; }
.bday-img-wrap { padding: 30px 20px 20px; }
.bday-main-img { width: 180px !important; height: 180px !important; border-radius: 50%; object-fit: cover; margin: 0 auto; border: 5px solid white; box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: block; }
.bday-info { text-align: center; }
.bday-info h5 { color: var(--navy); font-weight: 700; margin-bottom: 5px; }
.bday-info span { color: var(--gray); font-size: 0.85rem; font-weight: 600; }

.hub-section .course-card { height: 100%; border-radius: 15px; background: white; box-shadow: 0 5px 20px rgba(0,0,0,0.04); transition: all 0.3s; overflow: hidden; border: 1px solid #f0f0f0; }
.hub-section .course-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

/* ===== VISITOR COUNTER (THEMED) ===== */
.visitor-counter {
  margin-top: 30px;
}
.visitor-counter h6 {
  color: var(--gold); 
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.visitor-counter .digit-row {
  display: flex;
  gap: 6px;
}
.visitor-counter .digit-box {
  background: white;
  width: 32px;
  height: 42px;
  border-radius: 6px;
  border: 2px solid var(--red); 
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy); 
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ===== VIDEO AD BLOCK ===== */
.video-ad-block {
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  margin-bottom: 30px;
}
.video-ad-block:hover {
  transform: translateY(-10px) rotateY(5deg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15) !important;
}
.video-ad-block iframe {
  border-bottom: 1px solid #eee;
}
