:root {
  --dgr-saffron: #bf5b00;
  --dgr-saffron-light: #e8a020;
  --dgr-olive: #4a5e2a;
  --dgr-olive-light: #6b8540;
  --dgr-nav-dark: #2c3e1a;
  --dgr-charcoal: #2c2c2c;
  --dgr-ivory: #fff8ec;
  --dgr-muted: #6d6a62;
  --dgr-border: #ded6c5;
  --dgr-focus: #ffd166;
  --dgr-base-size: 16px;
}

* {
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dgr-charcoal);
  font-family: Calibri, "Noto Sans", Arial, sans-serif;
  font-size: var(--dgr-base-size);
  background: #fffdf8;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 1.08;
}

h2 {
  font-size: 1.75rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.18rem;
  font-weight: 700;
}

a {
  color: var(--dgr-olive);
}

a:hover {
  color: var(--dgr-saffron);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible {
  outline: 3px solid var(--dgr-focus);
  outline-offset: 3px;
  box-shadow: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1050;
  background: #fff;
  color: #111;
  padding: .7rem 1rem;
  border: 2px solid #111;
  border-radius: .25rem;
}

.skip-link:focus {
  top: 1rem;
}

.utility-bar {
  background: var(--dgr-nav-dark);
  color: #fff;
  font-size: .92rem;
  padding: .45rem 0;
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .8rem;
}

.utility-links a,
.link-button {
  color: #fff;
  text-decoration: none;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.link-button {
  border: 0;
  background: transparent;
  padding: 0;
}

.link-button.active {
  text-decoration: underline;
  text-underline-offset: .25rem;
}

.masthead {
  background: var(--dgr-ivory);
  border-bottom: 1px solid var(--dgr-border);
  padding: 1rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--dgr-charcoal);
  text-decoration: none;
}

.brand-lockup .emblem {
  width: 56px;
  height: auto;
}

.brand-lockup strong,
.brand-hindi {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.brand-hindi {
  color: var(--dgr-saffron);
  font-size: 1.05rem;
  margin-bottom: .15rem;
}

.brand-lockup small {
  display: block;
  color: var(--dgr-muted);
  margin-top: .25rem;
}

.site-search {
  display: flex;
  gap: .5rem;
  width: min(100%, 420px);
}

.masthead-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  width: min(100%, 560px);
}

.dgr-mast-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.dgr-mast-logo img {
  width: 84px;
  height: 64px;
  object-fit: contain;
}

.btn {
  border-radius: .25rem;
  min-height: 2.75rem;
}

.btn-primary {
  --bs-btn-bg: var(--dgr-saffron);
  --bs-btn-border-color: var(--dgr-saffron);
  --bs-btn-hover-bg: #994900;
  --bs-btn-hover-border-color: #994900;
  --bs-btn-focus-shadow-rgb: 191, 91, 0;
}

.main-nav {
  background: #2C3E1A;
  --bs-navbar-color: #fff;
  --bs-navbar-hover-color: #fff;
  --bs-navbar-active-color: #fff;
  --bs-navbar-toggler-border-color: rgba(255, 255, 255, .75);
  padding: 0;
}

.main-nav .container-xxl {
  max-width: none;
  padding-left: .25rem;
  padding-right: .25rem;
}

.main-nav .navbar-nav {
  width: 100%;
}

.main-nav .nav-link {
  color: #fff;
  font-weight: 700;
  min-height: 2rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: .35rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, .28);
  border-bottom: 3px solid transparent;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  background: rgba(255, 255, 255, .12);
  border-bottom-color: var(--dgr-saffron-light);
}

.home-link::before {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-right: .35rem;
  background: currentColor;
  clip-path: polygon(50% 8%, 91% 42%, 82% 42%, 82% 92%, 58% 92%, 58% 62%, 42% 62%, 42% 92%, 18% 92%, 18% 42%, 9% 42%);
}

.navbar-toggler {
  background: #fff;
}

.dropdown-menu {
  border-radius: .25rem;
  border-color: var(--dgr-border);
}

.hero-carousel,
#dgrHeroCarousel .carousel-item {
  min-height: 520px;
  background: transparent;
}

.carousel-item {
  position: relative;
}

#dgrHeroCarousel .carousel-item::before {
  content: none;
}

.carousel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.03);
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: .35rem;
  background: rgba(255, 248, 236, .78);
}

.hero-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--dgr-saffron);
}

.hero-progress-bar.is-running {
  animation: heroProgress 5.5s linear both;
}

@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}

.carousel-item.active .carousel-bg {
  animation: slowZoom 7s ease-out both;
}

@keyframes slowZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.09); }
}

.eyebrow {
  color: var(--dgr-saffron-light);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .5rem;
}

.action-band {
  background: var(--dgr-saffron);
}

.announcement-strip {
  background: var(--dgr-ivory);
  border-bottom: 1px solid var(--dgr-border);
  padding: .85rem 0;
}

.announcement-strip p {
  margin: 0;
  color: var(--dgr-charcoal);
}

.dgr-announcement-modal .modal-content {
  border: 0;
  border-radius: .5rem;
  box-shadow: 0 20px 50px rgba(44, 62, 26, .28);
}

.dgr-announcement-modal .modal-header {
  align-items: flex-start;
  background: var(--dgr-nav-dark);
  color: #fff;
  border-bottom: 4px solid var(--dgr-saffron);
}

.dgr-announcement-modal .modal-header .eyebrow {
  color: var(--dgr-saffron-light);
  margin-bottom: .25rem;
}

.dgr-announcement-modal .modal-title {
  color: #fff;
  font-size: 1.6rem;
}

.dgr-announcement-modal .modal-body {
  background: #fffdf8;
}

.dgr-announcement-modal .modal-body li + li {
  margin-top: .45rem;
}

.dgr-announcement-modal .modal-footer {
  background: var(--dgr-ivory);
  border-top: 1px solid var(--dgr-border);
}

.action-band a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  padding: 1rem;
  color: #fff;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .28);
}

.action-band a:hover,
.action-band a:focus-visible {
  background: rgba(0, 0, 0, .14);
}

.content-band {
  padding: 3.5rem 0;
}

.section-heading {
  margin-bottom: 1.2rem;
}

.notice-list {
  border-top: 3px solid var(--dgr-olive);
}

.notice-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--dgr-charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--dgr-border);
}

.notice-list time {
  flex: 0 0 auto;
  color: var(--dgr-muted);
  font-weight: 700;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.quick-grid a,
.info-block,
.dg-message,
.leader-card,
.section-nav,
.content-panel {
  border: 1px solid var(--dgr-border);
  border-radius: .5rem;
  background: #fff;
}

.quick-grid a {
  min-height: 8.25rem;
  padding: 1rem;
  text-decoration: none;
  color: var(--dgr-charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
}

.quick-grid a:hover {
  border-color: var(--dgr-saffron);
  box-shadow: 0 10px 24px rgba(44, 62, 26, .12);
}

.quick-grid strong {
  color: var(--dgr-olive);
  font-size: 1.08rem;
}

.quick-grid span,
.role {
  color: var(--dgr-muted);
}

.dg-message {
  padding: 1.2rem;
}

.dg-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  border-radius: .35rem;
  margin-bottom: 1rem;
}

.dg-message blockquote {
  border-left: 4px solid var(--dgr-saffron);
  padding-left: 1rem;
  margin: 1rem 0 0;
}

.floating-social {
  position: fixed;
  right: max(.65rem, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: .55rem .45rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.floating-social a {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
}

.floating-social a:hover {
  transform: translateX(-2px);
}

.social-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.youtube {
  color: #fff;
  background: #ff0000;
  border-radius: 50%;
  font-size: 1.35rem;
}

.x-mark {
  color: #fff;
  background: #000;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.facebook {
  width: 2.5rem;
  height: 2.5rem;
  color: #fff;
  background: #1877f2;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 2.1rem;
  align-items: flex-end;
}

.instagram {
  color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 12%, #fd5949 38%, #d6249f 62%, #285aeb 100%);
  border-radius: 50%;
  font-size: 2.15rem;
}

.whatsapp {
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  font-size: 1.65rem;
}

.leaders-section {
  background: #f3f3f3;
  border-top: 6px solid #e6faf8;
  border-bottom: 1px solid var(--dgr-border);
  padding: .8rem 1rem 1.2rem;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.leader-card {
  display: flex;
  min-height: 10.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: .7rem;
  text-align: center;
  color: #00005a;
  text-decoration: none;
  border: 0;
  background: transparent;
}

.leader-card:hover {
  color: var(--dgr-saffron);
}

.leader-card img {
  width: 6.25rem;
  height: 6.75rem;
  object-fit: cover;
  object-position: top center;
  margin-bottom: .7rem;
}

.leader-card strong {
  display: block;
  line-height: 1.2;
}

.leader-card span {
  display: block;
  color: #111;
  font-size: .92rem;
  line-height: 1.2;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.photo-gallery,
.video-gallery {
  width: 100%;
  background: #fff8ec;
  color: var(--dgr-charcoal);
  border: 1px solid var(--dgr-border);
  border-top: 4px solid var(--dgr-saffron);
  border-radius: .5rem;
  overflow: hidden;
}

.photo-gallery h2,
.video-gallery h2 {
  margin: 0;
  padding: .55rem .75rem;
  background: var(--dgr-nav-dark);
  color: #fff;
  font-family: Calibri, "Noto Sans", Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
}

.photo-gallery .carousel,
.video-gallery .carousel {
  position: relative;
}

.photo-gallery .carousel-item,
.video-gallery .carousel-item {
  min-height: 0;
  background: transparent;
}

.photo-gallery .carousel-item::before,
.video-gallery .carousel-item::before {
  content: none;
}

.photo-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-gallery iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.gallery-control {
  width: 2.2rem;
  top: 0;
  bottom: 2rem;
  opacity: .9;
}

.gallery-control .carousel-control-prev-icon,
.gallery-control .carousel-control-next-icon {
  width: 1.45rem;
  height: 1.45rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6));
}

.gallery-footer {
  min-height: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .35rem .65rem;
  background: var(--dgr-ivory);
  border-top: 1px solid var(--dgr-border);
}

.view-all-link {
  color: var(--dgr-nav-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.view-all-link:hover {
  color: var(--dgr-saffron);
}

.gallery-indicators {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  margin: 0;
}

.gallery-indicators [data-bs-target] {
  width: .7rem;
  height: .7rem;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #111;
  opacity: 1;
}

.gallery-indicators .active {
  background: var(--dgr-saffron);
}

.footer-logo-carousel {
    background: #f3f3f3;
    border: 0;
    padding: .45rem 2.5rem;
}

.footer-logo-carousel .carousel-item {
  min-height: 0;
  background: transparent;
}

.footer-logo-carousel .carousel-item::before {
  content: none;
}

.footer-logo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 2rem;
}

.footer-logo-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: .25rem 0;
}

.footer-logo-strip img {
  max-width: 170px;
  max-height: 74px;
  object-fit: contain;
}

.footer-logo-control {
  width: 2rem;
  color: #BF5B00;
  opacity: 1;
}

.footer-logo-control span[aria-hidden="true"] {
  color: #BF5B00;
  font-size: 1.5rem;
}

.site-footer {
  background: #303030;
  color: #fff;
  padding: 1.25rem 0 .9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav,
.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a + a {
  border-left: 1px solid rgba(255, 255, 255, .65);
  padding-left: .9rem;
}

.visitor-count {
  color: #00a9ff;
  font-weight: 700;
  margin-bottom: .55rem !important;
}

.hosting-note {
  font-size: .86rem;
  margin-top: .75rem !important;
}

.page-title-band {
  background: linear-gradient(135deg, var(--dgr-nav-dark), var(--dgr-olive));
  color: #fff;
  padding: 2rem 0;
}

.breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, .7);
  --bs-breadcrumb-item-active-color: #fff;
  margin-bottom: .65rem;
}

.breadcrumb a {
  color: #fff;
}

.section-nav {
  position: sticky;
  top: 1rem;
  padding: 1rem;
}

.section-nav h2 {
  font-family: Calibri, "Noto Sans", Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: .75rem;
}

.section-nav a {
  display: block;
  min-height: 2.75rem;
  padding: .65rem .75rem;
  color: var(--dgr-charcoal);
  text-decoration: none;
  border-left: 4px solid transparent;
}

.section-nav a:hover,
.section-nav a.active {
  background: var(--dgr-ivory);
  border-left-color: var(--dgr-saffron);
}

.content-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.content-panel > p {
  font-size: 1.08rem;
  max-width: 850px;
}

.info-block {
  height: 100%;
  padding: 1rem;
  border-top: 4px solid var(--dgr-saffron);
}

.table {
  --bs-table-striped-bg: #fff8ec;
  border-color: var(--dgr-border);
}

.table thead th {
  background: var(--dgr-olive);
  color: #fff;
}

.table caption {
  color: var(--dgr-muted);
}

body.high-contrast {
  --dgr-saffron: #ffb000;
  --dgr-saffron-light: #ffd35a;
  --dgr-olive: #111;
  --dgr-olive-light: #222;
  --dgr-nav-dark: #000;
  --dgr-charcoal: #000;
  --dgr-muted: #222;
  --dgr-border: #000;
  --dgr-ivory: #fff;
  background: #fff;
}

body.high-contrast .btn-primary {
  color: #000;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .carousel-item.active .carousel-bg {
    animation: none;
  }
}

@media (max-width: 991.98px) {
  .brand-lockup {
    align-items: flex-start;
  }

  .site-search {
    width: 100%;
  }

  .masthead-actions {
    width: 100%;
    justify-content: space-between;
  }

  .footer-logo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .hero-carousel,
  #dgrHeroCarousel .carousel-item {
    min-height: 590px;
  }

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

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

  .photo-gallery,
  .video-gallery {
    width: 100%;
  }

  .gallery-row {
    grid-template-columns: 1fr;
  }

  .section-nav {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .floating-social {
    right: .45rem;
    gap: .4rem;
    padding: .45rem .35rem;
  }

  .floating-social a {
    width: 2.45rem;
    height: 2.45rem;
  }

  .brand-lockup .emblem {
    width: 46px;
  }

  .brand-lockup strong {
    font-size: 1.18rem;
  }

  .brand-lockup small {
    font-size: .82rem;
  }

  .site-search {
    flex-direction: column;
  }

  .masthead-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .dgr-mast-logo img {
    width: 72px;
    height: 54px;
  }

  .footer-logo-carousel {
    padding: .35rem 2rem;
  }

  .footer-logo-strip {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo-strip img {
    max-width: 125px;
    max-height: 58px;
  }

  .notice-list a {
    flex-direction: column;
    gap: .25rem;
  }
}
