/* 🎨 UIDAI THEME OVERRIDES (CRITICAL REFINEMENTS) */
:root {
  --uidai-blue: #003366;
  --uidai-dark-blue: #002244;
  --uidai-top-bar: #f8f8f8;
  --aadhaar-orange: #f26522;
  --aadhaar-green: #026838;
  --bg-color: #ffffff;
  --text-color: #333333;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --header-bg: linear-gradient(to right, #fedda9 0%, #fff8d2 40%, #fff8d2 60%, #e9f5e1 100%);
  --eco-bg: #fdfdfd;
}

body.dark-mode {
  --bg-color: #121212;
  --text-color: #f0f0f0;
  --card-bg: #1e1e1e;
  --uidai-top-bar: #1a1a1a;
  --border-color: #333;
  --header-bg: linear-gradient(to right, #2c1e0a 0%, #333 40%, #333 60%, #1a2c1a 100%);
  --eco-bg: #181818;
}

/* Global Dark Mode Visibility Overrides */
body.dark-mode .en-main,
body.dark-mode .dual-label .en-main,
body.dark-mode .card-header,
body.dark-mode .portal-title,
body.dark-mode .gov-center h1,
body.dark-mode .gov-center h3,
body.dark-mode label,
body.dark-mode .info-card .card-header {
  color: #ffffff !important;
}

body.dark-mode .hi-sub,
body.dark-mode .dual-label .hi-sub,
body.dark-mode .gov-center p,
body.dark-mode .help-text {
  color: #bbbbbb !important;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background-color: #2a2a2a !important;
  color: #fff !important;
  border-color: #444 !important;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  transition: background 0.3s, color 0.3s;
}

.accessibility-bar {
  display: none;
}

.theme-toggle {
  cursor: pointer;
  font-size: 13px;
  color: white;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
  height: 100%;
}

.theme-toggle:hover {
  opacity: 0.8;
}

/* Custom Language Dropdown */
.lang-dropdown {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.lang-btn {
  padding: 6px 10px;
  /* Reduced padding */
  color: white;
  font-weight: 600;
  font-size: 12px;
  /* Smaller font */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: var(--card-bg);
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  border: 1px solid var(--border-color);
}

.lang-content a {
  color: var(--text-color);
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  font-size: 12px;
}

.lang-content a:hover {
  background-color: #f1f1f1;
}

.lang-dropdown:hover .lang-content {
  display: block;
}

/* Header */
.main-header {
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  min-height: 70px;
}

/* Reconstructed Logo Branding */
.logo-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  padding: 8px 15px;
  cursor: pointer;
}

.aadhaar-icon {
  height: 50px;
  width: auto;
}

.branding-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.branding-text .en-hi-main {
  color: var(--aadhaar-orange);
  font-weight: 800;
  font-size: 1rem;
  /* Reduced from 1.1rem */
  letter-spacing: -0.2px;
}

.main-text {
  font-weight: 700;
  font-size: 1.1rem;
  flex: 1;
  text-align: left;
}

.btn-sub-text {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
  color: #fff;
}

.branding-text .hi-sub {
  color: var(--aadhaar-green);
  font-weight: 800;
  font-size: 1rem;
  /* Reduced from 1.1rem */
  letter-spacing: -0.2px;
}

/* The "Animated Chamka" (Gliding Glint) */
.logo-branding::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100px;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-30deg);
  animation: logoGlint 4s infinite ease-in-out;
}

@keyframes logoGlint {
  0% {
    left: -150%;
  }

  30% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

.header-right {
  text-align: right;
  line-height: 1.1;
}

.header-right h2 {
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 700;
  margin: 0;
  font-family: 'Times New Roman', serif;
}

/* Nav */
.fixed-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 3000;
  background: var(--bg-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-menu {
  background: var(--uidai-blue);
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  /* Reduced from 42px */
}

.nav-items {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

.nav-items li:hover,
.nav-items li.active {
  background: var(--uidai-dark-blue);
}

.signin-dropdown {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  margin-left: 10px;
  /* Reduced from 15px */
  border-radius: 6px;
}

.nav-control-item {
  display: flex;
  align-items: center;
  margin-left: 6px;
  /* Reduced from 8px */
  height: 100%;
}

/* Push control items to the right */
.nav-items li.nav-control-item:nth-of-type(6) {
  margin-left: auto;
}

.theme-toggle {
  cursor: pointer;
  font-size: 14px;
  /* Slightly smaller icon */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  /* Reduced from 36px */
  height: 30px;
  /* Reduced from 36px */
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.nav-items li.nav-control-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-items li:not(.signin-dropdown):not(.nav-control-item) {
  padding: 0 10px;
  /* Reduced from 20px */
  cursor: pointer;
  display: flex;
  align-items: center;
  color: white;
  font-size: 13px;
  /* Reduced from 13.5px */
  font-weight: 500;
  transition: background 0.2s;
}

.nav-items li.signin-dropdown {
  padding: 0 10px;
  /* Reduced from 20px */
  cursor: pointer;
  color: white;
  font-size: 13px;
  /* Reduced from 13.5px */
  font-weight: 600;
}

.signin-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: var(--uidai-blue);
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 5000;
  border-top: 2px solid var(--aadhaar-orange);
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a:hover {
  background: var(--uidai-dark-blue);
}

/* Rules and Regulations Dropdown */
.rules-dropdown {
  position: relative;
  cursor: pointer;
  padding: 0 10px;
  display: flex;
  align-items: center;
  color: white;
  font-size: 13px;
  font-weight: 500;
  height: 100%;
  transition: background 0.2s;
  white-space: nowrap;
}

.rules-dropdown:hover {
  background: var(--uidai-dark-blue);
}

.rules-dropdown > span {
  pointer-events: none;
}

.rules-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--uidai-blue);
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 5000;
  border-top: 2px solid var(--aadhaar-orange);
}

.rules-dropdown:hover .rules-dropdown-content {
  display: block;
}

.rules-dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.rules-dropdown-content a:hover {
  background: var(--uidai-dark-blue);
  padding-left: 22px;
  transition: padding 0.15s ease;
}

/* Mobile: Rules dropdown shows as static block */
@media (max-width: 768px) {
  .rules-dropdown {
    width: 100%;
    height: auto;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: flex-start;
  }

  .rules-dropdown-content {
    display: block;
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.1);
    border-top: none;
    width: 100%;
  }

  .rules-dropdown-content a {
    padding-left: 40px;
  }
}

/* 🍔 HAMBURGER ICON (MOBILE) */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
  color: white;
  font-size: 24px;
}

/* Overlay for mobile menu */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3500;
}

body.menu-open .menu-overlay {
  display: block;
}

/* Fix blurry text on mobile transitions */
.nav-items {
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Carousel */
.hero-carousel {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

/* Scroll fix for sticky header */
#main-portal,
#services {
  scroll-margin-top: 180px;
}

.hero-carousel .carousel-inner {
  display: block; /* Override display: flex from style.css */
  height: 100%;
  position: relative;
}

.carousel-inner .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: flex-end; /* Pushed to bottom */
  padding-bottom: 80px; /* Space from bottom edge */
  color: #fff;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.carousel-inner .slide.active {
  opacity: 1 !important;
  z-index: 5;
}

.slide-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
  display: block !important;
}

.carousel-inner .slide-overlay {
  position: relative;
  z-index: 2;
  background: none !important; /* Removed glassy background and gradients */
  padding: 10px 0;
  max-width: 550px;
  margin-left: 5%;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Standardize button size in carousel */
.slide-overlay .portal-btn {
  padding: 14px 30px !important;
  font-size: 1.1rem !important;
  width: fit-content !important;
  min-width: 200px;
}

.slide-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Mascot */
.ask-udai-mascot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  z-index: 10000;
  cursor: pointer;
}

.ask-udai-mascot img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes wave {

  0%,
  100% {
    transform: rotate(0);
  }

  50% {
    transform: rotate(10deg);
  }
}

.mascot-hand {
  animation: wave 2s infinite ease-in-out;
  transform-origin: bottom center;
}

/* Main container adjustment - now act as Welcome info */
.main-container {
  background: var(--card-bg);
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 500;
  width: 90%;
  max-width: 1000px;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border-color);
}

/* Ecosystem Section */
.eco-section {
  padding: 60px 8%;
  background: var(--eco-bg);
  text-align: center;
}

.eco-title {
  font-size: 2.2rem;
  color: var(--uidai-blue);
  margin-bottom: 40px;
  font-weight: 800;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.eco-card {
  background: var(--card-bg);
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--uidai-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
  border-top-width: 5px;
}

.eco-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.eco-card.orange {
  border-top-color: var(--aadhaar-orange);
}

.eco-card.green {
  border-top-color: var(--aadhaar-green);
}

.eco-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.eco-card h3 {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.eco-card p {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.eco-btn {
  background: var(--uidai-blue);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  text-transform: uppercase;
  font-size: 0.85rem;
  width: 100%;
}

.eco-card.orange .eco-btn {
  background: var(--aadhaar-orange);
}

.eco-card.green .eco-btn {
  background: var(--aadhaar-green);
}

.eco-btn:hover {
  opacity: 0.9;
}

/* 📱 MOBILE RESPONSIVENESS (OVERHAUL) */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    padding: 15px;
    text-align: center;
    gap: 15px;
  }

  .header-right {
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .nav-items {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 280px;
    height: 100vh;
    background: var(--uidai-blue);
    flex-direction: column;
    transition: 0.3s ease-in-out;
    z-index: 4000;
    padding-top: 60px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  body.menu-open .nav-items {
    right: 0;
  }

  .nav-items li {
    width: 100%;
    height: auto;
    padding: 15px 25px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .signin-dropdown {
    width: 100%;
    margin-left: 0;
  }

  .signin-dropdown .dropdown-content {
    display: block;
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.1);
    border-top: none;
  }

  .signin-dropdown .dropdown-content a {
    padding-left: 40px;
  }

  .slide-overlay h1 {
    font-size: 1.8rem;
  }

  .main-container {
    padding: 25px 15px;
    width: 95%;
  }

  .eco-title {
    font-size: 1.8rem;
  }

  .logo-branding {
    padding: 5px;
  }

  .aadhaar-icon {
    height: 45px;
  }

  .branding-text .en-hi-main,
  .branding-text .hi-sub {
    font-size: 1rem;
  }

  #main-portal,
  #services,
  #about-uidai {
    scroll-margin-top: 220px;
  }
}

/* ===== ABOUT UIDAI SECTION ===== */
#about-uidai {
  scroll-margin-top: 180px;
}

.about-section {
  padding: 60px 8%;
  background: var(--bg-color);
  text-align: center;
}

.about-title {
  font-size: 1.8rem;
  color: var(--uidai-blue);
  margin-bottom: 8px;
  font-weight: 800;
}

.about-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 40px;
  font-weight: 500;
}

/* ===== MEDIA & RESOURCES SECTION ===== */
.media-section {
  padding: 60px 8%;
  background: var(--bg-color);
  text-align: center;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.media-card {
  background: #f8f8f8; /* Light gray background for the "frame" */
  border-radius: 24px;
  padding: 12px; /* Frame thickness */
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05), 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 400px;
  position: relative;
  transition: transform 0.3s ease;
}

.dark-mode .media-card {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
}

.media-card:hover {
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05), 0 20px 45px rgba(0, 0, 0, 0.15);
  border-color: var(--aadhaar-orange);
}

.media-display {
  width: 100%;
  height: 100%;
  position: relative;
  background: #000; /* Contrast for the content */
  border-radius: 16px; /* Inner rounding */
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.flash-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensure images fit inside without cropping */
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.flash-image.active {
  opacity: 1;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #1a1a1a;
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-card {
  background: var(--card-bg);
  padding: 30px 25px;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--uidai-blue), var(--aadhaar-orange));
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.about-card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.about-card h3 {
  font-size: 1.25rem;
  color: var(--uidai-blue);
  font-weight: 700;
  margin-bottom: 12px;
}

.about-desc {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 18px;
}

.about-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.about-info-row:last-of-type {
  border-bottom: none;
}

.about-info-icon {
  font-size: 1.4rem;
  min-width: 28px;
  text-align: center;
}

.about-info-row strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 2px;
}

.about-info-row span,
.about-info-row div {
  font-size: 0.95rem;
  color: var(--text-color);
}

.about-highlight {
  font-size: 1.8rem !important;
  font-weight: 800;
  color: var(--aadhaar-orange) !important;
  letter-spacing: 1px;
}

.about-link {
  color: var(--uidai-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.about-link:hover {
  color: var(--aadhaar-orange);
  text-decoration: underline;
}

.about-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.about-btn {
  background: var(--uidai-blue);
  color: #fff;
  border: 2px solid var(--uidai-blue);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.about-btn:hover {
  background: var(--uidai-dark-blue);
  border-color: var(--uidai-dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 51, 102, 0.25);
}

.about-btn.outline {
  background: transparent;
  color: var(--uidai-blue);
}

.about-btn.outline:hover {
  background: var(--uidai-blue);
  color: #fff;
}

.about-map-container {
  margin: 15px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-links-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.about-links-list li:last-child {
  border-bottom: none;
}

.about-links-list a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.about-links-list a::before {
  content: '→';
  color: var(--aadhaar-orange);
  font-weight: 700;
  font-size: 1rem;
}

.about-links-list a:hover {
  color: var(--uidai-blue);
  padding-left: 6px;
}

@media (max-width: 768px) {
  .about-section {
    padding: 40px 5%;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  gap: 12px;
}

.play-icon {
  font-size: 3rem;
  opacity: 0.8;
  transition: transform 0.3s;
  cursor: pointer;
}

.play-icon:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* 🎥 VIDEO GALLERY CONTROLS */
.video-container {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
}

.main-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 15px 10px 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.media-card:hover .video-controls {
  opacity: 1;
  pointer-events: auto;
}

.v-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}

.v-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.v-btn.play-pause {
  width: 40px;
  height: 40px;
  font-size: 18px;
  background: var(--aadhaar-orange);
  border-color: var(--aadhaar-orange);
}

@media (max-width: 992px) {
  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-display {
    height: 250px;
  }
}

/* Dark Mode Overrides */
.dark-mode .media-section {
  background: #0f172a;
}

.dark-mode .media-display {
  background: #1e293b;
}

.btn-disabled {
  filter: grayscale(1) !important;
  opacity: 0.5 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}