/* Poppins - 300 */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/poppins-v24-latin-300.woff2") format("woff2");
}

/* Poppins - 400 (Regular) */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/poppins-v24-latin-regular.woff2") format("woff2");
}

/* Poppins - 600 */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/poppins-v24-latin-600.woff2") format("woff2");
}

/* Playfair Display - 700 */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/playfair-display-v40-latin-700.woff2") format("woff2");
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth; /* Smooth Scrolling */
}

/* ---------------------------------------------- Header Base -------------------------------------------------- */
.msd-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.msd-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}
.msd-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.msd-nav-menu {
  display: flex;
  list-style: none;
}

.msd-nav-link {
  position: relative;
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  transition: 0.5s;
}

.msd-nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scaleY(2);
  transition: all 1s ease;
  border-top: 2px solid #f97316;
  border-bottom: 2px solid #f97316;
}

/* Hover & Active State */
.msd-nav-link:hover::before,
.msd-nav-link.active::before {
  opacity: 1;
  transform: scaleY(1.3);
}

.msd-nav-link:hover,
.msd-nav-link.active {
  color: white;
  background: #f97316;
  border-radius: 30%;
}

/* Direction-Aware Buttons */
.msd-btn-premium {
  position: relative;
  padding: 5px 10px;
  border: 2px solid #f97316;
  color: #f97316;
  text-decoration: none;
  font-weight: 800;
  overflow: hidden;
  display: inline-block;
  border-radius: 4px;
}
.msd-btn-fill {
  position: absolute;
  width: 0;
  height: 0;
  background: #f97316;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}
.msd-btn-premium span {
  position: relative;
  z-index: 1;
}
.msd-btn-premium:hover span {
  color: #fff;
}
.msd-btn-premium:hover .msd-btn-fill {
  width: 350px;
  height: 350px;
}
.msd-btn-fill {
  background: #f97316;
}

.logo-img {
  width: 100px;
  height: auto;
}

@media (max-width: 767.98px) {
  /* Hamburger Icon - Always on top right */
  .msd-mobile-toggle {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
    position: relative;
  }

  .msd-mobile-toggle .bar {
    width: 30px;
    height: 3px;
    background: #333;
    transition: 0.4s;
  }

  .msd-nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 1050;
    padding: 100px 40px;
    transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    gap: 15px;
    align-items: flex-start;
  }

  .msd-nav-menu.active {
    left: 0;
  }

  .msd-nav-link {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 800;
    padding: 5px 5px;
    width: auto;
    display: inline-block;
    border: none;
  }

  .msd-nav-link::before {
    display: block !important;
  }

  .msd-header-btns {
    display: none;
  }

  .msd-mobile-btns-wrap {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
  }

  .msd-mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .msd-mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .msd-mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (min-width: 767.98px) and (max-width: 896px) {
  .msd-nav-link {
    font-size: 13px;
    margin: 2px;
  }
}

@media (min-width: 896px) and (max-width: 1024px) {
  .msd-nav-link {
    font-size: 14px;
    margin: 5px;
  }
}
@media (min-width: 1024px) {
  .msd-nav-link {
    font-size: 15px;
    margin: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .msd-header-btns {
        display: flex; 
    }
    
    .msd-nav-menu .msd-btn-premium {
        display: none; 
    }
}

@media (max-width: 767.98px) {
    .msd-header-btns {
        display: none !important; 
    }
    
    .msd-nav-menu .msd-btn-premium {
        display: inline-block;
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }
}

/* ---------------------------------------------- Hero Section -------------------------------------------------- */
.msd-slide.active {
  opacity: 1 !important;
  z-index: 5;
}

.msd-slide.active img {
  transform: scale(1) !important;
  transition: transform 6s ease-out;
}

.msd-dot.active {
  background-color: #f97316 !important;
  width: 30px !important;
  border-radius: 10px;
}

/* unique names to avoid conflicts */
.ms-reveal-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.2s ease-out;
}

/* ------------------------------------------- Animation Property ----------------------------------------------- */
.ms-animate {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 1025px) {
  .ms-animate {
    visibility: hidden;
    opacity: 0;
  }
}

.animate__animated {
  visibility: visible !important;
  opacity: 1 !important;
}

/* ------------------------------------------- Impact Counters ----------------------------------------------- */
#impact-stats {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
}

.counter {
  display: inline-block;
  min-width: 80px;
}

/* ------------------------------------------- Testimonials Section ----------------------------------------------- */
#testimonials .rounded-3xl {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#testimonials .ms-animate:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ------------------------------------------- Gallery Section ----------------------------------------------- */
#gallery img {
  aspect-ratio: auto;
}

#gallery .rounded-3xl {
  cursor: pointer;
  border: 4px solid transparent;
  transition: border-color 0.3s ease;
}

#gallery .rounded-3xl:hover {
  border-color: #ea580c; /* orange-600 */
}

footer a {
  text-decoration: none;
}

footer i {
  transition: transform 0.3s ease;
}

footer a:hover i {
  transform: scale(1.2);
}

/* ------------------------------------------- --------------- ----------------------------------------------- */
/* -------------------------------------------- About Us page ----------------------------------------------- */
/* ------------------------------------------- --------------- ----------------------------------------------- */

/* @keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
} */

/* ------------------------------------------- --------------- ----------------------------------------------- */
/* -------------------------------------------- Facilities page ----------------------------------------------- */
/* ------------------------------------------- --------------- ----------------------------------------------- */
.faq-item.active {
  background-color: #fcfaf8;
  border-color: #f97316;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: #f97316;
}

.faq-item.active .faq-icon i {
  color: white;
}

.faq-content {
  transition: max-height 0.5s ease-in-out;
}

/* Seva Page Unique Styles */
.seva-details-section {
  padding: 80px 0;
  background-color: #fdfdfd;
}

.seva-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.seva-feature-block {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}

.seva-feature-block.reverse-row {
  flex-direction: row-reverse;
}

.seva-image-wrapper {
  flex: 1;
  position: relative;
  padding: 15px; /* Space for corners */
}

.seva-main-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: block;
}

/* 4 Corner Dots Styling */
.seva-image-wrapper {
  position: relative;
  padding: 15px;
  z-index: 1;
}

.corner-dot {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(to right, #feb47b, #ff7e5f);
  border-radius: 15px;
  z-index: -1;
}

/* Top Left */
.corner-dot.tl {
  top: 0;
  left: 0;
}

/* Top Right */
.corner-dot.tr {
  top: 0;
  right: 0;
}

/* Bottom Left */
.corner-dot.bl {
  bottom: 0;
  left: 0;
}

/* Bottom Right */
.corner-dot.br {
  bottom: 0;
  right: 0;
}

.seva-main-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  border-radius: 10px;
}
.seva-content-wrapper {
  flex: 1;
}

.seva-tag {
  color: #ff6a00;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  display: block;
}

.seva-title {
  font-size: 38px;
  color: #111;
  margin-bottom: 20px;
  font-weight: 700;
}

.seva-description p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.seva-points-list {
  list-style: none;
  padding-top: 25px;
  border-top: 1px solid #eee;
}

.seva-points-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #444;
}

.seva-points-list i {
  color: #ff6a00;
}

@media (max-width: 991px) {
  .seva-feature-block,
  .seva-feature-block.reverse-row {
    flex-direction: column;
    gap: 50px;
  }
}

:root {
  --gd-gold: #ff6a00;
  --gd-dark: #ff6a00;
  --gd-text: #555;
  --gd-bg: #fdfbf7;
}

body {
  background-color: var(--gd-bg);
  font-family: "Poppins", sans-serif;
  margin: 0;
}

.gd-gallery-container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

/* Header */
.gd-tagline {
  color: var(--gd-gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  font-weight: 600;
}
.gd-main-title {
  font-size: 45px;
  color: var(--gd-dark);
  font-family: "Playfair Display", serif;
  margin: 15px 0;
}
.gd-title-divider {
  width: 50px;
  height: 2px;
  background: var(--gd-gold);
  margin: 0 auto 25px;
}
.gd-intro-text {
  color: var(--gd-text);
  max-width: 650px;
  margin: 0 auto 50px;
  line-height: 1.8;
  font-size: 15px;
}

/* Premium Pill Tabs */
.gd-tabs-inner {
  display: inline-flex;
  background: #fff;
  padding: 6px;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 50px;
}
.gd-tab-btn {
  padding: 12px 35px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  border-radius: 40px;
  transition: 0.4s ease;
}
.gd-tab-btn.active {
  background: #ff6a00;
  color: #fff;
}

/* Grid & Items */
.gd-page {
  display: none;
}
.gd-page.active {
  display: block;
  animation: fadeInUp 0.6s ease forwards;
}

.gd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.gd-item {
  position: relative;
  display: block;
  border-radius: 15px;
  overflow: hidden;
  height: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.gd-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.gd-item:hover img {
  transform: scale(1.08);
}

.gd-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 25px;
  opacity: 0;
  transition: 0.4s;
}
.gd-item:hover .gd-overlay {
  opacity: 1;
}
.gd-overlay span {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

/* Footer */
.gd-gallery-footer {
  margin-top: 80px;
}
.gd-book-btn {
  text-decoration: none;
  background: var(--gd-gold);
  color: #fff;
  padding: 15px 45px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 25px;
  font-weight: 500;
  transition: 0.3s;
}
.gd-book-btn:hover {
  background: var(--gd-dark);
  transform: translateY(-3px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#gd-gallery-section .gd-page {
  display: none;
}

#gd-gallery-section .gd-page.active {
  display: block;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#gd-gallery-section .gd-grid {
  display: grid;
  gap: 20px;
  width: 100%;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) {
  #gd-gallery-section .gd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #gd-gallery-section .gd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gd-tab-btn.active {
  background-color: #ff6a00 !important;
  color: white !important;
}

/* Initial state for animations */
.ms-animate {
  visibility: hidden;
  opacity: 0;
}
