/* --- GURUMANTRA PREMIUM STYLESHEET (FINAL UPDATED) --- */

:root {
  --orange: #dc3f3f;
  --orange-soft: rgba(255, 102, 0, 0.08);
  --dark: #1a1a1a;
  --grey-light: #f8f9fa;
  --white: #ffffff;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;   /* 🔥 BASE FONT PATLA */
  background-color: var(--grey-light);
  color: #333;
  overflow-x: hidden;
}

/* ================= NAVBAR (PROFESSIONAL FIX) ================= */

.main-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.navbar {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.brand-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--orange);
}

/* Nav links */
.nav-link {
  font-size: 15px;
  font-weight: 550;
  color: #222 !important;
  padding: 8px 14px;
  transition: 0.2s ease;
}

.nav-link:hover {
  color: var(--orange) !important;
}

/* Login button (orange hataya) */
.btn-login {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  background: #ffffff;
  border: 1px solid #ddd;
  color: #222;
  transition: 0.25s ease;
}

.btn-login:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

/* More services */
.more-link {
  font-size: 14px;
  font-weight: 600;
  color: #444 !important;
}

/* Dropdown */
.dropdown-menu {
  min-width: 240px;
  margin-top: 14px !important;
  border: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 10px;
}

.dropdown-item {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
  border-radius: 8px;
}

.dropdown-item:hover {
  background-color: var(--orange-soft);
  color: var(--orange);
}

/* ================= BUTTONS ================= */

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border: none;
  transition: 0.3s ease;
}

.btn-orange:hover {
  background: #e65c00;
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(255, 102, 0, 0.2);
}

.btn-outline-orange {
  border: 2px solid var(--orange);
  color: var(--orange);
  font-weight: 700;
}

.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--white);
}

/* ================= HERO SLIDER ================= */

.hero-img {
  height: 500px;
  object-fit: fill;
}

.bg-dark-50 {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px;
}

/* ================= PREMIUM CARD ================= */

.premium-card {
  background: var(--white);
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.floating-img {
  animation: floating 4s ease-in-out infinite;
  max-height: 280px;
}

@keyframes floating {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ================= AD SLIDER ================= */

.ad-img {
  height: 350px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: 0.4s ease;
}

.ad-img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.bg-orange {
  background-color: var(--orange) !important;
}

/* ================= NAV TILES ================= */

.nav-tile {
  background: var(--white);
  border-radius: 25px;
  border-left: 6px solid var(--orange);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  transition: 0.3s;
  cursor: pointer;
}

.nav-tile.border-dark-custom {
  border-left-color: var(--dark);
}

.nav-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 102, 0, 0.1);
}

/* ================= TEST SERIES ================= */

.test-card {
  background: var(--white);
  border-radius: 30px;
  transition: 0.4s;
}

.test-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(255, 102, 0, 0.1);
}

/* ================= FOOTER ================= */

.hover-orange:hover {
  color: var(--orange) !important;
  transform: translateX(5px);
  transition: 0.3s ease;
}

.social-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s ease;
}

.social-btn:hover {
  background: var(--orange);
  transform: translateY(-5px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .hero-img { height: 260px; }
  .ad-img { height: 200px; }
}

/* ================= MARQUEE ================= */

.gm-marquee {
  background: var(--orange);
  padding: 12px 0;
  overflow: hidden;
}

.marquee-content {
  display: inline-flex;
  gap: 60px;
  white-space: nowrap;
  animation: marqueeScroll 18s linear infinite;
}

.marquee-content span {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

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


/* ===== FIX : LATEST TEST SERIES IMAGE SIZE ===== */

.test-icon-box {
  height: 120px;              /* image area fix */
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-icon-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;        /* 🔥 distortion nahi hoga */
}

h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }
h4 { font-weight: 500; }
h5, h6 { font-weight: 500; }

p, span, li {
  font-weight: 400;
}


/* ===== COIN SECTION ===== */

.coin-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.coin-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(255,102,0,0.12);
}

.coin-icon {
  width: 60px;
  height: auto;
}

/* Online course css */
 body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: #f4f6fb;
    }

    .course-card {
      border-radius: 18px;
      transition: 0.2s;
    }

    .course-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    }

    .course-thumb {
      height: 140px;
      width: 100%;
      object-fit: cover;
      border-radius: 14px;
    }

    .btn-orange {
      background: #ff6a00;
      color: white;
    }

    .btn-orange:hover {
      background: #e85c00;
      color: white;
    }

/* ===== COURSE CHOICE SECTION ===== */

.course-choice-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.course-image {
  height: 240px;
  border-radius: 24px;
  background: 
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("../images/course-bg.png");
  background-size: cover;
  background-position: center;
}

/* Mobile fix */
@media (max-width: 768px) {
  .course-image {
    height: 180px;
  }
}

/* ===== CURRENT AFFAIRS PROFESSIONAL UI ===== */

.ca-header {
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  z-index: 1000;
}

.ca-search-box {
  position: relative;
}

.ca-search-box input {
  width: 340px;
  padding: 11px 18px 11px 44px;
  border-radius: 30px;
  border: 1px solid #e5e5e5;
  font-size: 14px;
  transition: 0.3s;
}

.ca-search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.ca-search-box input:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 12px 30px rgba(255,77,77,0.18);
}

.ca-filter-btn {
  border-radius: 30px;
  padding: 10px 18px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 500;
}

.ca-title {
  margin: 60px auto 40px;
}

.ca-title h2 {
  font-weight: 700;
}

.ca-title p {
  max-width: 620px;
  margin: 10px auto 0;
  color: #777;
  font-size: 14px;
}

.ca-card {
  background: #fff;
  padding: 30px 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  transition: 0.35s ease;
}

.ca-card i {
  font-size: 34px;
  color: #ff4d4d;
  margin-bottom: 14px;
}

.ca-card h6 {
  font-weight: 600;
  color: #222;
}

.ca-card:hover {
  transform: translateY(-8px);
}

.ca-card-highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 36px;
  text-align: left;
}

.ca-card-highlight h5 {
  font-weight: 600;
  margin-bottom: 4px;
}

.ca-card-highlight p {
  margin: 0;
  font-size: 13px;
  color: #777;
}

.ca-card-highlight i {
  font-size: 24px;
}

/* Mobile */
@media (max-width: 768px) {
  .ca-search-box input {
    width: 100%;
  }
}

/* ===================== GLOBAL ===================== */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
}

/* ===================== NAVBAR ===================== */
.navbar .text-orange {
  color: #ff6600;
}

/* ===================== HEADER ===================== */
h2 span.text-orange {
  color: #ff6600;
}

/* ===================== BLOG CARD GRID ===================== */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-card .blog-tag {
  display: inline-block;
  background: #a10f0f;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.blog-card h5 {
  font-size: 18px;
  margin-top: 8px;
}
.blog-card p {
  font-size: 14px;
  color: #555;
  margin-top: 6px;
}
.btn-outline-orange {
  border-color: #000000;
  color: #ff6600;
}
.btn-outline-orange:hover {
  background-color: #861515;
  color: #fff;
}
/* ===================== FILTER PANEL ===================== */
.offcanvas-body h6 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category list */
.list-group-item {
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-radius: 6px;
}
.list-group-item:hover {
  background: #ff660033;
  color: #b45515;
}

/* Sub Categories */
.sub-cat {
  font-size: 13px;
  cursor: pointer;
  color: #766254;
  background: #fff;
  border: 1px solid #0f0d0c;
  transition: all 0.2s;
}
.sub-cat:hover {
  background: #ff6600;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.sub-cat:focus {
  outline: none;
}


/* ===================== RESPONSIVE GRID ===================== */
@media(max-width: 992px){
  .blog-card img {
    height: 160px;
  }
}
@media(max-width: 768px){
  .blog-card img {
    height: 140px;
  }
}
@media(max-width: 576px){
  .blog-card img {
    height: 120px;
  }
}

/* ===================== BLOG DETAIL PAGE ===================== */
.blog-detail {
  max-width: 760px;
  margin: auto;
}
.blog-content p {
  font-size: 18px;
  line-height: 1.9;
  color: #555;
}
.blog-content h3 {
  margin-top: 40px;
  font-weight: 600;
}

/* SHARE BUTTON */
.share-btn {
  background: #fff;
  border-radius: 50%;
  padding: 12px 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}


/* ================= PROFILE & SECURITY SECTION ================= */

/* Profile specific colors */
.bg-orange-soft {
  background-color: var(--orange-soft);
}

/* Form styling */
.form-label {
  color: #555;
  margin-bottom: 6px;
}

.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 0.25rem rgba(220, 63, 63, 0.1);
}

/* OTP Input Boxes styling */
.otp-input-container input {
  width: 45px;
  height: 55px;
  font-size: 24px;
  font-weight: 700;
  border: 2px solid #eee;
  transition: 0.3s;
  text-align: center;
}

.otp-input-container input:focus {
  border-color: var(--orange);
  box-shadow: 0 8px 20px rgba(220, 63, 63, 0.15);
  outline: none;
}

/* Verified Badge Animation */
.text-success i {
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Modal styling */
#otpModal .modal-content {
  border: none;
  overflow: hidden;
}

/* Responsive Fix */
@media (max-width: 576px) {
  .otp-input-container input {
    width: 35px;
    height: 45px;
    font-size: 18px;
  }
}


.profile-menu .list-group-item {
  cursor: pointer;
  border: none;
  padding: 12px 16px;
  font-weight: 500;
}

.profile-menu .list-group-item.active {
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 12px;
}

.profile-tab {
  display: none;
}

.profile-tab.active {
  display: block;
}


/* ================= MOBILE MENU LEFT ALIGN FIX ================= */

@media (max-width: 991px) {

  /* navbar collapse area */
  .navbar-collapse {
    text-align: left !important;
  }

  /* menu list */
  .navbar-nav {
    align-items: flex-start !important;
  }

  /* each menu item full width */
  .navbar-nav .nav-item {
    width: 100%;
  }

  /* link + icon left aligned */
  .navbar-nav .nav-link {
    display: flex;
    justify-content: flex-start !important;
    align-items: center;
    text-align: left !important;
    padding-left: 0 !important;
  }

  /* dropdown menu mobile */
  .dropdown-menu {
    text-align: left !important;
    margin-left: 0 !important;
  }

  .dropdown-item {
    text-align: left !important;
  }
}

/* ================= PROFILE PAGE ONLY ================= */

.profile-page {
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* avatar */
.profile-avatar {
  font-size: 56px;
  color: var(--orange);
}

/* headings */
.profile-page h5 {
  font-weight: 600;
  color: #222;
}

/* labels */
.profile-page .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

/* inputs */
.profile-page .form-control {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

.profile-page .form-control::placeholder {
  color: #aaa;
}

/* focus */
.profile-page .form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 0.2rem rgba(220,63,63,0.15);
}

/* status */
.status-pending {
  font-size: 13px;
  font-weight: 600;
  color: #dc3545;
}

.status-verified {
  font-size: 13px;
  font-weight: 600;
  color: #28a745;
}

/* otp */
.otp-input-container input {
  width: 42px;
  height: 52px;
  border-radius: 8px;
  border: 2px solid #eee;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
}

.otp-input-container input:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 6px 16px rgba(220,63,63,0.15);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.text-orange {
  color: #000000;
}

.btn-orange {
  background: #ca1a1a;
  color: #fff;
}

.btn-orange:hover {
  background: #000000;
  color: #fff;
}

.profile-card {
  border-radius: 16px;
}

.status-pending {
  font-size: 14px;
  color: #dc3545;
  display: flex;
  align-items: center;
  gap: 6px;
}

.otp-input {
  width: 42px;
  height: 42px;
  text-align: center;
}

.danger-card {
  border: 1px solid #ffd6d6;
  background: #fff5f5;
  border-radius: 16px;
}

.password-field {
  position: relative;
}

.password-field .toggle-password {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 18px;
}

.password-field .toggle-password:hover {
  color: #000;
}
.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
}

.profile-card {
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.profile-card h6 {
  font-size: 16px;
}

.profile-card small {
  font-size: 13px;
}
.form-control {
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid #e4e4e4;
}

.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 6px 18px rgba(220,63,63,0.12);
}

/* ===== PROFILE ACCOUNT STRUCTURE ===== */

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

.edit-box {
  display: none;
  margin-top: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #f8f9fa;
}

.edit-box.active {
  display: block;
}

.toggle-btn {
  font-size: 13px;
  border-radius: 20px;
}

/* clean divider feel */
.info-row + .edit-box {
  border-left: 3px solid var(--orange);
}

/* security spacing */
.profile-page .password-field {
  position: relative;
}

.profile-page .toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
/* ===================================================== */
/* ========== PROFILE PAGE – UI POLISH OVERRIDES ======= */
/* ===================================================== */

.profile-page {
  background: #f7f8fa;
}

/* LEFT PROFILE CARD */
.profile-card {
  border-radius: 18px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

.profile-card h5 {
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-card p,
.profile-card small {
  font-size: 13px;
  color: #6b7280;
}

/* RIGHT MAIN BOX */
.profile-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 30px;
  margin-bottom: 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

/* SECTION HEADINGS */
.profile-box h6 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #111827;
}

/* INFO ROW CLEAN */
.info-row {
  padding: 14px 0;
  border-bottom: 1px solid #eef0f3;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row small {
  font-size: 12px;
  color: #6b7280;
}

.info-row .fw-semibold {
  font-size: 14.5px;
  font-weight: 500;
}

/* CHANGE BUTTON – PROFESSIONAL */
.toggle-btn,
.info-row button {
  border: 1px solid #d1d5db;
  background: transparent;
  color: #374151;
  font-size: 13px;
  padding: 6px 18px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.toggle-btn:hover,
.info-row button:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}

/* EDIT BOX */
.edit-box {
  background: #f9fafb;
  border-radius: 14px;
  padding: 18px;
  margin-top: 14px;
  border-left: 3px solid var(--orange);
}

/* PASSWORD FIELD */
.password-field input {
  padding-right: 44px;
}

.toggle-password {
  color: #9ca3af;
}

.toggle-password:hover {
  color: #111827;
}

/* DELETE ACCOUNT – SOFT BUT DANGER */
.danger-card,
.delete-box {
  background: #fff5f5;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

.danger-card h6,
.delete-box h6 {
  color: #dc2626;
  font-weight: 600;
}

.danger-card p,
.delete-box p {
  font-size: 13px;
  color: #7f1d1d;
}

/* DELETE BUTTON */
.danger-card button,
.delete-box button {
  width: 100%;
  border-radius: 999px;
  font-size: 14px;
  padding: 12px;
}


/* ================= DASHBOARD ================= */

.dashboard-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0,0,0,0.06);
  transition: 0.35s ease;
  cursor: pointer;
  height: 100%;
}

.dashboard-card i {
  font-size: 36px;
  color: var(--orange);
  margin-bottom: 12px;
}

.dashboard-card h6 {
  font-weight: 500;
  margin-bottom: 4px;
  color: #111;
}

.dashboard-card p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

.dashboard-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(255,102,0,0.15);
}

/* Dropdown */
.dashboard-dropdown {
  position: absolute;
  top: 80%;          /* 👈 card ke niche se */
  right: 0;
  margin-top: 8px;   /* 👈 halka sa gap */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  z-index: 1000;
}

.dashboard-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 550;
  color: #333;
  text-decoration: none;
  transition: 0.25s ease;
}

.dashboard-dropdown a:hover {
  background: var(--orange-soft);
  color: var(--orange);
}


body {
  background: #f8f9fa;
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* Wrapper */
.coupon-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Card */
.coupon-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
  border-left: 6px solid #ccc;
  transition: 0.3s ease;
}

.coupon-card:hover {
  transform: translateY(-3px);
}

/* Status Colors */
.coupon-card.used {
  border-left-color: #28a745;
}

.coupon-card.expired {
  border-left-color: #dc3545;
}

/* Sections */
.coupon-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 120px;
}

.coupon-code {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Center info */
.coupon-center p {
  margin: 2px 0;
  font-size: 14px;
  color: #444;
}

/* Right */
.coupon-right .date {
  font-size: 13px;
  color: #777;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
  .coupon-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .coupon-right {
    align-self: flex-end;
  }
}

body {
  background: #f7f8fc;
}

.coupon-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.coupon-card {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.coupon-left {
  min-width: 120px;
}

.coupon-left .code {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}

.coupon-middle {
  flex: 1;
}

.coupon-middle .course {
  font-weight: 600;
  margin-bottom: 4px;
}

.coupon-middle .discount {
  font-size: 14px;
  color: #666;
}

.coupon-right .date {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}


/* ================= COUPON HISTORY PREMIUM FIX ================= */

.coupon-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coupon-main-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf0f2;
    position: relative;
    overflow: visible; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.coupon-main-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* Status specific side highlights */
.used-status { border-left: 5px solid #28a745; }
.expired-status { border-left: 5px solid #dc3545; }

.coupon-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.status-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
    display: inline-block;
}

.used-status .status-badge { background: #e8f5e9; color: #2e7d32; }
.expired-status .status-badge { background: #ffebee; color: #c62828; }

.course-title {
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    color: #1a1a1a;
}

.benefit {
    font-size: 14px;
    color: #666;
    margin: 4px 0 0 0;
}

/* Coupon Code Ticket Look */
.coupon-code-box {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 8px 16px;
    border-radius: 10px;
    text-align: center;
    min-width: 100px;
}

.coupon-code-box small {
    display: block;
    font-size: 10px;
    color: #999;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.actual-code {
    font-weight: 800;
    font-size: 15px;
    color: var(--dark);
}

/* Professional Footer with Dashed Line */
.coupon-footer {
    background: #fcfcfc;
    padding: 10px 24px;
    border-top: 1px dashed #e9ecef;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .coupon-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .coupon-code-box {
        width: 100%;
    }
}


/* ================= PREMIUM COINS UI ================= */

/* Balance Card */
.coin-balance-card {
    background: linear-gradient(135deg, #dc3f3f 0%, #a10f0f 100%);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(220, 63, 63, 0.25);
    position: relative;
    overflow: visible; 
}

.coin-balance-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

/* Tabs Styling */
.history-wrapper {
    border-radius: 20px;
}

.nav-pills .nav-link {
    color: #666;
    font-weight: 600;
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 14px;
}

.nav-pills .nav-link.active {
    background-color: var(--orange) !important;
}

/* Transaction Items */
.transaction-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 15px;
    background: #fdfdfd;
    border: 1px solid #f1f1f1;
    transition: 0.3s;
}

.transaction-item:hover {
    background: #fff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

/* Credit/Debit status indicators */
.transaction-item.credit .icon-circle {
    background: #e8f5e9;
    color: #2e7d32;
}

.transaction-item.debit .icon-circle {
    background: #ffebee;
    color: #c62828;
}

.transaction-item .details {
    flex-grow: 1;
}

.transaction-item .amount {
    font-weight: 800;
    font-size: 16px;
}

/* Default state: Sab dikhao */
    .trx-item { display: flex !important; }

    /* Jab Credit mode active ho (Body par class lagayenge JS se) */
    body.mode-credit .trx-item[data-type="debit"] {
        display: none !important;
    }

    /* Jab Debit mode active ho */
    body.mode-debit .trx-item[data-type="credit"] {
        display: none !important;
    }
    
    /* Tab colors for clarity */
    .nav-link.active { background-color: #dc3f3f !important; color: white !important; }


    .btn-outline-orange {
    border-color: #ff6600 !important;
    color: #ff6600 !important;
}

.btn-outline-orange:hover {
    background-color: #ff6600 !important;
    color: #fff !important;
}

.text-orange {
    color: #ff6600 !important;
}

#answerWritingModal .btn-success {
    background-color: #25d366;
    border: none;
    transition: 0.3s;
}

#answerWritingModal .btn-success:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}

/* --- ANSWER WRITING PAGE STYLES --- */
.answer-writing-body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card {
    max-width: 450px;
    width: 90%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: white;
    text-align: center;
    margin: 40px auto;
}

.card-header-ui {
    background: linear-gradient(135deg, #ff6600, #ff9933);
    padding: 50px 20px;
    color: white;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.icon-box i {
    color: white;
    font-size: 35px;
}

.contact-number-box {
    background-color: #fff5f0;
    padding: 20px;
    border-radius: 15px;
    border: 2px dashed #ff6600;
    margin-bottom: 25px;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white !important;
    border-radius: 50px;
    padding: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-call {
    background-color: #212529;
    color: white !important;
    border-radius: 50px;
    padding: 15px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.btn-call:hover {
    background-color: #000;
    transform: translateY(-3px);
}

/* --- Course Inner Modules Styling --- */
.module-card {
    border-radius: 15px;
    overflow: visible;   /* ✅ */
    transition: transform 0.3s;
    background: #fff;
    border: none;
}

.module-card:hover { transform: translateY(-5px); }
.thumb-img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; }
.btn-orange { background-color: #e03131; color: white; border: none; }
.btn-orange:hover { background-color: #2c221c; color: white; }
.btn-outline-orange { border: 1px solid #ff6600; color: #ff6600; }
.btn-outline-orange:hover { background: #ff6600; color: white; }

/* Modal Styling */
.modal-content { border-radius: 20px; border: none; }
.lang-btn { border-radius: 10px; padding: 12px; font-weight: 600; }

/* === SINGLE SOURCE OF TRUTH : DROPDOWN === */

.dropdown-menu {
    min-width: 200px;
    margin-top: 8px !important;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border: none;
    background: #fff;
}

.dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: 0.2s ease;
}

.dropdown-item:hover {
    background-color: #fff0eb;
    color: #dc3f3f;
}


.module-card {
    position: relative;
    z-index: 1;
}


/* Bootstrap dropdown on top of everything */
.dropdown-menu {
    position: absolute !important;
    z-index: 999999 !important;
}


/* ==== GLOBAL DROPDOWN FIX ==== */
.card,
.module-card,
.container,
.row,
.col {
    overflow: visible !important;
}

/* ================= FINAL DROPDOWN MASTER FIX ================= */

.module-card {
    position: relative !important;
    overflow: visible !important;
}

.card {
    overflow: visible !important;
}

.dropdown-menu {
    position: absolute !important;
    z-index: 999999 !important;
    min-width: 200px;
    margin-top: 8px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}


/* ==== TEST SET PAGE ONLY ==== */

.test-set-card {
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.lang-btn {
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
}
/* Login Page */

.login-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #f6f7fb;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.login-card {
  background: white;
  padding: 40px 35px;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.login-input {
  border-radius: 10px;
  padding: 12px 14px;
}

.btn-login {
  background: #7a1323;
  color: white;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
}

.btn-login:hover {
  background: #5e0f1b;
  color: white;
}
#otpBox {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {opacity:0; transform:translateY(10px);}
  to {opacity:1; transform:translateY(0);}
}
