/* Variables */
:root {
  /* Colors - Dark Mode (Default) */
  --bg-primary: #0b0b0b;
  --bg-secondary: #141414;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-color: #d4af37; /* Gold */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --font-accent: "Poppins", sans-serif;
  --font-cursive: "Dancing Script", cursive;

  /* Spacing & Sizes */
  --section-pad: 8rem 5%;
  --container-max: 1400px;
  --radius: 16px;

  /* Transitions */
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode */
html.light {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --accent-color: #b38b22;
  --glass-bg: rgba(0, 0, 0, 0.02);
  --glass-border: rgba(0, 0, 0, 0.05);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* For custom cursor */
}

::selection {
  background-color: #ffd700; /* Yellow highlight */
  color: #1a365d; /* Blue jacket color */
}

html {
  scroll-behavior: initial; /* Handled by Lenis */
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  transition:
    background-color var(--transition-smooth),
    color var(--transition-smooth);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-color);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}

/* Scroll Progress */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-color);
  z-index: 10000;
  box-shadow: 0 0 10px var(--accent-color);
}

/* Loading Screen */
.loader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease;
}

.loader-text {
  font-family: var(--font-cursive);
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

html.light .glass-panel {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-family: var(--font-accent);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #000;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--glass-border);
}

.btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-outline {
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
}

.w-100 {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 5%;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 5%;
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  opacity: 0.8;
  transition: opacity var(--transition-smooth);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover::after {
  width: 100%;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-smooth);
}

.theme-toggle:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

html.dark .sun-icon {
  display: block;
}
html.dark .moon-icon {
  display: none;
}
html.light .sun-icon {
  display: none;
}
html.light .moon-icon {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 30px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* Sections General Layout */
.section {
  padding: var(--section-pad);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden; /* clip the left-slide animation */
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.section.reverse .section-container {
  grid-template-columns: 1fr 1fr;
  direction: rtl; /* simple way to reverse on desktop */
}

.section.reverse .section-container > * {
  direction: ltr; /* reset content direction */
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.section-desc {
  font-family: var(--font-cursive);
  font-size: 1.8rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 100%;
  line-height: 1.4;
}

/* ── Layout Image: Hidden off-screen LEFT on load ──
   IntersectionObserver adds .in-view to trigger the slide-in.
   Purely horizontal motion (no vertical shift). Fires once. */
.layout-image {
  transform: translateX(-400px);
  opacity: 0;
  transition:
    transform 1.6s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 2.3s ease-out;
}

.layout-image.in-view {
  transform: translateX(0);
  opacity: 1;
}

/* Images & Effects */
.glass-effect {
  position: relative;
  overflow: hidden;
}

.glass-effect::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.image-wrapper {
  aspect-ratio: 4/5;
  width: 100%;
  will-change: transform, opacity;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1); /* for parallax */
}

.parallax-img {
  transition: transform 0.5s ease;
}

.image-wrapper:hover .parallax-img {
  transform: scale(1.05);
}

/* 1. Home Section */
.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: var(--font-cursive);
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.hero-desc {
  font-family: var(--font-cursive);
  font-size: 1.8rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 90%;
  line-height: 1.4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.stat-card {
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* 2. The Journey */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent-color),
    rgba(212, 175, 55, 0.1)
  );
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: transform var(--transition-smooth);
  cursor: pointer;
}

.timeline-item:hover {
  transform: translateX(8px);
}

.timeline-item .year {
  min-width: 72px;
  text-align: center;
  padding: 0.55rem 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-color);
  position: relative;
  z-index: 1;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-smooth);
}

.timeline-item:hover .year {
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.08);
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  transition: color var(--transition-smooth);
}

.timeline-item:hover .timeline-content h3 {
  color: var(--accent-color);
}

.timeline-content p {
  color: var(--text-secondary);
}

.timeline-bullets {
  list-style: none;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: color var(--transition-smooth);
}

.timeline-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
  box-shadow: 0 0 8px var(--accent-color);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.timeline-bullets li:hover {
  color: var(--text-primary);
}

.timeline-bullets li:hover::before {
  transform: scale(1.4);
  box-shadow: 0 0 12px var(--accent-color);
}

/* 3. Giving Back */
.initiatives-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.initiative-card {
  padding: 1.1rem 1.5rem;
  border-radius: 14px;
  transition:
    transform var(--transition-smooth),
    border-color var(--transition-smooth),
    background-color var(--transition-smooth);
  cursor: pointer;
}

.initiative-card:hover {
  transform: translateX(8px);
  border-color: var(--accent-color);
  background: rgba(212, 175, 55, 0.06);
}

.initiative-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color var(--transition-smooth);
}

.initiative-card:hover h4 {
  color: var(--accent-color);
}

/* 4. In The News */
.news-categories {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.news-cat-card {
  padding: 1.5rem;
  border-radius: 16px;
  transition:
    transform var(--transition-smooth),
    border-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.news-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-cat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cat-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  font-weight: 600;
  display: block;
}

.news-cat-header h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  font-weight: 500;
}

.news-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
}

.news-highlights-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.news-highlights-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-color);
}

/* Print Newspaper Clipping Frame & Links */
.print-paper-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--glass-border);
  position: relative;
}

.print-paper-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.glass-panel:hover .print-paper-img-wrapper img {
  transform: scale(1.05);
}

.news-portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portal-name-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(212, 175, 55, 0.1);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.news-article-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.read-article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  transition:
    color var(--transition-smooth),
    gap var(--transition-smooth);
}

.read-article-link:hover {
  color: var(--text-primary);
  gap: 0.75rem;
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-card-legacy {
  transition: all var(--transition-smooth);
}

.news-date {
  display: block;
  font-size: 0.85rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-family: var(--font-accent);
}

.news-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-family: var(--font-accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* 5. Conversations */
.video-wrapper {
  position: relative;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-smooth);
}

.video-wrapper:hover .play-button {
  background: var(--accent-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper:hover .play-button svg {
  fill: #000;
}

.podcast-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.podcast-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.audio-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
}

.audio-wave span {
  width: 3px;
  background: var(--accent-color);
  border-radius: 3px;
  animation: wave 1s ease-in-out infinite;
}

.audio-wave span:nth-child(1) {
  height: 10px;
  animation-delay: 0.1s;
}
.audio-wave span:nth-child(2) {
  height: 20px;
  animation-delay: 0.2s;
}
.audio-wave span:nth-child(3) {
  height: 15px;
  animation-delay: 0.3s;
}
.audio-wave span:nth-child(4) {
  height: 25px;
  animation-delay: 0.4s;
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.5);
  }
}

.podcast-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.podcast-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 6. Published Works */
.book-3d {
  perspective: 1000px;
  transform-style: preserve-3d;
  background: transparent !important;
  box-shadow: none !important;
}

.book-3d::after {
  display: none;
}

.book-3d img {
  transition: transform 0.5s ease;
  transform: rotateY(-15deg) rotateX(5deg);
}

.book-3d:hover img {
  transform: rotateY(0deg) rotateX(0deg);
}

.book-info h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.book-meta {
  color: var(--accent-color);
  font-family: var(--font-accent);
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.book-info > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* 7. Connect */
.contact-info-card {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  background: var(--bg-secondary);
}

.contact-info-card h3 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-item svg {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-accent);
  font-weight: 500;
  transition: all var(--transition-smooth);
}

.social-icon:hover {
  background: var(--accent-color);
  color: #000;
  border-color: var(--accent-color);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-color);
}

.form-group label {
  position: absolute;
  left: 0;
  top: 1rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.5rem;
  font-size: 0.8rem;
  color: var(--accent-color);
}

/* Footer */
.footer {
  padding: 2rem 5%;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-smooth);
}

.back-to-top:hover {
  background: var(--accent-color);
  color: #000;
}

/* Footer Credit */
.footer-copyright {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary, rgba(255,255,255,0.6));
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.footer-heart {
  color: #ff1a1a;
  display: inline-block;
  animation: heartbeat 1.4s ease-in-out infinite;
  font-size: 0.95rem;
  line-height: 1;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.3); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.2); }
  70%       { transform: scale(1); }
}

.footer-brand,
.footer-site {
  color: var(--accent-color, #c9a84c);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease, letter-spacing 0.2s ease;
}

.footer-brand:hover,
.footer-site:hover {
  opacity: 0.8;
  letter-spacing: 0.03em;
}


/* Luxury Portfolio Enhancements */
.section-tagline {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 0.8rem;
}

.featured-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--accent-color);
  border-left: 3px solid var(--accent-color);
  padding-left: 1.5rem;
  margin: 1.5rem 0 2rem 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
  .section-title {
    font-size: 3rem;
  }
  .section-container,
  .section.reverse .section-container {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .nav-link {
    font-size: 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .section-container,
  .section.reverse .section-container {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }

  .section.reverse .layout-content {
    order: 2;
  }
  .section.reverse .layout-image {
    order: 1;
  }

  .hero-title {
    font-size: 3rem;
  }
  .hero-actions {
    flex-direction: column;
  }

  .cursor-dot,
  .cursor-outline {
    display: none;
  }

  * {
    cursor: auto;
  }
}

/* YouTube Episode Video Cards & Social Media Icons */
.episode-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--glass-border);
}

.episode-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.podcast-card:hover .episode-thumb-wrapper img {
  transform: scale(1.05);
}

.episode-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.podcast-card:hover .episode-play-badge {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ff0000;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
}

.episode-duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.social-btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* Hero Social Media Buttons in 1 Row */
.hero-social-buttons {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: nowrap;
}

.hero-social-buttons .btn {
  padding: 0.75rem 1.1rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-social-buttons {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .hero-social-buttons .btn {
    padding: 0.65rem 0.95rem;
    font-size: 0.78rem;
  }
}

/* Connect Section Social Badges */
.social-badges-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-smooth);
}

.social-badge i {
  font-size: 1.1rem;
  color: var(--accent-color);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.social-badge:hover {
  border-color: var(--accent-color);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-badge:hover i {
  transform: scale(1.2);
}

.social-badge.youtube-badge:hover i {
  color: #ff0000;
}

.social-badge.twitter-badge:hover i {
  color: #ffffff;
}

.social-badge.facebook-badge:hover i {
  color: #1877f2;
}

.social-badge.ngo-badge:hover i {
  color: #d4af37;
}

/* ==========================================
   NEWS PAGE & TAB SYSTEM STYLES
   ========================================== */
.news-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.news-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
  padding: 0 1rem;
}

.news-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  gap: 6px;
}

html.light .news-tabs {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.7);
}

.news-tab-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 40px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.news-tab-btn i {
  font-size: 0.95rem;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.news-tab-btn:hover {
  color: var(--text-primary);
}

.news-tab-btn:hover i {
  transform: translateY(-1px);
  color: var(--accent-color);
}

.news-tab-btn.active {
  color: var(--text-primary);
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 12px;
  min-width: 22px;
  transition: all 0.3s ease;
}

html.light .tab-count {
  background: rgba(0, 0, 0, 0.06);
}

.news-tab-btn.active .tab-count {
  background: rgba(212, 175, 55, 0.25);
  color: var(--accent-color);
}

/* Sliding active indicator */
.tab-indicator {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.2),
    rgba(212, 175, 55, 0.08)
  );
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
  border-radius: 40px;
  z-index: 1;
  transition:
    width 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-tabs {
    width: 100%;
    justify-content: space-around;
  }
  .news-tab-btn {
    padding: 9px 14px;
    font-size: 0.85rem;
    gap: 6px;
  }
  .news-tab-btn i {
    font-size: 0.85rem;
  }
}

/* News Card Styling */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    background-color 0.4s ease;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-6px);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.45);
}

html.light .news-card:hover {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.08),
    0 0 15px rgba(179, 139, 34, 0.15);
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-color),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-card:hover::before {
  opacity: 1;
}

.news-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
}

.cat-digital {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

html.light .cat-digital {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.cat-print {
  background: rgba(234, 179, 8, 0.12);
  color: var(--accent-color);
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.portal-name-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.news-article-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.news-card-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.4;
  font-family: var(--font-heading);
}

.news-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.print-paper-img-wrapper {
  width: 100%;
  height: 190px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  position: relative;
  border: 1px solid var(--glass-border);
}

.print-paper-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .print-paper-img-wrapper img {
  transform: scale(1.06);
}

.read-article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
  transition: gap 0.3s ease;
  margin-top: auto;
}

.read-article-link svg {
  transition: transform 0.3s ease;
}

.read-article-link:hover {
  gap: 12px;
}

.read-article-link:hover svg {
  transform: translateX(4px);
}
