/* ═══════════════════════════════════════════
   KHUSHI KO SANSAR — PAGE STYLES
   Color Palette: 
     Primary:  #D62828 (Brand Red) - from Logo
     Accent:   #FF5252 (Light Red)
     Warm:     #FFF5F5 (Warm Red Tint)
     BG Light: #FAFAFA (White)
     Dark:     #1A1A2E (Deep Navy)
     Text:     #3D3D5C (Slate)
   Font: "Poppins", sans-serif (inherited from metaData)
   ═══════════════════════════════════════════ */

/* ── PAGE BASE ── */

html,
body {
  width: 100%;
  overflow-x: hidden;
}

.kks-page {
  color: #3d3d5c;
  background: #fff;
}

section {
  overflow: hidden;
  position: relative;
}

/* ── REUSABLE COMPONENTS ── */

.kks-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d62828 0%, #ff5252 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.kks-section-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.kks-section-sub {
  color: #7b7b9e;
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, #d62828, #ff5252);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */

.kks-hero {
  padding: 2rem 0 4rem;
  background: linear-gradient(165deg, #fffbfb 0%, #fff5f5 50%, #ffebee 100%);
  position: relative;
}

.kks-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.08), transparent 70%);
  pointer-events: none;
}

.kks-breadcrumb {
  margin-bottom: 2rem;
}

.kks-breadcrumb .breadcrumb-item a {
  color: #d62828;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.kks-breadcrumb .breadcrumb-item.active {
  color: #7b7b9e;
  font-size: 0.85rem;
}

.kks-title {
  font-family: "Poppins", sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.kks-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #5a5a7a;
  margin-bottom: 2rem;
  /* max-width: 520px; */
}

.kks-subtitle strong {
  color: #1a1a2e;
}

/* Stats Row */
.kks-stats {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
}

.kks-stat {
  display: flex;
  flex-direction: column;
  padding: 0.8rem 1.5rem;
  border-right: 2px solid rgba(214, 40, 40, 0.12);
}

.kks-stat:first-child {
  padding-left: 0;
}

.kks-stat:last-child {
  border-right: none;
}

.kks-stat-number {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #d62828;
  line-height: 1;
}

.kks-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9e9ebe;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Schedule Pill */
.kks-schedule {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid rgba(214, 40, 40, 0.12);
  border-radius: 16px;
  padding: 0.8rem 1.4rem;
  box-shadow: 0 4px 20px rgba(214, 40, 40, 0.06);
}

.kks-schedule-icon {
  font-size: 1.5rem;
}

.kks-schedule-day {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1a2e;
}

.kks-schedule-time {
  display: block;
  font-size: 0.82rem;
  color: #7b7b9e;
}

/* Hero Image */
.kks-hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kks-hero-img {
  width: 100%;
  max-width: 480px;
  border-radius: 28px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(214, 40, 40, 0.15);
  transition: transform 0.4s ease;
}

.kks-hero-img:hover {
  transform: translateY(-6px);
}

.kks-hero-blob {
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 82, 82, 0.12) 0%,
    rgba(214, 40, 40, 0.08) 60%,
    transparent 100%
  );
  z-index: 1;
  animation: kks-pulse 6s ease-in-out infinite;
}

@keyframes kks-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

/* ═══════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════ */

.kks-video-section {
  padding: 5rem 0;
  /* background: #1a1a2e; */
  background: #1a1a2e; /* Navy looks good with Red */
  color: #fff;
}

.kks-video-section .kks-section-title {
  color: #fff;
}

.kks-tv-wrap {
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════
   OBJECTIVES SECTION
   ═══════════════════════════════════════════ */

.kks-objectives-section {
  padding: 5rem 0;
  /* background: linear-gradient(180deg, #fffbf5 0%, #f8f6ff 100%); */
  background: linear-gradient(180deg, #fffbfb 0%, #fff5f5 100%);
}

.kks-obj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.kks-obj-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(214, 40, 40, 0.06);
  border: 1px solid rgba(214, 40, 40, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  animation: kks-fadeUp 0.6s ease both;
}

.kks-obj-card:nth-child(1) {
  animation-delay: 0.05s;
}
.kks-obj-card:nth-child(2) {
  animation-delay: 0.15s;
}
.kks-obj-card:nth-child(3) {
  animation-delay: 0.25s;
}
.kks-obj-card:nth-child(4) {
  animation-delay: 0.35s;
}

.kks-obj-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(214, 40, 40, 0.14);
}

.kks-obj-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}

.kks-obj-card h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.kks-obj-card p {
  font-size: 0.9rem;
  color: #7b7b9e;
  line-height: 1.6;
  margin: 0;
}

@keyframes kks-fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════
   SEGMENTS SECTION
   ═══════════════════════════════════════════ */

.kks-segments-section {
  padding: 5rem 0;
  background: #fff;
}

.kks-seg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.kks-seg-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  animation: kks-fadeUp 0.6s ease both;
}

.kks-seg-card:nth-child(1) {
  animation-delay: 0.1s;
}
.kks-seg-card:nth-child(2) {
  animation-delay: 0.25s;
}

.kks-seg-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 20px 56px rgba(214, 40, 40, 0.16);
}

.kks-seg-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.kks-seg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kks-seg-card:hover .kks-seg-img-wrap img {
  transform: scale(1.08);
}

.kks-seg-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #d62828, #ff5252);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
}

.kks-seg-body {
  padding: 1.6rem 1.8rem 2rem;
}

.kks-seg-body h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.6rem;
}

.kks-seg-body p {
  font-size: 0.92rem;
  color: #7b7b9e;
  line-height: 1.7;
  margin: 0;
}

.kks-video-section {
  padding: 5rem 0;
  /* background: #1a1a2e; */
  background: #414177;
  color: #fff;
}

.kks-video-section .kks-section-title {
  color: #fff;
}

.kks-tv-wrap {
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════
   OBJECTIVES SECTION
   ═══════════════════════════════════════════ */

.kks-objectives-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fffbf5 0%, #f8f6ff 100%);
}

.kks-obj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.kks-obj-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.06);
  border: 1px solid rgba(108, 99, 255, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  animation: kks-fadeUp 0.6s ease both;
}

.kks-obj-card:nth-child(1) {
  animation-delay: 0.05s;
}
.kks-obj-card:nth-child(2) {
  animation-delay: 0.15s;
}
.kks-obj-card:nth-child(3) {
  animation-delay: 0.25s;
}
.kks-obj-card:nth-child(4) {
  animation-delay: 0.35s;
}

.kks-obj-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(108, 99, 255, 0.14);
}

.kks-obj-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}

.kks-obj-card h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.kks-obj-card p {
  font-size: 0.9rem;
  color: #7b7b9e;
  line-height: 1.6;
  margin: 0;
}

@keyframes kks-fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════
   SEGMENTS SECTION
   ═══════════════════════════════════════════ */

.kks-segments-section {
  padding: 5rem 0;
  background: #fff;
}

.kks-seg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.kks-seg-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  animation: kks-fadeUp 0.6s ease both;
}

.kks-seg-card:nth-child(1) {
  animation-delay: 0.1s;
}
.kks-seg-card:nth-child(2) {
  animation-delay: 0.25s;
}

.kks-seg-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 20px 56px rgba(108, 99, 255, 0.16);
}

.kks-seg-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.kks-seg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kks-seg-card:hover .kks-seg-img-wrap img {
  transform: scale(1.08);
}

.kks-seg-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
}

.kks-seg-body {
  padding: 1.6rem 1.8rem 2rem;
}

.kks-seg-body h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.6rem;
}

.kks-seg-body p {
  font-size: 0.92rem;
  color: #7b7b9e;
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 991px) {
  .kks-title {
    font-size: 2.4rem;
  }

  .kks-hero-img {
    max-width: 320px;
    margin: 0 auto;
  }

  .kks-hero-img-wrap {
    margin-bottom: 2rem;
  }

  /* .kks-subtitle {
    width: 100%;
  } */
}

@media (max-width: 768px) {
  .kks-title {
    font-size: 2rem;
  }

  .kks-subtitle {
    font-size: 0.95rem;
  }

  .kks-stats {
    justify-content: center;
  }

  .kks-stat {
    padding: 0.6rem 1rem;
  }

  .kks-stat-number {
    font-size: 1.3rem;
  }

  .kks-obj-grid {
    grid-template-columns: 1fr;
  }

  .kks-seg-grid {
    grid-template-columns: 1fr;
  }

  .kks-section-title {
    font-size: 1.7rem;
  }

  .kks-hero {
    padding: 1.5rem 0 3rem;
  }

  .kks-video-section,
  .kks-objectives-section,
  .kks-segments-section {
    padding: 3rem 0;
  }

  .kks-hero-img {
    max-width: 280px;
    border-radius: 20px;
  }

  .kks-schedule {
    border-radius: 12px;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 480px) {
  .kks-title {
    font-size: 1.7rem;
  }

  .kks-stat {
    padding: 0.5rem 0.7rem;
  }

  .kks-stat-number {
    font-size: 1.1rem;
  }

  .kks-hero-img {
    max-width: 240px;
  }
}
