/* General styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333;
}

/* Header styles */
header {
  background-color: hsl(135, 13%, 82%);
  border-bottom: 1px solid #ccc;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Add a new wrapper container */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%; /* Adjust the width */
  margin: 0 auto; /* Center the container */
}

/*logo*/
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 100px;
  height: 50px;
  margin-right: 1em;
}

/*logo text*/
.logo span {
  font-size: 1.5em; /* Increase the font size */
  font-weight: bold; /* Make the text bold */
}

/*menu*/
nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: #f2f2f2;
  z-index: 999;
}


.show {
  display: block;
}
/*menu item spacing*/
nav ul li {
  margin-right: 1em;
  position: relative;
}

/* Top-level menu styles */
nav ul li a {
  display: block;
  padding: 0.5em;
  color: #333;
  font-weight: bold; /* Make the text bold */
}

/*mouse hover*/
nav ul li a:hover {
  background-color: #671872(148, 21, 21);
  color: rgb(136, 13, 109);
}

/* Sub-menu styles */
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgb(221, 210, 221);
  padding: 0;
  list-style-type: none;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  min-width: 160px;
  z-index: 1000;
}

/*sub-menu item spacing*/
nav ul li ul li {
  display: block;
}

/*sub-menu item spacing*/
nav ul li ul li a {
  display: block;
  padding: 4px 16px; /* Decrease the padding-top and padding-bottom */
  text-decoration: none;
  color: black;
}

.menu ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.menu ul li:hover > ul {
  display: block;
}
/*mouse hover*/
nav ul li:hover ul {
  display: block;
}
/* Main content styles */
main {
  padding: 2em;
}
  
  /*main content*/
  #hero {
  background-color: #720b6d;
  color: #fff;
  padding: 2em;
  text-align: justify;
  }
  
  /*main content*/
  #hero a {
  color: #007bff;
  text-decoration: none;
  }
  
  #hero a:hover {
  color: #0056b3;
  text-decoration: underline;
  }

  #aboutus {
  background-color: #fff;
  color: #110d0d;
  padding: 2em;
  text-align: justify;
  }
  #aboutus a {
  color: #88127e;
  text-decoration: none;
  }
  
  /*mouse hover*/
  #aboutus a:hover {
  color: #0056b3;
  text-decoration: underline;
  }
  
  /* Swiper styles */
  .swiper-container {
  width: 100%;
  height: 100vh; /* Change the height value */
  position: relative;
  }
  
  .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  }
  
  .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Change the object-fit value */
  }
  
  .swiper-button-next,
  .swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 44px;
  background-size: 27px 44px;
  z-index: 10;
  cursor: pointer;
  }
  
  .swiper-button-next {
  right: 10px;
  }
  
  .swiper-button-prev {
  left: 10px;
  }
  
 
  /* Media queries */
  @media screen and (max-width: 768px) {
  .header-container {
  width: 95%;
  }
  }
  
  @media screen and (max-width: 768px) {
  .header-container {
  width: 100%;
  flex-direction: column;
  }
  
  @media screen and (min-width: 769px) {
    .hamburger {
      display: none;
    }
  }
  
  @media (min-width: 768px) {
    .menu {
      display: flex;
      justify-content: flex-end;
    }
    .mobile-menu {
      display: none;
    }
  .logo {
  margin-bottom: 1em;
  }
  
  nav ul {
  flex-direction: column;
  }
  
  nav ul li {
  margin-bottom: 0.5em;
  }
  }
  
  @media screen and (max-width: 480px) {
  /* Adjust styles for smaller devices */
  .logo img {
  width: 60px;
  height: 30px;
  }
  
  .logo span {
  font-size: 1.2em;
  }
  
  nav ul li {
  margin-right: 0.5em;
  margin-bottom: 0.5em;
  }
  
  nav ul li a {
  font-size: 0.9em;
  padding: 0.4em;
  }
  
  nav ul li ul {
  top: auto;
  left: 100%;
  min-width: 140px;
  }
  
  nav ul li ul li a {
  padding: 0.2em 0.6em;
  font-size: 0.8em;
  }
  
  .swiper-container {
  height: 200px;
  }
  }
  
  /* Add hamburger button */
  .hamburger {
  display: none;
  cursor: pointer;
  }
  
  .hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px;
  transition: all 0.3s ease;
  }
  /* Toggle menu on hamburger button click */
.toggle .menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  }
  
  .toggle .menu li {
  margin: 1em 0;
  }
  
  .toggle .menu li a {
  color: #333;
  font-weight: bold;
  text-decoration: none;
  padding: 0.5em;
  display: block;
  }
  
  .toggle .menu li a:hover {
  color: rgb(255, 255, 255);
  background-color: #801d9e;
  }
  
  /* Toggle hamburger button on click */
  .toggle .hamburger div:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
  }
  
  .toggle .hamburger div:nth-child(2) {
  opacity: 0;
  }
  
  .toggle .hamburger div:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
  }
  
  /* Responsive styles */
  @media screen and (max-width: 768px) {

  .hamburger {
  display: block;
  position: absolute;
  top: 1.2em;
  right: 1.2em;
  z-index: 9999;
  }
  
  .hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px;
  transition: all 0.3s ease;
  }
  
  /* Hide menu by default */
  nav {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: #86187d;
  z-index: 999;
  }
  
  /* Display menu as vertical list */
  nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  }
  
  nav ul li {
  margin: 0.5em 0;
  position: relative;
  }
  
  nav ul li a {
  color: #333;
  font-weight: bold;
  text-decoration: none;
  padding: 0.5em;
  display: block;
  }
  
  nav ul li a:hover {
  color: white;
  background-color: #ac13a4;
  }
  
  nav ul li ul {
  display: none;
  position: static;
  background-color: transparent;
  padding: 0;
  min-width: 0;
  box-shadow: none;
  }
  
  nav ul li ul li {
  display: block;
  }
  
  nav ul li ul li a {
  padding: 0.2em 0.6em;
  font-size: 0.8em;
  color: black;
  }
  
  nav ul li:hover ul {
  display: block;
  position: static;
  }
  
  /* Show menu on hamburger button click */
  .toggle .menu {
  display: block;
  }
  
  .toggle .hamburger div:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 5px);
  }
  
  .toggle .hamburger div:nth-child(2) {
  opacity: 0;
  }
  
  .toggle .hamburger div:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -5px);
  }

  
}



/* Clearfix */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}




  }

  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
  }
  

  
  


  footer {
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #720b6d;
    color: #fff;
    padding: .5em;
    text-align: center;
    height: 70px;
    position: relative;
  }
  


  @font-face {
    font-family: 'NASA';
    src: url('fonts/Nasa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

title {
  font-family: 'NASA', sans-serif;
}

.centered-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px; /* You can adjust this value to set the maximum width of the content */
  margin: 0 auto;
  padding: 0 20px;
}

.centered-main {
  text-align: center;
}

.contact-Address {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.contact-Address p {
  font-weight: bold;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.footer-logo img {
  max-width: 150px;
}

.footer-description {
  flex-basis: 100%;
  text-align: center;
  margin-top: 20px;
}

.footer-social-media {
  margin-top: 20px;
}

.footer-social-media h3 {
  margin-top: 0;
}

.social-media-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.social-media-icons a {
  margin-right: 10px;
}

.footer-address {
  max-width: 400px;
  margin-top: 20px;
  text-align: center;
}

.footer-address p {
  margin: 5px 0;
}
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh; /* adjust the height as needed */
}

h2 {
  text-align: center;
}

h3 {
  margin-top: 2rem;
}

ul {
  list-style: disc;
  margin-left: 2rem;
}

p {
  text-align: justify;
}
h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}

*{box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.slideshow-container {
  max-width: 600px; /* Adjust this value as needed */
  margin: auto;
}

.mySlides img {
  max-width: 100%;
  height: auto;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.social_box ul{
  list-style: none;
  position: relative;
  display: inline-block;
}
.social_box ul .text{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #4A148C;
  color: #eee;
  line-height: 50px;
  border-radius: 50px;
     font-size: 18px;
  pointer-events: none;
  text-align: center;
  font-family: 'Montserrat',sans-serif;
  transition: opacity .5s .75s ease-out;
}
.social_box ul:hover .text{
  opacity: 0;
  transition: opacity .5s .125s ease-out;
}
.social_box ul li{
  display: inline-block;
  height: 50px;
  width: 50px;
  background: #4a148c;
  text-align: center;
  line-height: 55px;
  margin: 0 -16px;
  cursor: pointer;
  border-radius: 0px;
  transition: background-color .5s ease-out,
              border-radius .5s .25s ease-out,
              margin .5s .25s ease-out;
}
.social_box ul li:hover{
  background: #6A1B9A;
}
.social_box ul li i{
  color: #eee;
  font-size: 22px;
  opacity: 0;
  transition: opacity 1.7s;
}
.social_box ul:hover li i{
  opacity: 1;
}
.social_box ul li:nth-child(1){
  border-bottom-left-radius: 25px;
  border-top-left-radius: 25px;
}
.social_box ul li:nth-child(4){
  border-bottom-right-radius: 25px;
  border-top-right-radius: 25px;
}
.social_box ul:hover li{
  border-radius: 50px;
  margin: 0 3px;
}

.sub-menu-toggle {
  display: none;
}

@media (max-width: 767px) { /* Adjust the breakpoint according to your design */
  .sub-menu-toggle {
    display: inline-block;
  }
}

/* ... your existing CSS ... */

/* Add the following code at the end of your CSS */
/* ... your existing CSS ... */

/* Add the following code at the end of your CSS */
@media (max-width: 1024px) { /* Adjust the breakpoint according to your design */
  .social_box ul .text {
    display: none;
  }
  
  .social_box ul li {
    margin: 0 3px;
    border-radius: 50px;
  }
  
  .social_box ul li i {
    opacity: 1;
  }
}


.content-section {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
}

.news-activities,
.notice-board {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}

.news-activities {
  margin-right: 10px;
}

.notice-board {
  margin-left: 10px;
}

/* Responsive styles */
@media (max-width: 1080px) {
  .news-activities,
  .notice-board {
    flex-basis: 100%;
    margin: 0;
  }
}


.news-item img,
.news-item video,
.notice-item img,
.notice-item video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin-bottom: 10px;
  object-fit: cover; /* Make the image/video cover the available space */
}

.news-item video,
.notice-item video {
  max-height: 240px; /* Set a maximum height for videos */
}
.news-image {
  width: 50%; /* Adjust this percentage to control the width of the image */
  height: auto; /* This will maintain the aspect ratio of the image */
}


@media (max-width: 600px) {
  .logo {
    font-size: 16px;
  }
}


@media (max-width: 480px) {
  span {
    font-size: 24px !important;
  }
  .logo {
    margin-right: 10px;
  }
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}


/* Service Grid */
.service-grid {
  background-color: #f8f9fa;
}

.service-title {
  margin-bottom: 40px;
}

.service-title h4 {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 5px;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card h5 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.card p {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.card-body {
  padding: 20px;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    max-width: 200px; /* Adjust this value to modify the distance between the logos */
}

.news-image {
    width: 100px; /* Adjust this value to modify the size of the logos */
    height: auto;
}
