/* ================= GLOBAL STYLES ================= */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  background-color: #f4f6f8;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

/* =========================================================
   NAVBAR (CLEAN + STABLE LOGO SIZE)
   - No duplicate overrides
   - Navbar height small + logo stable
========================================================= */

.navbar{
  background-color: rgb(221, 227, 233);
  width: 100%;
  border-bottom: 1px solid #ddd;
  transition: all 0.3s ease;

  /* ✅ reduced height */
  min-height: 66px;
  padding: 0.25rem 1rem;
}

/* white box behind logo */
.navbar .navbar-brand{
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

/* ✅ logo image stable */
.navbar .navbar-brand img{
  height: 56px !important;
  width: auto !important;
  max-height: 56px !important;
  object-fit: contain;
  display: block;
}


/* desktop nav links */
.navbar .nav-link{
  color: #0e0d0d;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0.6rem;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  position: relative;
  transition: color 0.3s;
}

/* Profile link (image + name) ek line me */
.navbar .nav-link.d-flex{ flex-wrap: nowrap; }

.navbar .nav-link:hover{ color: #000; }

.navbar .nav-link::after{
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}
.navbar .nav-link:hover::after{ width: 100%; }

.navbar .btn-primary{
  background-color: #007bff;
  color: #fff;
  font-weight: 600;
  padding: 0.4rem 1rem;
  transition: background 0.3s, color 0.3s;
}
.navbar .btn-primary:hover{ background-color: #0056b3; }

/* Notification dropdown */
/* ================================
   NOTIFICATION DROPDOWN (FINAL)
   - Width bigger
   - Height smaller (compact)
   - Responsive mobile same
================================ */

/* dropdown box */
.notif-dropdown{
  width: 420px !important;          /* ✅ width increase (desktop) */
  min-width: 420px !important;
  max-width: 420px !important;

  max-height: 280px !important;     /* ✅ height small */
  overflow-y: auto;

  font-size: 0.85rem;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  padding: 6px 0;
    background: rgba(255, 255, 255, 0.92) !important;  /* 👈 thoda transparent */
  backdrop-filter: blur(6px);                        /* 👈 soft glass effect */
  -webkit-backdrop-filter: blur(6px);
}
/* ✅ scrollbar hide (Chrome/Edge/Safari) */
.notif-dropdown::-webkit-scrollbar{
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}


/* center under bell (desktop + mobile) */
.navbar .dropdown .notif-dropdown{
  right: auto !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-top: 10px;
}

/* header compact */
.notif-dropdown .dropdown-header{
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 8px 14px 6px;
  margin: 0;
}

/* each item compact (height small) */
.notif-dropdown .dropdown-item{
  white-space: normal;
  line-height: 1.25;
  padding: 8px 12px;               /* ✅ reduce padding */
  margin: 0 8px 6px;
  border-radius: 10px;
}

/* unread highlight */
.notif-dropdown .dropdown-item.fw-semibold{
background: rgba(246, 249, 255, 0.98);
  border: 1px solid #e7eeff;
}

/* message + meta compact */
.notif-dropdown .text-muted{
  font-size: 0.80rem;
}
.notif-dropdown .badge{
  font-size: 0.65rem;
  padding: 0.28em 0.55em;
  border-radius: 999px;
}
.notif-dropdown .dropdown-item:hover{
  background: rgba(243, 246, 255, 0.95);
}

/* scroll bar nicer (optional) */
.notif-dropdown::-webkit-scrollbar{ width: 8px; }
.notif-dropdown::-webkit-scrollbar-thumb{ background: #d7dbe3; border-radius: 10px; }
.notif-dropdown::-webkit-scrollbar-track{ background: transparent; }

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px){
  .navbar .dropdown .notif-dropdown{
    width: min(92vw, 420px) !important;   /* ✅ mobile me same feel */
    min-width: unset !important;
    max-width: 92vw !important;
    max-height: 260px !important;         /* ✅ mobile height little smaller */
 left: 40% !important;  
  transform: translateX(-50%);/* 👈 thoda left shift */
  }
}

@media (max-width: 576px){
  .navbar .dropdown .notif-dropdown{
    width: 92vw !important;
    max-height: 240px !important;
     left: 39% !important;          /* 👈 aur thoda left */
  }
}


/* ================= DASHBOARD CARDS ================= */
.dashboard-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 180px;
  width: 100%;
  max-width: 250px;
  text-align: center;
  border-radius: 20px;
  margin: 0.5rem;
  box-shadow: 0 8px 15px rgba(0, 102, 255, 0.1),
              0 8px 15px rgba(0, 0, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 15px 25px rgba(0, 89, 255, 0.2),
              0 15px 25px rgba(0, 0, 255, 0.15);
  filter: brightness(1.05);
}

.dashboard-card img { max-height: 50px; transition: transform 0.3s ease; }
.dashboard-card:hover img { transform: scale(1.05); }
.dashboard-card h5 { margin-top: 10px; font-size: 1.1rem; }
.dashboard-card p { font-size: 0.9rem; color: #333; margin-top: 3px; }

.coming-soon-badge {
  position: absolute;
  top: 20px;
  right: -45px;
  background: rgba(255, 136, 0, 0.322);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 5px 60px;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
  z-index: 10;
  pointer-events: none;
}

/* ================= STATUS CARDS ================= */
.status-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 140, 255, 0.08),
              0 6px 18px rgba(0, 0, 255, 0.07);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.status-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 110, 255, 0.15),
              0 12px 25px rgba(0, 0, 255, 0.12);
  filter: brightness(1.03);
}
.status-card .btn-primary {
  background: linear-gradient(135deg, #0056b3, #00bfa6);
  border: none;
  padding: 10px 18px;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.3s ease;
}
.status-card .btn-primary:hover {
  background: linear-gradient(135deg, #004494, #00a38b);
}

/* ================= PASTEL CARD COLORS ================= */
.bg-lightblue   { background-color: #fcfdfd; }
.bg-lightgreen  { background-color: #f2f5f1; }
.bg-lightpurple { background-color: #f4f2f7; }
.bg-lightorange { background-color: #f8f8f8; }
.bg-lightyellow { background-color: #e9e8e7; }

/* ================= TYPING ANIMATION ================= */
.typing-word {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: bottom;
  transition: opacity 0.2s ease;
}
#goal-word { display: inline-block; transition: opacity 0.4s ease, transform 0.4s ease; }
#goal-word.fade-out { opacity: 0; transform: translateY(-10px); }

.goal-heading {
  font-size: 2.2rem;
  background: linear-gradient(90deg, #0056b3, #00bfa6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
  animation: fadeInDown 1s ease forwards;
}
.goal-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60px;
  height: 4px;
  background: #00bfa6;
  border-radius: 5px;
}
.goal-description {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  animation: fadeInUp 1s ease forwards;
}
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(10px); }  to { opacity: 1; transform: translateY(0); } }

/* ================= TAB SECTIONS ================= */
.tab-section {
  opacity: 0;
  transform: translateY(30px);
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}
.tab-section.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  height: auto;
  overflow: visible;
}

/* ================= MODULES ================= */
.module-wrapper { position: relative; overflow: hidden; padding-bottom: 0.5rem; }
.module-list {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
}
.module-list::-webkit-scrollbar { display: none; }

.module-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  min-width: 280px;
  height: 90px;
  padding: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.module-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

.module-image img { width: 80px; height: 70px; border-radius: 10px; object-fit: cover; }
.module-content { margin-left: 12px; display: flex; flex-direction: column; justify-content: center; }
.module-title { font-weight: 600; font-size: 0.95rem; color: #222; }
.text-muted { color: #777; font-size: 0.8rem; }

/* arrows */
.module-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}
.module-arrow:hover { background: #fff; }
.module-arrow-left { left: 5px; }
.module-arrow-right { right: 5px; }

/* ================= TRUSTED SECTION ================= */
.trusted-heading { font-size: 1rem; font-weight: 600; color: #6a7ba7; margin-bottom: 0; }
.college-marquee-wrapper { overflow: hidden; position: relative; width: 100%; }
.college-marquee { display: flex; gap: 1.5rem; animation: marquee 40s linear infinite; width: max-content; }
.college-card {
  min-width: 150px;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.college-card:hover { transform: scale(1.05); }
.college-card img { max-width: 100px; max-height: 60px; object-fit: contain; margin-bottom: 0.3rem; }
.college-name { font-size: 0.85rem; font-weight: 600; color: #333; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ================= PROMO SECTION ================= */
.promo-card { display: flex; justify-content: space-between; align-items: stretch; }
.promo-card .w-50.pe-3 { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.promo-card:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); }
.promo-card.app-download { background-color: #4c5d7473; }
.promo-card.refer-win   { background-color: #bdaf8a; }
.numbers-section h4 { font-size: 1.6rem; }
.refer-win .get-started-btn { margin-top: auto; align-self: flex-start; }

/* ================= TEACHER IMAGE ================= */
.dashboard-with-teacher { position: relative; }
.teacher-img {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  pointer-events: none;
}
.teacher-img img { width: 190%; height: 300px; }
.teacher-img::after {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 2px;
  background: #007bff;
}

/* ================= COUNTERS ================= */
.counter { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease, transform 0.6s ease; }
.counter.visible { opacity: 1; transform: translateY(0); }

/* ================= TAB CONTAINER ================= */
.tabs-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7f9fb;
  padding: 6px 14px;
  border-radius: 50px;
  width: fit-content;
  margin: 0 0 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  justify-content: flex-start;
}
.tab-btn {
  border: none;
  outline: none;
  background: transparent;
  color: #3a4b6b;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tab-btn:hover { background: rgba(66, 133, 244, 0.08); color: #2a6df4; }
.tab-btn.active { background: #2a6df4; color: #fff; box-shadow: 0 4px 10px rgba(42, 109, 244, 0.25); }
.tab-btn i { font-size: 1rem; display: inline-block; }

/* ================= HORIZONTAL MY ACTIVITY ================= */
.activity-section {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  gap: 9px;
  padding-bottom: 8px;
  margin: 0;
  cursor: grab;
  user-select: none;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.activity-section::-webkit-scrollbar { display: none; }
.activity-section.dragging { cursor: grabbing; }
.activity-section * { user-select: none; }

.activity-section .col-md-3 {
  flex: 0 0 auto !important;
  width: 310px;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.activity-section .card {
  display: flex !important;
  align-items: center;
  flex-direction: row !important;
  justify-content: flex-start;
  gap: 5px;
  border: 1px solid #e0e3eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  padding: 10px 16px;
  height: 90px;
  opacity: 0;
  transform: translateY(20px);
}
.activity-section .card.show { opacity: 1; transform: translateY(0); transition: all 0.4s ease; }
.activity-section .card:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(47, 87, 235, 0.12); }
.activity-section .card img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f9ff;
  flex-shrink: 0;
  margin-right: 6px;
}
.activity-section .card .p-2 { flex: 1; text-align: left; padding: 0 !important; }
.activity-section .card .p-2 div {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clickable-card { cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.clickable-card:hover { transform: translateY(-4px); box-shadow: 0 6px 14px rgba(0,0,0,0.08); }

/* ================= PROFILE SIDEPANEL ================= */
.profile-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.profile-overlay.active { opacity: 1; visibility: visible; }

.profile-panel {
  position: fixed;
  top: 60px;
  right: -380px;
  width: 320px;
  height: calc(100% - 100px);
  max-height: 600px;
  background-color: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  transition: right 0.4s ease;
  z-index: 1055;
  overflow-y: auto;
  border-left: 1px solid #e6e6e6;
  font-family: 'Poppins', sans-serif;
  border-radius: 10px 0 0 10px;
}
.profile-panel.active { right: 0; }

.profile-header { background: #f8f9fa; padding: 0.8rem 1rem; border-bottom: 1px solid #eaeaea; }
.profile-header h5 { font-weight: 600; margin: 0; color: #333; }
.profile-panel .close-btn { background: none; border: none; font-size: 1.5rem; color: #555; }

.profile-info { text-align: center; padding: 1.5rem; border-bottom: 1px solid #eee; }
.profile-info img { border-radius: 50%; width: 85px; height: 85px; object-fit: cover; border: 3px solid #ddd; }
.profile-info h6 { font-weight: 600; margin-top: 0.7rem; color: #333; }
.profile-info p { color: #888; font-size: 0.9rem; }

.profile-links { padding: 0; margin: 0; list-style: none; }
.profile-links li a {
  display: flex;
  align-items: center;
  padding: 0.9rem 1.2rem;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s, color 0.3s;
  border-bottom: 1px solid #f1f1f1;
}
.profile-links li a:hover { background-color: #f3f5f8; color: #0d6efd; }
.profile-links li i { margin-right: 10px; color: #0d6efd; }
.profile-links li.logout a { color: #dc3545; font-weight: 500; }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px){
  .college-card { min-width: 130px; }
  .college-marquee { gap: 1rem; animation-duration: 35s; }

  .navbar{ min-height: 64px; padding: 0.25rem 0.85rem; }
  .navbar .navbar-brand img{ height: 50px; }
}

@media (max-width: 768px){
  .dashboard-card{
    height: auto;
    min-height: 170px;
    width: calc(50% - 0.5rem);
    max-width: 100%;
    padding: 20px;
    margin: 0.25rem;
  }

  .teacher-img{ display: none; }
  .module-arrow{ display: none; }
  .module-list{ gap: 0.8rem; }
  .tab-btn{ font-size: 0.85rem; }
  .goal-heading{ font-size: 1.6rem; }
  .module-card{ flex-direction: column; min-width: 100%; }
  .module-image img{ height: auto; }
  .module-content{ padding-top: 10px; }

  .navbar{
    min-height: 60px;
    padding: 0.25rem 0.65rem;
  }
  .navbar .navbar-brand{ margin-right: 0.5rem; padding: 5px 8px; }
  .navbar .navbar-brand img{ height: 44px; }

  /* Mobile icons tight */
  .navbar .d-lg-none .nav-link{
    padding: 0 !important;
    margin: 0 0.25rem !important;
  }

  /* dropdown width fix */
  .navbar .dropdown .notif-dropdown{
    width: min(92vw, 360px) !important;
    min-width: unset !important;
    max-width: 92vw !important;
  }

  .profile-panel{
    width: 85%;
    right: -100%;
    top: 20px;
    height: auto;
    max-height: 80vh;
    border-radius: 12px;
  }
  .profile-panel.active { right: 7%; }
  .profile-overlay { background: rgba(0,0,0,0.6); }
}

@media (max-width: 576px){
  .college-card { min-width: 100px; }
  .college-marquee { gap: 0.8rem; animation-duration: 40s; }

  .navbar{ min-height: 58px; padding: 0.25rem 0.55rem; }
  .navbar .navbar-brand img{ height: 40px; }

  .tabs-container{ flex-wrap: wrap; justify-content: flex-start; }
  .tab-btn{ padding: 6px 14px; font-size: 0.85rem; }
}



/* =========================================================
   MOBILE HEADER FINAL FIX (GUARANTEED)
========================================================= */

/* ---------- Navbar base ---------- */
.navbar {
  min-height: 64px;
  padding: 0.25rem 0.75rem;
}

/* Prevent navbar stretch */
body > nav.navbar {
  flex-shrink: 0;
}

/* ---------- Logo ---------- */
.navbar .navbar-brand {
  padding: 5px 8px;
  background: #fff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar .navbar-brand img{
  height: 36px !important;
  width: auto !important;
  max-height: 56px !important;
  object-fit: contain;
  display: block;
}


/* =========================================================
   MOBILE ICON ROW (WALLET + BELL + PROFILE)
========================================================= */

.mobile-header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

/* remove bootstrap padding */
.mobile-header-icons .nav-link {
  padding: 0 !important;
  margin: 0 !important;
}

/* icons size */
.mobile-header-icons i {
  font-size: 1.15rem;
}

/* profile image */
.mobile-header-icons img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

/* badges */
.mobile-header-icons .badge {
  font-size: 0.65rem;
  padding: 0.25em 0.45em;
}

/* =========================================================
   MOBILE ONLY BEHAVIOUR
========================================================= */
@media (max-width: 768px) {

  /* stop collapse pushing content */
  .navbar .container {
    flex-wrap: nowrap !important;
  }

  /* hide desktop menu completely */
  .navbar-collapse {
    display: none !important;
  }

  /* notification dropdown fit screen */
  .navbar .notif-dropdown {
    width: min(92vw, 360px);
    max-width: 92vw;
    left: 50% !important;
    transform: translateX(-50%);
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 576px) {
  .navbar {
    min-height: 58px;
    padding: 0.2rem 0.6rem;
  }

  .navbar .navbar-brand img {
    height: 38px;
  }
}

/* ===============================
   NAV LINK NO-WRAP FIX (FINAL)
================================ */
.navbar .nav-link.nav-nowrap{
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
}
/* ===============================
   PROMO ONLY MEDIA (LEFT SIDE)
   Desktop = same height as right grid (NO change)
   Mobile = full video visible (NO CUT)
================================ */
/* ===============================
   PROMO ONLY MEDIA (LEFT SIDE)
   Desktop = same height as right grid
   Mobile = full visible (no cut)
   Fix: object-fit inherit override
================================ */

.promo-only-wrap{
  width: 100%;
}

.promo-click-link{
  display: block;
  text-decoration: none;
}

/* card */
.promo-media-card{
  width: 100%;
  height: 384px;
  padding: 0 !important;
  overflow: hidden;

  border-radius: 0 !important;
  box-shadow: none !important;

  background: #fff;
  border: 1px solid #dfe3ea;
}

/* ✅ IMPORTANT: override "inherit" from other CSS */
.promo-media-card > .promo-media,
.promo-media-card img.promo-media,
.promo-media-card video.promo-media{
  width: 100% !important;
  height: 100% !important;
  display: block !important;

  object-fit: inherit !important;   /* ✅ desktop fill */
  background: #fff !important;

  pointer-events: auto;
  cursor: pointer;
}

/* Tablet */
@media (max-width: 992px){
  .promo-media-card{
    height: 340px;
  }
}

/* ✅ Mobile: NO CUT (full visible) */
@media (max-width: 576px){
  .promo-media-card{
    height: 220px;            /* adjust 200-260 as you like */
    max-width: 360px;
    margin: 0 auto 12px auto;
    background: #fff;
  }

  .promo-media-card > .promo-media,
  .promo-media-card img.promo-media,
  .promo-media-card video.promo-media{
    object-fit: contain !important;   /* ✅ NO CROP */
  }
}
/* ===== Promo Carousel ===== */
.promo-carousel .carousel-inner{
  border-radius: 0;
}

/* same card */
.promo-media-card{
  width: 100%;
  height: 384px;
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe3ea;
}

/* media fit */
.promo-media-card .promo-media{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover; /* desktop fill */
  background: #fff !important;
}

/* arrows visible on white */
.promo-carousel .carousel-control-prev-icon,
.promo-carousel .carousel-control-next-icon{
  filter: invert(1);
}

/* Tablet */
@media (max-width: 992px){
  .promo-media-card{ height: 340px; }
}

/* Mobile no crop */
@media (max-width: 576px){
  .promo-media-card{
    height: 220px;
    max-width: 360px;
    margin: 0 auto 12px auto;
  }
  .promo-media-card .promo-media{
    object-fit: contain !important; /* ✅ no cut */
  }
}

