/* =========================================================
   11and12Solutions - custom.css
   ========================================================= */

:root{
  --navy: #0d3b66;
  --navy-dark: #0a2c4d;
  --blue: #1b6fc9;
  --sky: #eaf3fc;
  --orange: #f5820a;
  --accent: #f5820a;
  --green: #1a9e5c;
  --purple: #7c4dff;
  --teal: #0aa6a6;
  --pink: #ef476f;
  --yellow: #f0b429;
  --grey-bg: #f4f6f9;
  --text-muted: #6c7a89;
  --radius: 14px;
}

*{ box-sizing: border-box; }

body{
  font-family: 'Poppins', sans-serif;
  color: #1f2d3d;
  background: #ffffff;
  overflow-x: hidden;
}

a{ text-decoration: none; }
h1,h2,h3,h4,h5,h6{ font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy); }

/* ============ NAVBAR ============ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 10px rgba(13,59,102,.08);
}

.brand-icon{
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.brand-title{
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.1;
}

.text-accent{ color: var(--orange); }

.brand-sub{
  font-size: .7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.navbar-nav .nav-link{
  color: #33445a;
  font-weight: 500;
  padding: .5rem .9rem !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover{
  color: var(--blue);
}

.nav-search{
  background: #f1f4f8;
  border-radius: 30px;
  padding: 4px 4px 4px 16px;
  align-items: center;
  min-width: 230px;
}

.nav-search input{
  border: none;
  background: transparent;
  font-size: .85rem;
  box-shadow: none !important;
}

.nav-search .btn{
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.btn-neb{
  border: 1.5px solid #d33b3b;
  color: #d33b3b;
  border-radius: 30px;
  font-weight: 600;
  padding: .4rem 1rem;
  font-size: .85rem;
}
.btn-neb:hover{ background:#d33b3b; color:#fff; }

.icon-btn{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: #f1f4f8;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}

/* ============ HERO ============ */
.hero-section{
  background: linear-gradient(180deg,#eaf3fc 0%, #d9ecfb 60%, #eaf3fc 100%);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.badge-pill{
  background: #fff;
  border: 1px solid #d7e6f7;
  color: var(--navy);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: 30px;
  display: inline-block;
}

.hero-title{
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.hero-title span{
  font-size: 2.9rem;
  color: var(--navy-dark);
}

.hero-subtitle{
  font-size: 1.05rem;
  font-weight: 600;
  color: #33445a;
}

.hero-nepali{
  font-size: 1rem;
  color: var(--blue);
  font-weight: 600;
}

.hero-search{
  background: #fff;
  border-radius: 40px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(13,59,102,.12);
  max-width: 520px;
  align-items: center;
}

.hero-search .input-icon{
  color: #98a6b3;
  padding: 0 .8rem;
}

.hero-search input{
  border: none;
  box-shadow: none !important;
  font-size: .9rem;
}

.btn-search{
  background: var(--blue);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  padding: .55rem 1.6rem;
  white-space: nowrap;
}
.btn-search:hover{ background: var(--navy); color:#fff; }

.hero-checklist{
  list-style: none;
  padding: 0; margin: 0;
  display: inline-flex;
  flex-direction: column;
  gap: .6rem;
  background: #fff;
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(13,59,102,.08);
}

.hero-checklist li{
  font-weight: 600;
  font-size: .92rem;
  color: #33445a;
}
.hero-checklist i{
  color: var(--blue);
  margin-right: .5rem;
}

.hero-checklist-mobile{
  display: inline-flex;
}

.hero-script{
  position: absolute;
  top: -6px;
  right: 10px;
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--navy);
  transform: rotate(-4deg);
}

.hero-image{
  max-height: 380px;
  border-radius: 20px;
  object-fit: cover;
}

/* ============ FEATURE STRIP ============ */
.feature-strip{ padding: 2.2rem 0; }

.feature-box{
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-box:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(13,59,102,.08);
}
.feature-box h6{ font-size: .95rem; margin: .6rem 0 .3rem; }
.feature-box p{ font-size: .8rem; color: var(--text-muted); margin: 0; }

.feature-box-sm{ padding-top: .4rem; }
.feature-box-sm h6{ font-size: .78rem; margin-top: .4rem; font-weight: 600; }

.feature-icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto;
}
.feature-box-sm .feature-icon{ width: 46px; height: 46px; font-size: 1.1rem; border-radius: 12px; }

.bg-blue{ background: linear-gradient(135deg,#3b82f6,#1b6fc9); }
.bg-green{ background: linear-gradient(135deg,#22c55e,#1a9e5c); }
.bg-orange{ background: linear-gradient(135deg,#fb923c,#f5820a); }
.bg-purple{ background: linear-gradient(135deg,#a78bfa,#7c4dff); }
.bg-teal{ background: linear-gradient(135deg,#2dd4bf,#0aa6a6); }
.bg-navy{ background: linear-gradient(135deg,#1e3a5f,#0d3b66); }
.bg-pink{ background: linear-gradient(135deg,#fb7185,#ef476f); }
.bg-lgreen{ background: linear-gradient(135deg,#86efac,#4ade80); }
.bg-cyan{ background: linear-gradient(135deg,#67e8f9,#22d3ee); }
.bg-yellow{ background: linear-gradient(135deg,#fde68a,#f0b429); }
.bg-indigo{ background: linear-gradient(135deg,#a5b4fc,#6366f1); }
.bg-rose{ background: linear-gradient(135deg,#fda4af,#e11d48); }
.bg-grey{ background: linear-gradient(135deg,#94a3b8,#64748b); }

/* ============ SUBJECTS SECTION ============ */
.subjects-section, .subjects-section-mobile{ padding: 2.5rem 0; background: var(--grey-bg); }

.section-heading{
  font-size: 1.15rem;
  color: var(--navy);
}

.link-view-all{
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
}

.sidebar-card{
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 4px 14px rgba(13,59,102,.06);
}
.sidebar-title{
  color: var(--navy);
  font-size: 1rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--blue);
  margin-bottom: .6rem;
}
.sidebar-list{ list-style: none; margin: 0; padding: 0; }
.sidebar-list li a{
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem .2rem;
  color: #33445a;
  font-size: .9rem;
  font-weight: 500;
  border-bottom: 1px dashed #eef1f6;
}
.sidebar-list li:last-child a{ border-bottom: none; }
.sidebar-list li a:hover{ color: var(--blue); padding-left: .4rem; }
.sidebar-list li a i{ font-size: .7rem; color: #b7c1cc; }

.subject-card{
  display: block;
  border-radius: var(--radius);
  padding: 1.1rem .8rem;
  text-align: center;
  height: 100%;
  color: var(--navy);
  border: 1px solid rgba(0,0,0,.03);
  transition: transform .2s ease, box-shadow .2s ease;
}
.subject-card:hover{ transform: translateY(-3px); box-shadow: 0 8px 18px rgba(13,59,102,.1); color: var(--navy); }

.subject-icon{
  font-size: 1.6rem;
  margin-bottom: .5rem;
}
.subject-name{
  display: block;
  font-weight: 700;
  font-size: .88rem;
}
.subject-card small{
  color: var(--text-muted);
  font-size: .72rem;
}

.subject-card.bg-blue{ background:#e7f1fd; } .subject-card.bg-blue .subject-icon{ color:#1b6fc9; }
.subject-card.bg-pink{ background:#fdeef1; } .subject-card.bg-pink .subject-icon{ color:#e11d48; }
.subject-card.bg-green{ background:#e8f9ef; } .subject-card.bg-green .subject-icon{ color:#1a9e5c; }
.subject-card.bg-lgreen{ background:#f0fdf4; } .subject-card.bg-lgreen .subject-icon{ color:#4ade80; }
.subject-card.bg-purple{ background:#f3f0ff; } .subject-card.bg-purple .subject-icon{ color:#7c4dff; }
.subject-card.bg-orange{ background:#fff2e6; } .subject-card.bg-orange .subject-icon{ color:#f5820a; }
.subject-card.bg-cyan{ background:#e7fbfd; } .subject-card.bg-cyan .subject-icon{ color:#0aa6a6; }
.subject-card.bg-yellow{ background:#fef9e7; } .subject-card.bg-yellow .subject-icon{ color:#d69e08; }
.subject-card.bg-teal{ background:#e6fbf8; } .subject-card.bg-teal .subject-icon{ color:#0aa6a6; }
.subject-card.bg-indigo{ background:#eef0fe; } .subject-card.bg-indigo .subject-icon{ color:#6366f1; }
.subject-card.bg-rose{ background:#fdecef; } .subject-card.bg-rose .subject-icon{ color:#e11d48; font-weight:800; }
.subject-card.bg-grey{ background:#eef1f4; } .subject-card.bg-grey .subject-icon{ color:#64748b; }

.promo-card{
  background: linear-gradient(160deg,#0d3b66,#1b6fc9);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.4rem;
  height: 100%;
  position: relative;
}
.promo-flag{ font-size: 1.4rem; opacity:.85; }
.promo-card h6{ color: #fff; margin: .6rem 0 1rem; }
.nepali-small{ font-size: .8rem; font-weight: 500; opacity: .85; }
.promo-card ul{ list-style: none; padding: 0; margin: 0 0 1rem; }
.promo-card ul li{ font-size: .85rem; margin-bottom: .55rem; }
.promo-card ul li i{ color: #7de08d; margin-right: .5rem; }
.promo-script{
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  margin: 0;
  line-height: 1.2;
}

/* ============ CTA BANNER ============ */
.cta-banner{ padding: 0 0 2.5rem; }
.cta-inner{
  background: linear-gradient(120deg,#12508c,#1b6fc9);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
  color: #fff;
  gap: 1rem;
}
.cta-inner h4{ color:#fff; margin-bottom:.2rem; font-size: 1.3rem; }
.cta-inner p{ margin: 0; opacity: .9; font-size: .9rem; }
.btn-cta{
  background: var(--yellow);
  color: var(--navy-dark);
  font-weight: 700;
  border-radius: 30px;
  padding: .6rem 1.6rem;
  white-space: nowrap;
}
.btn-cta:hover{ background:#fff; color: var(--navy); }

/* ============ LISTS SECTION ============ */
.lists-section{ padding-bottom: 2.5rem; }
.list-card{
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 4px 14px rgba(13,59,102,.06);
  height: 100%;
}
.list-card-header{
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #eef1f6;
  padding-bottom: .7rem; margin-bottom: .5rem;
}
.list-card-header h6{ margin:0; font-size: .95rem; color: var(--navy); }
.list-card-header a{ font-size: .78rem; font-weight: 600; color: var(--blue); }

.list-card ul{ list-style: none; margin:0; padding:0; }
.list-card ul li{
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem 0;
  border-bottom: 1px dashed #f0f2f5;
}
.list-card ul li:last-child{ border-bottom: none; }

.list-icon{
  width: 34px; height: 34px;
  border-radius: 8px;
  background: #e7f1fd;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
}
.list-icon.icon-orange{ background:#fff2e6; color: var(--orange); }
.list-icon.icon-red{ background:#fdeaea; color:#d33b3b; }

.list-body{ flex: 1; min-width: 0; }
.list-body strong{
  display: block;
  font-size: .85rem;
  color: #223349;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-body small{ color: var(--text-muted); font-size: .74rem; }

.list-date{
  font-size: .72rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.badge-pdf{
  background: #fdeaea;
  color: #d33b3b;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 6px;
  font-size: .68rem;
}

/* ============ TESTIMONIALS ============ */
.testimonial-section{ padding-bottom: 2.5rem; }
.review-card{
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: var(--radius);
  padding: 1.2rem;
  height: 100%;
}
.review-avatar{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg,#1b6fc9,#0d3b66);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.review-card p{ font-size: .87rem; color: #445064; font-style: italic; }

.quick-links-card, .newsletter-card{
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: var(--radius);
  padding: 1.2rem;
}
.quick-links-card h6, .newsletter-card h6{ color: var(--navy); margin-bottom: .8rem; font-size: .95rem; }
.quick-links-card ul{ list-style: none; margin:0; padding:0; }
.quick-links-card ul li a{
  display: block; padding: .4rem 0; color: #33445a; font-size: .85rem;
}
.quick-links-card ul li a i{ font-size: .65rem; color: var(--blue); margin-right: .5rem; }
.quick-links-card ul li a:hover{ color: var(--blue); }

.btn-subscribe{
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
}
.btn-subscribe:hover{ background: var(--navy); color:#fff; }

/* ============ FOOTER ============ */
.site-footer{
  background: var(--navy-dark);
  color: #cbd6e2;
  padding: 3rem 0 0;
}
.site-footer h6{ color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.text-light-50{ color: #9fb0c3; font-size: .85rem; }
.footer-list{ list-style: none; padding:0; margin:0; }
.footer-list li{ margin-bottom: .55rem; }
.footer-list a{ color: #9fb0c3; font-size: .85rem; }
.footer-list a:hover{ color: #fff; }
.footer-contact li{ color: #9fb0c3; font-size: .85rem; }

.social-icons a{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: .5rem;
  font-size: .85rem;
}
.social-icons a:hover{ background: var(--blue); }

.footer-divider{ border-color: rgba(255,255,255,.1); margin-top: 2rem; }

/* ============ BACK TO TOP ============ */
.back-to-top{
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(13,59,102,.25);
  z-index: 1050;
}
.back-to-top.show{ display: flex; }

/* =========================================================
   RESPONSIVE - MOBILE (matches provided mobile mock)
   ========================================================= */
@media (max-width: 991.98px){
  .site-header .navbar{ padding: .6rem 0; }
  .brand-icon{ width: 36px; height: 36px; font-size: .95rem; }
  .brand-title{ font-size: 1.05rem; }
  .brand-sub{ display: none; }

  .navbar-collapse{
    background: #fff;
    margin-top: .6rem;
    border-radius: 10px;
    padding: .6rem 0;
  }
  .navbar-nav .nav-link{ padding: .6rem 1rem !important; border-bottom: 1px solid #f2f4f7; }

  .hero-section{ padding: 2rem 0 1.5rem; text-align: center; }
  .hero-title{ font-size: 1.7rem; }
  .hero-title span{ font-size: 2rem; }
  .hero-subtitle{ font-size: .92rem; }
  .hero-search{ max-width: 100%; }
  .hero-image{ max-height: 260px; margin-top: 1rem; }
  .hero-checklist-mobile{
    width: 100%;
    align-items: flex-start;
  }

  .subjects-section-mobile .subject-card{ padding: .9rem .5rem; }
  .subject-icon{ font-size: 1.3rem; }
  .subject-name{ font-size: .8rem; }

  .cta-inner{ text-align: center; padding: 1.4rem; }
  .cta-inner .btn-cta{ margin-top: .8rem; }
}

@media (max-width: 575.98px){
  .hero-title{ font-size: 1.5rem; }
  .hero-title span{ font-size: 1.8rem; }
  .list-body strong{ font-size: .8rem; }
}