/* ===== BASE ===== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background:
    linear-gradient(rgba(135, 206, 235, 0.25), rgba(135, 206, 235, 0.25)),
    url('images/1.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* ===== STICKY HEADER WRAPPER ===== */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* ===== TOP INFO BAR ===== */
.topbar {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #f8fafc;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 1px solid #475569;
}

.topbar a {
  color: #f8fafc;
  text-decoration: none;
  margin-left: 10px;
}
.topbar a:hover { color: #38bdf8; }

/* ===== SOCIAL ICONS ===== */
.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-icons a {
  width: 28px;
  height: 28px;
  background-color: #ffffff;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-icons a:hover { transform: scale(1.15); background-color: #38bdf8; }
.social-icons img { width: 14px; height: 14px; transition: filter 0.3s ease; }
.social-icons a:hover img { filter: brightness(0) invert(1); }

/* ===== MAIN NAVBAR ===== */
.main-navbar {
  background: linear-gradient(135deg, #0a1a3b, #1e3a8a);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.main-navbar .navbar-brand {
  display: flex;
  align-items: center;
  padding: 4px 0; /* smaller vertical padding */
}
.main-navbar .nav-link {
  color: #e2e8f0 !important;
  font-weight: 500;
  margin-right: 10px;
  transition: color 0.3s ease;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: #38bdf8 !important;
}
.main-navbar .dropdown-menu {
  background-color: #334155;
  border: none;
}
.main-navbar .dropdown-item {
  color: #f1f5f9;
}
.main-navbar .dropdown-item:hover {
  background-color: #1e293b;
  color: #38bdf8;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(1.1);
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.hero-section .container {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CONTENT ===== */
.container, section, .main-content, .card, footer {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, #334155, #1e293b);
  color: #f1f5f9;
  border-top: 3px solid #38bdf8;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
}
.site-footer a { color: #38bdf8; text-decoration: none; }
.site-footer a:hover { color: #0ea5e9; text-decoration: underline; }


/* === Sticky Footer Layout === */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* This makes footer stick to bottom only if page is short */
.site-footer {
  margin-top: auto;
}

/* Optional: smooth back-to-top hover */
.site-footer a:hover {
  text-decoration: underline;
}


/* --- Services Page Enhancements --- */
.zoom-container {
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.4s ease;
  max-height: 380px;
}
.zoom-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.zoom-container:hover .zoom-image {
  transform: scale(1.08);
  cursor: zoom-in;
}

/* --- Service Titles --- */
h4.fw-bold {
  color: #003366; /* Dark blue tone */
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Underline accent */
h4.fw-bold::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #007bff; /* Bright blue accent */
  margin-top: 5px;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Hover animation for underline */
h4.fw-bold:hover::after {
  width: 80px;
}

/* Force dark blue color for service titles */
h4.fw-bold, 
h4.fw-bold a, 
.services-section h4.fw-bold {
  color: #003366 !important;
}


h4.fw-bold:hover {
  color: #001f4d !important; /* even darker blue */
}

/* ===== HERO TITLE & SUBTITLE STYLING ===== */
.hero-title {
  font-family: 'Great Vibes', cursive;
  color: #0a2a66;
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  margin-bottom: 0.2rem;
}

.hero-subtitle {
  font-family: 'Allura', cursive;
  color: #ffffff;
  background: rgba(10,42,102,0.8);
  padding: 4px 18px;
  border-radius: 20px;
  border: 2px solid #ffffff;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  display: inline-block;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* Responsive spacing for small devices */
@media (max-width: 576px) {
  .hero-title {
    margin-bottom: 0.4rem;
  }
  .hero-subtitle {
    margin-top: -5px;
  }
}


/* ===== NAVBAR BRAND STYLING ===== */
.navbar-brand {
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
}

.navbar-brand img {
  width: 40px;
  height: 40px;
  margin-right: 8px;
}

.brand-text {
  line-height: 1.2;
}

.main-name {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  line-height: 1.1;
  margin: 0;
}

/* Sub name — floating below navbar */
.sub-name {
  font-family: 'Allura', cursive;
  font-size: 1.05rem;
  color: #0a1a3b;
  background-color: #ffffff;
  padding: 3px 14px;
  border-radius: 20px;
  border: 2px solid #ffffff;
  position: absolute;
  left: 60px; /* aligns under text */
  top: 52px; /* floats below navbar without increasing height */
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  line-height: 1.1;
}

.brand-wrapper {
  position: relative;
  line-height: 1.2;
}

.team-card img {
  height: 250px;
  object-fit: cover;
  border-bottom: 3px solid #0d6efd;
}
.team-card:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

.bg-light-blue {
  background: linear-gradient(135deg, #4f7cf3, #6fa8ff);
}
.bg-soft-green {
  background: linear-gradient(135deg, #28a745, #66bb6a);
}
.bg-soft-orange {
  background: linear-gradient(135deg, #ff9800, #fbc02d);
}
.card {
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.team-card img {
  height: 250px;
  object-fit: cover;
  border-bottom: 3px solid #0d6efd;
}
.team-card:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
}






