/* home.css */
 
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #FFF5F0;
  color: #111;
}
 
.navbar {
  background: linear-gradient(to right, #804fb3 0%, #ff99cc 100%);
  padding: 5px 0;
}

.navbar h1 {
 font-size: 35px;
  font-weight: bold;
  margin-right: -10%;
  width: 50%;
  line-height: 2.5rem;
  color: white;;
}

.navbar h1 span {
  display: block;
  font-weight: 100;
  font-size: 15px;
  text-align: center;
  margin-right: 40%;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
 
.navbar .container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
.logo img {
 padding: 2px 3px;
  height: 140px;
  width: 140px;
  margin-left: 10px;
  border-radius: 70px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu li a {
  display: block;
  padding: 10px 10px;
  font-size: 23px;
  justify-content: space-between;
  text-decoration: none;
  color: white;
}

/* Dropdown menu hidden by defualt */

.dropdown-content {
  display: none;
  position: absolute;
  list-style: none;
  text-align: justify;
  top: 100%;
  left: 0;
  background-color: #ff99cc;
  min-width: 120px;
  box-shadow: 0 2px 6px rgba(0 0 0 0.2);
    z-index: 9999;  /*Fix dropdown hiding behind image*/
}

.dropdown-content li a {
  font-size: 15px;
  margin-left: -5%;
  text-align: justify;
  font-weight: bold;
}

/*Reveal dropdown on hover*/

.dropdown:hover .dropdown-content{
  display: block;
}

.don {
  padding: 15px;
  border-radius: 50px;
  color: white;
  margin-left: 5%;
  font-size: 30px;
  font-family: 'Playfair Display', serif;;
  text-decoration: none;
  background-color: #ca32cd;
  box-shadow: 5px 5px 5px lightblue;
}

.don:hover {
    background-color: white;
  color: black;
}
 
.hero {
  padding: 100px 0px;
  margin-top: 0.2%;
  background: linear-gradient(to right, #804fb3 0%, #ff99cc 100%);
  background-size: 100% 90%;
  background-repeat: no-repeat;
  height: 30%;
  max-width: 100%;
  text-align: center;
  color: black;
}

.hero h2 {
  font-size: 60px;
  color: white;
  margin-top: -1%;
  width: 43%;
  margin: 3%;
  font-family: cursive;
  margin-bottom: 20px;
  text-align: justify;
}
 
.hero p {
  font-size: 20px;
  margin-bottom: 12px;
  color: white;
  text-align: center;
  width: 40%;
  margin: 3%;
  margin-top: 1%;
}
 
 .slideshow-container {
  max-width: 60%;
  position: relative;
  margin: auto;
  margin-right: 0%;
  margin-top: -20%;
}
 
.slide-image {
  width: 70%;
  max-height: 520px;
  border-radius: 10px;
  box-shadow: 10px 15px 20px lightblue;;
}
 
.mySlides {
  display: none;
}
 
.fade {
  animation: fade 2s ease-in-out;
}
 
@keyframes fade {
  from {opacity: 0.4} 
  to {opacity: 1}
}
 
.main-container {
  width: 100%;
  margin-top: -4%;
  height: 80%;
  position: relative;
  display: flex;
}

.director-message{
  width: 100%;
  justify-content: center;
  margin-left: 3%;
  margin-top: -5%;
}
.director-message h2{
  font-size: 50px;
  margin-top: 8%;
  text-align: center;
  font-family: cursive;
  font-weight: 100;
}

.director-message p{
    width: 55%;
    text-align: center;
    margin-left: 23%;
    font-size: 20px;
    margin-top: 2%;
}
.director-message img {
  height: 30%;
  width: 12%;
  align-items: center;
  border-radius: 50%;
  margin-left: 43%;
  margin-top: -1%;
}

/*about start on home page*/

/* Section Styles */
.section {
  padding: 60px 20px;
}

.section h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  margin-left: 15%;
  color: #111;
  font-weight: bold;
  position: relative;
  font-family: 'Courier New', Courier, monospace;
}
 
.section h3::after {
  content: '';
  width: 60px;
  height: 4px;
  display: block;
  margin: 10px auto 0;
}
 
.section p {
  font-size: 1.3rem;
  line-height: 1.7;
  width: 78%;
  text-align: justify;
  margin-left: 15%;
}

.section .head-vision {
font-size: 2.5rem;
  margin-bottom: 20px;
  margin-left: 8%;
  color: #111;
  font-weight: bold;
  position: relative;
}

.section .para-vision {
  font-size: 1.3rem;
  line-height: 1.7;
  width: 75%;
  text-align: justify;
  margin-left: 10%;
}
 
/* Two-Column Layout */
.two-column {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
 
.two-column .text {
  flex: 1;
}
 
.two-column .image {
  flex: 1;
  text-align: center;
  width: 100%;
}
 
.two-column img {
  width: 500px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
 

/* Reverse column */
.reverse {
  flex-direction: row-reverse;
}

/* Animation */
.text {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease-out;
}
 
.text.visible {
  opacity: 1;
  transform: translateY(0);
}

/*Event section on home page start from here*/

.page-banner {
  padding: 140px 20px;
  color: #111;
  text-align: center;
}
 
 
/*paragraph*/

.motion-wraper {
  position: relative;
  margin-top: -8%;
  height: 100px;
}

.moving-headline {
position: absolute;
left: 70%;
animation: moveHeadline 5s infinite alternate ease-in-out, sparkle 1s infinite alternate;
font-size: 25px;
font-weight: bold;
}

@keyframes moveHeadline {
from {
  left: 70%;
}
to {
  left: 200px;
}
}

@keyframes sparkle {
0% {
  color: #ff0000;
  text-shadow: 0 0 5px #ff0000;
}  
50% {
  color: plum;
  text-shadow: 0 0 5px plum;
}  
100% {
  color: #0000ff;
  text-shadow: 0 0 5px #0000ff;
}  
}

.upcoming-events {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  margin-top: -10%;
  flex-wrap: wrap;
}

.upcoming-events p{
  font-size: 20px;
  line-height: 2rem;
  margin: auto;
  margin-top: 30px;
  padding: 5px 30px;
  text-align: center;
}

.upcoming-events .btn{
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  margin-left: 4%;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.glimpse {
  font-family: 'Playfair Display', serif; /* You can change to another elegant font */
  font-size: 40px;
  font-weight: 700;
  color: #8e2de4;
  margin-top: 4%;
  margin-bottom: -2%;
  text-align: center;
}
 
.card {
  background-color: white;
  width: 380px;
  margin: 10px;
  height: 430px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}
 
.card img {
  width: 100%;
  height: 250px;
}
 
.card:hover {
  transform: translateY(-5px);
}

.card h4 {
  font-size: 22px;
  margin: 15px 0 10px;
}
 
.card p {
  padding: 0 15px 4px;
  font-size: 15px;
}
 
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  margin-left: 15%;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}
 
.btn:hover {
  background: #444;
}
 
/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; 
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}
 
.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: slideDown 0.3s ease;
}
 
.modal-content h3 {
  margin-top: 0;
}
 
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}
 
.modal-content button {
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
 
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}
 
/* Animation */
@keyframes slideDown {
  from {
    transform: translateY(-20%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

 
/* footer start*/

footer {
  position: absolute;
  left: 0;
  right: 0;
  background: #111;
  height: auto;
  padding-top: 10px;
  width: 100%;
  color: white;
} 
.footer-content {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
}
 
.footer-content h3 {
font-size: 23px;
font-weight: 500;
text-transform: capitalize;
line-height: 1rem;
font-family: 'Times New Roman', Times, serif;
}
 
.footer-content h1 {
font-size: 27px;
font-weight: 100;
text-transform: capitalize;
line-height: 1rem;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
 
.footer-content p {
font-size: 17px;
font-weight: 100;
text-transform: none;
line-height: 2rem;
width: 40%;
}
 
.footer-menu {
margin-bottom: 20px;
}
 
.footer-menu ul {
display: flex;
gap: 30px;
list-style: none;
}
 
.footer-menu ul li {
padding-right: 10px;
}
 
.footer-menu ul li a {
color: white;
border: 1.3px solid white;
padding: 5px 12px;
border-radius: 50px;
margin-left: -30px;
text-decoration: none;
transition: 0.3s;
}

 footer p {
  margin-top: -2px;
  text-align: center;
  font-size: 15px;
 }

 .para {
  font-size: 12px;
 }
 .resl {
  font-size: 12px;
 }

.footer-menu ul li a:hover {
font-size: 20px;
}
 
/* ======= Responsive CSS for All Devices ======= */

/* Large Desktops (optional, usually 1200px+) */
@media (max-width: 1400px) {
  /* Example: reduce extra-wide spacing */
}

/* Medium Laptops & Desktops */
@media (max-width: 1024px) {
  .navbar .container {
    flex-direction: column;
    align-items: center;
  }

  .navbar h1 {
    font-size: 28px;
    margin: 10px 0;
  }

  nav a {
    margin: 8px;
    font-size: 16px;
  }


  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .navbar h1 {
    font-size: 24px;
  }

  .logo img {
    width: 60px;
    height: auto;
    margin: 0 auto;
  }


  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 20px 10px;
  }

  .section h2 {
    font-size: 22px;
    text-align: center;
  }

  .section p {
    font-size: 14px;
    text-align: justify;
  }

  nav a {
    display: block;
    text-align: center;
    margin: 10px 0;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .hero h2 {
    font-size: 20px;
  }

  .hero p,
  .section p {
    font-size: 13px;
  }

  .navbar h1 {
    font-size: 20px;
    text-align: center;
  }

  .navbar h1 span{
    text-align: center;
    display: block;
  }

  nav a {
    font-size: 10px;
    display: flex;
  }
  
}
 /*footer end*/