/* ================= Navbar Styles ================= */
.navbar {
  background: linear-gradient(90deg, rgba(0,119,182,0.85), rgba(0,200,216,0.85));
  padding: 0.8rem 1rem;
}
.navbar-brand {
  font-size: 1.6rem;
  letter-spacing: 1px;
}
.navbar-nav {
  text-align: center;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  font-size: 1.15rem;
  padding: 0.6rem 1rem;
  position: relative;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}
.dropdown-menu {
  background-color: #0077b6;
  border: none;
  border-radius: 0;
  padding: 0;
}
.dropdown-menu .dropdown-item {
  color: white;
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  transition: background 0.3s ease;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #00b4d8;
}
/* Navbar Logo */
.navbar-logo {
  height: 50px;       /* adjust size */
  width: auto;

}

/* ================= Hero Section ================= */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-text-container {
  max-width: 800px;
  padding: 0 15px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0;
}

.hero-text {
  font-size: 1.3rem;
  line-height: 1.6;
  opacity: 0;
}

/* Fade-in animation for hero */
.fade-in {
  animation: fadeIn 1.2s forwards;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px);}
  100% { opacity: 1; transform: translateY(0);}
}

/* ================= Contact Page Styles ================= */
.hero.contact-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 6rem 1rem;
}

.hero.contact-hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
}

/* ================= About Section ================= */
.about {
  background: #f9f9f9;
}
.about h2 {
  font-size: 2rem;
  color: #0077b6;
}
.about p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

/* Scroll fade-in effect */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Slideshow styles */
.slideshow-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.slideshow-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.slideshow-container img.active {
  opacity: 1;
  position: relative;
}

/* Hover zoom on slideshow images */
.slideshow-container img:hover {
  transform: scale(1.05);
  transition: transform 0.6s ease;
}
