/* body{
  font-family: "Raleway", sans-serif;
} */
.top-header {
    background-color: #19a954;
    color: white;
  }
  .navbar-custom {
    background-color: #19a954;
    height: 100px;
    margin: 0 7%;
    border-radius:4px 4px;
  }
  .highlight {
    background-color: yellow;
    font-weight: bold;
  }
.nav-item{
  margin:0 1.6em;
}

.bg-image {
  background-image: url('{{ asset('frontend/images/top-nav.png') }}');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px; /* Adjust the height as needed */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1200px) {
  .magerezaLogo {
      margin-left: 12em;
     
  }
}


  @media (max-width: 1199.98px) {
    .navbar-custom {
      margin-left: 0;
      margin-right: 0;
    }
  }
  @media (max-width: 767.98px) {
    .navbar-nav {
      width: 100%;
      justify-content: space-around;
    }
  }

  .news_head{
   background-color: #000;
   color:#fff;
   padding:0.6em 0.6em;
  }
  .newsandevent{
    background-color: #19a954;
    padding:3em 0em!important;
  
  }
  .news_card{
    border-radius: 20px !important;
  }

.news_img{
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-right: 0.2em;
    height: 15em;
    padding-left: 0.2em;
}
.embed-responsive-custom {
    position: relative;
    width: 100%;
    height: 600px; /* Set your desired height */
    overflow: hidden;
}

.embed-responsive-custom iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer{
    background-color: #000;
    margin-top:0em!important;
    color:#fff !important;
    padding-bottom:0em;
   
}
.text-body{
    color:#fff!important;
    text-decoration: none;

}
.text-body:hover{
  font-size: large;
  transition: 0.23s;
  color: #19a954 !important;
  text-decoration: none;

}
.list-unstyled li{
    margin:1em 0!important;
    /* text-align: left;
    padding-left:4em; */
    
}
hr{
  font-weight:700;
}

.accordion-button {
  background-color: transparent; /* Remove background color */
  box-shadow: none; /* Remove any box shadow */
}

.accordion-button:not(.collapsed) {
  background-color: transparent; /* Ensure background is transparent when expanded */
}

.accordion-body {
  background-color: transparent; 
}
.accordion-button {
  background-color: transparent; 
  box-shadow: none;
  border-bottom: 2px solid #dee2e6; 
  border-radius: 0;
}


.accordion-button:not(.collapsed) {
  background-color: transparent; 
  border: none;
}

/* Remove the border when button is focused (pressed) */
.accordion-button:focus {
  box-shadow: none; 
  outline: none;
}

/* Remove border from the accordion item */
.accordion-item {
  border: none;
  border-radius: 0;
}

/* Optionally, remove border from the accordion body */
.accordion-body {
  background-color: transparent; 
  border: none; 
}
.Historia{
  font-size: 1.3em;
  font-weight: 700;
  color:#000;
}
.breadcrumb-nav {
  list-style: none;
  margin-left:0em!important;
  padding:0.1em 0;
  display: flex;
  align-items: center;
  background-color: #dee2e6;
  width:60%;
  position:relative;
  top:-2.8em;
  margin-bottom:2em;
  
}

.breadcrumb-nav li {
  margin-right: 0.5rem;
}

.breadcrumb-nav li:not(:last-child)::after {
  content: " / ";
  margin-left: 0.5rem;
}

.breadcrumb-nav li a {
  text-decoration: none;
  color:#000; 
  font-weight: bold;
  padding-left:0.7em;
}

.breadcrumb-nav li a:hover {
  text-decoration: underline;
}
.bwawani_info h4 {
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem; 
}

.bwawani_info1{
  margin-top: 4em;
  padding-left:3em;
}
.bwawani_info h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%; 
  border-bottom: 13px solid  #19a954;
}
.info-section{
  background-color: #dee2e6;
  padding:0.6em 0 !important;
  margin:0.4em 0;

}
.info-section h4{
  margin-left:1em;
}
ul {
  list-style-type: disc; 
  padding-left: 1.5rem; 
}

li {
  margin-bottom: 0.5rem; 
}

.info-section {
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s; 
}

.info-section:hover {
  background-color: #f0f0f0; 
  color:  #19a954; 
}


.nav-item .nav-link {
  color: white; 
}

.nav-item .active .nav-link {
  color: orange !important; 
  font-weight: bold; 
}

.results-list {
  list-style-type: none; 
  padding-left: 0; 
}

.results-list li a {
  font-size:22px;
  color:  #19a954; 
  text-decoration: none; 
}

.results-list li a:hover {
  text-decoration: underline; 
}

.gallery-img {
  width: 100%;
  height: 300px; 
  object-fit: cover;
}
.tab-content {
  margin-top: 20px;
}
.navlink_gallery {
  text-decoration: none; 
  color: black !important; 
  font-weight: normal; 
}
.navlink_gallery.active {
  font-weight: bold; 
  color: black !important; 
  background-color: transparent !important; 
  border-bottom: 5px solid  #19a954 !important; 
}
.navlink_gallery:hover {
  color: black !important;
  cursor: pointer;
}
.nav-pills .navlink_gallery {
  border-radius: 0.25rem;
}
.school_gallery h1{
  margin-top:-2em;
}
.label{
  font-weight: 900;
}


.contact-info {
  list-style: none; 
  padding: 0;
  font-family: Arial, sans-serif;
  color: #000;
  line-height: 1.5;
}
/* 
.contact-info li::before {
  content: '•'; 
  position: absolute;
  left: 0;
  color: green; 
  font-size: 24px; 
} */

.contact-info li .info .label {
  font-weight: bold;
}

.btn1 {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  border: 2px solid  #19a954; /* Primary color border */
  border-radius: 0; /* Square corners */
  color:  #19a954;
  background-color: transparent; /* Transparent background */
  transition: all 0.3s ease; /* Smooth transition */
}
.btn:hover,
.btn:focus {
  background-color:  #19a954; 
  color: #fff; 
  outline: none; 
}

.map-container {
  position: relative;
  padding-bottom: 80%; /* Adjusted for a 4:3 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Optional shadow */
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Full width of the container */
  height: 100%; /* Full height of the container */
  border: 0;
}

.footer img {
  max-width: 50px; /* Limit the size of the logo */
  height: 50px; /* Set height to match the width for a circular shape */
  border-radius: 10px; /* Make the image circular */
  vertical-align: middle; /* Align image with text */
  margin-right: 10px; /* Space between logo and text */
  object-fit: cover; /* Ensure the image covers the area */
}
.footer h5 {
  display: inline-flex; /* Align text and image horizontally */
  align-items: center; /* Center align text with image */
  font-size: 14px; /* Adjust font size as needed */
  color: #fff; /* Text color */
  margin: 0; /* Remove default margin */
}
.below_card{
  position: relative;
  color:#000;
  height:0.8em;
  width:20em;
  background-color: #000;
  z-index:10;
  top:-0em;
  margin-left:2.5em;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.card-body{
  padding:0em 0em !important;
}

.link3{
  text-decoration: none;
}
.link3:hover{
  color:yellow !important;
}
.nav-link4:hover{
  color:yellow !important;
}

.new {
  color: red;
  font-weight: bold;
  animation: blink 1s linear infinite;
}

@keyframes blink {
  50% {
      opacity: 0;
  }
}
.news-date {
  float: left;
  width: 38px;
  color: #333;
  padding: 5px 0 3px; /* Add some padding at the top */
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.196);
  border-radius: 2px;
  background: rgb(255, 255, 255);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(237, 237, 237, 1) 100%);
  margin-right: 10px;
}

.news-date .date {
  font-size: 16px; /* Larger size for the date */
}

.news-date .month {
  font-size: 14px; /* Slightly smaller size for the month */
}

.news-date .year {
  font-size: 12px; /* Smaller size for the year */
  font-weight: normal; /* Less emphasis on the year */
}

.form-control {
  border-color: #ced4da; /* Default border color */
  outline: none; /* Remove default focus outline */
}

/* Change border color and add shadow on focus */
.form-control:focus {
  border-color:  #19a954; /* Green border color */
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); /* Green shadow */
  border-width: 2px; /* Adjust border width if necessary */
}
.accordion-body .result-options a,
.accordion-body .form-options a {
    color:  #19a954;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 10px;
    display: inline-block;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.result-options a,
.form-options a {
    color:  #19a954 !important; /* Set the link color */
}

.form-options a, 
.exam-options a {
    color:  #19a954;
    text-decoration: none;
}

.form-options a:hover, 
.exam-options a:hover {
    text-decoration: underline;
}


.testimonial-section {
  background-color: #ffffff; /* White background for the section */
  padding: 0px 0; /* Increased vertical padding */
  border-radius: 15px; /* Rounded corners for the section */
}

.testimonial-image-wrapper {
  position: relative;
  top:3em;
  width: 100%;
  max-width: 400px; 
  height:400px;
  margin: 0 auto; /* Center image */
}

.testimonial-image {
  width: 100%;
  border-radius: 100%; /* Circular image */
  border: 7px solid  #19a954; /* Thicker green border around the image */
}

.testimonial-quote {
  background: #f8f9fa; /* Light grey background */
  border-radius: 15px; /* More rounded corners */
  padding: 40px; /* Increased padding for larger quote box */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Deeper shadow for more emphasis */
  position: relative;
  text-align: left; /* Align text to the left */
}

.testimonial-quote blockquote {
  margin: 0;
  font-style: italic;
  font-size: 1.25rem; /* Larger font size */
  color: #333;
}

.testimonial-quote .blockquote-footer {
  margin-top: 20px;
  font-size: 1.125rem; /* Slightly larger font size */
  color: #555;
  text-align: right; /* Right-align the citation */
}

.testimonial-quote::before {
  content: "“";
  font-size: 6rem; /* Larger quote mark */
  color:  #19a954; /* Green color for the quote mark */
  position: absolute;
  top: -30px;
  left: 20px;
  opacity: 0.3;
}


.video-section {
  background-color:  #19a954;
  padding: 0px 0;
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
}

.video-wrapper {
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 0px;
  max-width: 100%;
  margin: 0 auto;
}

iframe {
  border-radius: 10px;
}

/* Base styles for video section */


/* Styles for large devices */
@media (min-width: 992px) {
  .video-section {
      width: 100%; 
      height: 30em; /* Adjust height as needed */
      margin: 0 auto; /* Centers the section horizontally */
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .video-section video {
      /* width: 80%; */
      height: 100%;
      object-fit: cover; 
  }
  iframe {
    border-radius: 10px;
    height:20em;
    width:50em;
  }
}





/* Navbar custom styles */
.navbar-custom {
  background-color:  #19a954; /* Custom background color */
}

/* Navigation links */
.nav-link4 {
  color: white !important;
  transition: background-color 0.3s, color 0.3s;
  padding: 10px 15px; /* Adjust padding as needed */
}

.nav-link4:hover,
.nav-link4:focus {
  background-color:  #19a954; /* Darker shade for hover and focus */
  color: rgb(211, 214, 7) !important; /* Ensure text color remains white on hover */
}

/* Ensure dropdown has high z-index */
.navbar-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  width:15em;
  left: 0;
  right: 0;
  z-index: 1050; /* Ensure dropdown menu is above other elements */
  background-color:  #19a954; /* Match the navbar background */
  border: none; /* Optional: Remove border if needed */
}

/* Dropdown item styles */
.dropdown-item {
  color: white;
  background-color:  #19a954; /* Match dropdown background color */
  padding: 10px 15px; /* Adjust padding as needed */
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color:  #19a954; /* Darker shade for hover and focus */
  color: white; /* Ensure text color remains white on hover */
}

/* Styles for expanded navbar on small devices */
@media (max-width: 991.98px) {
  .navbar-collapse {
      background-color:  #19a954; /* Background color for expanded menu */
      padding: 10px 0; /* Adjust padding to ensure space around links */
      position: relative;
      z-index: 1050; /* Ensure collapse menu is above other content */
  }

  .navbar-nav .nav-link4 {
      display: block; /* Ensure links stack vertically */
      padding: 15px 20px; /* Adjust padding for vertical alignment */
      border-bottom: 1px solid  #19a954; /* Optional: Add border between links */
  }

  .navbar-nav .nav-link4:last-child {
      border-bottom: none; /* Remove border from the last link */
  }
}

/* Navbar toggler styles */
.navbar-toggler {
  border: 1px solid white; /* White border around the toggler button */
  background-color: transparent; /* Remove default background */
}

.navbar-toggler:focus,
.navbar-toggler:active {
  border: 1px solid white; /* Ensure white border when active or focused */
}

.navbar-toggler-icon {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath stroke="white" stroke-width="2" d="M5 7h20M5 15h20M5 23h20"/%3E%3C/svg%3E'); /* White lines for the icon */
}



.newsandevent .card-custom {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 200px; /* Adjust height as needed */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  text-align: center; /* Center text */
}
.newsandevent .card-custom:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.newsandevent .card-body-custom {
  padding: 1.5rem;
}
.newsandevent .card-title-custom {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem; 
  padding-top:0.1em;
}
.newsandevent .card-text-custom {
  color: #555;
  font-size: 1rem;
  line-height: 1.4;
}


.video-wrapper {
  position: relative;
  border-radius: 15px; /* Rounded corners */
  border: 3px solid white; /* White border */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3); /* White shade with transparency */
  border-radius: 15px; /* Rounded corners to match iframe */
  pointer-events: none; /* Allow clicks to pass through */
}

.embed-responsive {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.embed-responsive-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px; /* Rounded corners */
}


.video-wrapper {
  position: relative;
  border-radius: 15px; /* Rounded corners */
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3); /* Light white overlay */
  z-index: 0;
}

.embed-responsive-item {
  border-radius: 15px;
}

.testimonial-quote {
 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.testimonial-quote:hover,
.testimonial-quote:focus {
  transform: translateY(-10px);
}

.list-group-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
}

.header {
  display: flex;
  align-items: center;
}

.new {
  background-color: #ff0;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 10px;
}

.title {
  font-weight: bold;
}

.date {
  margin-top: 2px;
  color: #666;
  font-size: 0.9em;
  margin-left:4em;
}

.statistics-section {
  background-color: #f8f9fa; /* Light grey background */
}

.stat-item {
  transition: transform 0.3s ease-in-out;
}

.stat-item:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color:  #19a954; /* Green color for the numbers */
}

.stat-label {
  font-size: 1.1rem;
  color: #6c757d; /* Grey color for the labels */
}
.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #343a40; /* Dark grey color for the title */
}

.mission{
  color:#000;
  text-decoration: none;
}
.mission:hover{
  color: #19a954;
}


.card1 {
  border: 1px solid #ddd; 
  border-radius: 10px;
  overflow: hidden; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  transition: transform 0.3s ease-in-out;
}

.card1:hover {
  transform: scale(1.05); 
}

.card-img-top {
  object-fit: cover; 
}

.card-body1 {
  padding: 15px;
}

.card-title1 {
  font-size: 1.25rem;
  color: #333; 
}

.card-text1 {
  font-size: 1rem;
  color: #777; 
}

.landingnews{
  cursor: pointer;
  color:#000;
  text-decoration: none;

}
.landingnews:hover{
  color: #19a954;
}


.carousel-item {
  position: relative;
}

.transparent-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0)); 
  color: #fff;
  text-align: center;
  border-top: none;
}

.carousel-caption h5 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.carousel-caption p {
  font-size: 1rem;
  margin-bottom: 0.5;
}


.carousel-indicators .active {
  background-color: #19a954; 
}

.carousel-indicators button {
  background-color: #19a954;
  opacity: 0.5; 
}

.carousel-indicators .active {
  background-color: #19a954; 
  opacity: 1; 
}
