html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Serif Devanagari", serif;
  font-optical-sizing: auto;
  font-weight: 400;
}

header {
  background: linear-gradient(45deg, rgb(14, 40, 40), #4a6fa5);
}

.logo {
  width: 60px;
  transition: transform 0.3s ease-in-out;
}

.logo:hover {
  transform: scale(1.1);
}

.nav-link {
  position: relative;
}

.nav-link::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffcc00;
  transition: width 0.3s ease-in-out;
}

header .nav-link:hover::after, footer .nav-link:hover::after,  footer p a:hover::after {
  width: 100%;
}

.eczar {
  font-family: "Eczar", serif;
  font-optical-sizing: auto;
  font-weight: 700;
}

.noto-serif-devanagari {
  font-family: "Noto Serif Devanagari", serif;
  font-optical-sizing: auto;
  font-weight: 400;
}

.baniji-section li {
  line-height: 2rem;
}

.baniji-section li a {
  text-decoration: none;
  font-size: 1.1rem;
}

.custom-nav-font-size {
  font-size: 1.1rem;
}

.contact tr td a {
  text-decoration: none !important;
}

.navbar-expand-md .navbar-nav {
  justify-content: end !important;
}

.table-head {
  background-color: #b2b6b2 !important;
}

@media (min-width: 904px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .navbar-expand-md .navbar-collapse {
    display: block !important;
  }
}

@media (min-width: 992px) {
  .custom-font-size {
    font-size: 1.3rem !important;
  }
  .mb-80 {
      margin-bottom:80px;
  }
}
  
}

@media (min-width: 992px) {
    .youtube {
        width: 100% !important;
    }
}
@media (max-width: 700px) {
    .youtube {
        width: 100% !important;
    }
}

.custom-section {
  background-color: transparent;
  background-image: radial-gradient(at top left, #3F0101 49%, #CEA781 100%);
  border-radius: 10px;
}

.bggr {
  background-image: url(/public/images/bg-yt.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Content Container */
.content-container {
  padding: 20px;
  color: #fff;
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
}

.section-sub-heading {
  font-size: 2rem;
  font-weight : 500;
}

.content-container p {
  font-size: 1.15rem;
  color: #f0f0f0;
}


.maharajn {
  background: linear-gradient(300deg, #FFD700, #ffd70085);
  background-size: 400% 400%;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  border-bottom-left-radius: 6rem;
  border-top-right-radius: 4rem;
  animation: gradientBackground 5s ease infinite, floating 5s ease-in-out infinite;
  max-width: 900px;
}

.maharajn:hover {
  transform: scale(1.03);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.maharajn h1 {
  padding: 20px 30px;
  /*font-size: 4vw;*/
  margin: 0;
  transition: text-shadow 0.3s ease, transform 0.3s ease;
  background: -webkit-linear-gradient(#780500, #b10924);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.maharajn h1:hover {
  transform: translateY(-5px);
}

@keyframes gradientBackground {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}

@keyframes floating {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
  100% {
      transform: translateY(0);
  }
}

.gradient-text {
  color: #2e006e;
  /*-webkit-background-clip: text;*/
  /*-webkit-text-fill-color: transparent;*/
  font-weight: 700;
  /*font-size: 3.8vw;*/
}

.mainContainer {
  background-image: url(/public/images/bg-vaniji.png);
  background-size: cover;
  background-position: center;
}

footer {
    background-image: url(/public/images/bg_sky_darker.gif);
}

.animated-button {
      padding: 8px 14px 4px;
      font-weight: 700;
      color: white;
      background: linear-gradient(45deg, #f3acca, #d1227f, #2decf3, #0dcaf0);
      background-size: 400% 400%;
      cursor: pointer;
      animation: gradient-animation 4s ease infinite, scale-up 0.3s ease forwards;
}

@keyframes gradient-animation {
    0% {
    background-position: 0% 50%;
    }
    50% {
    background-position: 100% 50%;
    }
    100% {
    background-position: 0% 50%;
    }
}
.fade-up {
    opacity: 0;
    transform: translateY(150px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.social-icons {
    display: flex;
    flex-direction: column; /* Default for all screens */
    align-items: center;
    gap: 25px;
}
  
@media (max-width: 765px) {
    .social-icons {
        flex-direction: row; /* Side by side only for sm screens */
        justify-content: center;
    }
}