/* ======================================
   GLOBAL VARIABLES & BASE THEME
   ====================================== */
:root {
  --brand: #0e4d3c;
  --accent: #0aa6c9;
  --dark: #0b3d2f;
  --light-bg: #f6f9fb;
  --text-color: #1c1f21;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-color);
  margin: 0;
  background-color: #ffffff;
  line-height: 1.6;
}

/* ======================================
   LINKS
   ====================================== */
a {
  text-decoration: none;
  color: var(--accent);
  transition: color 0.3s ease;
}
a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* ======================================
   NAVBAR
   ====================================== */
.navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  z-index: 1000;
}
.navbar-brand img {
  height: 44px;
}
.nav-link.active {
  color: var(--brand) !important;
  font-weight: 600;
}

/* ======================================
   HERO / BANNER SECTION
   ====================================== */
.hero {
  position: relative;
  width: 100%;
  height: 65vh; /* balanced to show full meter */
  overflow: hidden;
  z-index: 1;
  background: #000;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ensures full meter is visible */
  display: block;
  filter: brightness(0.9) contrast(1.05);
  transition: transform 10s ease;
}

.hero:hover .hero-img {
  transform: scale(1.02);
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25));
  z-index: 2;
}

.hero .caption {
  position: absolute;
  bottom: 10%;
  left: 6%;
  max-width: 640px;
  color: #fff;
  z-index: 3;
}

.hero .caption h1 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}
.hero .caption p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero .btn-success {
  background-color: var(--brand);
  border: none;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  transition: background 0.3s;
}
.hero .btn-success:hover {
  background-color: var(--accent);
}

/* Subtle fade to next section */
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), #fff);
  z-index: 3;
}

/* ======================================
   INTRODUCTION SECTION
   ====================================== */
.intro-section {
  position: relative;
  z-index: 4;
  background: #fff;
}
.text-brand {
  color: var(--brand);
  font-weight: 700;
}
.intro-section p {
  text-align: justify;
}

/* ======================================
   FOOTER
   ====================================== */
footer {
  background: var(--dark);
  color: #d0f5eb;
  padding: 1.2rem 0;
  font-size: 0.95rem;
  text-align: center;
}
footer a {
  color: #b0ece3;
  text-decoration: none;
}
footer a:hover {
  color: #ffffff;
}

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */
@media (max-width: 992px) {
  .hero {
    height: 55vh;
  }
  .hero .caption {
    left: 5%;
    right: 5%;
    bottom: 12%;
  }
}
@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }
  .hero .caption h1 {
    font-size: 1.8rem;
  }
  .hero .caption p {
    font-size: 1rem;
  }
}

/* ======================================
   SMOOTH ANIMATIONS (AOS)
   ====================================== */
[data-aos] {
  transition: all 0.6s ease-out !important;
}
/* ======================================
   LEADERSHIP PAGE
   ====================================== */
.leadership-section {
  background: var(--light-bg);
  padding: 3rem 0;
}

.card h5 {
  font-weight: 600;
}

.card p.text-justify {
  text-align: justify;
}

.card .small {
  font-weight: 500;
  color: var(--accent);
}
/* ======================================
   TECHNOLOGY PAGE STYLING
   ====================================== */

#tech-text {
  background: linear-gradient(135deg, rgba(14, 77, 60, 0.1), rgba(10, 166, 201, 0.08));
  border-left: 6px solid var(--brand);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: justify;
  line-height: 1.7;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

#tech-text p {
  margin-bottom: 1rem;
  color: #1a1d1f;
}

video {
  border: 3px solid rgba(10, 166, 201, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

video:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Responsive behavior */
@media (max-width: 768px) {
  #tech-text {
    margin-bottom: 1.5rem;
  }

  video {
    max-height: 300px;
  }
}


