* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: Arial, sans-serif;
  height: 100%;
}


.top-bar {
  display: flex;
  height: 80px;
  background-color: white;
}

/* Logo box on the left */
.logo-box {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 80.4px;
  height: 100%;
  position: relative;
  top: -41px; /* Move it upward to overlap the social bar */
  z-index: 3; /* Make sure it's above the social-icons */
  width: 29.3%
}

.logo-box img {
  display: block;
  margin: 0 auto;       /* Horizontally center it */
  height: 0 auto;       /* Horizontally center it */         /* control logo size*/
  object-fit: contain;  /* Keep aspect ratio */          
  padding: 0; /* Ensure no extra space */
}


.logo {
  height: 60px;
  display: block;
}

/* Social Media Icons Container */
.social-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 5px 20px;
  background-color: rgb(41, 164, 226);
  gap: 10px;
}

.social-icons a img {
  height: 20px;
  width: 20px;
  transition: transform 0.2s;
}

.social-icons a:hover img {
  transform: scale(1.2);
}

/* Nav bar */
/* Nav bar on the right */
.nav-bar {
  flex-grow: 1;
  background-color: #47bdfc; /* ocean blue */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  padding: 0 20px;
  position: relative;
}

/* Blue vertical separators */
.nav-links li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 80%;
  width: 2px;
  background-color: #005f8f; /* deeper ocean blue */
}

.nav-links a {
  text-decoration: none;
  color: #0a556e;
  font-weight: bold;
}



.hero {
  display: flex;
  height: calc(100vh - 80px);
  position: relative;
  background-image: url('../images/vertical-closeup-shot-stripped-exotic-tropical-fish-swimming-deep-underwater.jpg');  /* applies behind everything */
  background-size: cover;
  background-position: center;
  z-index: 0;
}


.left-column {
  width: 40%;
  color: white;
  padding: 50px 30px;
  z-index: 1;
}

.left-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
.left-column h1 {
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.tagline {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

.tagline a {
  color: inherit;          /* make it use the same white as the surrounding text */
  text-decoration: none;   /* remove underline */
}

.tagline a:hover {
  color: #001aff;          /* optional: highlight on hover (e.g., blue) */
}



.read-more-btn {
  display: inline-block;   /* shrink to text size */
  background: white;
  color: #0077aa;
  font-weight: bold;
  padding: 8px 12px;
  text-decoration: none;
  margin-bottom: 30px;
  align-self: flex-start;  /* prevents stretching in flexbox */
  border-radius: 4px;      /* optional: nicer look */
}

.announcement {
  margin-top: auto;       /* pushes announcements to the bottom of the column */
  border-top: 3px solid white;
  padding-top: 20px;
}

.announcement h3 {
  margin: 0;              /* prevent browser margin quirks */
  font-size: 18px;
  font-weight: bold;
}

.right-column {
  width: 60%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}


.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* 🔹 Intro Section (above MSP Thematic Areas) */
.intro-section {
  background: #fff;
  padding: 60px 40px;
}

.intro-heading {
  text-align: center;
  font-size: 2.2rem;
  color: #003366;
  margin-bottom: 40px;
  font-weight: bold;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.intro-card {
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.intro-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.intro-card h3 {
  font-size: 1.3rem;
  color: #003366;
  margin-bottom: 10px;
}

.intro-card p {
  font-size: 0.95rem;
  color: #333;
  flex-grow: 1;
  margin-bottom: 15px;
}

.intro-learn {
  display: inline-block;
  padding: 8px 12px;
  background: #003366;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.intro-learn:hover {
  background: #005f8f;
}

/* 🔹 Responsive Layout */
@media (max-width: 992px) {
  .intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}


.msp-thematic-section {
  background-color: #a2d8f0; /* Light blue background */
  padding: 60px 40px;
}

.msp-heading {
  text-align: center;
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 40px;
  font-weight: bold;
}

.msp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .msp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .msp-grid {
    grid-template-columns: 1fr;
  }
}


.msp-card {
  background-color: white;
  border: 2px solid white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.msp-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.msp-content {
  padding: 15px;
}

.msp-content h3 {
  color: white;
  background: rgba(0, 51, 102, 0.85);
  padding: 10px;
  margin-top: -40px;
  font-size: 1.2rem;
}

.msp-content p {
  margin: 15px 0;
  font-size: 0.95rem;
  color: #003366;
}

.learn-more {
  background: white;
  border: none;
  color: #003366;
  padding: 5px 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-block;
  transition: 0.3s ease;
}

.learn-more:hover {
  background: #003366;
  color: white;
}

.msp-info-section {
  padding: 60px 30px;
  background: #fff;
}

.msp-info-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.msp-info-column {
  flex: 1 1 30%;
  min-width: 280px;
}

.msp-info-title {
  font-size: 1.4em;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.arrow {
  font-weight: bold;
  color: #0070b8; /* ocean blue */
}

.blue {
  color: #1b4f91;
}

.feature-content {
  border: 1px solid #ccc;
  padding: 20px;
  background: #f9f9f9;
}

.feature-content h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.feature-content p {
  font-size: 0.95em;
  color: #333;
  margin-bottom: 15px;
}

.learn-more {
  display: inline-block;
  padding: 6px 12px;
  background: #ddd;
  font-size: 0.5em;
  text-decoration: none;
  color: #000;
}

.event {
  margin-bottom: 20px;
}

.event-date {
  color: #1b4f91;
  font-weight: bold;
}

.event-title {
  font-size: 1em;
}

.blue-bold {
  color: #6e6fb6;
  font-weight: bold;
}

.gray-bold {
  color: #666;
  font-weight: bold;
}

.updates-list {
  list-style: none;
  padding: 0;
}

.updates-list li {
  margin-bottom: 10px;
  font-size: 0.95em;
  position: relative;
  padding-left: 20px;
}

.updates-list li::before {
  content: "::";
  position: absolute;
  left: 0;
  color: #444;
}

.contact-section {
  background-color: rgb(150, 207, 240);
  padding: 50px 30px;
  color: #070000;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-left: 2px solid white;
}

.contact-column {
  flex: 1;
  padding: 0 20px;
  border-right: 2px solid white;
}

.contact-column:last-child {
  border-right: none;
}

.contact-column h3,
.contact-column h4 {
  margin-bottom: 15px;
  font-weight: bold;
}

.contact-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-column ul li {
  margin-bottom: 10px;
}

.contact-column p {
  margin: 0;
  line-height: 1.5;
}

.footer-section {
  background-color: #1f47f9; 
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
}

.footer-description {
  max-width: 1000px;
  margin: 0 auto 15px;
  line-height: 1.6;
  font-size: 16px;
}

.footer-copy {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}

/* Two-column Biodiversity header layout */
.biodiversity-header {
  display: flex;
  flex-wrap: wrap;
  padding: 60px;
  background-color: #f9f9f9;
  gap: 40px;
}

.bio-left {
  flex: 2;
  min-width: 300px;
}

.bio-left h1 {
  font-size: 36px;
  color: #003366;
  margin-bottom: 20px;
}

.bio-left p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.bio-right {
  flex: 1;
  min-width: 250px;
}

.bio-right h2 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 15px;
}

.msp-thematic-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.msp-thematic-list li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #003366;
}

.msp-thematic-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
/* Layout for white box with side image stacks */
.white-hero-box {
  background: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.white-box-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 20px;
}



/* Each column balances width 
.image-column {
  flex: 1;                        
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

*/

.image-column img {
  width: 500px;                     /* fit within column */              /* prevents oversized squares */
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Center text block with balanced width */
.white-box-content {
  flex: 2;                        /* text gets more space than images */
  text-align: center;
  color: #333;
  max-width: none;                /* no artificial squeeze */
  padding: 20px;   /* 🔹 Add this line */

}

.white-box-content h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 15px;
}

.white-box-content p {
  font-size: 16px;
  line-height: 1.6;
}



/* Center text block with balanced width */
.white-box-content {
  flex: 2;                        /* text gets more space than images */
  text-align: center;
  color: #333;
  max-width: none;                /* no artificial squeeze */
}

.white-box-content h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 15px;
}

.white-box-content p {
  font-size: 16px;
  line-height: 1.6;
}

/* Align LEARN MORE links to the left inside intro cards */
.intro-card .intro-learn {
  align-self: flex-start; /* push to the left edge */
  margin-top: auto;       /* keeps it at the bottom of the card if content is short */
}

.submit-btn {
  display: block;           /* makes it take the full width line */
  margin: 20px auto 0;      /* push it down with spacing, center horizontally */
  padding: 12px 24px;       /* comfortable clickable area */
  background-color: #0077cc;/* ocean blue */
  color: #fff;              /* white text */
  border: none;             /* remove default border */
  border-radius: 6px;       /* slightly rounded corners */
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #005f99; /* darker on hover */
}
