/* =====================================================
   ROOT VARIABLES – IMAGE MATCH THEME
===================================================== */

:root {
  --dark-green: #111d13;
  --primary-green: #538d22;
  --white: #ffffff;
 
  --bg: #f5f6f4;
  --border: rgba(0,0,0,0.08);
  --text-dark: #111d13;
  --text-muted: rgba(17,29,19,0.65);
  --primary-green: #538d22;
  --green-soft: rgba(83,141,34,0.18);
  --shadow: 0 6px 20px rgba(0,0,0,0.08);
    --theme-1: #2f855a;   /* green */
  --theme-2: #3182ce;   /* blue */
  --theme-3: #dd6b20;   /* orange */
  --theme-4: #805ad5;   /* purple */
  --theme-5: #c53030;   /* red */
}
 
/* =====================================================
   GLOBAL RESET
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}
 
html { scroll-behavior: smooth;
overflow-x: hidden;
 }
 
body {
    font-family: inter, sans-serif;
    background:#e6f7ec45 !important;
    color: var(--text-dark);
    line-height: 1.6;
}
 /* h1, h2, h3, h4, .section-title, .brief-header h1 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: -0.3px;
} */

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
 
/* ================= TOP HEADER ================= */
/* HEADER WRAPPER */
.site-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: transform 0.35s ease;
}

/* HIDDEN STATE */
.site-header.hide{
  transform: translateY(-100%);
}

.top-header {
      background: #e6f7ec !important;
  display: grid;
  position: sticky;
  top: 0;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 6px 30px;
  border-bottom: 1px solid #cfe8d8;
}

.top-logo { height: 42px; }

/* MARQUEE */
.top-marquee {
  flex: 1;
  overflow: hidden;
}

/* clickable wrapper */
.marquee-link {
  display: block;
  color: #2f5d1e;
  text-decoration: none;
}

/* TRACK */
.alert-track {
  position: relative;
  height: 22px;
  overflow: hidden;
}

/* TEXT */
.alert-item {
  position: absolute;
  left: 100%;
  white-space: nowrap;
  font-weight: bold;
  will-change: transform;
}

/* pause on hover */
.top-marquee:hover .alert-item {
  animation-play-state: paused !important;
}

/* OLD KEYFRAME */
@keyframes slideRTL {
  from { transform: translateX(0); }
  to { transform: translateX(var(--travel)); }
}


/* SOCIAL */
.top-social a {
  color: #2f5d1e;
  margin-left: 12px;
  font-size: 16px;
  transition: 0.2s;
}

.top-social a:hover {
  color: #538d22;
  transform: translateY(-2px);
}

/* ================= HEADER ================= */
.main-header {
  background: linear-gradient(90deg, #1f3b08, #2f5d1e);
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* NAV CENTER */
.main-nav { margin-inline: auto; }

/* MENU ROW */
.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
}

/* MENU LINK */
.menu-link,
.hover-link a {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

/* CHEVRON */
.arrow {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.menu-item:hover .arrow {
  transform: rotate(180deg);
}

/* DROPDOWN CARD */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);   /* no hover gap */
  left: 0;
  background: #ffffff;
  min-width: 260px;
  border-radius: 14px;
  padding: 8px 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.menu-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
gap: 2px;
  transform: translateY(0);
}

/* DROPDOWN ITEMS */
.dropdown li {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 20px;
  font-size: 14px;
  color: #1f2937;
  transition: 0.2s;
  line-height: 1.4;
  cursor: pointer;
}

.dropdown li i {
  color: #1f3b08;
  font-size: 15px;
  min-width: 18px;
}

/* HOVER EFFECT */
.dropdown li:hover {
  background: #f3f8ee;
  padding-left: 24px;
}

/* SIMPLE LINK UNDERLINE */
.hover-link {
  position: relative;
}

.hover-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: 0.3s;
}

.hover-link:hover::after {
  width: 100%;
}

/* ================= SEARCH ================= */
.header-search {
  display: flex;
  align-items: center;
  background: #f3f6f1;
  border-radius: 8px;
  padding: 6px 10px;
  border: 1px solid #cfe8d8;
}

.header-search input {
  width: 160px;
  border: none;
  outline: none;
  background: transparent;
}

.header-search i {
  cursor: pointer;
  color: #538d22;
  margin-left: 6px;
}

.header-search:focus-within {
  border-color: #538d22;
  box-shadow: 0 0 0 2px rgba(83,141,34,0.15);
}
/* =========================
   HAMBURGER BUTTON
========================= */
.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
}

.hamburger span{
  width:24px;
  height:3px;
  background:#fff;
  border-radius:2px;
}

/* =========================
   MOBILE NAV
========================= */
.mobile-nav{
  position:fixed;
  inset:0;
  background:#ffffff;
  z-index:99999;
  padding:24px;
  transform:translateX(100%);
  transition:.35s ease;
  overflow-y:auto;
}

.mobile-nav.show{
  transform:translateX(0);
}

.mobile-close{
  position:absolute;
  top:14px;
  right:18px;
  font-size:30px;
  background:none;
  border:none;
  cursor:pointer;
}

.mobile-menu{
  margin-top:60px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.mobile-menu > li > a,
.mobile-item > span{
  font-weight:700;
  font-size:16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  padding:10px 0;
  border-bottom:1px solid #e5e7eb;
}

/* dropdown */
.mobile-item ul{
  display:none;
  flex-direction:column;
  gap:10px;
  padding:10px 0 10px 14px;
}

.mobile-item.open ul{
  display:flex;
}

/* =========================
   RESPONSIVE SWITCH
========================= */
@media(max-width:992px){

  .main-nav{
    display:none;
  }

  .header-search{
    display:none;
  }

  .hamburger{
    display:flex;
  }

}


/* =====================================================
   HERO
===================================================== */
.hero {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 20px;
  padding: 20px;
  /* padding-right: 60px; */
}
 
.hero-left img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}
 
.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16 / 6;
    border:1px solid #4d842147;
}

/* Track */
.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

/* Each slide */
.banner {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}

/* Banner arrows – modern carousel style */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e6f7ec;
  color: #416f1e;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: all .25s ease;
}

/* placement */
.banner-arrow.left { left: 14px; }
.banner-arrow.right { right: 14px; }

/* hover */
.banner-arrow:hover {
  background: #538d22;
  color: #fff;
  box-shadow: 0 10px 28px rgba(83,141,34,.4);
  transform: translateY(-50%) scale(1.05);
}

/* icon */
.banner-arrow i {
  font-size: 16px;
}



.hero-right-links {
    background: var(--white);
    border-radius: 8px;
    padding: 10px;
    /* box-shadow: var(--shadow); */
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #4d842147;
    width: 100%;
    position: sticky;
    top: 120px;
}

 
.hero-right-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-right-links a {
    position: relative;
    padding: 8px 11px;
    border-radius: 8px;
    background: var(--green-soft);
    font-weight: 600;
    color: #2f4f1e;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-decoration: none;
}

.hero-right-links a.featured {
  background: linear-gradient(90deg, #1e3a14, #3f7d23);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 50px rgba(83, 141, 34, 0.35);
  position: relative;
  overflow: hidden;
}

/* glow edge */
.hero-right-links a.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.15),
    rgba(255,255,255,0),
    rgba(255,255,255,0)
  );
  opacity: 0.6;
}

/* make text pop */
.hero-right-links a.featured strong {
  color: #fff;
  letter-spacing: 0.3px;
}

/* announcement icon pop */
.hero-right-links a.featured .annoucement {
  filter: brightness(1.4) drop-shadow(0 0 6px rgba(255,255,255,.4));
}

/* hover */
.hero-right-links a.featured:hover {
  transform: translateX(6px) scale(1.01);
  box-shadow: 0 12px 28px rgba(83, 141, 34, 0.45);
}


.hero-right-links .left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.open-book-icon {
  opacity: 1 !important;
  transform: none !important;
    padding: 7px;
    border-radius: 4px;
    border: 1px solid #497d1f;
    background: linear-gradient(90deg, var(--dark-green), var(--primary-green));
    color: white;
  display: flex;
  
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.annoucement {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border: none;
  background: transparent;
  box-shadow: none;
}
 
.hero-right-links a::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(
    90deg,
    #538d22,
    #6fbf3f
  );
  z-index: -1;
  transition: width 0.35s ease;
}
/* hide icon by default */
.share-icon {
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
}

.hero-right-links a:hover .share-icon {
  opacity: 1;
  transform: translateX(0);
}


/* show icon when link is hovered */
.hero-right-links a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.hero-right-links a:hover::after {
  width: 100%;
}

.hero-right-links a:hover {
  color: #fff;
  transform: translateX(4px);
}
.hero-right-links a strong {
  font-weight: 700;
}

.hero-right-links a:has(strong) {
  border: 1px solid #538d22;
}

 
 /* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, sans-serif;
  background: #f5f6f4;
}

.quiz-section{
  max-width:1400px;
  margin:60px auto;
  padding:30px;
  background:#d8efb4;
  border-radius:12px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:40px;
}

/* CTA */
.quiz-cta{display:flex;flex-direction:column;gap:30px; align-items:center}
.quiz-vector{width:280px;animation:float 4s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-10px)}}

.quiz-cta-text h2{width:400px;line-height: 1.2; font-size:40px;font-weight:900;color:#1f2d16}
.quiz-cta-text span{color:#538d22}
.quiz-cta-text p{color:#425a2a}

/* QUIZ */
.quiz-card-wrapper{border-radius: 8px !important; overflow: hidden;}
.quiz-card{background:#fff;box-shadow:0 18px 40px rgba(0,0,0,.12)}
.quiz-header{padding:12px 22px;background:linear-gradient(135deg,#9ccc65,#538d22);color:#fff;font-weight:700;display:flex}
.steps{margin-left:auto;display:flex;gap:6px}
.steps span{width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.4);display:grid;place-items:center;font-size:11px}
.steps span.active{background:#fff;color:#538d22}
.quiz-option input[type="radio"]{accent-color: #538d22; width: 14px; height: 14px; position: relative;top: 5px;}
.quiz-body{padding:26px}
.quiz-title{font-size:14px;
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
  color:#6b7d55;
  margin-bottom:6px;}
.quiz-q{font-size:16px;
  font-weight:700;
  margin-bottom:18px;
  color:#1f2d16;
  line-height:1.4;}

.quiz-option{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:12px 14px;
  border:1px solid #dbe6d1;
  border-radius:10px;
  margin-bottom:10px;
  cursor:pointer;
  transition: 
    background .2s ease,
    border-color .2s ease,
    transform .15s ease,
    box-shadow .15s ease;
}

/* HOVER */
.quiz-option:hover{
  background:#f3f9ee;
  border-color:#9ccc65;
  transform:translateX(4px);
  box-shadow:0 6px 14px rgba(83,141,34,.12);
}

/* SELECTED */
.quiz-option.selected{
  background:linear-gradient(90deg,#1e3a14,#3f7d23);
  border-color:#538d22;
  color:#fff;
  box-shadow:0 8px 18px rgba(30,58,20,.35);
}

/* prevent hover overriding selected */
.quiz-option.selected:hover{
  background:linear-gradient(90deg,#1e3a14,#3f7d23);
  transform:none;
}
.quiz-option input[type="radio"]{
  accent-color:#538d22;
  width:15px;
  height:15px;
  margin-top:1px;
  cursor:pointer;
}


.quiz-actions{display:flex;justify-content:space-between;margin-top:10px}
.quiz-actions button{padding:10px 18px;border:none;border-radius:8px;font-weight:700;cursor:pointer}
#gs-prev{background:#538d22;color:#fff}
#gs-next{background:#538d22;color:#fff}
#gs-next.disabled{opacity:.5;cursor:not-allowed}

/* RESULT */
#gs-complete{text-align:center}
.quiz-score-line{margin:8px;font-weight:700}

/* ============================
   OTP MODAL OVERLAY
============================ */
.otp-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.otp-modal.show{display:flex}

/* ============================
   OTP CARD
============================ */
.otp-card{
  background:#ffffff;
  border-radius:18px;
  padding:36px 32px 30px;
  width:420px;
  max-width:92%;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,0.25);
  position:relative !important;
  animation: otpPop .35s ease;
}

@keyframes otpPop{
  from{transform:scale(.9);opacity:0}
  to{transform:scale(1);opacity:1}
}

/* CLOSE BUTTON */
.otp-close{
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;

  /* background: #f1f5f9 !important; */
  border: none !important;

  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;

  font-size: 18px !important;
  line-height: 1 !important;

  cursor: pointer !important;
  color: #fff !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  transition: background 0.2s ease !important;
}

.otp-close:hover{
  background: #6b7d55 !important;
}


/* ICON */
.otp-icon{
  width:64px;
  height:64px;
  border-radius:50%;
  background:linear-gradient(135deg,#9ccc65,#538d22);
  display:grid;
  place-items:center;
  margin:0 auto 12px;
  color:#fff;
  font-size:28px;
}

.otp-card h3{
  margin:6px 0 6px;
  font-size:22px;
  color:#1f2d16;
}

.otp-subtext{
  font-size:13.5px;
  color:#6b7d55;
  margin-bottom:22px;
}

/* ============================
   STEPS
============================ */
.otp-step{
  display:none;
  flex-direction:column;
  gap:12px;
  text-align:left;
}

.otp-step.active{display:flex}

.otp-step label{
  font-size:13px;
  font-weight:700;
  color:#425a2a;
}

/* INPUT */
.otp-card input{
  padding:14px;
  border-radius:10px;
  border:1px solid #cfe0b9;
  outline:none;
  font-size:14px;
}

.otp-card input:focus{
  border-color:#538d22;
  box-shadow:0 0 0 2px rgba(83,141,34,.15);
}

/* BUTTON */
.otp-card button{
  background:#538d22;
  color:#fff;
  border:none;
  padding: 13px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
  transition:.25s;
}

.otp-card button:hover{
  background:#3f7d23;
}

/* MESSAGE */
.otp-msg{
  margin-top:12px;
  font-size:13px;
  color:#c0392b;
  min-height:16px;
  text-align:center;
}

/* HINT */
.otp-hint{
  font-size:12px;
  color:#6b7d55;
  margin-top:4px;
  text-align:center;
}

/* =====================================================
   DAILY PRACTICE
===================================================== */


.daily-practice {
  /* background: #e6f7ec;s */
  padding: 40px 20px;
}

/* 3 column grid */
.practice-grid {
display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    /* align-items: center; */
    margin-inline: auto;}

/* each card */
.practice-col {
  background: #ffffff;
  border-radius: 14px;
  border:1px solid #4d842147;
  
  display: flex;
  flex-direction: column;
  height: 420px; /* same as video */
  overflow: hidden;
}

/* header (sticky like video) */
.practice-title {
     flex-shrink: 0;
    position: sticky;
    top: 0;
    background: linear-gradient(90deg, var(--dark-green), var(--primary-green));
    padding: 10px 18px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
}
.title-icon{
      background: #fff;
    padding: 6px;
    color: #538d22;
}
/* scrolling list */
.practice-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px 14px 14px;
  scroll-behavior: smooth;
}

/* scrollbar */
.practice-list::-webkit-scrollbar {
  width: 6px;
}
.practice-list::-webkit-scrollbar-thumb {
  background: #538d22;
  border-radius: 10px;
}
.practice-list::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
}

/* items */
.practice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.practice-item .left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.practice-item:last-child {
  border-bottom: none;
}

/* date badge */
.practice-date.right {
  background: #f3f4f6;
  color: #374151;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}


/* text */
.practice-item p {
  font-size: 14px;
  line-height: 1.45;
  color: #111d13;
  margin: 0;
}

/* hover like the video */
.practice-item:hover {
  background: #f3f6f1;
  border-radius: 6px;
}
.practice-list {
  counter-reset: practice;
}

.practice-item {
  counter-increment: practice;
}

.practice-num::before {
  content: counter(practice);
}

.practice-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgb(230 247 236);
  color: #47791f;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


 
/* =====================================================
   LATEST UPDATES – CORRECT ARCHITECTURE
===================================================== */
 
.latest-updates {
    max-width: 1400px;
    padding: 48px 0 56px;
    margin-inline: auto;
}
 
/* HEADER */
.latest-header {
     margin-inline: auto;
    margin-bottom: 30px;
  max-width: 300px;

}
 
/* FIXED VIEWPORT */
.latest-grid {
  max-width: 1430px;
  margin: 0 auto;
  padding-left: 40px;
  overflow: hidden;           /* IMPORTANT */
}
 
/* MOVING TRACK */
.latest-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
  animation: scrollInfinite 20s linear infinite;
}
 /* animation */
@keyframes scrollInfinite {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-40%);
  }
}
/* pause on hover */
.latest-grid:hover .latest-track {
  animation-play-state: paused;
}
 
/* =====================================================
   CARD
===================================================== */
.latest-card {
  min-width: 280px;
  max-width: 500px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* =========================
   VIDEO CARD – YOUTUBE STYLE
========================= */
.video-card {
  position: relative;
  width: 500px;
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

/* Video fill without ugly crop */
.video-card iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

/* Hover overlay (unchanged) */
.video-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.7);
  padding: 16px 18px;

  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.video-card:hover .video-hover {
  transform: translateY(0);
  opacity: 1;
}



/* TAG STYLE (MATCH IMAGE) */
.video-tag {
  display: inline-block;
  background: rgba(83, 141, 34, 0.15);
  color: #2f5d1e;
  font-size: 11px;
  
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  width: fit-content;
}

/* TITLE */
.video-hover h3 {
  font-size: 16px;
  line-height: 1.35;
  margin-top: 10px;
  font-weight: 700;
  color: #fff;
}


/* OPTIONAL: allow interaction on hover */
.video-card:hover iframe {
  pointer-events: auto;
}

.latest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(0,0,0,0.18);
}

 
/* TAG */
.latest-card .tag {
  align-self: flex-start;
  background: rgba(83,141,34,0.15);
  color: #538d22;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

 
/* TITLE */
.latest-card h3 {
  font-size: 15px;
  line-height: 1.45;
  color: #111d13;
  font-weight: 700;
}

.latest-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(17,29,19,0.7);
}

 
/* IMAGE */
.latest-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.latest-content {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
 
 
/*============
gallery section
=========*/
.ias-collage-gallery.dark{
  /* background:#d8efb4; */
  padding:30px 40px;
  padding-left: 100px;
}

/* MAIN GRID */
.collage-grid-exact{
  max-width:1200px;
  max-height: 580px;
  margin:0 auto;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 220px);
  gap:16px;
}

/* POSITIONING — THIS MATCHES IMAGE */
.img1 {
    grid-column: 1;
    grid-row: 1;
    width: 200px;
    margin-top: 72px;
    height: 120px;
    margin-left: 120px;
}
.img2 {
    grid-column: 4;
    grid-row: 1;
    width: 175px;
    height: 153px;
    margin-top: 50px;
    margin-left: -120px;
}

.img3 {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    height: 270px;
    width: 450px;
}
.img4 {
    grid-column: 1;
    height: 350px;
    grid-row: 2 / 4;
    width: 270px;
    margin-top: -30px;
    margin-left: 50px;
}
.img5 {
    grid-column: 4;
    grid-row: 2;
    height: 152px;
    width: 300px;
    margin-left: -120px;
    margin-top: -20px;
}
.img6 {
    grid-row: 3;
    margin-top: -185px;
    height: 170px;
    width: 240px;
    margin-bottom: 73px;
}
.img7 {
    margin-right: 120px;
    grid-column: 3;
    grid-row: 3;
    margin-top: -185px;
    margin-left: -42px;
    /* margin-bottom: 64px; */
    height: 268px;
}
.img8 {
    grid-column: 4;
    grid-row: 3;
    height: 135px;
    width: 220px;
    margin-top: -90px;
    margin-left: -120px;
}

/* IMAGE BOX */
.img-box{
  position:relative;
  overflow:hidden;
  border-radius:6px;
  background:#111;
}

.img-box img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}

.img-box:hover img{
  transform:scale(1.08);
}

/* FADE ANIMATION */
.fade-up{
  opacity:0;
  transform:translateY(40px);
  transition:.8s ease;
}
.fade-up.show{
  opacity:1;
  transform:translateY(0);
}



/* =====================================================
   INFO STRIP – LIGHT MODE
===================================================== */
.info-strip {
  padding: 80px 40px;
  color: #111d13;
}
 
.info-about-center {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}
 
.info-logo {
  height: 64px;
  margin: 0 auto 18px;
}
 
.info-about-center p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(17,29,19,0.75);
}
 
 
/* ===============================
   UPSC NEWSLETTER – ISOLATED
================================ */

.upsc-newsletter-wrap {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.upsc-newsletter-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-radius: 22px;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(31, 61, 26, 0.75),
      rgba(83, 141, 34, 0.75)
    ),
    url("assets/images/newsletter-bg.jpg") center / cover no-repeat;

  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

/* LEFT SIDE */
.upsc-newsletter-left {
  padding: 64px 68px;
  color: #f6fff0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.upsc-newsletter-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
}

.upsc-newsletter-text {
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 460px;
  opacity: 0.95;
  margin-bottom: 30px;
}

/* INPUT BAR */
.upsc-newsletter-inputbox {
  display: flex;
  align-items: center;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 44px;
  padding: 6px 6px 6px 20px;
  backdrop-filter: blur(8px);
}

.upsc-newsletter-input {
  flex: 1;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 17px;
  outline: none;
}

.upsc-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

/* SEND BUTTON */
.upsc-newsletter-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(90deg, var(--dark-green), var(--primary-green));
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.upsc-newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(122, 201, 67, 0.45);
}

/* RIGHT SIDE */
.upsc-newsletter-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.upsc-newsletter-right lottie-player {
  width: 100%;
  max-width: 320px;
  height: auto;
}


/*=================
    EXAM NEWS SECTION
==================*/

.exam-news-wrap {
  max-width: 1400px;
  margin: auto;

  padding: 50px 40px;
  font-family: Inter, system-ui, sans-serif;
}

.exam-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 28px;
  font-weight: 900;
  color: #1f2d16;
}
.section-title span { color: #538d22; }

.divider span {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: #538d22;
  margin: 0 4px;
  border-radius: 4px;
}

/* MAIN GRID */
.exam-main-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 28px;
}

/* LEFT */
.exam-left { display: flex; flex-direction: column; gap: 22px; }

.exam-left-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

/* FEATURE */
.exam-feature {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 230px;
}
.exam-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-caption {
  position: absolute;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

/* BULLETS */
.exam-bullets { padding-left: 18px; }
.exam-bullets li {
  padding: 10px 0;
  border-bottom: 1px dotted #b6d8b8;
  font-size: 14px;
  cursor: pointer;
}
.exam-bullets li:hover { color: #538d22; }

/* CARDS */
.exam-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.exam-card img {
  width: 100%;
  height: 130px;
  border-radius: 8px;
  object-fit: cover;
}
.exam-card p {
  font-size: 12.5px;
  line-height: 1.45;
  margin-top: 6px;
}
.read-more {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  color: #538d22;
}

/* RIGHT */
.exam-right {
  height: 460px;
  overflow: hidden;
  border-left: 1px dotted #9fc7a8;
  padding-left: 18px;
}

.exam-right-track {
  display: flex;
  flex-direction: column;
  gap: 18px;
  will-change: transform;
}

.right-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.right-item:hover {
  background: rgba(83, 141, 34, 0.08);
  transform: translateX(4px);
}
.right-item img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}




.right-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.right-text h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: #2f5d1e;
  margin: 0;
  line-height: 1.3;
}

.right-text p {
  font-size: 12.5px;
  line-height: 1.45;
  color: #4f6b55;
  margin: 0;
}



 
/* =====================================================
   NEWSLETTER CARD
===================================================== */
.newsletter-card {
  text-align: center;
}
.newsletter-card .animated-btn {
  margin-top: 16px;
}

.newsletter-card input {
  width: 100%;
  padding: 12px;
  margin: 14px 0 20px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #ffffff;
  color: #111d13;
}
 
.newsletter-card input::placeholder {
  color: rgba(17,29,19,0.6);
}
 .newsletter-text {
  font-size: 14px;
  color: rgba(17,29,19,0.75);
  line-height: 1.6;
  margin: 10px 0 16px;
}

.newsletter-text strong {
  color: #538d22;
}

/* =====================================================
   ANIMATED BUTTON (SIMPLER, CLEAN)
===================================================== */
.animated-btn {
  position: relative;
  width: 100%;
  height: 52px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
 
/* button text */
.animated-btn span {
  position: relative;
  z-index: 2;
  color: #f6f8f5;
  font-weight: 700;
  font-size: 15px;
}
 
/* SVG wrapper */
.btn-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
}
 
/* base border */
.btn-border polyline {
  stroke: white;
  stroke-width: 2;
}
 
/* animated highlight */
.btn-border .hl {
  stroke: #538d22;
  stroke-width: 2;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  transition: stroke-dashoffset 0.7s ease;
}
 
/* HOVER TRIGGER (THIS WAS MISSING BEFORE) */
.animated-btn:hover .hl {
  stroke-dashoffset: 0;
}
 
/* subtle background fill on hover */
.animated-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(83,141,34,0.08);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
 
.animated-btn:hover::before {
  opacity: 1;
}
 
/* =====================================================
   SOCIAL + CONTACT
===================================================== */
.social-sidebar{
     position: fixed;
    right: 0;
    top:40%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;

}

/* Base button */
.social-btn{
      width: 200px;
    padding: 6px 8px;
    border-radius: 50px 0 0 50px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(160px);
    transition: 0.4s ease;
    font-size: 15px;
}

/* icon circle */
.social-btn i{
  background: white;
  color: black;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover slide */
.social-btn:hover{
  transform: translateX(0);
}

/* toggle button */
.close{
  background: black;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  justify-content: center;
  transform: translateX(0);
}

/* hide when collapsed */
.social-sidebar.collapsed .social-btn:not(.close){
  transform: translateX(220px);
  pointer-events: none;
}
.Facebook{background:#2C80D3;}
.Instagram{background:#E4405F;}
.Telegram{background:#229ED9;}
.Youtube{background:#FF0000;}
.WhatsApp{background:#25D366;}
.TwitterX{background:#1DA1F2;}
.contact-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: #538d22;
  color: #ffffff;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
 

/* =========================
   SECTION HEADINGS STYLE
========================= */
.section-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #1f2d16;
    position: relative;
    display: inline-block;
}

/* highlighted word */
.section-title span {
    position: relative;
    color: #2f5d1e;
    z-index: 1;
}

/* marker underline */
.section-title span::after {
    content: "";
    position: absolute;
    left: -6px;
    bottom: -8px;
    width: calc(100% + 12px);
    height: 8px;
    background: linear-gradient(90deg, rgba(83, 141, 34, 0.35), rgba(83, 141, 34, 0.55));
    border-radius: 6px;
    z-index: -1;
    transform: rotate(-3.5deg);
}
/* =========================
   ABOUT HERO (BANNER)
========================= */
.about-hero {
    background: linear-gradient(135deg, #9ece65, #e1f0c8);
    padding: 90px 20px 70px;
    max-width: 1100px;
    /* justify-items: center; */
    margin-inline: auto;
    border-radius: 18px;
}

.about-hero-inner {
    max-width: 900px;
    margin: auto;
    text-align: center;
    position: relative;
    /* top: -45px; */
    bottom: 50px;
}

.about-hero-logo {
  height: 64px;
  margin: 0 auto 18px;
}

.about-hero-text {
  font-size: 17px;
  line-height: 1.8;
  color: #2f5d1e;
  margin: 0 auto;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.7;
}

/* =========================
   CATEGORIES SECTION
========================= */
.categories-section {
  margin-top: -40px; /* subtle lift like reference */
  padding: 0 16px 0px;
}

.categories-container {
    max-width: 1000px;
    margin: auto;
    position: relative;
    /* top: -47px; */
    bottom: 70px;
    overflow: hidden;
    /* background: #ffffff; */
    border-radius: 8px;
    padding: 28px 26px 34px;
    /* box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); */
}

/* Yellow pill */
.categories-header {
     margin-inline: auto;
    margin-bottom: 30px;
  max-width: 300px;
}
/* =========================
   IMAGE STYLE CATEGORY CARDS
========================= */

.categories-track {
  display: flex;
  gap: 18px;
  width: max-content;
  
}

/* PAUSE ON HOVER (optional but premium) */
.categories-track:hover {
  animation-play-state: paused;
}


/* Card base */
.category-card {
  position: relative;
  min-width: 260px;
  height: 150px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  box-shadow: 0 20px 28px rgba(0,0,0,0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* =========================
   BACKGROUND IMAGES (URLS)
========================= */

/* Current Affairs */
.category-card.purple {
  background: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=800&q=60")
    center / cover no-repeat;
}

/* Editorials */
.category-card.yellow {
  background: url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=800&q=60")
    center / cover no-repeat;
}

/* Mains */
.category-card.green {
  background: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=800&q=60")
    center / cover no-repeat;
}

/* Model Essays */
.category-card.pink {
  background: url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=800&q=60")
    center / cover no-repeat;
}

/* Prelims */
.category-card.orange {
  background: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=800&q=60")
    center / cover no-repeat;
}

/* Daily Practice */
.category-card.blue {
  background: url("https://images.unsplash.com/photo-1517433456452-f9633a875f6f?auto=format&fit=crop&w=800&q=60")
    center / cover no-repeat;
}

/* =========================
   DARK OVERLAY
========================= */
.category-card::before {
  /* display: none; */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(59, 59, 59, 0.65),
    rgba(126, 126, 126, 0.2)
  );
  z-index: 1;
}

/* =========================
   ICON BADGE (FROSTED)
========================= */
.category-card .icon {
    position: relative;
    /* top: 54px; */
    bottom: -10px;
    left: -4px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    /* background: rgba(255, 255, 255, 0.18); */
    /* backdrop-filter: blur(8px); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
}

/* =========================
   TEXT
========================= */
.category-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  
}

/* Arrow not needed (reference image has none) */
.category-card .arrow {
  display: none;
}

/* =========================
   HOVER
========================= */
.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

  /* ============================
    LIGHT NEWS DASHBOARD
  ============================ */

  .news-dashboard {
    max-width: 1400px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
    font-family: "Inter", system-ui, sans-serif;
    color: #1f2d16;
  }

  /* SIDEBAR */
  .news-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
  }
   /* ===============================
   SIDEBAR BRAND (NEWS TODAY)
================================ */

.sidebar-brand {
  margin-bottom: 22px;
}

.sidebar-brand h1 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  margin: 0;
}

.sidebar-brand span {
  color: #538d22;
}

  .date-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #c0e49c;
    padding: 14px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    border-color: rgba(77, 132, 33, 0.28);
    justify-content: space-between;
    color: #2f5d1e;
    margin-bottom: 24px;
  }

  .date-picker .left{
    display: flex;
    align-items: center;
    gap: 10px;

  }
/* ===========================
   CALENDAR (SIDEBAR) – LIGHT THEME
=========================== */

.calendar-panel {
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid #e4ecd9;
  border-radius: 14px;
  padding: 16px;
  display: none;
  box-shadow: 0 12px 28px rgba(31, 45, 22, 0.12);
}

.calendar-panel.open {
  display: block;
}

/* HEADER (MONTH + YEAR) */
.calendar-header {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.calendar-header select {
  flex: 1;
  background: #f0f6ea;
  color: #1f2d16;
  border: 1px solid #e4ecd9;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

/* GRID */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

/* WEEK LABELS */
.day-label {
  font-size: 11px;
  font-weight: 700;
  color: #6b8e23;
}

/* DAY BUTTON */
.day {
  background: transparent;
  border: none;
  color: #1f2d16;
  padding: 8px 0;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.day:hover {
  background: #f0f6ea;
}

/* SELECTED DAY */
.day.active {
  background: #538d22;
  color: #ffffff;
  font-weight: 700;
}

  .toc-box {
    background: #ffffff;
    border: 1px solid #4d842147;
    border-radius: 8px;
    padding: 18px;
  }

 .toc-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: #538d22;
    margin-bottom: 14px;
}

  .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .toc-list li {
    display: flex;
    gap: 12px;
    padding: 10px 8px;
    font-size: 14px;
    cursor: pointer;
    margin: 4px 0;
    border-radius: 8px;
    transition: background 0.2s ease;
  }

  .toc-list li span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e6efe0;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
  }

  .toc-list li.active,
  .toc-list li:hover {
    background: #c0e49c;
  }

  /* MAIN */
  .news-main {
    background: #ffffff;
    border-radius: 8px;
    padding: 28px 34px 40px;
    border: 1px solid #4d842147;
  }

  /* ===============================
    NEWS HEADER LAYOUT FIX
  ================================ */

  .news-header {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 30px;
  }
.sidebar-brand span::after {
    content: "";
    position: absolute;
    left: -6px;
    bottom: -8px;
    width: calc(100% + 12px);
    height: 8px;
    background: linear-gradient(90deg, rgba(83, 141, 34, 0.35), rgba(83, 141, 34, 0.55));
    border-radius: 6px;
    z-index: -1;
    transform: rotate(-3.5deg);
}
  /* NEWS TODAY */
  .news-brand h1 {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    margin: 0;
  }

  .news-brand span {
    color: #538d22;
  }

  /* ARTICLE HEADER */
  .news-article-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* TITLE + ACTIONS ROW */
  .news-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
  }

  .news-title-row h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    flex: 1;
  }

  /* ACTION ICONS */
  .news-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
  }

  .news-actions i {
    font-size: 18px;
    cursor: pointer;
    color: #6b8e23;
    transition: transform 0.15s ease;
  }

  .news-actions i:hover {
    transform: translateY(-2px);
  }

  /* META */
  .news-meta {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: #6b8e23;
  }
  .news-actions i {
    font-size: 18px;
    margin-left: 14px;
    cursor: pointer;
    color: #6b8e23;
  }

  /* SUMMARY */
  .summary-card {
    background: #f6f9f2;
    border-left: 4px solid #538d22;
    padding: 20px 22px;
    border-radius: 12px;
    margin-bottom: 32px;
  }

  .summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .summary-card p,
  .summary-card li {
    font-size: 14px;
    line-height: 1.6;
  }

  /* CONTENT */
  .content-block h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .content-block ul {
    padding-left: 18px;
  }

  .content-block li {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
  }

  /* =====================================================
   FOOTER – IAS THEME (FINAL)
===================================================== */

.theme-footer {
  position: relative;
  background: black;
  color: #ffffff;
  padding: 90px 40px 30px;
  overflow: hidden;
  font-family: "Inter", system-ui, sans-serif;
}

/* BIG BACKGROUND BRAND TEXT */
.footer-bg-text {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 160px;
  font-weight: 900;
  letter-spacing: 6px;
  color: #ffffff21;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* CONTENT LAYER */
.footer-content {
  position: relative;
  z-index: 2;
}

/* =====================================================
   GRID
===================================================== */

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  margin-bottom: 75px;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

/* =====================================================
   COLUMNS
===================================================== */

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

/* small accent underline */
.footer-col h4::after {
  content: "";
  width: 32px;
  height: 3px;
  background: #538d22;
  display: block;
  margin-top: 6px;
  border-radius: 4px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.78;
  line-height: 1.6;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-col ul li:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* LOGO */
.footer-logos img {
  height: 44px;
  margin-bottom: 18px;
}

/* =====================================================
   SOCIAL
===================================================== */

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #538d22;
  transform: translateY(-3px);
}

/* =====================================================
   APP DOWNLOAD
===================================================== */

.footer-app p {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.85;
}

.footer-app .app-buttons {
  display: flex;
  gap: 10px;
}

.footer-app img {
  height: 40px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.footer-app img:hover {
  transform: scale(1.05);
}

/* =====================================================
   BOTTOM BAR
===================================================== */

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-bottom span {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

/* POLICY LINKS */
.footer-policy {
  display: flex;
  gap: 16px;
}

.footer-policy a {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-policy a:hover {
  color: #ffffff;
}


.daily-combined-section{
  /* padding:40px 24px; */
  max-width:1400px;
  margin-inline:auto;
 
}

/* GRID */
.daily-layout{
  display:grid;
  grid-template-columns:1.2fr 2fr;
  grid-template-rows:auto auto;
  gap:20px;
}

/* FULL ROW */
.full-row{
  grid-column:1/-1;
  height:190px !important;
  border:none!important;
  border-radius:0!important;
}

/* CARD */
.dash-card{
     background: rgb(255, 255, 255);
    border-radius: 10px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(207, 232, 216);
    box-shadow: rgba(47, 93, 30, 0.08) 0px 10px 26px;
}

/* HEADER */
.dash-header{
     padding: 10px 18px;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    background:linear-gradient(90deg, var(--dark-green), var(--primary-green));
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.editorial-header{
  justify-content:center;
  padding:18px 18px;
  background: transparent !important;
  color:#2f5d1e;
}

/* TITLE */
.editorial-title{
  font-size:32px;
  font-weight:700;
  position:relative;
}
.editorial-title span{
  position:relative;
  z-index:1;
}
.editorial-title span::after{
  content:"";
  position:absolute;
  left:-6px;
  bottom:-8px;
  width:calc(100% + 12px);
  height:8px;
  background:linear-gradient(90deg,rgba(83,141,34,.35),rgba(83,141,34,.55));
  border-radius:6px;
  z-index:-1;
  transform:rotate(-3.5deg);
}

/* ===== EDITORIAL SLIDER ===== */

.editorial-slider-wrapper{
  display:flex;
  align-items:center;
  gap:16px;
  padding:24px 24px 16px;
}

/* visible area */
.editorial-viewport{
  overflow:hidden;
  width:100%;
  max-width:1100px;   /* 🔥 controls track width */
  margin:0 auto;
}

/* moving row */
.editorial-track{
  display:flex;
  gap:14px;
  will-change: transform;
}
.editorial-pill{
  background:linear-gradient(180deg,#eef7e8,#e0ead7);
  padding:12px 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
  cursor:pointer;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 4px 10px rgba(47,93,30,.12);
  transition:.25s;
}

.editorial-pill:hover{
  background:linear-gradient(180deg,#c9eaa8,#a9dc86);
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(47,93,30,.25);
}
  .editorial-viewport {
      overflow: hidden;
      padding: 0 32px;
      box-sizing: border-box;
    }
/* arrows */
.ed-btn{
  position:relative;
  transform:none;
  background:#fff;
  border:none;
  width:36px;
  height:36px;
  border-radius:50%;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
  cursor:pointer;
  display:grid;
  place-items:center;
  color:#538d22;
  transition:.2s;
}

.ed-btn:hover{
  background:#538d22;
  color:#fff;
}

.ed-btn.left{left:10px;}
.ed-btn.right{right:10px;}
.ed-btn:hover{background:#538d22;color:#fff}

/* ===== CURRENT AFFAIRS ===== */

.dash-card{
  height: 520px;   /* match GS card height */
}

.date-list.grid-2{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  padding:16px;

  height:100%;
  overflow-y:auto;
}

/* smooth scrollbar */
.date-list.grid-2::-webkit-scrollbar{
  width:6px;
}
.date-list.grid-2::-webkit-scrollbar-thumb{
  background:#538d22;
  border-radius:10px;
}
.date-list.grid-2::-webkit-scrollbar-track{
  background:rgba(0,0,0,0.05);
}


.date-card{
  background:linear-gradient(180deg, #ffffff, #e0ead733);
  border-radius:14px;
  padding:12px;
  border: 1px solid #cfe8d8;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  cursor:pointer;
  transition:.25s;
  font-weight:700;
  box-shadow:0 6px 16px rgba(47,93,30,.15);
}

.date-card img {
        width: 45px;
    height: 45px;
    /* margin: auto; */
    margin-top: 10px;
    border-radius: 999px;
    object-fit: contain;
}
.date-card span:hover{
  color: #2f5d1e;
}
.date-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 22px rgba(47,93,30,.25);
  background: linear-gradient(180deg,#c9eaa8,#a9dc86);
}
/* .calender-icon {
    height: 60px;
    justify-items: center;
     margin: auto; 
    width: 60px;
    border-radius: 999px;
    background: linear-gradient(90deg,rgba(83,141,34,.35),rgba(83,141,34,.55));
} */
/* ===== GS MAINS ===== */

.big-card{height:520px}

.gs-list{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
  overflow-y:auto;
}

/* question card */
.gs-item{
  display:flex;
  gap:14px;
  background:#f6fbf7;
  border:1px solid rgba(83,141,34,0.25);
  border-radius:12px;
  padding:12px 14px;
  transition:0.25s ease;
}

.gs-item:hover{
  background:#eaf6ee;
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(47,93,30,0.18);
}

/* date badge */
.gs-date{
  background:linear-gradient(180deg,#66a93b,#538d22);
  color:#fff;
  padding:6px 10px;
  border-radius:10px;
  font-weight:800;
  font-size:12px;
  height:fit-content;
  white-space:nowrap;
  box-shadow:0 4px 10px rgba(0,0,0,.2);
}

/* question text */
.gs-item p{
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:#1f2d16;
}


      .cat2-wrap {
        padding: 44px 16px 90px;
        background: radial-gradient(circle at top, #eef8f1 0, #fafdfb 40%, #ffffff 100%);
        font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      }

      .cat2-inner {
        max-width: 1400px;
        margin: 0 auto;
      }

      .cat2-head {
        text-align: center;
        margin-bottom: 40px;
      }

      .cat2-title {
        font-size: 32px;
        font-weight: 800;
        letter-spacing: .05em;
        color: #10361f;
        text-transform: uppercase;
        margin: 0;
      }

      .cat2-title span {
        color: #197e46;
      }

      .cat2-underline {
        width: 140px;
        height: 5px;
        background: linear-gradient(90deg, #1b7b3c, #6fd47f);
        border-radius: 999px;
        margin: 10px auto 0;
      }

      .cat2-grid {
        display: grid;
        gap: 22px;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      }

      .cat2-card {
        padding: 24px 22px 26px;
        background: #ffffff;
        border-radius: 18px;
        border: 1px solid rgba(25, 118, 52, 0.2);
        box-shadow: 0 14px 35px rgba(11, 65, 32, 0.08);
        transition: all .22s ease;
        cursor: pointer;
      }

      .cat2-card:hover {
        transform: translateY(-6px);
        background: #f8fff9;
        border-color: #197e46;
        box-shadow: 0 26px 60px rgba(5, 53, 25, 0.18);
      }

      .cat2-pill {
        display: inline-flex;
        padding: 4px 10px;
        font-size: 11px;
        font-weight: 600;
        border-radius: 999px;
        background: #e8f5ec;
        color: #1d6e3c;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: .03em;
      }

      .cat2-name {
        font-size: 18px;
        font-weight: 700;
        color: #173c25;
        margin-bottom: 6px;
      }

      .cat2-desc {
        font-size: 13px;
        color: #61786a;
        line-height: 1.45;
        margin-bottom: 12px;
      }

      .cat2-footer {
        border-top: 1px solid #e3efe7;
        padding-top: 8px;
        font-size: 11px;
        color: #7b9488;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .cat2-link {
        color: #1c7f46;
        font-weight: 700;
        font-size: 11px;
      }

      @media(max-width:640px) {
        .cat2-title {
          font-size: 26px;
        }
      }
  

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1350px) {
  .img3 {
    width: 420px;
}
.img-6{
  width: 220px;
}
.main-nav ul{
  gap: 10px;
}
  
}
@media (max-width: 1200px) {
  .quiz-section.active .quiz-card-wrapper{
    width: 100%;
  }
   .quiz-section,
   .daily-combined-section {
    max-width: 1150px;
   }
  
  .footer-grid {
    gap: 36px;
  }

  .footer-bg-text {
    font-size: 110px;
  }
  .ias-collage-gallery.dark{
    padding-left: 40px;
  }
  .img1 {
    width: 190px;
    height: 120px;
    margin-left: 80px;
}
.img2{
  margin-left: -100px;
}
.img4 {
    height: 300px;
    width: 220px;
    margin-top: -30px;
    margin-left: 50px;
}
.img5{
  height: 140px;
  margin-left: -100px;
}
.img6 {
    height: 140px;
    width: 230px;
}
.img7 {
    margin-right: 100px;
    height: 220px;
    
}
.img8 {
    height: 135px;
    margin-top: -100px;
    margin-left: -100px;
}
    .img3 {
        width: 450px;
    }
}

@media (max-width: 900px) {
 .quiz-section.active {
    grid-template-columns: 1fr;
  }
 .quiz-section {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }

  .quiz-vector {
    width: 200px;
  }
.practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-col {
    height: 360px;
  }
 .collage-grid-exact{
    grid-template-columns:1fr;
    grid-template-rows:auto;
  }

  .img-box{
    grid-column:auto!important;
    grid-row:auto!important;
    height:220px;
  }
.upsc-newsletter-card {
    grid-template-columns: 1fr;
  }

  .upsc-newsletter-left {
    padding: 44px 30px;
    text-align: center;
    align-items: center;
  }

  .upsc-newsletter-inputbox {
    width: 100%;
  }

  .upsc-newsletter-right {
    padding: 10px 0 30px;
  }
 .exam-main-grid { grid-template-columns: 1fr; }
  .exam-left-top { grid-template-columns: 1fr; }
  .exam-card-grid { grid-template-columns: repeat(2, 1fr); }
  .exam-right { height: auto; border: none; padding: 0; }
  .news-dashboard {
      grid-template-columns: 1fr;
    }

    .news-sidebar {
      position: static;
    }

    .news-header {
      grid-template-columns: 1fr;
    }
 .info-green-grid {
    grid-template-columns: 1fr;
  }
 
  .info-strip {
    padding: 60px 20px;
  }
.daily-layout{grid-template-columns:1fr}
  .full-row{grid-column:auto}
  .big-card{height:420px}
 .brief-grid {
    grid-template-columns: 1fr;
  }

  .brief-right {
    grid-template-columns: 1fr;
  }

  .brief-header h1 {
    font-size: 32px;
  }

  .lead-story h2 {
    font-size: 26px;
  }
}

/* =========================
   MOBILE FIX
========================= */

@media (max-width: 768px) {
  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-policy {
    justify-content: center;
    flex-wrap: wrap;
  }

  .section-title {
    font-size: 26px;
  }
  .about-hero {
    padding: 70px 16px 60px;
  }

  .about-hero-text {
    font-size: 16px;
  }
.theme-footer {
    padding: 70px 20px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-app .app-buttons {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-policy {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-bg-text {
    font-size: 80px;
    bottom: -20px;
  }
}
.learning-hub-section{
  max-width:1400px;
  margin:0 auto;
  padding:40px 36px 50px;
  
}

.res-header{
  margin-inline: auto;
    margin-bottom: 80px;
    max-width: 300px;
}
.hub-subtitle{
  font-size:22px;
  font-weight:900;
  margin-bottom:22px;
  color:#0f172a;
}

/* GRID */
.resources-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

/* CARD */
.resource-card{
    position: relative;
    border-radius: 10px;
    padding: 19px 16px 24px;
    border: 2px solid #46771f;
    min-height: 140px;
    cursor: pointer;
    transition: .25s ease;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
    background: white !important;
}

.resource-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.res-text{
  margin-top:-20px;
  line-height: 1.2;
}
/* ICON */
.res-icon {
    width: 50px;
    position: relative;
    top: -45px;
    height: 50px;
    border-radius: 12px;
    color: #fff;
    background:linear-gradient(90deg, var(--dark-green), var(--primary-green));
    display: grid;
    place-items: center;
    font-size: 22px;
    /* margin-bottom: 14px; */
    box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
}

/* TEXT */
.resource-card h4{
  font-size:16px;
  font-weight:700;
  margin-bottom:6px;
  color:#0f172a;
}

.resource-card p{
  font-size:13.5px;
  color:#334155;
  line-height:1.5;
}

/* ARROW */
.res-arrow{
  position:absolute;
  right:18px;
  bottom:16px;
  font-size:13px;
  color:#334155;
  transition:.25s ease;
}

.resource-card:hover .res-arrow{
  transform:translateY(4px);
}

/* COLORS */
.resource-card.blue{background:linear-gradient(90deg,#fff,#d8e9fb)}
.resource-card.peach{background:linear-gradient(90deg,#fff,#f4dcca)}
.resource-card.pink{background:linear-gradient(90deg,#fff,#fcc8c8)}
.resource-card.lavender{background:linear-gradient(90deg,#fff,#e0dcfd)}
.resource-card.green{background:linear-gradient(90deg,#fff, #e0ead7)}

/* RESPONSIVE */
@media(max-width:1200px){
  .resources-grid{grid-template-columns:repeat(4,1fr)}
}

@media(max-width:900px){
  .resources-grid{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:600px){
  .resources-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:420px){
  .resources-grid{grid-template-columns:1fr}
}
  @media only screen and (max-width: 767px)
    {
 .inner .form-submit span
 {
     color:white;
 }
 .inner .form-submit
  {
    display: block;
    text-align: center; 
  }
    }
    .quiz_start span{
            font-weight: 400 !important;
    }