
.home-section {
    background-image: url("../images/shri\ yantra.png");

    background-size: cover;         /* Make image cover entire section */
    background-position: center;    /* Center the image */
    background-repeat: no-repeat;   /* Prevent repeating */
    color: #fff;                    /* Optional: white text for better readability */
    padding: 80px 20px;             /* Ensure spacing */
    position: relative;            /* Needed if you want overlays later */
}

.logo {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 30px auto; /* center it and add spacing */
    border-radius: 12px; /* smooth rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* subtle shadow */
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.03);
}


.trustee-img {
    transition: transform 0.3s ease-in-out;
}

.trustee-img:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.accordion-button {
    transition: background-color 0.3s ease-in-out;
}

.accordion-button:hover {
    background-color: #f8f9fa;
}

.trustee-name:hover {
    text-decoration: underline;
    cursor: pointer;
}

.trustee-details {
    transition: all 0.3s ease-in-out;
    padding-top: 10px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #e98888; /* Adjust based on your design */
}
.navbar.scrolled {
    background-color: #df790d; /* Dark background when scrolled */
    color: #fff;
}
.navbar.scrolled .nav-link {
    color: #fff;
}
.navbar.scrolled .navbar-brand {
    color: #fff;
}

.nav-item a {
    font-size: 14px;
}

.footer {
    height: 80px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    color: black;
}

.progress-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #FFA726;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.scrollable-menu {
    max-height: 300px;
    overflow-y: auto;
}


#mainHeader {
  transition: all 0.3s ease;
  height: 100px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

#mainHeader.scrolled {
  height: 60px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#headerLogo {
  height: 70px;
  transition: height 0.3s ease;
}

#mainHeader.scrolled #headerLogo {
  height: 40px;
}
scrollToTopBtn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background-color: var(--primary-color);
      color: rgb(243, 241, 240);
      border: none;
      border-radius: 50%;
      font-size: 1.5rem;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 999;
      box-shadow: 0 0 10px var(--accent-color);
      opacity: 0;
      transition: opacity 0.4s ease, transform 0.3s ease;
    }
    #scrollToTopBtn.show {
      display: flex;
      opacity: 1;
    }
    #scrollToTopBtn:hover {
      background-color: var(--accent-color);
      transform: scale(1.1);
      box-shadow: 0 0 15px var(--accent-color);
    }
    /* Simulate some scrollable content */
    .section {
      height: 100vh;
      padding: 2rem;
    }
    .fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    }
    .fade-up.active {
      opacity: 1;
      transform: translateY(0);
    }
/* === VISION SECTION CARD STYLING === */
.background-wrapper {
  background: url('../images/shivabackground.png') no-repeat center top;
  
  background-size: 1000px;
  background-attachment: scroll;
  padding: 100px 20px 40px;
}

.vision-card {
  margin-bottom: 2rem;
}

.card {
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  background-color: rgba(255,255,255,0.95);
}

.card:hover {
  transform: translateY(-5px);
}

.card-title {
  color: #3d2e1e;
  font-weight: bold;
}

/* Optional: translate icon floating button */
.translate-icon {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1001;
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.translate-icon img {
  width: 28px;
  height: 28px;
}

.footer-custom {
  background-color: #1e1f21; /* Darker for better contrast */
  border-top: 3px solid #FFA726;
}

.footer-custom p {
  font-size: 15px;
}

.qr-code {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.qr-code:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 167, 38, 0.4);
}

.instagram-link {
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
}

.custom-insta-btn {
  background: #FFA726;
  border-radius: 12px;
  padding: 12px 14px;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.custom-insta-btn i.fab.fa-instagram {
  color: #111;
  font-size: 2rem;
}

.custom-insta-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(255, 167, 38, 0.3);
}

.custom-insta-img {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(255, 167, 38, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.instagram-link:hover .custom-insta-img {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(255, 167, 38, 0.25);
}


