/* RESET AND GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
  /**
   * typography
   */
  

body, html {
  margin: 0;
  padding: 0;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* NAVIGATION BAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #1e3a8a;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-left img {
  height: 100px;
  margin-right: 0.75rem;
}

.nav-left .company-name {
  font-size: 1.1rem;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
}

.nav-right ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-right ul li a {
  text-decoration: none;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  font-size: 20pt;
  transition: color 0.3s;
}

.nav-right ul li a:hover {
  color: #facc15;
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 1s ease-in-out;
}

.hero img.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.company-info {
  margin-bottom: 20px;
}

.company-info h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.company-info .motto {
  font-size: 1.5rem;
  font-style: italic;
}

.hero button {
  padding: 0.75rem 2rem;
  background-color: #facc15;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #1e3a8a;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hero button:hover {
  background-color: #d97706;
}

.image-grid-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  background-color: #f3f4f6; /* Light gray background */
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.image-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(30, 58, 138, 0.8); /* Semi-transparent navy */
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  z-index: 1;
  pointer-events: none;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}


/* ABOUT US */
.about-us {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  background-color: #f9fafb;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-us .logo {
  width: 40%;
}

.about-us .logo img {
  max-width: 100%;
  height: auto;
}

.about-us .text-content {
  width: 55%;
  font-size: 1.25rem;
  color: #333;
}

.about-us .text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: bold;
}

.about-us .text-content p {
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* COURSES */
.courses-section {
  padding: 4rem 2rem;
  background-color: #f9fafb;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

.courses-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

.course-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.course-tile {
  background-color: #1e3a8a;
  color: white;
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s;
}

.course-tile img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.course-tile h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.course-tile p {
  font-size: 1rem;
}

.course-tile:hover {
  transform: translateY(-5px);
}

.view-more {
  padding: 0.75rem 2rem;
  background-color: #facc15;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #1e3a8a;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.view-more:hover {
  background-color: #d97706;
}


/* CONTACT */
.contact-section {
  padding: 4rem 2rem;
  background-color: #f3f4f6;
  max-width: 1200px;
  margin: auto;
}

.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
  color: #1e3a8a;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-info,
.contact-map {
  flex: 1;
  min-width: 280px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.contact-map iframe {
  width: 100%;
  border: none;
}



.footer {
  background-color: #1e3a8a;
  color: white;
  width: 100%;
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  padding: 0.75rem 0;
  font-size: 0.85rem;
  background-color: #1e3a8a;
}
.footer-right {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto; /* This centers the block horizontally */
}

  /* Responsive */
  @media (max-width: 600px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-right ul {
    flex-direction: column;
    gap: 1rem;
  }

  .about-us,
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .about-us .logo,
  .about-us .text-content,
  .contact-info,
  .contact-map {
    width: 100%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .contact-map iframe {
    height: 250px;
  }

  .affiliations-grid {
    flex-direction: column;
  }
}
.slideshow-section {
  margin: 60px auto;
  text-align: center;
  max-width: 1000px;
  padding: 0 20px;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slide-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide-image.active {
  opacity: 1;
}

.slideshow-text {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #333;
}
.view-syllabus-tile {
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-syllabus-button {
  padding: 10px 20px;
  background-color: #007bff; /* blue button */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.view-syllabus-button:hover {
  background-color: #0056b3; /* darker blue on hover */
}

