/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}

/* Header Styles */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #631FF2;   
  position: sticky;
  top: 0;
  z-index: 200;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  margin-right: 10px;
}

.logo h1 {
  color: white;
  font-size: 18px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info a {
  color: white;
  font-size: 14px;
  text-decoration: none;
}

.news-updates .news-btn {
  background-color: #FFD700;
  color: black;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* Navigation Styles */
.nav-bar {
  background-color: #D924B1;
  overflow-x: auto;
  white-space: nowrap;
}

.menu-list {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 10px;
  margin: 0;
}

.menu-list li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.menu-list li a:hover {
  background-color: #FFD700;
  color: black;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-list {
    flex-direction:row;

  }

  .dropdown .dropdown-menu {
    position:unset;   
    margin-left: 15px; /* Slight indent for submenu items */
  }
}

/* News and Updates Button */
.news-updates {
  position: absolute; /* To place it at the top */
  top: 15px;
  right: 50%; /* Center alignment */
  transform: translateX(50%); /* Fine-tune for centering */
  z-index: 300;
}

.news-btn {
  background-color: #FFD700; /* Gold button color */
  color: #000;
  border: none;
  border-radius: 20px;
  padding: 8px 15px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  animation: blink 1s infinite; /* Blinking animation */
}

/* Blinking Animation */
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Align Header Elements Properly */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background-color: #631FF2;
  position: relative;
  z-index: 200;
}

.news-updates {
  margin-right: auto; /* Push button to align before contact info */
}



/* Dropdown Menu Styling */
nav ul li .dropdown-menu {
  display: none; /* Hide dropdown by default */
  position: absolute;
  top: 100%; /* Align below the parent menu item */
  left: 0;
  background-color: #D924B1; /* Match the nav background */
  list-style: none;
  margin: 0;
  padding: 10px 0;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 200;
}

nav ul li .dropdown-menu li {
  margin: 0;
}

nav ul li .dropdown-menu li a {
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: block;
  white-space: nowrap;
}

nav ul li .dropdown-menu li a:hover {
  background-color: #FFD700; /* Highlight effect */
  color: #000;
}

nav ul li:hover .dropdown-menu {
  display: block; /* Show dropdown on hover */
}

/* Responsive Design for Mobile Screens */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 10px;
  }

  .logo {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .logo img {
    width: 60px;
    height: 60px;
  }

  .logo h1 {
    font-size: 18px;
    color: white;
    text-align: center;
  }

  .news-updates {
    width: 100%;
    text-align: center;
  }

  .news-btn {
    display:inline-block;

    background-color: #FFD700;
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    animation: blink 1s infinite; /* Retain blinking animation */
    text-align: center;
    margin-left: 220px;
  }

  .contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    flex-wrap: wrap;
  }

  .contact-info a {
    color: white;
    font-size: 14px;
    text-decoration: none;
  }

  .contact-info p {
    color: white;
    font-size: 14px;
    margin: 0;
  }

  /* Navigation remains below this structure */
  .nav-bar {
    width: 100%;
  }

  .menu-list {
    justify-content:baseline;
    gap: 10px;
    padding: 5px 0;
  }
}


/* 
header end  */


/* hero section starts from here  */
.hero {
    position: relative;
    text-align: center;
    color: white;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(217, 36, 177, 0), rgba(99, 31, 242, 0.9));
    border-radius: 32px;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content h2 {
    font-size: 36px;
    margin: 0;
}

.hero-content h1 {
    font-size: 50px;
    margin: 10px 0;
}

.hero-content p {
    font-size: 16px;
    max-width: 600px;
    margin: 20px auto;
}

.know-more-btn {
    background-color: #fff;
    color: #4e3b87;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}
@media (max-width: 768px) {
  .hero {
      height: 100vh;
      background-size: cover;
      background-position: center;
  }
}
.line {
    display: block;
    border: 2px solid rgba(237, 113, 21, 1);
    width: 150px;
    height: 0;
    margin: 30px auto 60px auto;
}

.about-section {
    text-align: center;
    max-width: 1080px;
    margin: 0 auto;
}

.about-heading {
    font-family: "Poppins", sans-serif;
    font-size: 40px;
    color:  rgba(0, 0, 0, 1);
    margin: 0;
    padding: 0;
}

.about-text {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    color:  rgba(0, 0, 0, 1);
    line-height: 20px;
    margin: 20px auto;
    padding: 0 20px;
    max-width: 800px;
    text-align: justify;
}
/* Principal's Message Container */
.principal-message-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border-radius: 20px 20px 0 0; /* Rounded top-left and top-right corners */
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  margin: 20px auto; /* Center horizontally */
  position: relative;
  border: 1px solid #f2f2f2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* Image Container and Styling */
.image-container {
  position: relative;
  flex-shrink: 0; /* Prevents shrinking of image container */
}

.principal-img {
  width: 250px;
  height: 250px; /* Ensure the image stays circular */
  border-radius: 50%;
  object-fit: cover;
}

/* Adding background decorative shapes */
.background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('Asset/bg.png'); /* Add the path to your shapes image */
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

/* Text Container */
.text-container {
  max-width: 600px;
  margin-left: 20px;
}

.text-container h1 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.text-container p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Button Styling */
.read-more-btn {
  background-color: #e91e63;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #c2185b;
}

/* Responsive Layout for smaller screens */
@media (max-width: 768px) {
  .principal-message-container {
      flex-direction: column; /* Stack items vertically */
      align-items: center;
      text-align: center; /* Center-align text */
      padding: 20px;
  }
  
  .text-container {
      margin-left: 0;
  }
  
  .principal-img {
      width: 180px;
      height: 180px;
      margin-bottom: 20px;
  }
}



.practices-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #ffffff;
}

.practices-section h2 {
  font-size: 36px;
  color: #333;
}

.subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.practices-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px; /* Adjusted gap for better spacing */
  width: 100%;
  padding: 20px; /* Reduced padding for better responsiveness */
}

.practice-card {
  background: #f7f7f7;
  border-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px;
}

.practice-card:hover {
  transform: scale(1.03);
}

.practice-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px; /* Spacing between image and text */
}

.card-content {
  width: 100%; /* Align with card width */
  padding: 0;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-content h1 {
  font-size: 24px; /* Adjusted for better responsiveness */
  margin: 0;
  font-weight: 600;
  text-align: left;
  width: 100%; /* Align to card */
  color: #ffffff;
}

.card-content p {
  font-size: 16px;
  color: #ffffff;
  text-align: left;
  margin: 5px 0;
  line-height: 1.5;
}

.btn {
  font-family: "Poppins", sans-serif;
  padding: 15px 30px; /* Broader button */
  background: #FACC15;
  color: #000000;
  text-decoration: none;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 600;
  align-self: flex-start; /* Align button to the left */
}

.btn:hover {
  background-color: #ffaa00;
}

.wide-card {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .practices-container {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: span 1;
  }

  .practice-card {
    padding: 10px;
  }

  .btn {
    padding: 10px 20px; /* Adjust button size for smaller screens */
    font-size: 16px;
  }
}

  .practice-card:nth-child(1) {
   
    background: linear-gradient(180deg, #87FFD9 0%, #21B687 100%);

  }
  
  .practice-card:nth-child(2) {
  
    background: linear-gradient(180deg, #FFC1C9 0%, #EF485D 100%);

  }
  
  .practice-card:nth-child(3) {
    background: linear-gradient(180deg, #D1BEFF 0%, #703DEA 100%);

  }
  
  .practice-card:nth-child(4) {
    background: linear-gradient(180deg, #A5DEFF 0%, #2ACBFF 100%);

  }
  
  .practice-card:nth-child(5) {
    background: linear-gradient(180deg, #FF99E9 0%, #D924B1 100%);

  }
  .practice-card:nth-child(6) {
    background: linear-gradient(180deg, #FACC15 0%, #FF6D00 100%);

  }
  
  /* Container */
.news-section {
    display: flex;
    justify-content: space-between;
    padding: 20px;
  }
  
  .news-left {
    width: 45%;
  }
  
  .title-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .line {
    border: 2px solid rgba(237, 113, 21, 1);
    width: 149px;
    height: 0px;
    top: 1037px;
    left: 646px;
    gap: 0px;
    border: 3px 0px 0px 0px;
    opacity: 0px;
    margin-top: 100px;
  }
  
  .news-left h2 {
    font-size: 36px;
    color: #333;
  }
  
  .news-left p {
    font-size: 18px;
    color: #666;
  }
  
  /* Right Side */
  .news-right {
    width: 45%;
    border: 2px solid #ccc;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    padding-bottom: 20px;
  }
  
  .news-header {
    background-color: #FFD700;
    border-radius: 50px;
    width: 40rem;
    height: 2rem;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
  }
  
  .news-content {
    height: 300px; /* Control the height of the scrolling area */
    overflow: hidden;
    position: relative;
  }
  
  .news-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }
  
  .news-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 15px;
  }
  
  .news-info {
    font-size: 16px;
  }
  
  .news-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }
  
  button {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
  }
  
  .view-all {
    background-color: #4CAF50;
    color: white;
  }
  
  .documents {
    background-color: #FF1493;
    color: white;
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .news-section {
      flex-direction: column;
      align-items: center;
    }
  
    .news-left, .news-right {
      width: 100%;
    }
  }
  


  /* test */
  .news-container {
    width: 100%;
    max-width: 500px;
    background-color: white;
    border-radius: 0 0 30px 30px;
    border: 15px solid #BD9EFF;
    padding-bottom: 50px; /* Extra padding to accommodate buttons */
    position: relative;
    margin: 50px auto; /* To center the container */
}

.news-header {
    background-color: #FACC15;
    text-align: center;
    padding: 30px;
    border-radius: 70px 70px 0 0;
    border: 6px solid #ffffff; 
    width: 113%; /* Increased width to extend beyond the container */
    margin: -40px auto 10px; 
    position: relative;
    z-index: 2;
    margin-left: -30px;
}

.news-header h3 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #000000;
    font-family: "Poppins", sans-serif;
}

.news-content {
    padding: 10px 20px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #E0E0E0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 5px;
    object-fit: cover;
}

.news-info {
    flex-grow: 1;
}

.news-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.news-link {
    font-size: 0.9rem;
    color: #666;
}

.news-footer {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: -25px; /* Half of the button height to overlap the border */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.view-all, .documents {
    background-color: #604BFC;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    margin: 0 10px;
    border: 4px solid #ffffff; /* White border around buttons */
    position: relative;
}

.documents {
    background-color: #FB58E9;
}

.view-all:hover, .documents:hover {
    opacity: 0.9;
}


/* Gallery section */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 images per row on large screens */
  gap: 20px; /* Increased gap for better spacing */
  margin-top: 20px;
  padding: 0 10px;
}

.activity-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Enhanced shadow for better visual effect */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.activity-image:hover {
  transform: scale(1.05);
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 images per row on smaller screens */
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: 1fr; /* 1 image per row on very small screens */
  }
}

/* footer */

/* Main footer styles */
.main-footer {
  font-family: Arial, sans-serif;
  color: #fff;
}

.footer-top {
  background: linear-gradient(90deg, #D924B1 0%, #631FF2 100%);
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  margin: 0 15px;
  min-width: 200px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-section p,
.footer-section a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 20px;
  height: 20px;
}

/* Footer bottom styles */
/* Main footer styles */
.main-footer {
  font-family: Arial, sans-serif;
  color: #fff;
}

.footer-top {
  background: linear-gradient(90deg, #D924B1 0%, #631FF2 100%);
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: 115px 115px 0px 0px;
  margin-top: 20px;
}

.footer-section {
  flex: 1;
  margin: 15px;
  min-width: 200px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-section p,
.footer-section a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 20px;
  height: 20px;
}

/* Footer bottom styles */
.footer-bottom {
  background: #FACC15;
  color: #000;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  /* border-radius: 115px 115px 0px 0px; */
}

.bottom-left ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.bottom-left ul li {
  margin-right: 15px;
}

.bottom-left ul li a {
  color: #000;
  text-decoration: none;
  font-size: 12px;
}

.bottom-left p {
  font-size: 12px;
  margin-top: 10px;
}

.bottom-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.bottom-right input {
  padding: 8px 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 14px;
}

.bottom-right .subscribe-btn {
  padding: 8px 15px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    margin-bottom: 20px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .bottom-left ul {
    justify-content: center;
  }

  .bottom-right {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .bottom-right input {
    width: 100%;
    border-radius: 5px;
  }

  .bottom-right .subscribe-btn {
    width: 100%;
    border-radius: 5px;
  }
}
.calendar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.calendar-input {
  padding: 8px;
  font-size: 16px;
}

.calendar-icon {
  font-size: 24px;
  cursor: pointer;
}