* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Floating Assistant */
.floating-assistant {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.assistant-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  animation: float 3s ease-in-out infinite;
}

.assistant-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Fixed Social Media Icons */

.fixed-social-media {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fixed-social-media .social-icon {
  width: 30px;
  height: 30px;
}


/* Government Header Bar */
.gov-header-bar {
  background: #1e3a8a;
  color: white;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.gov-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flag-icon {
  font-size: 16px;
}

.gov-text {
  font-weight: 600;
}

.gov-header-right {
  display: flex;
  gap: 12px;
}

.header-icon-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.3s;
}

.header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Main Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  box-sizing: border-box;

}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logos-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ashoka-chakra {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.main-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0;
  line-height: 1.2;
}

.logo-text p {
  font-size: 14px;
  color: #666;
  margin: 0;
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav {
  display: flex;
  gap: 25px;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #1e3a8a;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s;
}

.search-btn:hover {
  background: #f0f0f0;
  color: #1e3a8a;
}

.login-btn {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.3s;
}

.login-btn:hover {
  color: #0066cc;
  background: none;
}

.join-btn {
  background: #1e3a8a;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background 0.3s;
}

.join-btn:hover {
  background: #1e40af;
}

.lang-toggle {
  background: none;
  border: 1px solid #ddd;
  color: white;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s;
}


/* Navigation Menu */

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 0;
}

.nav-links a:hover {
  color: #0066cc;
  text-decoration: none;
}

.nav-icons {
  display: flex;
  gap: 15px;
  position: static;
  transform: none;
  width: auto;
  height: auto;
  color: black;
}

.nav-icons a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-icons a:hover {
  background-color: #e9ecef;
  opacity: 1;
  transform: none;
}

.nav-icons .icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* ── Officials / About Us Page ─────────────────────────────── */
.officials-page {
  max-width: 1500px;
  margin: 0 auto;
  padding: 50px 40px 60px;
}

.officials-header {
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
}

.officials-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 6px 0;
}

.officials-subtitle {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
}

.officials-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.official-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.official-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  transform: translateY(-4px);
}

.official-photo-wrap {
  flex: 0 0 150px;
  width: 150px;
  min-height: 160px;
  overflow: hidden;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.official-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #eef2f7;
}

.official-photo-placeholder {
  width: 150px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  color: #93c5fd;
  font-size: 56px;
}

.official-info {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 5px;
}

.official-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.official-role {
  font-size: 13px;
  font-style: italic;
  color: #4a5568;
  margin: 0;
  font-weight: 500;
}

.official-desc {
  font-size: 12px;
  color: #6b7280;
  margin: 2px 0 0;
  line-height: 1.6;
}

.official-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  color: #4a5568;
  line-height: 1.4;
}

.contact-item i {
  color: #1e3a8a;
  font-size: 11px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item a {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.contact-item a:hover {
  color: #1e3a8a;
  text-decoration: underline;
}

/* ── Directorate Officials 3×3 ─────────────────────────────── */
.dir-section {
  margin-top: 52px;
  padding-top: 36px;
  border-top: 2px solid #e2e8f0;
}

.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.dist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.dir-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: visible;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: auto;
}

.dir-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
  transform: translateY(-4px);
}

/* Avatar panel */
.dir-avatar {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b5fc0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 72px;
  width: 72px;
  border-radius: 12px 0 0 12px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 34px;
  gap: 5px;
  align-self: stretch;
}

.dir-avatar.female {
  background: linear-gradient(135deg, #0d7e6b 0%, #15a589 100%);
}

.dir-grid .dir-avatar {
  background: linear-gradient(135deg, #0d7e6b 0%, #15a589 100%);
}

.dir-avatar img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
  z-index: 1;
}

.dir-serial {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 7px;
  border-radius: 20px;
  order: -1;
  margin-bottom: 4px;
}

/* Card body */
.dir-info {
  padding: 11px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.dir-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
  line-height: 1.35;
  word-break: break-word;
}

.dir-role {
  font-size: 11px;
  font-weight: 600;
  color: #1e3a8a;
  margin: 0;
  font-style: italic;
  word-break: break-word;
}

.dir-posting {
  font-size: 11px;
  color: #6b7280;
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dir-posting i {
  color: #9ca3af;
  font-size: 10px;
}

.dir-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.no-phone {
  color: #9ca3af;
  font-size: 11.5px;
}

/* ── Page Hero Banner (About Us / Contact Us / Downloads) ───── */

.page-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2d52b8 55%, #0ea5e9 100%);
  padding: 36px 60px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.page-hero-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-hero-breadcrumb .bc-sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.page-hero-breadcrumb .bc-current {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

/* Hindi title */
.page-hero-hindi {
  font-size: 26px;
  font-weight: 800;
  color: #f7941d;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
  font-family: 'Roboto', sans-serif;
}

/* English title */
.page-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

/* Subtitle */
.page-hero-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 22px;
  line-height: 1.65;
}

.page-hero-subtitle .ph-dot {
  margin: 0 6px;
  opacity: 0.5;
}

/* Stats row */
.page-hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.ph-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ph-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #f7941d;
  letter-spacing: -0.5px;
  line-height: 1;
}

.ph-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Downloads Page ─────────────────────────────────────────── */

/* Hero banner */
.dl-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b5fc0 60%, #0ea5e9 100%);
  padding: 52px 40px 44px;
  text-align: center;
  color: white;
}

.dl-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.dl-hero-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.85;
}

.dl-hero h2 {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.dl-hero p {
  font-size: 15px;
  opacity: 0.88;
  margin: 0 0 28px;
  line-height: 1.7;
}

/* Search bar */
.dl-search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  padding: 10px 20px;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}

.dl-search-bar i {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.dl-search-bar input {
  background: none;
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
  width: 100%;
  font-family: 'Roboto', sans-serif;
}

.dl-search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Page wrapper */
.dl-page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 50px 40px 60px;
}

/* Section */
.dl-section {
  margin-bottom: 52px;
}

.dl-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e2e8f0;
}

.dl-section-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 4px;
}

.dl-section-header p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

.dl-section-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.forms-icon {
  background: #eff6ff;
  color: #1e3a8a;
}

.circular-icon {
  background: #fef3c7;
  color: #d97706;
}

.scheme-icon {
  background: #f0fdf4;
  color: #16a34a;
}

.report-icon {
  background: #fdf4ff;
  color: #9333ea;
}

/* Document card grid */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}

/* Document card */
.dl-card {
  display: flex;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.dl-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* Left colour strip */
.dl-card-left {
  flex: 0 0 64px;
  width: 64px;
  background: #fdf2f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
}

.dl-file-icon {
  font-size: 26px;
  color: #e53e3e;
}

.dl-file-icon.word {
  color: #2b5be0;
}

.dl-file-icon.excel {
  color: #16a34a;
}

/* Badge */
.dl-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  color: white;
}

.dl-badge.pdf {
  background: #e53e3e;
}

.dl-badge.docx {
  background: #2b5be0;
}

.dl-badge.xlsx {
  background: #16a34a;
}

/* Card body */
.dl-card-body {
  flex: 1;
  padding: 14px 16px;
  min-width: 0;
}

.dl-card-body h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 6px;
  line-height: 1.35;
}

.dl-card-body p {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 10px;
  line-height: 1.6;
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dl-meta span {
  font-size: 11px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dl-meta i {
  font-size: 10px;
  color: #cbd5e1;
}

/* Action buttons */
.dl-card-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-left: 1px solid #f0f4f8;
}

.dl-preview-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s, color 0.2s;
}

.dl-preview-btn:hover {
  background: #e2e8f0;
  color: #1e3a8a;
}

.dl-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1e3a8a;
  color: white;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.dl-download-btn:hover {
  background: #1e40af;
  transform: scale(1.04);
}

/* Disclaimer note */
.dl-disclaimer {
  margin-top: 40px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  padding: 20px 24px;
}

.dl-disclaimer-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dl-disclaimer-inner>i {
  font-size: 22px;
  color: #d97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.dl-disclaimer-inner strong {
  display: block;
  font-size: 14px;
  color: #92400e;
  margin-bottom: 6px;
}

.dl-disclaimer-inner p {
  font-size: 13px;
  color: #78350f;
  margin: 0;
  line-height: 1.7;
}

.dl-disclaimer-inner p a {
  color: #b45309;
  text-decoration: underline;
  font-weight: 600;
}

/* Content Sections */
.content-section {
  background: white;
  padding: 20px 40px 100px 40px;
}

/* Image Carousel */
.carousel-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.carousel {
  width: 100%;
  position: relative;
  height: 500px;
  /* Fixed height for better control */
  overflow: hidden;
  contain: layout size;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s ease-out;
}

.carousel-slide:hover img {
  transform: scale(1.02);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: none;
  font-size: 20px;
  padding: 12px 16px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-container:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.carousel-arrow.prev {
  left: 20px;
}

.carousel-arrow.next {
  right: 20px;
}

/* Carousel indicators */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.2);
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}


/* Government Schemes Section */
.government-schemes-section {
  padding-bottom: 0;
  background: white;
  margin-top: 100px;
}

.schemes-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.schemes-header {
  text-align: left;
  margin-bottom: 0px;
}

.schemes-main-title {
  font-size: 30px;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 16px 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.schemes-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin: 0 0 40px 0;
  font-weight: 400;
}

.schemes-content {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: start;
}

/* Search Filters */
.search-filters {
  width: 100%;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 20px;
  align-items: end;
  flex-wrap: wrap;
}

.filter-group {
  min-width: 200px;
}

.filter-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 18px;
  color: #374151;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 18px;
  padding-right: 45px;
}

.filter-select:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.filter-select:hover {
  border-color: #9ca3af;
}

.search-button {
  background: #10b981;
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  min-width: 140px;
  justify-content: center;
  height: 56px;
}

.search-button:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.search-button:active {
  transform: translateY(0);
}

/* Select Wrapper and Arrow for Government Schemes */
.government-schemes-section .select-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.government-schemes-section .select-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 18px;
  pointer-events: none;
  transition: color 0.3s ease;
}

.government-schemes-section .select-wrapper:hover .select-arrow {
  color: #374151;
}

.government-schemes-section .filter-select:focus+.select-arrow {
  color: #1e3a8a;
}

/* Video Section */
.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}


/* Infrastructure Section */

.infrastructure-section {
  text-align: center;
  padding: 80px 20px;
  max-width: 1400px;
  margin: 100px auto;
  background: linear-gradient(135deg,
      #667eea 0%,
      #764ba2 25%,
      #f093fb 50%,
      #f5576c 75%,
      #4facfe 100%);
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.infrastructure-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 100%);
  z-index: 1;
}

.infrastructure-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.infrastructure-section h2 {
  font-size: 42px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.5px;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.infrastructure-section p {
  font-size: 18px;
  color: #fff;
  margin-bottom: 50px;
  font-weight: 500;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.infrastructure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.infrastructure-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 28px 16px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 1px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  overflow: hidden;
  z-index: 2;
}

.infrastructure-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.infrastructure-card:hover::before {
  transform: scaleX(1);
}

.infrastructure-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 5px 20px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.2);
}

.infrastructure-card:nth-child(1):hover {
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 5px 20px rgba(16, 185, 129, 0.2);
}

.infrastructure-card:nth-child(2):hover {
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 5px 20px rgba(236, 72, 153, 0.2);
}

.infrastructure-card:nth-child(3):hover {
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 5px 20px rgba(251, 146, 60, 0.2);
}

.infrastructure-card:nth-child(4):hover {
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 5px 20px rgba(139, 92, 246, 0.2);
}

.infrastructure-icon {
  font-size: 56px;
  margin: 0 0 25px 0;
  display: block;
  transition: all 0.4s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.infrastructure-card:hover .infrastructure-icon {
  transform: scale(1.1) rotateY(360deg);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.infrastructure-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 20px 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.infrastructure-card:hover h3 {
  color: #3b82f6;
}

.moreinfo-btn {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  color: white;
  border: none;
  margin-top: 25px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 20px rgba(99, 102, 241, 0.3),
    0 3px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.moreinfo-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.moreinfo-btn:hover::before {
  left: 100%;
}

.moreinfo-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 12px 30px rgba(99, 102, 241, 0.4),
    0 6px 12px rgba(0, 0, 0, 0.15);
}

.moreinfo-btn:active {
  transform: translateY(-1px) scale(1.02);
}


/* MMD and YMD Section */
.mmd-ymd-section {
  text-align: center;
  padding: 80px 20px;
  background: #f8fafc;
}

.mmd-ymd-container {
  max-width: 1200px;
  margin: 0 auto;
}

.mmd-ymd-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 20px;
}

.mmd-ymd-section p {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mmd-ymd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-content: center;
}

.mmd-ymd-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mmd-ymd-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.mmd-ymd-icon {
  font-size: 64px;
  margin-bottom: 25px;
}

.mmd-ymd-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 25px;
}

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

/* Registration Section */
.registration-section {
  text-align: center;
  padding: 60px 20px;
  width: 100%;
  margin: auto;
  box-sizing: border-box;
}

.registration-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0b173d;
  margin-bottom: 8px;
}

.registration-section p {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 40px;
}

.registration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.registration-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0px 6px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.registration-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 12px 35px rgba(0, 0, 0, 0.12);
}

.registration-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.registration-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.registration-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.register-btn {
  background: linear-gradient(135deg, #5d6bd8 0%, #4c5bc7 100%);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(93, 107, 216, 0.3);
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(93, 107, 216, 0.4);
}

.register-btn:active {
  transform: translateY(0);
}

/* Schemes Section */

.schemes-section {
  text-align: center;
  padding: 80px 20px;
  max-width: 1400px;
  margin: 100px auto;
  background: linear-gradient(135deg,
      #667eea 0%,
      #764ba2 25%,
      #f093fb 50%,
      #f5576c 75%,
      #4facfe 100%);
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.schemes-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 100%);
  z-index: 1;
}

.schemes-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.schemes-section h2 {
  font-size: 42px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.5px;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.schemes-section h2 span {
  color: white;
  font-weight: 800;
}

.schemes-section p {
  font-size: 18px;
  color: #fff;
  margin-bottom: 50px;
  font-weight: 500;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.schemes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.scheme-card {
  position: relative;
  background-color: #fff;
  border-radius: 16px;
  padding: 25px 20px 25px;
  box-shadow: 0px 6px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.scheme-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 12px 35px rgba(0, 0, 0, 0.12);
}

.scheme-badge {
  background: #C0CFE6;
  color: black;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 15px;
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.scheme-icon {
  font-size: 40px;
  margin: 20px 0 15px 0;
  display: block;
}

.scheme-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  line-height: 1.3;
}

/* FAQ Section */

.faq-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.faq-section h2 {
  font-size: 30px;
  color: #0b173d;
  font-weight: 700;
  margin-bottom: 5px;
}

.faq-section p {
  margin-top: 0;
  color: #4a4a4a;
  font-size: 15px;
  margin-bottom: 40px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 20px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  border: none;
  outline: none;
  background-color: #fff;
  color: #2a2a2a;
  cursor: pointer;
  position: relative;
}


.accordion-header::after {
  content: "▾";
  font-size: 18px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.accordion-header.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  background-color: #f6f6f6;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.accordion-body p {
  padding: 20px 0;
  margin: 0;
  color: #444;
  font-size: 16px;
}

/* Support Box */

.support-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;

}


.support-container {
  background-color: white;
  border-radius: 30px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}


.support-text {
  max-width: 700px;
}

.support-text h2 {
  font-size: 30px;
  font-weight: 700;
  color: #141f3d;
  margin: 0 0 20px;
}


.support-text p {
  font-size: 24px;
  color: #141f3d;
  margin: 0 0 30px;
}

.help-button {
  background-color: #C0CFE6;
  color: black;
  border: none;
  padding: 20px 40px;
  font-size: 22px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

.support-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 20px;
}


/* Footer */

.footer {
  background: #1e3a8a;
  color: white;
  padding: 60px 40px 40px 40px;
  width: 100%;
  box-sizing: border-box;
  border-top: 3px solid #3b82f6;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.footer-container {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Logo Section */
.logo-section {
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.yuva-sathi-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.logo-icon {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.yuva {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 2px;
}

.sathi {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 5px;
}

.tagline {
  font-size: 18px;
  color: #e2e8f0;
  font-weight: 600;
  letter-spacing: 1px;
}

.description {
  font-size: 14px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 25px;
  margin-top: 0;
  margin-left: 0;
  padding-left: 0;
}

/* Newsletter Section */
.newsletter-section {
  margin-bottom: 30px;
  margin-left: 0;
  margin-top: 0;
  padding-left: 0;
  width: 100%;
  box-sizing: border-box;
}

.newsletter-social-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: nowrap;
  width: 100%;
}

.newsletter-social-row .newsletter-form {
  flex: 1;
  min-width: 140px;
  width: auto;
}

.newsletter-social-row .social-media {
  width: auto;
  flex-shrink: 0;
  margin: 0;
}

.newsletter-section h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  margin-left: 0;
  margin-top: 0;
  text-align: left;
  padding-left: 0;
}

.newsletter-form {
  display: flex;
  gap: 0;
  height: 48px;
  margin-left: 0;
  align-items: stretch;
  padding-left: 0;
  width: auto;
  min-width: 180px;
  flex: 1;
  box-sizing: border-box;
}

.email-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px 0 0 8px;
  font-size: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  height: 48px;
  box-sizing: border-box;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.15);
}

.send-btn {
  background: #6366f1;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  height: 48px;
  box-sizing: border-box;
  min-width: 80px;
}

.send-btn:hover {
  background: #5856eb;
}

/* Social Media Icons */
.social-media {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  margin-left: 0;
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 20px;
  width: auto;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.facebook {
  background: #3b5998;
}

.twitter {
  background: #1da1f2;
}

.instagram {
  background: #e4405f;
}

.youtube {
  background: #ff0000;
}

.linkedin {
  background: #0077b5;
}

.facebook,
.twitter,
.instagram,
.youtube,
.linkedin {
  color: white;
}

/* Other Footer Sections */
.footer-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3b82f6;
  position: relative;
  align-self: flex-start;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #60a5fa;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 6px 0 6px 8px;
  border-left: 3px solid transparent;
  display: block;
  line-height: 1.4;
}

.footer-links a:hover {
  color: #3b82f6;
  border-left-color: #3b82f6;
  transform: translateX(5px);
}

/* Copyright Section */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}



/* Contact Page */

.contact-search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 0 0 0 18px;
  min-width: 380px;
  max-width: 480px;
  height: 56px;
}

.contact-search-input {
  border: none;
  outline: none;
  font-size: 18px;
  background: transparent;
  flex: 1;
  padding: 0 12px;
  color: #333;
}

.contact-search-btn {
  background: #4f8edc;
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-search-btn:hover {
  background: #5b6ee1;
}


/* Department Information Section */
.department-info-section {
  padding: 50px 0;
  background: #fff;
}

.department-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 0 40px;
}

.department-left {
  flex: 1;
  background: white;
  padding: 40px;
}

.department-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 40px;
}

.dept-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.department-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.department-title p {
  font-size: 18px;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.department-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 50px;
}

.detail-icon {
  width: 50px;
  height: 50px;
  background: #6B9BD1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
  position: relative;
}

.detail-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.detail-content {
  display: block;
}

.detail-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  line-height: 50px;
  padding: 0;
}

.detail-content p {
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.social-media-section {
  margin-top: 2px;
  padding-top: 5px;
}

.social-icons-contact {
  display: flex;
  gap: 8px;
  margin-left: 10px;
}

.social-icon-contact {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.social-icon-contact:hover {
  transform: translateY(-3px);
}

.social-icon-contact.instagram,
.social-icon-contact.linkedin,
.social-icon-contact.facebook,
.social-icon-contact.twitter,
.social-icon-contact.youtube {
  background: #6B9BD1;
}


.department-right {
  flex: 1;
}

/* Contact Form Styles */

.contact-form-section {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.contact-form-section p {
  font-size: 16px;
  color: #666;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  color: #374151;
  background: white;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8B5FBF;
  box-shadow: 0 0 0 3px rgba(139, 95, 191, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.phone-input {
  display: flex;
  gap: 8px;
}

.country-code {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  color: #374151;
  background: white;
  min-width: 80px;
  cursor: pointer;
}

.phone-input input {
  flex: 1;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  margin: 0;
}

.send-message-btn {
  background: #C0CFE6;
  color: black;
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 8px;
}

.send-message-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #C0CFE6;
}



/* Register Page */

.register-main {
  min-height: 80vh;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 25%, #ec4899 50%, #f59e0b 75%, #10b981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.register-main::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: white;
  clip-path: polygon(0% 40%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

.register-card {
  background: white;
  border-radius: 16px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  z-index: 2;
}

.register-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
}

.register-header p {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 400;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  background: #f9fafb;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: #6366f1;
  background: white;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 16px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  margin: 24px 0;
  font-size: 13px;
  color: #6b7280;
}

.checkbox-wrapper input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  accent-color: #6366f1;
}

.create-account-btn {
  width: 100%;
  background: #1f2937;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.create-account-btn:hover {
  background: #374151;
  transform: translateY(-1px);
}

.footer-text {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.login-in-link {
  font-size: 14px;
  color: #6b7280;
}

.login-in-link a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
}

.google-btn {
  background-color: #e3f2fd;
  color: #333;
  border: none;
  padding: 12px 20px;
  width: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
  font-size: 14px;
}

.google-btn img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.email-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.email-divider hr {
  flex: 1;
  border: none;
  height: 1px;
  background-color: #e0e0e0;
  margin: 0;
}

.email-divider span {
  padding: 0 15px;
  color: #666;
  font-size: 14px;
  white-space: nowrap;
}

/* Performance Optimization */
/* Add these rules at the end of your CSS file */

/* Use hardware acceleration for animations and transitions */
.carousel-slide,
.registration-card,
.scheme-card,
.infrastructure-card,
.social-icon,
.social-icon-contact,
.send-message-btn,
.create-account-btn,
.header-login,
.schemes-search-btn,
.register-btn {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/* Optimize marquee animation to use transform instead of left positioning */
.moving-text p {
  display: inline-block;
  color: black;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Fix carousel to prevent layout shifts during resizing */
.carousel {
  width: 100%;
  position: relative;
  height: 0;
  padding-bottom: 40%;
  /* Using padding instead of height for responsive aspect ratio */
  overflow: hidden;
  contain: layout size;
}

/* Optimize reflow for grid layouts */
.schemes-grid,
.infrastructure-grid,
.registration-grid {
  contain: layout style;
}

/* Add containment for long lists */
.nav-links,
.footer-links,
.accordion {
  contain: content;
}



/* Prevent unnecessary repaints for fixed elements */
header,
nav {
  will-change: transform;
}

/* Fix for schemes-search-main section that might be causing layout shifts */
.schemes-search-main {
  overflow: hidden;
  contain: layout;
}

/* Floating Search UI Section */
.floating-search-ui {
  position: absolute;
  top: 760px;
  left: 130px;
  width: 100%;
  max-width: 1200px;
  margin: -50px auto 50px auto;
  padding: 0 20px;
  z-index: 10;
}

.floating-container {
  /* background: rgba(255, 255, 255, 0.98); */
  /* backdrop-filter: blur(20px); */
  border-radius: 20px;
  /* box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8); */
  padding: 24px 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* border: 1px solid rgba(229, 231, 235, 0.3); */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 
.floating-container:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.12),
    0 12px 24px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.9);
} */

/* Top Row: Search Options & Running Text */
.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}

.search-options {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  order: 1;
}

.search-option-btn {
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.search-option-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.search-option-btn:hover::before {
  left: 100%;
}

.white-btn {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border: none;
  color: white;
  padding: 12px 20px;
  min-width: 180px;
  box-shadow:
    0 4px 12px rgba(249, 115, 22, 0.3),
    0 2px 4px rgba(249, 115, 22, 0.2);
}

.white-btn:hover {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(234, 88, 12, 0.4),
    0 4px 8px rgba(234, 88, 12, 0.3);
}

.white-btn.active {
  background: white;
  color: #374151;
  border: 2px solid #e5e7eb;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.04);
}

.orange-btn {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  border: none;
  padding: 14px 20px;
  min-width: 140px;
  justify-content: center;
  box-shadow:
    0 4px 12px rgba(249, 115, 22, 0.3),
    0 2px 4px rgba(249, 115, 22, 0.2);
}

.orange-btn:hover {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(234, 88, 12, 0.4),
    0 4px 8px rgba(234, 88, 12, 0.3);
}

.orange-btn.active {
  background: white;
  color: #374151;
  border: 2px solid #e5e7eb;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.04);
}

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.btn-title {
  font-weight: 600;
  font-size: 14px;
  color: inherit;
  line-height: 1.2;
}

.btn-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.running-text-container {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  order: 2;
}

.marquee-box {
  background: linear-gradient(135deg, #3730a3 0%, #1e1b4b 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
  box-shadow:
    0 4px 12px rgba(55, 48, 163, 0.3),
    0 2px 4px rgba(55, 48, 163, 0.2);
  width: 100%;
}

.marquee-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  animation: scroll-text 25s linear infinite;
  display: inline-block;
  will-change: transform;
}

@keyframes scroll-text {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Advanced Search Row */
.advanced-search-row {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  width: 100%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.advanced-search-row.show {
  opacity: 1;
  max-height: 200px;
  transform: translateY(0);
}

.advanced-options {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex: 1;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}

.filter-label {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.select-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.filter-select {
  width: 100%;
  padding: 14px 45px 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 52px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.filter-select:hover {
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 14px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.select-wrapper:hover .select-arrow {
  color: #374151;
  transform: translateY(-50%) scale(1.1);
}

.filter-select:focus+.select-arrow {
  color: #3b82f6;
  transform: translateY(-50%) scale(1.2);
}

.advanced-search-btn {
  background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  border: none;
  color: white;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow:
    0 4px 12px rgba(132, 204, 22, 0.3),
    0 2px 4px rgba(132, 204, 22, 0.2);
}

.advanced-search-btn:hover {
  background: linear-gradient(135deg, #65a30d 0%, #4d7c0f 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 8px 20px rgba(101, 163, 13, 0.4),
    0 4px 8px rgba(101, 163, 13, 0.3);
}

.advanced-search-btn i {
  font-size: 16px;
}

/* Bottom Row: Search Bar & Stats */
.bottom-row {
  display: flex;
  gap: 20px;
  align-items: center;
  transition: all 0.3s ease;
  flex-wrap: wrap;
}

.search-bar-section {
  flex: 1;
  min-width: 300px;
}

.search-input-container {
  display: flex;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 52px;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 2px 4px rgba(0, 0, 0, 0.04);
  position: relative;
}

.search-input-container:focus-within {
  border-color: #3b82f6;
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.main-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 14px;
  background: transparent;
  color: #374151;
  font-weight: 500;
}

.main-search-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.search-icon-btn {
  background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  border: none;
  color: white;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 10px 10px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.search-icon-btn:hover {
  background: linear-gradient(135deg, #65a30d 0%, #4d7c0f 100%);
  transform: scale(1.05);
}

.search-icon-btn i {
  font-size: 16px;
}

.stats-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.08),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.8);
  padding: 20px 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(229, 231, 235, 0.3);
  flex-shrink: 0;
  min-width: 360px;
  transition: all 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.1),
    0 6px 12px rgba(0, 0, 0, 0.06);
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #e5e7eb, transparent);
}

.stat-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-number {
  font-size: 22px;
  font-weight: 800;
  color: #6b46c1;
  line-height: 1;
  background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .floating-search-ui {
    margin: -30px auto 30px auto;
    padding: 0 15px;
  }

  .floating-container {
    padding: 20px 24px;
    gap: 16px;
  }

  .stats-card {
    min-width: 300px;
    padding: 16px 20px;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .floating-search-ui {
    margin: -20px auto 20px auto;
    padding: 0 10px;
  }

  .top-row {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .search-options {
    order: 2;
    justify-content: center;
  }

  .running-text-container {
    order: 1;
  }

  .bottom-row {
    flex-direction: column;
    gap: 16px;
  }

  .search-bar-section {
    min-width: auto;
    width: 100%;
  }

  .stats-card {
    min-width: auto;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .advanced-options {
    flex-direction: column;
    gap: 12px;
  }

  .filter-group {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .floating-container {
    padding: 16px 20px;
    border-radius: 16px;
  }

  .search-options {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .search-option-btn {
    width: 100%;
    min-width: auto;
  }

  .marquee-box {
    padding: 10px 16px;
    height: 44px;
  }

  .marquee-text {
    font-size: 13px;
  }
}

/* =========================================
   GALLERY PAGE STYLES
   ========================================= */

/* Gallery Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1200px;
}

.gallery-filters .filter-btn {
  background: white;
  border: 2px solid #e5e7eb;
  padding: 10px 24px;
  border-radius: 30px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filters .filter-btn:hover {
  border-color: #f7941d;
  color: #f7941d;
}

.gallery-filters .filter-btn.active {
  background: #f7941d;
  color: white;
  border-color: #f7941d;
  box-shadow: 0 4px 10px rgba(247, 148, 29, 0.3);
}

/* Masonry Grid */
.gallery-grid {
  display: column;
  column-count: 3;
  column-gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

@media (max-width: 900px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    column-count: 1;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(16, 32, 75, 0.9) 0%, rgba(16, 32, 75, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: white;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #f7941d;
  padding: 4px 10px;
  border-radius: 20px;
  align-self: flex-start;
  margin-bottom: 10px;
  font-weight: 600;
}

.gallery-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.gallery-overlay i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  font-size: 32px;
  color: white;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-load-more {
  text-align: center;
  padding: 20px 0 60px;
}

.gallery-load-more .primary-btn {
  background: #10204b;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gallery-load-more .primary-btn:hover {
  background: #f7941d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(247, 148, 29, 0.4);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

#lightboxCaption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 20px 0;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  height: auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #f7941d;
  text-decoration: none;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.2);
}

.lightbox-next {
  right: 20px;
  border-radius: 3px 0 0 3px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #f7941d;
}

/* Lightbox Animation */
.lightbox-modal.show {
  display: block;
  animation: fadeIn 0.3s;
}

.lightbox-content {
  animation: zoom 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes zoom {
  from {
    transform: scale(0.95)
  }

  to {
    transform: scale(1)
  }
}