/* Active nav */
#home .home-pg,
#observe .observe-pg,
#wildlife .wildlife-pg,
#future .future-pg {
  color: rgb(165, 172, 227);
  font-weight: bold;
  border-bottom: 3px solid;
}

/* google font */
@import url('https://fonts.googleapis.com/css2?family=Rowdies:wght@300;400;700&display=swap');
/* google font */

/* reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* text */
li,
a,
button {
  font-family: "Rowdies", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #000;
  text-decoration: none;
}

/* body */
body {
  background-image: url("../images/image9.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

#observe {
  background-image: url("../images/image11.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}


#future {
  background-image: url("../images/image18.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

#wildlife {
  background-color: #0d3c79;
  background-image: none;
}

#future {
  background-color: none
}

.card-image-small {
  width: 300px;
  height: 200px;
  object-fit: cover;
}


/* header start */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 10%;
  position: relative;
}

.logo {
  position: absolute;
  left: 30px;
  top: 10px;
  cursor: pointer;
}

/* header end */

/* nav start*/
.nav_links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 15px 30px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
}

.nav_links li a.active {
  background-color: #6fa8dc;
  padding: 8px 15px;
  border-radius: 20px;
  background-color: #0920a0;
  padding: 8px 15px;
  border-radius: 20px;
}

.nav_links li a:hover {
  color: #0041a9;
}
nav a.active {
  color: white;
}
/* nav end*/


/* button start */
button {
  padding: 9px 25px;
  background-color: rgb(0, 82, 169);
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

button:hover {
  background-color: rgba(0, 136, 169, 0.8);
}

/* button end */


/* text color start */
h1,
h2,
p {
  color: white;
}

/* text color end */


/* index.html start */

/* hero start */
.hero {
  width: 1200px;
  margin: 40px auto;
  padding: 25px;
  background-color: rgba(10, 76, 134, 0.4);
  border-radius: 30px;
}

.hero h2 {
  font-size: 30px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  /*hero end*/
}


/*  card layout */
.center-parent {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 25px;
  max-width: 1100px;
  margin: 80px auto;
  flex-wrap: wrap;
}

.card {
  width: 30%;
  min-width: 260px;
  padding: 25px;
  background-color: #0a4c86;
  border-radius: 30px;
  text-align: center;
  border: 4px solid rgb(255, 255, 255);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.card-row {
  padding: 25px;
  background-color: #0a4c86;
  border-radius: 30px;
  text-align: left;
  border: 4px solid rgb(255, 255, 255);

  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  width: min(1400px, calc(100% - 32px));
  margin: 20px auto;
}

.card-row>p {
  flex: 1;
  line-height: 1.6;
}



.card-row-text p {
  line-height: 1.6;
  font-size: large;
}


.card-row .card-image-small {
  width: 240px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 16px;
  object-fit: cover;
}

.card-row .seal-image {
  width: 180px;
  height: auto;
  object-fit: contain;
}


/* footer start */
.footer {
  background-color: #0088A9;
  width: 100%;
  color: white;
  text-align: center;
  padding: 15px;
}

/* footer end */

/* observe start */
#observe .observe-wrap {
  max-width: 1300px;
  margin: 20px auto 60px;
  padding: 0 24px;
}

#observe .observe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
}
/* observe end */



/* mud reef start */

#observe .observe-card__text {
  background: rgba(9, 90, 211, 0.774);
  padding: 18px 22px;
  margin: 0;
  border-radius: 0 0 30px 30px;
}

#observe .observe-card__text h2 {
  font-size: 20px;
  margin: 0 0 8px;
  text-align: center;
}

.card-row {
  background-color: rgba(13, 79, 139, 0.6);
}





#observe .observe-card__text p {
  font-size: 13px;
  line-height: 1.45;
}


#observe .observe-card-mud .observe-card__img {
  position: relative;
  left: 40px;
}

#observe .observe-card-reef .observe-card__img {
  width: 60%;
  max-width: 500px;
  margin-top: 3;
}

/* mud reef end */



/* table start */
table {
  width: 70%;
  margin: 20px auto;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

th,
td {
  border: 1px solid #000;
  padding: 12px;
  text-align: center;
}

th {
  background-color: #333;
  color: white;
  text-align: center;
}

td:nth-child(2) {
  width: 60%;
}


tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:nth-child(odd) {
  background-color: #ddd;
}


tr:hover {
  background-color: #5165f6;
}

tr:hover td,
tr:hover th {
  color: white;
}

/* table end */

.flex-container {
  display: flex;
  width: 100%;
}

.flex-item {
  margin-left: auto;
  width: 250px;
  padding: 20px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  margin-top: 20px;
  margin-right: 10px;
  line-height: 1.6;
}

#future p {
  font-size: 25px;
  line-height: 1.6;
  color: #ffffff;
}

/* blue start */
.container-blue-border {
  background-color: #0a4c86;
  border: 2px solid white;
  border-radius: 40px;
  padding: 30px;
  margin: 40px auto;
  max-width: 1999px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
}


.container-blue {
  background-color: #0a4c86;
  border-radius: 40px;
  padding: 30px;
  margin: 40px auto;
  max-width: 1999px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
}




/* blue end */

.blue-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}





.future-card-text {
  max-width: 900px;
  margin: 30px auto 0;
  text-align: center;
}


/* ocean start */
.card-image-large {
  display: block;
  border-radius: 30px;
  width: 613px;
  height: 374px;
  object-fit: cover;

}

/* ocean end */



img {
  max-width: 100%;
  height: auto;
  display: block;
}



/* fish start */
.future-image-left {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 30px auto;
  border-radius: 12px;
}

/* fishend */

/* future end */




/* media queies start  */


/* mobile start */
@media (orientation: portrait) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .logo {
    position: static;
    margin-bottom: 15px;
  }

  body {
    font-size: x-large;
  }


  .hero {
    width: 100%;
  }

  .card-row,
  .container-blue,
  .container-blue-border {
    border: 0;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    font-size: xx-large;
  }

  .card-row img,
  .container-blue img,
  .container-blue-border img {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-size: xx-large;
  }

  .hero p,
  .card-row p,
  .container-blue p,
  .container-blue-border p {
    width: 100%;
    font-size: xx-large;
  }

  p {
    font-size: xx-large;
  }

  .nav_links {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
  }

  .nav_links li a {
    font-size: 20px;
    display: inline-block;
  }


  .card-row .seal-image {
    width: 180px;
    max-width: 180px;
    height: auto;
  }

  .card-row {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .logo {
    position: static;
    margin-bottom: 15px;
  }

  .card-row>p {
    width: 100%;
  }

}
