/* Base */
body {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #212529;
  margin: 0;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  transition: background-color 0.3s ease;
  z-index: 999;
}
.navbar.transparent { background-color: rgba(15,84,140,0.6); }
.navbar.solid { background-color: #0f548c; }
.navbar .navbar-brand,
.navbar .nav-link { color: #fff !important; }
.navbar .nav-link:hover { color: #f8f9fa !important; }
.navbar .navbar-brand { font-size: 1.6rem; font-weight: 700; font-family: 'Open Sans', sans-serif; }
.navbar .navbar-brand img { height: 42px; width: auto; margin-right: 10px; vertical-align: middle; }

/* Hero */
.hero { height: 100vh; padding-top: 80px; overflow: hidden; position: relative; }
.hero video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1; /* no opacity here */
}
.hero-content {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); text-align: center; color: #fff; padding: 0 20px; z-index: 1;
}
/* Responsive hero text */
.hero-content h1 {
  font-family: 'Cormorant Upright', serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 5vw;
  white-space: nowrap;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
  max-width: 100%;
  overflow: hidden;
}
.hero p.lead {
  font-size: 2vw;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
}
@media (max-width: 992px) {
  .hero-content h1 { font-size: 4vw; white-space: normal; }
  .hero p.lead { font-size: 2.6vw; }
}
@media (max-width: 576px) {
  .hero-content h1 { font-size: 7vw; white-space: normal; }
  .hero p.lead { font-size: 4vw; }
}

/* Sections */
.section-title { font-size: 2rem; margin-bottom: 20px; text-align: center; color: #0f548c; }

.service-card {
  border: 2px solid #0f548c; border-radius: 10px; padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex; flex-direction: column; height: 100%;
}
.service-icon { font-size: 2.5rem; color: #0f548c; margin-bottom: 10px; text-align: center; }

/* Force left-aligned bullets inside cards and info boxes */
.service-card ul,
#about ul { list-style: disc; padding-left: 1.5rem; text-align: left; }

/* Contact section (if used elsewhere) */
.contact-section {
  background-image: url('/images/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  position: relative;
  color: white;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.75);
  z-index: 0;
}
.contact-section .container {
  position: relative;
  z-index: 1;
}


.btn-custom-blue {
  background-color: #0f548c; /* same blue you’re using elsewhere */
  color: #fff;
  border: none;
  transition: background-color 0.2s ease-in-out;
}

.btn-custom-blue:hover,
.btn-custom-blue:focus {
  background-color: #0c3f68; /* darker shade for hover */
  color: #fff;
}


/* Footer theme */
footer.footer { 
  background-color: #0f548c !important; 
  color: #fff !important; 
}
footer.footer a,
footer.footer .footer-link { 
  color: #fff !important; 
  text-decoration: underline; 
}






/* Profile image */
.img-profile { width: 100%; max-width: 250px; border-radius: 50%; border: 4px solid #0f548c; }

/* Modal (used by footer links) */
#modal-overlay {
  display: none; opacity: 0; transition: opacity 0.3s ease;
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2000; justify-content: center; align-items: center;
}
#modal-overlay.show { display: flex; opacity: 1; }
#modal-content {
  background: #fff; max-width: 600px; max-height: 80vh; overflow-y: auto;
  padding: 20px; border-radius: 8px; position: relative; color: #000; text-align: left;
  opacity: 0; transform: translateY(20px); transition: all 0.3s ease;
}
#modal-overlay.show #modal-content { opacity: 1; transform: translateY(0); }
#modal-close { position: absolute; top: 10px; right: 10px; background: transparent; border: 0; font-size: 1.5em; cursor: pointer; }
#modal-body { white-space: pre-wrap; }
