/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: white;
  background-color: #0A1F44; /* Dark blue */
}

/* Header Container */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: white; /* White background for visibility */
  border-bottom: 2px solid #071ec8; /* Blue bottom border for separation */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow for elegance */
}

/* Logo Section */
.logo {
  display: flex;
  align-items: center; /* Align logo and text vertically */
  gap: 10px; /* Space between the logo and text */
  text-decoration: none; /* Remove underline for the link */
}

/* Logo Styling */
.logo img {
  height: 120px;
  width: auto;
}

/* School Title next to logo*/
.school-title {
font-size: 120%;

}


/* Navigation Links */
nav {
  display: flex;
  gap: 15px;
}

nav a {
  color: #071ec8; /* Blue text */
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 15px;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 5px;
}

nav a:hover {
  background-color: #e01717; /* Red hover background */
  color: white; /* White text on hover */
}

/* Active Page Link (optional highlight) */
nav a.active {
  color: white;
  background-color: #e01717;
}

/* Page sections */
.container {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #0A1F44;
  color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Home Page styling */

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Full-page height */
  overflow: hidden;
}
.homepage-text{
color: #ddd;

}

.slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slide.active {
  display: block;
  animation: fade 1.5s ease-in-out;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slideshow-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  padding: 20px;
  border-radius: 10px;
}

.slideshow-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.slideshow-text button {
  background-color: #00509E;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

.slideshow-text button:hover {
  background-color: #003D7C;
}

/*Logo style */
.logo img {
  height: 50px; /* Adjust this value as needed */
  width: auto;  /* Maintain the aspect ratio */
}

/* Homepage About Summary Section */
.about-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 20px;
  background-color: #f9f9f9; /* Light background for contrast */
}

.about-summary-part {
  flex: 1;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-summary-part h2 {
  font-size: 1.5rem;
  color: #e01717; /* Red */
  margin-bottom: 15px;
}

.about-summary-part p {
  color: black;
  font-size: 1rem;
  line-height: 1.6;
}

.about-summary-part a {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  color: #071ec8; /* Blue */
  font-weight: bold;
  transition: color 0.3s ease;
}

.about-summary-part a:hover {
  color: #e01717; /* Red on hover */
}

/* Statistics Section */
.statistics {
  padding: 40px 20px;
  background-color: #f9f9f9; /* Light background for contrast */
  text-align: center;
}

.statistics h2 {
  font-size: 2rem;
  color: #e01717; /* Red*/
  margin-bottom: 30px;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; /* Ensures responsiveness */
}

.stat {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  width: 200px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat h3 {
  font-size: 2.5rem;
  color: #071ec8; /* Blue */
  margin: 0;
}

.stat p {
  margin-top: 10px;
  font-size: 1rem;
  color: black;
}

.register-btn {
  margin-top: 30px;
  background-color: #e01717; /* Red*/
  color: white;
  padding: 10px 20px;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.register-btn:hover {
  background-color: #071ec8; /* Blue on hover */
}

/* Section General Styling */
.mission-vision-goals,
.history-status,
.gallery {
  padding: 40px 20px;
  background-color: #f9f9f9;
  margin-bottom: 30px;
}

h2 {
  text-align: center;
  font-size: 2rem;
  color: #e01717; /* Red*/
  margin-bottom: 20px;
}

p {
  color: black;
  font-size: 1rem;
  line-height: 1.6;
}

/* Mission/Vision/Goals Section */
.content-container {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.content {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  width: 30%; /* Three columns */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.content h3 {
  color: #071ec8; /* Blue */
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* History and Current Status Section */
.history-status p {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery-section {
  padding: 60px 20px;
  background-color: #fff;
}

.gallery-section h2 {
  text-align: center;
  color: #071ec8;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 0 20px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
}

.close:hover {
  color: #017117;
}


/* Quotes Section */
.quotes-section {
  padding: 40px 20px;
  background-color: #e01717; /* Red background */
  color: white;
  text-align: center;
}

.quotes-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
}

.quotes-slider {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.quote-slide {
  display: none;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  transition: opacity 1s ease;
}

.quote-slide.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
}

.quote-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.quote-image:hover {
  transform: scale(1.1);
}

.left-image {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.right-image {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.quote-slide p {
  font-size: 1.2rem;
  margin-top: 20px;
  color: white;
  padding: 0 10%;
}


/* Registration form*/
/* Registration Form Section */
.registration-form-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 40px auto;
}

.registration-form-section h2 {
  text-align: center;
  color: #e01717; /* Red */
  font-size: 2rem;
  margin-bottom: 20px;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 1rem;
  color: #071ec8; /* Blue */
  margin-bottom: 5px;
}

.form-group input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: #e01717; /* Red */
  outline: none;
}

.submit-button {
  padding: 10px 20px;
  font-size: 1.2rem;
  color: white;
  background-color: #e01717; /* Red */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #071ec8; /* Blue */
}

.registration-form-section {
  margin-bottom: 40px;
}
/*Payment Details section */
.payment-title { color: #071ec8;

}

/* Login Form Section */
.login-form-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 40px auto;
}

.login-form-section h2 {
  text-align: center;
  color: #071ec8; /* Blue */
  font-size: 2rem;
  margin-bottom: 20px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-form .form-group {
  display: flex;
  flex-direction: column;
}

.login-form .form-group label {
  font-size: 1rem;
  color: #e01717; /* Red */
  margin-bottom: 5px;
}

.login-form .form-group input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.login-form .form-group input:focus {
  border-color: #071ec8; /* Blue */
  outline: none;
}

.login-form .submit-button {
  padding: 10px 20px;
  font-size: 1.2rem;
  color: white;
  background-color: #071ec8; /* Blue */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-form .submit-button:hover {
  background-color: #e01717; /* Red */
}

/* Dashboard Layout */
.dashboard-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  background-color: #e01717; /* Red */
  color: white;
  padding: 20px;
}

.sidebar .profile {
  text-align: center;
  margin-bottom: 20px;
}

.sidebar .profile img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid white;
  margin-bottom: 10px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 10px;
  margin: 10px 0;
  background-color: #071ec8; /* Blue */
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
}

.sidebar ul li.active {
  background-color: white;
  color: #e01717; /* Red */
}

.content {
  flex: 1;
  padding: 20px;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

/* Sidebar */
.sidebar {
  width: 60px; /* Collapsed width */
  background-color: #e01717; /* Red */
  color: white;
  overflow: hidden;
  transition: width 0.3s ease;
  position: relative;
}

.sidebar:hover {
  width: 250px; /* Expanded width */
}

.sidebar .profile {
  opacity: 0; /* Hide profile info in collapsed state */
  transition: opacity 0.3s ease;
}

.sidebar:hover .profile {
  opacity: 1;
}

.sidebar ul {
  padding: 0;
  list-style: none;
}

.sidebar ul li {
  padding: 15px 10px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar ul li:hover {
  background-color: white;
  color: #e01717; /* Red */
}

.sidebar ul li span {
  display: none; /* Hide menu item text in collapsed state */
  margin-left: 10px;
}

.sidebar:hover ul li span {
  display: inline; /* Show text when expanded */
}

.sidebar ul li.active {
  background-color: white;
  color: #e01717; /* Red */
}

/* Content Section */
.content {
  flex: 1;
  padding: 20px;
  margin-left: 60px; /* Adjust for collapsed sidebar */
  transition: margin-left 0.3s ease;
}

.sidebar:hover ~ .content {
  margin-left: 250px; /* Adjust for expanded sidebar */
}

/* Programs Page */
.intro-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
  color: #071ec8;
}

.courses-section, .bridging-section, .boarding-section {
  padding: 40px 20px;
  margin: 20px 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.courses-section .courses {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.courses-section .course {
  flex: 1 1 calc(33% - 20px);
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.courses-section .course h3 {
  color: #e01717; /* Red */
  margin-bottom: 10px;
}

.boarding-content ul {
  list-style-type: disc;
  margin-left: 20px;
}

h2 {
  color: #e01717; /* Red */
  text-align: center;
  margin-bottom: 20px;
}

p, ul {
  font-size: 1rem;
  line-height: 1.6;
}
.list-text {
  color: #071ec8;
}

/* Contacts Page */
.contact-info {
  background-color: #f9f9f9;
  padding: 40px 20px;
  margin: 20px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
}

.contact-title {
  color: #071ec8;
;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.contact-details div {
  flex: 1 1 calc(25% - 20px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-details h4 {
  color: #e01717; /* Red */
  margin-bottom: 10px;
}

.contact-details p a {
  color: #071ec8;
  text-decoration: none;
}

.contact-form {
  margin: 40px 20px;
  padding: 20px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  color: #e01717; /* Red */
  margin-bottom: 20px;
  text-align: center;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.contact-form .btn {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #e01717; /* Red */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.contact-form .btn:hover {
  background-color: #071ec8;
}

.map-section {
  margin: 40px 0;
  text-align: center;
}
/*Index Page*/

.external-resources {
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333;
}

.external-resources h2 {
  text-align: center;
  color: #071ec8;
  margin-bottom: 40px;
  font-size: 2rem;
}

.resource-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.blogs {
  background-color: #f7f7f7;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blogs h3 {
  color: #017117;
  margin-bottom: 20px;
}

.blog-card {
  margin-bottom: 25px;
}

.blog-card a {
  display: block;
  text-decoration: none;
  color: #071ec8;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
}

.blog-card a:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.blog-card .thumb {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card p {
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
}
@media (max-width: 768px) {
  .thumb {
      height: 200px;
  }
}

.videos {
  background-color: #f7f7f7;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.videos h3 {
  color: #017117;
  margin-bottom: 20px;
}

.video-card {
  margin-bottom: 25px;
  text-align: center;
}

.video-card iframe {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.video-card p {
  font-size: 16px;
  color: #071ec8;
  font-weight: bold;
  margin: 0;
}
