@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: "DM Sans", serif;
  font-weight: 400;
}
.md-overlay {
  margin-bottom: 0;
}

.text-container {
  font-size: 24px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  position: relative;
  /* overflow: hidden; */
  height: 50px;
  /* overflow: hidden; */
  font-size: 12px;
  color: #fff;
}

.name-change {
  position: absolute;
  left: 54px; 
  opacity: 0;
  font-size: 12px;
 
  width: 100%;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  color: #ffa41c;
}

@media screen and (max-width:992px) {
    .name-change {
        left: 66px; 

    }
    .footer-text{
        text-align: center;
    }
}
.md-header {
  background-color: #000;
}
.name-change.active {
  opacity: 1;
  transform: translateY(0);
}
.footer {
  background-color: #000;
  padding-top: 8px;
  padding-bottom: 10px;
}
.footer li {
  list-style: none;
}
.footer-text {
  font-size: 12px;
}
.dvlp-text {
  font-weight: 400;
}
a{
    text-decoration: none;
}
.md-search__input{
    background-color: #ffffff36;
    border-radius: 10px;
    font-size: 12px;
}
.md-grid {
    margin-left: auto;
    margin-right: auto;
    max-width: 1320px;
}
.image-effect {
  border: 5px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-effect:hover {
  transform: scale(1.05);
}

.cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.card_title {
  padding: 1rem 0 1rem 0;
  border-top: 1px;
  border-top-color: gray;
  border-top-style: solid;
}

.card:hover {
  /* On mouse-over, add a deeper shadow */
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card_container {
  /* Add some padding inside the card container */
  padding: 2px 16px;
}

.shadow-img {
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); /* Shadow effect */
  border-radius: 8px; /* Optional: smooth corners */
}

.shadow-lite-img {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.7) 0px 1px 3px -1px; /* Shadow effect */
  border-radius: 8px; /* Optional: smooth corners */
}

.shadow-lite-img-new {
  box-shadow: 
    rgba(50, 50, 93, 0.4) 0px 6px 15px -2px, 
    rgba(0, 0, 0, 0.85) 0px 4px 8px -2px;
  border-radius: 8px;
}

.text-shadow-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-shadow-content {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Title Container with a simple gradient background */
.title-container {
  background: linear-gradient(to right, #4e54c8, #8f94fb); /* Blue to light purple gradient */
  padding: 1em;           /* Adjust spacing as needed */
  text-align: left;     /* Center the content */
  height: 60px;
}

.title-gradbackground {
  background: linear-gradient(to right, #4e54c8, #8f94fb); /* Gradient background */
  color: white; /* Text color */
  font-size: 2em; /* Adjust font size */
  font-weight: bold; /* Makes the text bold */
  text-align: left; /* Centers the text */
  padding: 10px; /* Adds spacing around the title */
  display: inline-block; /* Keeps the background fitting the text */
  width: 100%;
}

.title-vibgyor {
  display: inline-block;             /* Ensures proper sizing */
  font-size: 2em;                    /* Adjust as needed */
  font-weight: bold;                 /* Bold text for emphasis */
 }

 /* Sliding Diagonals Background Effect */

 .animated-bg-container {
  position: relative; /* Makes sure the background is confined within this div */
  /* width: 80%; */ /* Adjust as needed */
  /*max-width: 800px;*/ /* Adjust width to fit content */
  height: fit-content; /* Set desired height */
  margin: 10px ; /* Center the container */
  margin-left: 0%;
  overflow: hidden; /* Prevents animation overflow */
  border-radius: 0px; /* Optional: Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Background Animation */
.animated-bg-container .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.2));
  z-index: -1;
  animation: slide 6s linear infinite;
}

.animated-bg-container .bg2 {
  animation-duration: 8s;
  opacity: 0.6;
}

.animated-bg-container .bg3 {
  animation-duration: 10s;
  opacity: 0.4;
}

/* to make title invisible */
.custom-title-hide {
  display: none;
}


/* Keyframes for animation */
@keyframes slide {
  0% {
      transform: translateX(-100%);
  }
  100% {
      transform: translateX(100%);
  }
}

/* Content Styling */
.animated-bg-container .content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: justify;
  padding: 20px 40px;
  /* max-width: 80%;
  width: 100%; */
  max-width: fit-content;
  width: auto;
  /* box-sizing: border-box; */
  line-height: 1.6;
  font-size: 18px;
}

.full-width-div {
  width: 100%;
}

.img-rounded-corners {
   border-radius: 15px;
}

 .glassmorphism-msg-box-new {
  position: relative;
  background: rgba(123, 179, 248, 0.2);
  box-shadow: 0 5px 30px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 100%;
  max-width: 100%;
  /* height: fit-content; */
  padding: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  padding-top: 0%;
  margin-bottom: 0%;
}

.glassmorphism-msg-box-new p {
  color: rgb(0, 0, 0);
  display: flex;
  align-items: center;
  /* line-height: 1.5; */
  /* padding-bottom: 0%; */
  /* margin-top: auto; */
  /* margin: 0;  */
  /* Remove default margin */
  /* margin-top: 0px; */
  margin-bottom: 0%;
  padding-left: 20px;
}

.glassmorphism-msg-box-new p:first-child {
  margin-bottom: 0px; /* Reduce space below title */
}

.glassmorphism-msg-box-new p:nth-child(2) {
  margin-top: 0px; /* Remove extra space above content */
}

.content-container-msg-box {
  display: flex;
  flex-direction: column; /* Ensures paragraphs stack */
  gap: 0px; /* Adds spacing between lines */
  /* margin-top: 0%;
  margin-bottom: 0%; */
  margin: 0;
  padding: 0;
}