/* ============================================================
       COMPLETE STYLES - RPSC BOOKS LANDING PAGE
       ============================================================ */
    :root {
      --primary: #f57327;
      --primary-dark: #d45500;
      --primary-gradient: linear-gradient(135deg, #f57327, #d45500);
      --shadow: 0 10px 30px rgba(0,0,0,0.08);
      --shadow-hover: 0 15px 40px rgba(245,115,39,0.2);
      --radius: 14px;
      --transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }
    input, textarea, select {
      -webkit-user-select: text;
      -moz-user-select: text;
      -ms-user-select: text;
      user-select: text;
    }

    html { font-size: 16px; scroll-behavior: smooth; }
    body {
      font-family: 'Poppins', sans-serif;
      background: #f8f9fa;
      color: #1e293b;
      overflow-x: hidden;
    }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; height: auto; }
    ul { list-style: none; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: #1a1a2e; }
    ::-webkit-scrollbar-thumb { background: var(--primary-gradient); border-radius: 10px; }

    .scroll-progress {
      position: fixed; top: 0; left: 0; height: 3px; width: 0%;
      background: var(--primary-gradient); z-index: 999999;
      transition: width 0.1s linear;
    }

    @media (max-width: 768px) {
    }

    /* ============================================================
       TOP SCROLL MENU
       ============================================================ */
    .top-scroll-bar {
      width: 100%;
      background: rgba(0, 0, 0, 0.92);
      backdrop-filter: blur(10px);
      padding: 6px 0;
      border-bottom: 1px solid rgba(245,115,39,0.15);
      overflow-x: auto;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch;
      box-shadow: 0 4px 20px rgba(245,115,39,0.1);
      display: flex;
      justify-content: center;
      gap: 6px;
      position: sticky;
      top: 0;
      z-index: 9999;
      scrollbar-width: none;
    }
    .top-scroll-bar::-webkit-scrollbar { display: none; }

    .menu-item {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(50,50,50,0.95);
      padding: 5px 10px;
      border-radius: 10px;
      border: 1px solid rgba(255,255,255,0.08);
      text-align: center;
      min-width: 80px;
      font-size: 12px;
      font-weight: 600;
      color: #fff;
      transition: all 0.25s ease;
      box-shadow: 0 2px 5px rgba(0,0,0,0.3);
      white-space: normal;
      flex-shrink: 0;
    }
    .menu-item i {
      font-size: 15px;
      display: block;
      margin-bottom: 2px;
      color: var(--primary);
    }
    .menu-item:hover {
      transform: scale(1.05);
      background: var(--primary-gradient);
      box-shadow: 0 5px 15px rgba(245,115,39,0.4);
      border-color: #fff;
    }
    .menu-item.red-btn { background: linear-gradient(135deg, #f57327, #d45500); }

    @media (max-width: 480px) {
      .menu-item { min-width: 65px; padding: 4px 6px; font-size: 12px; }
      .menu-item i { font-size: 12px; }
      .top-scroll-bar { gap: 4px; padding: 4px 0; }
    }

    /* ===== SUB-MENU DESKTOP - RIGHT SIDE OPEN ===== */
    @media (min-width: 993px) {
    }

    /* ===== MOBILE NAV ===== */
    @media (max-width: 992px) {
    }

    @media (max-width: 480px) {
    }

    /* ============================================================
       HERO BANNER
       ============================================================ */
    .hero-banner {
      background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0d0d2b 100%);
      padding: 50px 0 35px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .hero-banner::before {
      content: '';
      position: absolute;
      top: -30%;
      right: -10%;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(245,115,39,0.1), transparent 70%);
      border-radius: 50%;
      animation: floatGlow 8s ease-in-out infinite;
    }
    .hero-banner::after {
      content: '';
      position: absolute;
      bottom: -20%;
      left: -10%;
      width: 250px;
      height: 250px;
      background: radial-gradient(circle, rgba(245,115,39,0.06), transparent 70%);
      border-radius: 50%;
      animation: floatGlow 10s ease-in-out infinite reverse;
    }
    @keyframes floatGlow {
      0%,100% { transform: translate(0,0) scale(1); }
      50% { transform: translate(20px,-20px) scale(1.1); }
    }

    .hero-banner .hero-badge {
      display: inline-block;
      background: var(--primary-gradient);
      color: #fff;
      padding: 4px 16px;
      border-radius: 50px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 12px;
      position: relative;
      z-index: 1;
    }
    .hero-banner h1 {
      font-size: 2.2rem;
      font-weight: 900;
      line-height: 1.15;
      color: #fff;
      position: relative;
      z-index: 1;
    }
    .hero-banner h1 .highlight {
      background: var(--primary-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-banner p {
      color: rgba(255,255,255,0.7);
      font-size: 0.95rem;
      line-height: 1.7;
      max-width: 700px;
      margin: 12px auto 0;
      position: relative;
      z-index: 1;
    }
    .hero-banner .hero-stats {
      display: flex;
      justify-content: center;
      gap: 25px;
      margin-top: 20px;
      position: relative;
      z-index: 1;
      flex-wrap: wrap;
    }
    .hero-banner .hero-stats .stat .num {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--primary);
    }
    .hero-banner .hero-stats .stat .label {
      font-size: 0.75rem;
      color: rgba(255,255,255,0.6);
    }

    @media (max-width: 480px) {
      .hero-banner { padding: 30px 0 20px; }
      .hero-banner h1 { font-size: 1.5rem; }
      .hero-banner p { font-size: 0.8rem; }
      .hero-banner .hero-stats { gap: 12px; }
      .hero-banner .hero-stats .stat .num { font-size: 1.3rem; }
    }

    /* ============================================================
       SECTION TITLE
       ============================================================ */
    .section-title {
      font-size: 1.8rem;
      font-weight: 800;
      text-align: center;
      position: relative;
      display: inline-block;
    }
    .section-title::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 50%;
      transform: translateX(-50%);
      width: 50px;
      height: 3px;
      background: var(--primary-gradient);
      border-radius: 4px;
    }
    .section-title .highlight {
      background: var(--primary-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .section-subtitle {
      text-align: center;
      color: #6c757d;
      max-width: 700px;
      margin: 10px auto 0;
      font-size: 0.85rem;
    }

    @media (min-width: 768px) {
      .section-title { font-size: 2.2rem; }
      .section-title::after { width: 70px; height: 3px; }
    }

    /* ============================================================
       COURSE CARDS (6 Plans)
       ============================================================ */
    .course-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 20px;
    }

    @media (min-width: 576px) {
      .course-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    }

    @media (min-width: 992px) {
      .course-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; }
    }

    .course-card {
      background: #fff;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: all 0.4s ease;
      border: 1px solid rgba(245,115,39,0.06);
      display: flex;
      flex-direction: column;
    }
    .course-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: var(--primary);
    }
    .course-card .card-image {
      position: relative;
      overflow: hidden;
      height: 160px;
      flex-shrink: 0;
      background: linear-gradient(135deg, #1a1a3e, #0d0d2b);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .course-card .card-image .icon-big {
      font-size: 4rem;
      color: var(--primary);
      opacity: 0.8;
    }
    .course-card .card-image .course-tag {
      position: absolute;
      top: 10px;
      right: 10px;
      padding: 3px 12px;
      border-radius: 50px;
      font-size: 12px;
      font-weight: 700;
      color: #fff;
      background: rgba(0,0,0,0.7);
      text-transform: uppercase;
    }
    .course-card .card-image .course-tag.bestseller {
      background: var(--primary-gradient);
    }
    .course-card .card-image .course-tag.popular {
      background: linear-gradient(135deg, #ffd700, #f5a623);
      color: #1a1a2e;
    }
    .course-card .card-image .course-tag.offline {
      background: linear-gradient(135deg, #00b894, #00a86b);
    }
    .course-card .card-image .course-tag.courier {
      background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    }
    .course-card .card-body {
      padding: 16px;
      flex: 1;
      display: flex;
      flex-direction: column;
      text-align: center;
    }
    .course-card .card-body h3 {
      font-size: 0.95rem;
      font-weight: 700;
      margin-bottom: 3px;
      min-height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .course-card .card-body .meta {
      display: flex;
      justify-content: center;
      gap: 10px;
      font-size: 12px;
      color: #6c757d;
      margin: 4px 0;
      flex-wrap: wrap;
    }
    .course-card .card-body .meta i {
      color: var(--primary);
      margin-right: 3px;
    }
    .course-card .card-body .price {
      display: flex;
      align-items: baseline;
      justify-content: center;
      gap: 10px;
      margin: 8px 0;
      flex-wrap: wrap;
    }
    .course-card .card-body .price .current {
      font-size: 24px;
      font-weight: 800;
      color: var(--primary);
    }
    .course-card .card-body .price .note {
      font-size: 12px;
      color: #6c757d;
      font-weight: 400;
    }
    .course-card .card-body .btn-order {
      display: inline-block;
      padding: 10px 20px;
      border-radius: 50px;
      background: var(--primary-gradient);
      color: #fff;
      font-weight: 600;
      font-size: 13px;
      transition: all 0.3s ease;
      width: 100%;
      margin-top: auto;
      border: none;
      cursor: pointer;
    }
    .course-card .card-body .btn-order:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(245,115,39,0.35);
    }

    @media (max-width: 480px) {
      .course-card .card-image { height: 130px; }
      .course-card .card-image .icon-big { font-size: 3rem; }
      .course-card .card-body { padding: 12px; }
      .course-card .card-body h3 { font-size: 0.85rem; min-height: 30px; }
      .course-card .card-body .price .current { font-size: 20px; }
    }

    /* ============================================================
       TERMS & CONDITIONS
       ============================================================ */
    .terms-section {
      background: #fff;
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow);
      border-left: 4px solid var(--primary);
      margin-top: 20px;
    }
    .terms-section h3 {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .terms-section ul {
      list-style: none;
      padding: 0;
    }
    .terms-section ul li {
      padding: 6px 0;
      padding-left: 28px;
      position: relative;
      font-size: 13px;
      color: #444;
      border-bottom: 1px solid rgba(0,0,0,0.04);
      line-height: 1.6;
    }
    .terms-section ul li:last-child { border-bottom: none; }
    .terms-section ul li::before {
      content: '📌';
      position: absolute;
      left: 0;
      top: 6px;
      font-size: 14px;
    }
    .terms-section ul li strong { color: var(--primary); }

    @media (max-width: 480px) {
      .terms-section { padding: 14px; }
      .terms-section ul li { font-size: 12px; padding: 5px 0 5px 24px; }
      .terms-section ul li::before { font-size: 12px; top: 5px; }
    }

    /* ============================================================
       REGISTER BUTTON - CENTERED
       ============================================================ */
    .register-section {
      text-align: center;
      padding: 20px 0 10px;
    }
    .register-btn {
      display: inline-block;
      padding: 16px 60px;
      border-radius: 50px;
      background: var(--primary-gradient);
      color: #fff;
      font-size: 20px;
      font-weight: 700;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 8px 30px rgba(245,115,39,0.35);
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .register-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 40px rgba(245,115,39,0.5);
    }
    .register-btn i {
      margin-right: 10px;
    }

    @media (max-width: 480px) {
      .register-btn {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
      }
    }

    /* ============================================================
       ACHIEVEMENTS
       ============================================================ */
    .achievement-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-top: 16px;
    }

    .achievement-card {
      background: #fff;
      border-radius: var(--radius);
      padding: 20px 15px;
      text-align: center;
      box-shadow: var(--shadow);
      transition: all 0.4s ease;
      border: 1px solid rgba(245,115,39,0.06);
    }
    .achievement-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: var(--primary);
    }
    .achievement-card .icon {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 6px;
    }
    .achievement-card .num {
      font-size: 2rem;
      font-weight: 900;
      color: var(--primary);
    }
    .achievement-card .label {
      font-size: 0.9rem;
      font-weight: 600;
      margin-top: 3px;
    }
    .achievement-card .desc {
      font-size: 0.75rem;
      color: #6c757d;
      margin-top: 3px;
    }

    @media (min-width: 576px) {
      .achievement-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    }

    @media (max-width: 480px) {
      .achievement-card { padding: 14px 10px; }
      .achievement-card .num { font-size: 1.5rem; }
      .achievement-card .icon { font-size: 1.5rem; }
      .achievement-card .label { font-size: 0.75rem; }
      .achievement-grid { gap: 10px; }
    }

/* ============================================================
       FLOATING ELEMENTS
       ============================================================ */
    .back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 36px;
      height: 36px;
      background: var(--primary-gradient);
      border: none;
      border-radius: 50%;
      color: #fff;
      font-size: 14px;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      transition: all 0.3s ease;
      z-index: 1000;
      box-shadow: 0 4px 15px rgba(245,115,39,0.3);
    }
    .back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

    .whatsapp-float {
      position: fixed;
      bottom: 70px;
      right: 20px;
      z-index: 999;
      background: linear-gradient(135deg, #25d366, #128C7E);
      color: #fff;
      padding: 8px 14px;
      border-radius: 50px;
      box-shadow: 0 8px 30px rgba(37,211,102,0.35);
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 600;
      transition: all 0.3s ease;
      animation: floatWA 3s ease-in-out infinite;
      font-size: 12px;
    }
    @keyframes floatWA {
      0%,100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }
    .whatsapp-float:hover { transform: scale(1.05); color: #fff; }

    /* ============================================================
       ENQUIRY POPUP
       ============================================================ */
    .enquiry-btn {
      position: fixed;
      bottom: 15px;
      left: 15px;
      z-index: 9999;
      padding: 10px 20px;
      font-size: 13px;
      font-weight: 700;
      border-radius: 50px;
      border: 0;
      cursor: pointer;
      background: var(--primary-gradient);
      color: #fff;
      box-shadow: 0 4px 15px rgba(0,0,0,0.25);
      animation: slideIn 0.8s forwards, pulseBtn 2.2s infinite 1s;
    }
    @keyframes slideIn {
      from { opacity: 0; transform: translateY(100px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes pulseBtn {
      0%,100% { transform: scale(1); }
      50% { transform: scale(1.05); }
    }

    .popup {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 100000;
      background: rgba(0,0,0,0.7);
      align-items: center;
      justify-content: center;
      padding: 15px;
      opacity: 0;
      transition: opacity 0.3s ease;
      backdrop-filter: blur(4px);
    }
    .popup.show {
      display: flex;
      opacity: 1;
    }
    .popup-content {
      width: 100%;
      max-width: 340px;
      background: #fff;
      border-radius: 16px;
      padding: 20px;
      text-align: center;
      position: relative;
      transform: scale(0.7);
      opacity: 0;
      transition: transform 0.3s ease, opacity 0.3s ease;
      max-height: 90vh;
      overflow-y: auto;
    }
    .popup.show .popup-content {
      transform: scale(1);
      opacity: 1;
    }
    .close-btn {
      position: absolute;
      top: 8px;
      right: 12px;
      border: 0;
      background: none;
      font-size: 22px;
      cursor: pointer;
      color: #555;
      padding: 8px;
      z-index: 10;
    }
    .popup-content h2 {
      color: var(--primary);
      margin: 4px 0 10px;
      font-size: 17px;
    }
    .popup-content input,
    .popup-content textarea,
    .popup-content select {
      width: 100%;
      padding: 10px 12px;
      margin: 6px 0;
      border-radius: 8px;
      border: 1.5px solid #ddd;
      font-size: 15px;
      transition: border-color 0.3s ease;
      background: #fff;
    }
    .popup-content input:focus,
    .popup-content textarea:focus,
    .popup-content select:focus {
      border-color: var(--primary);
      outline: none;
      box-shadow: 0 0 0 3px rgba(245,115,39,0.15);
    }
    .popup-content textarea {
      resize: vertical;
      min-height: 60px;
    }
    .submit-btn {
      width: 100%;
      padding: 12px;
      border-radius: 8px;
      border: 0;
      cursor: pointer;
      font-weight: 700;
      background: var(--primary-gradient);
      color: #fff;
      margin-top: 8px;
      transition: all 0.3s ease;
      font-size: 15px;
    }
    .submit-btn:active { transform: scale(0.98); }
    .success-msg {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 150000;
      background: #e0f7fa;
      color: #00796b;
      padding: 16px 24px;
      border-radius: 10px;
      font-weight: 600;
      box-shadow: 0 8px 25px rgba(0,0,0,0.2);
      font-size: 14px;
    }
    @media (max-width: 768px) {
      .enquiry-btn { bottom: 10px; left: 10px; padding: 8px 16px; font-size: 12px; z-index: 9999; }
      .popup-content { padding: 16px; max-width: 300px; }
      .popup-content input, .popup-content textarea, .popup-content select { font-size: 16px; padding: 10px 12px; }
      .close-btn { font-size: 24px; top: 6px; right: 10px; padding: 6px; }
      .popup-content h2 { font-size: 16px; }
      .submit-btn { font-size: 14px; padding: 10px; }
    }
    @media (max-width: 480px) {
      .enquiry-btn { bottom: 8px; left: 8px; padding: 6px 14px; font-size: 12px; }
      .popup-content { padding: 14px; max-width: 280px; }
      .popup-content input, .popup-content textarea, .popup-content select { font-size: 15px; padding: 8px 10px; margin: 4px 0; }
      .success-msg { font-size: 12px; padding: 12px 18px; }
    }

    /* ===== UTILITY ===== */
    .text-center { text-align: center; }
    .mb-4 { margin-bottom: 25px; }
    .me-2 { margin-right: 8px; }
    .text-white-50 { color: rgba(255,255,255,0.5); }
    .py-1 { padding: 20px 0; }
    .py-2 { padding: 40px 0; }
    .bg-light { background: #f5f7fb; }
    .bg-white { background: #fff; }
    .bg-dark-section { background: linear-gradient(135deg, #0a0a1a, #1a1a3e); }
    .mt-3 { margin-top: 20px; }
    .mt-4 { margin-top: 30px; }
    .mb-3 { margin-bottom: 20px; }
    .fw-bold { font-weight: 700; }
    .text-muted { color: #6c757d; }
    .w-100 { width: 100%; }
    .d-flex { display: flex; }
    .flex-wrap { flex-wrap: wrap; }
    .align-center { align-items: center; }
    .justify-center { justify-content: center; }
