body {
    
    background-color: #621faa;
    color: #d2aaff;
    padding-top: 150px;
  }
  body {
    font-family: 'League Spartan', sans-serif;
}
  .header {
  position: fixed; /* Fix the header at the top */
  top: 0;
  left: 0;
  width: 100%; /* Make sure it takes the full width */
  background-color: #fff; /* Optionally, set a background color */
  z-index: 1000; /* Ensure the header stays on top of other content */
  padding: 10px 20px; 

  }

  .header img {
    max-height: 120px;
    max-width: 120px;
  }

  .name h1 {
color:#621faa;
font-size: 2.5rem;
  }
  .responsive-image {
    display: none;
  }

  /* Hide the reading image on smaller screens */
  @media screen and (max-width: 768px) {
    .reading {
      display: none;
    }
    .name{
      display: none;
    }
    .responsive-image {
      display: block;
    }
  

  }


  .buttons-section {
    text-align: center;
    margin: 20px 0;
  }

  .buttons-section .btn {
    margin: 10px;
    font-size: 16px;
    color: #d2aaff;
    background-color: #621faa;
    border: 1px #d2aaff solid;
  }
  .btn:hover {
    background-color: #d2aaff;
    color: #2c2c2c; /* Optional: Change text color for contrast */
    transform: scale(1.05); /* Adds a slight zoom effect */
  }

  .about-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
    width: 100%;
    padding-top: 0;
    height: 70vh; /* Full screen height */
    padding: 20px;
    background-color: #621faa; /* Light background for better readability */
    box-sizing: border-box;
  }
  
  /* Heading Styling */
  .about-heading {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
  }
  
  /* Paragraph Styling */
  .about-para {
    font-size: 1rem;
    color: #d2aaff;
    max-width: 800px; /* Limit the paragraph width for readability */
    line-height: 1.6;
    height: auto;
    padding: 0 15px; /* Add some padding for smaller screens */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    /* Adjust about-section padding and height for medium-sized screens */
    .about-section {
      height: auto; /* Allow height to be flexible */
      padding: 20px 15px; /* Adjust padding */
    }
  
    .about-heading {
      font-size: 1.8rem; /* Reduce heading size */
      text-align: center; /* Center the heading on smaller screens */
    }
  
    .about-para {
      font-size: 0.9rem; /* Reduce font size for paragraph */
      max-width: 100%; /* Allow full width for paragraph on small screens */
      padding: 0 20px; /* Ensure there's padding for text */
    }
  }
  
  /* Extra small screens (like mobile) */
  @media (max-width: 480px) {
    .about-section {
      padding: 15px 10px; /* Reduce padding */
    }
  
    .about-heading {
      font-size: 1.6rem; /* Further reduce heading size */
      margin-bottom: 15px; /* Adjust margin */
    }
  
    .about-para {
      font-size: 0.85rem; /* Further reduce font size */
      line-height: 1.5; /* Adjust line height */
      padding: 0 10px; /* Add more padding for mobile */
    }
  }
  

  @keyframes slidein {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }


/* Horizontal Card Container */
.horizontal-card-container {
  width: 90%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem auto;
}

/* Individual Horizontal Card */
.horizontal-card {
  background-color: #d2aaff;
  display: flex;
  align-items: center;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  gap: 1rem;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

/* Card Hover Effect */
.horizontal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Card Icon Styling */
.card-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #d2aaff;
  padding: 10px;
}

/* Card Content Styling */
.card-content h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #88247b;
}

.card-content p {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: #621faa;
}

.card-content .learn-more {
  color: #88247b;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-content .learn-more:hover {
  color: #d2aaff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .horizontal-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .card-icon img {
    width: 60px;
    height: 60px;
  }

  .card-content h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .horizontal-card-container {
    gap: 1rem;
  }

  .horizontal-card {
    padding: 1rem;
  }

  .card-content h3 {
    font-size: 1rem;
  }

  .card-content p {
    font-size: 0.875rem;
  }
}


  /* Image and Text Section */
  .image-text-section {
    display: flex;
    justify-content: space-between; /* Space between text and image */
    align-items: center; /* Vertically center text and image */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
  }
  
  /* Text content section */
  .image-text-section .text-content {
    flex: 1; /* Text section takes remaining space */
    padding-right: 20px;
  }
  
  .image-text-section .text-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .image-text-section .text-content p {
    font-size: 2rem;
    line-height: 1.5;
  }
  
  /* Image content section */
  .image-text-section .image-content img {
    width: 300px; /* Fixed image width */
    height: auto;
    border-radius: 8px; /* Optional: rounded corners for the image */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .image-text-section {
      flex-direction: column; /* Stack text and image vertically */
      align-items: center;
    }
  
    .image-text-section .text-content {
      padding-right: 0;
      margin-bottom: 20px; /* Add space between text and image */
    }
  
    .image-text-section .image-content img {
      width: 150px; /* Adjust image size on smaller screens */
    }
   
    #ex{
      font-size: x-small;
      word-wrap: none;
      white-space: normal; 
      text-align: center;
    }
    #ex1{
      font-size: small;
      word-wrap: none;
      white-space: normal; 
      text-align: center;
    }
  }
  
  @media (max-width: 480px) {
    .image-text-section {
      padding: 15px; /* Reduce padding on small screens */
    }
  
    .image-text-section .image-content img {
      width: 200px; /* Even smaller image on mobile */
    }
  }


  /* Section styles */
  .services-section {
    text-align: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* Section title */
  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: white;
  }
  
  /* Card container */
  .card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between cards */
    padding: 10px;
    justify-content: center; /* Center cards horizontally */
  }
  
  /* Card styles */
  .service-card {
    position: relative;
    background-color: white;
    color: white;
    width: calc(25.33% - 30px); /* Three cards per row */
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
    text-align: center;
    
  }
  
  /* Image inside card */
  .service-card .card-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  /* Description inside card */
  .service-card .card-description {
    padding: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #d2d2d2; /* Semi-transparent background */
    transform: translateY(100%); /* Hide the description initially */
    transition: transform 0.3s ease;
    color: black;
  }
  
  .service-card .card-description h3 {
    font-size: 1.0rem;
    margin-bottom: 5px;
    text-align: justify;
  }
  
  .service-card .card-description p {
    font-size: smaller;
    line-height: 1.5;
    text-align: justify;
    color: brown;
  }
  
  
  /* Hover effect */
  .service-card:hover {
    transform: scale(1.05); /* Slightly enlarge the card */
    box-shadow: 0 4px 12px #d2aaff; /* Add shadow on hover */
  }
  
  .service-card:hover .card-image img {
    transform: scale(1.1); /* Slightly zoom the image on hover */
  }
  
  .service-card:hover .card-description {
    transform: translateY(0); /* Slide description up when hovered */
  }
  
  /* Responsive design: adjust layout for smaller screens */
  @media (max-width: 768px) {
    .service-card {
      width: calc(50% - 20px); /* Two cards per row on tablets */
    }
    .za p{
    font-size: x-small;
    }
  }
  
  @media (max-width: 480px) {
    .service-card {
      width: 100%; /* One card per row on mobile */
    }
    .za p{
      font-size: x-small;
      }
  }
  

/* Admission Section */
.admission-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 2rem auto;
  background: #d2aaff;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  min-height: 350px; /* Set the height to be smaller */
}

.left-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem; /* Reduced padding */
  text-align: center;
}

.admission-button {
  background-color: #d2aaff;
  color: #88247b;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border: 1px #621faa solid;
  border-radius: 25px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admission-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);

}

/* Right Section */
.right-section {
  flex: 2;
  padding: 1.5rem; /* Reduced padding */
  background-color: #d2aaff;
}

.enquiry-form h2 {
  font-size: 1.5rem; /* Reduced font size */
  margin-bottom: 1rem;
  color: #88247b;
  text-align: center;
}

.form-group {
  margin-bottom: 1rem; /* Reduced spacing between form fields */
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3rem; /* Reduced label margin */
  color: #88247b;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.75rem; /* Smaller input padding */
  font-size: 0.9rem;
  border: 2px solid #621faa;
  border-radius: 5px;
  background-color: #d2aaff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #621faa;
  box-shadow: 0 0 5px #d2aaff;
}

.form-group textarea {
  height: 80px; /* Smaller textarea height */
  resize: none;
}

.enquiry-button {
  background-color: #d2aaff;
  color: #88247b;
  border: none;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 1px #621faa solid;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.enquiry-button:hover {
  background-color: #d2aaff;
  box-shadow: 0 4px 10px #621faa;

}

/* Responsive Design */
@media (max-width: 768px) {
  .admission-section {
    flex-direction: column;
    min-height: auto;
  }

  .left-section {
    padding: 1rem;
  }

  .admission-button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .right-section {
    padding: 1rem;
  }

  .enquiry-form h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .admission-button {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.5rem 0.5rem;
  }

  .enquiry-button {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}
/* Footer Section */
.footer-section {
  background-color: white; /* Dark background for footer */
  padding: 20px 20px;
  padding-left: 30px;
}

/* Footer Container */
.footer-container {
  display: flex;
  justify-content: space-between; /* Space between left, center, and right sections */
  align-items: flex-start; /* Align items to the top */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Left Side (Contact Us) */
.footer-left {
align-items: center;

  padding-left: 60px;
  width:30%; /* 30% width for Contact Us section */
}
.footer-left h3 {
  color: #88247b;
}
.footer-right h3{
  color: #88247b;
}
.footer-center{
  color: #88247b;
}
.footer-left li{
  color: #621faa;
}
.footer-right p{
  color: #621faa;
}

/* Center Section (Social Media) */
.footer-center {
  width: 50%; /* 40% width for Social Media section */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center horizontally */
 

}

/* Right Side (Address) */
.footer-right {
  align-items: center;
  width: 20%; /* 30% width for Address section */
}

/* Social Media Icons */
.social-icons {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-top: 15px;
}

.social-icons li {
  margin: 0 15px;
  font-size: 1.5rem;
  color: #621faa; /* Yellow color for icons */
  cursor: pointer;
  transition: transform 0.3s ease; /* Hover effect */
}

.social-icons li:hover {
  transform: scale(1.2); /* Zoom effect on hover */
  color: #d2affd; /* Change color on hover */
}

/* Contact Us Section */
.contact-us h3 {
  margin-bottom: 10px;
}

.contact-icons {
  list-style: none;
  padding: 0;
  text-decoration: none;
}

.contact-icons li {
  text-decoration: none;
  margin: 10px 0;
  font-size: 1rem;
}

/* Address Section */
.footer-right h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-right p {
  font-size: 1rem;
}


/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center; 
    align-items: flex-start;/* Center text for smaller screens */
    padding: 10px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%; /* Make all sections take full width */
    margin-bottom: 20px; /* Add spacing between sections */
    padding-left: 0; /* Remove extra padding */
  }

  .footer-center .social-icons {
    justify-content: center;
  }

  .footer-left h3,
  .footer-center h3,
  .footer-right h3 {
    font-size: 2rem;
  }

  .footer-right p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .social-icons li {
    font-size: 1.2rem; /* Slightly reduce icon size for small screens */
    margin: 0 10px;
  }

  .footer-left h3,
  .footer-center h3,
  .footer-right h3 {
    font-size: 1rem;
  }

  .footer-right p,
  .contact-icons li {
    font-size: 1rem;
  }
}



    /* Popup container */
    #popup {
      display: none; /* Hidden by default */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8); /* Black with transparency */
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    /* Popup content */
    #popup-content {
      position: relative;
      max-width: 90%;
      max-height: 90%;
    }

    #popup img {
      width: 30%;
      height: auto;
      border: 5px solid #88247b;
      border-radius: 10px;
      box-shadow: 0 4px 10px #621faa; /* Adds a glowing effect */
    }

    /* Close button */
    #popup .close {
      position: absolute;
      top: 60px;
      right: 450px;
      font-size: 20px;
      color: black;
      cursor: pointer;
      background-color: #d2aaff;
      padding: 5px 10px;
      border: 1px solid #88247b;
      border-radius: 80%;
      transition: transform 0.3s, background-color 0.3s;
      z-index: 15; /* Ensures the button is above the image */
    }

    /* Hover effect for close button */
    #popup .close:hover {
      transform: scale(1.1);
      background-color: #b470ab;
      color: black;
    }

    /* Responsive adjustments for very small screens */
    @media (max-width: 600px) {
      #popup .close {
        font-size: 20px;
        top: 150px;
        right: 25px;
      }
      #popup img {
        width: 60%;
        height: auto;
      }
    }
    
    
    
    
    
    

.whatsapp-icon {
  position: fixed;
  bottom: 20px; /* Distance from the bottom of the screen */
  right: 20px; /* Distance from the right of the screen */
  z-index: 1000; /* Ensures it stays on top */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #88247b; /* WhatsApp green background */
  border-radius: 50%; /* Makes it a circle */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-icon img {
  width: 32px;
  height: 32px;
  color: #621faa;
}

.whatsapp-icon:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {
  .whatsapp-icon {
      width: 50px;
      height: 50px;
  }

  .whatsapp-icon img {
      width: 28px;
      height: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-icon {
      width: 40px;
      height: 40px;
  }

  .whatsapp-icon img {
      width: 24px;
      height: 24px;
  }
}
    
    
    
    
    
    
    