/* ===============================
   Global Styles for Your Trustee Website
   =============================== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #f8f9fb;
  color: #222;
}

h1, h2, h3 { color: #002855; margin-bottom: 10px; }
p { line-height: 1.6; }

/* ===============================
   Header (Logo + Navigation)
   =============================== */
.main-header {
  background: linear-gradient(90deg, #003a70, #00509e);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10%;
}
.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
}
.company-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.company-name {
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}

.company-meta small {
  font-size: 12px;
  color: #dce6f2;
  opacity: 0.9;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
  color: #f7c948;
}

/* ===============================
   Carousel Banner
   =============================== */
.carousel {
  position: relative;
  overflow: hidden;
  max-height: 480px;
}
.carousel-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: brightness(75%);
}
.carousel-caption {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  background: rgba(0,0,0,0.4);
  padding: 15px 30px;
  border-radius: 8px;
}
.carousel-caption h2 { font-size: 28px; margin-bottom: 10px; color: white; }
.carousel-caption p { font-size: 16px; opacity: 0.9; }

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: background 0.3s;
  user-select: none;
}
.prev:hover, .next:hover { background-color: rgba(0,0,0,0.5); }
.prev { left: 20px; }
.next { right: 20px; }
.fade { animation: fade 1s ease-in-out; }
@keyframes fade { from {opacity: .4;} to {opacity: 1;} }

/* ===============================
   Sections and Cards
   =============================== */
section { padding: 60px 10%; text-align: center; }
section.light-bg { background-color: #eef4fb; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.card i { font-size: 35px; color: #00509e; margin-bottom: 15px; }

/* ===============================
   Contact Page Styling (No Form)
   =============================== */
.contact-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
}
.contact-info {
  flex: 1 1 450px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
}
.contact-info h3 { color: #003a70; margin-bottom: 15px; }
.contact-info p { margin-bottom: 10px; }
.contact-image {
  flex: 1 1 400px;
  text-align: center;
}
.contact-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* ===============================
   Footer
   =============================== */
footer {
  background-color: #002855;
  color: #fff;
  text-align: center;
  padding: 40px 10px;
}
footer p, footer small { margin: 5px 0; }
footer .disclaimer {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 10px;
}

/* ===============================
   Responsive Adjustments
   =============================== */
@media (max-width: 768px) {
  .header-container { flex-direction: column; gap: 10px; }
  .nav-links { display: flex; flex-wrap: wrap; justify-content: center; }
  .carousel-caption h2 { font-size: 22px; }
  .carousel-caption p { font-size: 14px; }
}


/* Disclaimer banner */
.disclaimer-banner {
  background: linear-gradient(90deg, #f7c948, #ffde73);
  color: #002855;
  font-weight: 500;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 8px 0;
  border-bottom: 2px solid #003a70;
}

.scrolling-text {
  display: inline-block;
  animation: scrollText 25s linear infinite;
  padding-left: 100%;
}

@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
