@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Hindi:ital@0;1&family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1ece4;
}

::-webkit-scrollbar-thumb {
  background: #E8621A;
  border-radius: 3px;
}

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

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.35
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.hero-animate {
  animation: fadeUp 0.8s ease both;
}

.svc-card:hover .svc-bar {
  transform: scaleX(1) !important;
}

.svc-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.11) !important;
}

.step-row:hover .step-num {
  background: #E8621A !important;
  color: white !important;
  transform: scale(1.12) !important;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: white !important;
  border-bottom-color: #F5C842 !important;
}

.footer-link:hover {
  color: white !important;
}

.top-link:hover {
  color: #F5C842 !important;
}

.fade-in {
  animation: fadeIn 0.5s ease both;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
}


@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }
}


@media (max-width: 1024px) {
  .header-container {
    padding: 12px 24px !important;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 12px 16px !important;
  }

  .header-slogan {
    display: none !important;
  }

  .header-title {
    font-size: 16px !important;
  }

  .header-subtitle {
    font-size: 10px !important;
  }

  .header-logo-wrapper {
    width: 48px !important;
    height: 48px !important;
    box-shadow: 0 0 0 4px #FFF0E6 !important;
  }

  .header-buttons-desktop {
    display: none !important;
  }

  .header-hamburger {
    display: flex !important;
  }
}


.header-hamburger {
  display: none;
  background: none;
  border: none;
  color: #0F1C2E;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.header-hamburger:hover {
  background-color: rgba(232, 98, 26, 0.08);
}


@media (max-width: 768px) {
  .nav-bar {
    display: none !important;
  }
}


.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 28, 46, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-out;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: white;
  z-index: 1001;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-header {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(232, 98, 26, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-content {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #1A1208;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
  background: rgba(232, 98, 26, 0.08);
  color: #E8621A !important;
}

.mobile-drawer-footer {
  padding: 20px 16px;
  border-top: 1px solid rgba(232, 98, 26, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}


@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column !important;
    padding: 50px 24px !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: auto !important;
  }

  .hero-animate {
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-visual-wrapper {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 48px auto 0 !important;
    width: 100% !important;
    max-width: 340px !important;
    display: flex !important;
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 16px !important;
  }

  .hero-title {
    font-size: 32px !important;
  }

  .hero-actions {
    justify-content: center !important;
    width: 100% !important;
  }

  .hero-actions button,
  .hero-actions a {
    flex: 1 !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
  }
}


@media (max-width: 1024px) {
  .instructions-bar {
    padding: 16px 24px !important;
  }
}

@media (max-width: 768px) {
  .instructions-bar {
    flex-direction: column !important;
    padding: 16px 16px !important;
    gap: 12px !important;
  }

  .instructions-list {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .instructions-list span {
    font-size: 12.5px !important;
  }
}


@media (max-width: 768px) {
  .leaders-section {
    padding: 40px 16px !important;
  }

  .leaders-flex {
    flex-direction: column !important;
    gap: 32px !important;
  }

  .leaders-flex>div {
    margin-bottom: 0 !important;
  }

  .officials-flex {
    gap: 24px !important;
  }
}


@media (max-width: 1024px) {
  .services-section {
    padding: 50px 24px !important;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 40px 16px !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    max-width: 420px !important;
  }
}


@media (max-width: 1024px) {
  .stats-section {
    padding: 40px 24px !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none !important;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 16px 20px !important;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(3) {
    border-right: none !important;
  }

  .stat-item:last-child {
    border-bottom: none !important;
  }
}


@media (max-width: 1024px) {
  .apply-section {
    padding: 50px 24px !important;
  }

  .apply-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .sidebar-card {
    position: static !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .apply-section {
    padding: 40px 16px !important;
  }
}


@media (max-width: 768px) {
  .footer-container {
    padding: 40px 20px 0 !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .footer-bottom-bar {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }
}


@media (max-width: 600px) {
  .modal-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}


.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 18, 30, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 24px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-content.wide {
  max-width: 560px;
}

.modal-header {
  background: linear-gradient(135deg, #0F1C2E, #1A2E47);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-body {
  padding: 28px 30px;
  overflow-y: auto;
}

.custom-input,
.custom-select,
.custom-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #E5E0D8;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1A1208;
  background: #FAF7F2;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.custom-input:focus,
.custom-select:focus,
.custom-textarea:focus {
  border-color: #E8621A;
  box-shadow: 0 0 0 4px rgba(232, 98, 26, 0.1);
  background: white;
}

.custom-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%238B7355' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.custom-textarea {
  resize: vertical;
  min-height: 78px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4A3728;
  margin-bottom: 6px;
}

.form-sublabel {
  font-weight: 400;
  color: #8B7355;
}


.btn-primary {
  flex: 1;
  background: linear-gradient(135deg, #E8621A, #c9541a);
  color: white;
  border: none;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 5px 18px rgba(232, 98, 26, 0.35);
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(232, 98, 26, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: #FAF7F2;
  color: #4A3728;
  border: 1.5px solid #E5E0D8;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-ghost:hover {
  background: #F0EBE3;
  border-color: #8B7355;
}

#site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #FAF7F2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#site-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo-wrapper {
  position: relative;
  width: 360px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.quick-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: quickPulse 0.1s ease-out forwards;
}

@keyframes quickPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}