/* ===============================
   IMPORT GOOGLE FONT
================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===============================
   RESET
================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #eef2f5;
  color: #222;
  overflow-x: hidden;
}

/* ===============================
   NAVBAR
================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 68, 117, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: background 0.3s ease-in-out;
}

.navbar.scrolled {
  background: rgba(0, 120, 180, 0.95);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #b5f4ff;
}

/* ===============================
   HERO SECTION
================================== */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  background: #0b3b70; /* fallback if images fail */
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 1.2s ease;
}

/* ===============================
   SECTION STYLE
================================== */
.section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 50px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  animation: fadeIn 1.4s ease;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #00385f;
}
/* Enclosed About Section */
.about-section.enclosed {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Each block spacing */
.about-block {
  margin-bottom: 40px;
}

.about-block h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #003b6f;
}

.about-block p {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
}


/* ===============================
   LEADERSHIP GRID
================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.leader {
  background: #e1f5fe;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.leader-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

/* ===============================
   SUBSIDIARIES
================================== */
.subsidiaries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.subsidiary {
  background: #f0fbff;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s ease;
  border: 1px solid #d4eef7;
}

.subsidiary:hover {
  background: #e4f8ff;
  transform: translateY(-5px);
}

/* ===============================
   NEWS ARTICLE CARD
================================== */
.news-article {
  background: #f0fbff;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 30px;
  border-left: 6px solid #00c2cb;
  box-shadow: 0 5px 18px rgba(0,0,0,0.05);
  animation: fadeIn 1.2s ease;
}

.news-article h3 {
  margin-bottom: 10px;
  color: #00385f;
  font-size: 1.4rem;
  font-weight: 600;
}

.news-article p {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ===============================
   NEWS PHOTO GALLERY
================================== */
.news-gallery {
  margin-top: 40px;
  padding: 20px;
  background: linear-gradient(to right, #e0f7fa, #e1f5fe);
  border-radius: 15px;
}

.news-gallery h3 {
  text-align: center;
  color: #00385f;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===============================
   LEADERSHIP VIDEO
================================== */
.leadership-section {
  margin-top: 20px;
  padding-top: 10px;
}

.leadership-section h3 {
  color: #00385f;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.video-caption {
  text-align: center;
  margin-top: 10px;
  font-size: 1rem;
  color: #333;
  font-weight: bold;
  font-style: italic;
}

/* ===============================
   CONTACT FORM
================================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ccd7e0;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00c2cb;
  box-shadow: 0 0 10px rgba(0, 194, 203, 0.2);
}

.contact-form button {
  width: fit-content;
  padding: 12px 25px;
  background: #00c2cb;
  border: none;
  border-radius: 25px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: #009aa2;
  transform: translateY(-2px);
}

/* ===============================
   FOOTER
================================== */
footer {
  text-align: center;
  padding: 25px 10px;
  margin-top: 60px;
  background: #00385f;
  color: white;
}

/* ===============================
   ANIMATIONS
================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===============================
   RESPONSIVE
================================== */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }

  .gallery-item img {
    height: 150px;
  }
}
/* ===============================
   ABOUT US SECTION BLUE BOX
================================== */
.about-section.blue-box {
  max-width: 900px;
  margin: 80px auto;
  padding: 40px 35px;
  background: linear-gradient(135deg, #004b80, #007acc);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  animation: fadeIn 1.2s ease;
}

/* Individual blocks inside blue box */
.about-section.blue-box .about-block h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
  border-left: 5px solid #4fc3ff;
  padding-left: 12px;
}

.about-section.blue-box .about-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #e8f5ff;
}

/* Hover effect only inside blue box */
.about-section.blue-box .about-block:hover {
  transform: translateY(-4px);
  transition: 0.3s ease;
}



/* Hover effect (subtle corporate) */
.about-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.cta-btn {
  padding: 12px 32px;
  background: linear-gradient(135deg, #0b3b70, #1a73e8);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #1457a7, #1e88ff);
}
/* ===============================
   FEATURED PHOTO1 FULL WIDTH
================================== */
.news-gallery .gallery-item:first-child {
  grid-column: 1 / -1; /* span full width of grid */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 20px;
}

.news-gallery .gallery-item:first-child img {
  width: 100%;       /* occupy full width of container */
  max-width: 1200px; /* cap so it doesn't explode on huge screens */
  height: auto;      /* maintain original aspect ratio */
  object-fit: cover; /* fills container but ensures key areas visible */
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 12px;
}

.news-gallery .gallery-item:first-child em {
  text-align: center;
  display: block;
  font-size: 16px;
  color: #f0f8ff;
  max-width: 1200px;
}
/* ===============================
   SUSTAINABILITY & INNOVATION STYLING
   Match About Us (blue-box) look
================================== */
#sustainability {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 35px;
  background: linear-gradient(135deg, #004b80, #007acc); /* like blue-box */
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  animation: fadeIn 1.2s ease;
}

#sustainability h2,
#sustainability h3 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  border-left: 5px solid #4fc3ff;
  padding-left: 12px;
}

#sustainability p,
#sustainability li {
  font-size: 16px;
  line-height: 1.8;
  color: #e8f5ff;
  margin-bottom: 15px;
}

#sustainability ul {
  list-style-type: disc;
  padding-left: 25px;
}

/* Hover effect for stacked blocks inside sustainability */
#sustainability .about-block:hover {
  transform: translateY(-4px);
  transition: 0.3s ease;
}
