* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
}

header {
  position: relative;
  width: 100%;
  height: 100vh; 
  background-image: url("../img/b1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* color: #fff; */
}
header nav {
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  padding: 15px 50px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

header nav h2 {
  color: #fff; 
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 30px; 
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #4caf50;
}

img {
  width: 100%;
}


.whight {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.8);
  padding: 40px 60px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 2; 
}

.whight h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.whight h2.Green {
  font-size: 36px;
  color: #4caf50;
  margin: 0;
}

.border {
  position: absolute;
  top: 42%;
  left: calc(50% - 350px); 
  transform: translateY(-50%);
  width: 350px; 
  height: 200px;
  border: 4px solid rgba(255, 193, 7, 0.9);

  z-index: 1; 
  border-radius: 8px; 
}


#about {
  padding: 40px 0;
  background: #fff;
  font-family: Arial, sans-serif;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(4, 220px);
  gap: 20px;
  justify-content: center;
  align-items: start;
}


.card {
  width: 220px;
  height: 300px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 2px solid #ddd;
  backface-visibility: hidden;
  overflow: hidden;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.card-back {
  background: #fff;
  color: #333;
  padding: 15px;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}


.about-text {
  width: 220px;
  height: 300px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h2,
.card-back h2 {
  font-size: 14px;
  color: #999;
  margin-bottom: 5px;
}

.about-text h1,
.card-back h1 {
  font-size: 18px;
  color: #ffbb00;
  margin-bottom: 10px;
}

.about-text p,
.card-back p {
  font-size: 12px;
  color: #333;
  line-height: 1.5;
}








.icons {
  width: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  padding: 60px 20px;
  background-image: url("../img/b3.jpg");
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  gap: 40px;
  position: relative;
}


.icon-title {
  text-align: center;
  z-index: 2;
}

.icon-title h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
}

.icon-title h2 {
  font-size: 36px;
  margin: 0;
  color: gold;
}


.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  justify-content: center;
  justify-items: center;
  width: 100%;
  max-width: 1000px;
}

.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  padding: 20px;
  width: 120px;
  height: 120px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.icon i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #fff;
}

.icon h2 {
  font-size: 14px;
  margin: 0;
  color: gold;
}


.icon:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.2);
}
@media (max-width: 1000px) {
  .icons {
    padding: 40px 15px;
  }

  .icons-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .icon {
    width: 100px;
    height: 100px;
    padding: 15px;
  }

  .icon i {
    font-size: 24px;
  }

  .icon h2 {
    font-size: 12px;
  }
}


.services {
  padding: 60px 20px;
  width: 90%;
  margin: 0 auto;
}

.services .text {
  text-align: center;
  margin-bottom: 40px;
}

.services .text h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.services .text h2 {
  font-size: 36px;
  margin: 0;
  color: gold;
}


.services .boxs {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  justify-content: center; 
  gap: 30px; 
}


.services .box {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  padding: 20px;
  border: 2px solid black;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.services .box i {
  font-size: 28px;
  /* color: #4caf50; */
  margin-bottom: 15px;
}

.services .box h3 {
  font-size: 20px;
  color: #4caf50;
  margin-bottom: 10px;
}

.services .box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}


.services .box:hover {
  transform: translateY(-5px);
}


@media (max-width: 900px) {
  .services .boxs {
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 600px) {
  .services .boxs {
    grid-template-columns: 1fr; 
  }
}



.parasho_section {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px;
  align-items: center; 
  width: 100%;
  /* margin: 60px auto; */
  background-color: grey;
}
.parasho {
  height: 100%;
}
.parasho_section .parasho img {
  width: 100%;
  height: 100%;

  /* height: auto; */
  /* border-radius: 15px; */
  object-fit: cover;
}

.parasho_section .parasho_para {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  padding-left: 20px; 
}

.parasho_section .parasho_para h2 {
  color: #4caf50;
  font-size: 32px;
  margin-bottom: 15px;
}

.parasho_section .parasho_para p {
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}


@media (max-width: 900px) {
  .parasho_section {
    grid-template-columns: 1fr; 
    gap: 20px;
  }

  .parasho_section .parasho_para {
    text-align: center; 
    align-items: center;
    padding: 50px;
  }
}


.gallery {
  margin: auto;
  padding: 40px 20px;
  max-width: 1100px; 
}

.gallery .text {
  text-align: center;
  margin-bottom: 30px;
}

.gallery .text h3 {
  color: goldenrod;
  font-size: 20px;
}

.gallery .text h2 {
  font-size: 36px;
  font-weight: bold;
}

.images {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 15px;
}

.col-left,
.col-right {
  display: grid;
  gap: 15px;
}

.col-left .top,
.col-right .bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.col-left .bottom,
.col-right .top {
  display: grid;
}

.images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .images {
    grid-template-columns: 1fr; 
  }
}



.diving {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  grid-template-rows: repeat(2, 300px);
  width: 100%;
}

.gray_bkground {
  display: flex;
  flex-direction: column;
  /* justify-content: center;
  align-items: center; */
  padding: 50px;
  text-align: left;
  color: #fff;
}

.gray_bkground.no-img {
  background: #ccc; 
  color: #000;
}

.gray_bkground.img1 {
  background: url("../img/b4.jpg") center/cover no-repeat;
}

.gray_bkground.img2 {
  background: url("../img/g6.jpg") center/cover no-repeat;
}

.gray_bkground p:first-child {
  color: #888; 
  font-size: 14px;
  margin-bottom: 10px;
}

.gray_bkground h3 {
  color: #2ecc71; 
  margin-bottom: 10px;
}

.gray_bkground p:nth-of-type(2) {
  color: #444;
  font-size: 14px;
  margin-bottom: 15px;
}

.gray_bkground button {
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  width: 25%;
}


.no-img button {
  background: #000;
  color: #fff;
}

.img1 button,
.img2 button {
  background: rgba(255, 255, 255, 0.7);
  color: #000;
}


@media (max-width: 768px) {
  .diving {
    grid-template-columns: 1fr; 
  }
}


.booking {
  text-align: center;
  padding: 50px 20px;
  max-width: 1200px; 
  margin: 0 auto;
}

.booking h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.booking h2 {
  font-size: 36px;
  color: goldenrod; 
  margin-bottom: 40px;
}

.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.offer {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease-in-out;
}

.offer:hover {
  transform: translateY(-5px);
}

.offer .top img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.offer .bottom {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.offer .bottom h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.offer .bottom p {
  flex-grow: 1; 
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.offer .bottom button,
.offer .bottom span {
  font-size: 16px;
}

.offer .bottom button {
  border: none;
  background: none;
  color: green;
  font-weight: bold;
  cursor: pointer;
}

.offer .bottom span {
  font-weight: bold;
}

.offer .bottom div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.subscribe {
  background: url("../img/b4.jpg") no-repeat center center/cover; 
  padding: 80px 20px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}

.subscribe h3 {
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.subscribe h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: gold;
}

.subscribe h2 span {
  color: gold; 
}

.mail {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: rgba(200, 200, 200, 0.3); 
  padding: 15px;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
}

.mail input {
  padding: 12px 15px;
  border: none;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  width: 100%;
}

.mail button {
  background: green;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.mail button:hover {
  background: darkgreen;
}


@media (max-width: 600px) {
  .mail {
    grid-template-columns: 1fr; 
  }

  .mail button {
    width: 100%;
  }
}


.contact {
  text-align: center;
  padding: 50px 20px;
}

.contact h2 {
  color: goldenrod;
  margin-bottom: 40px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 30px;
  align-items: stretch;
  max-width: 1100px;
  margin: auto;
}

.contact .map {
  width: 100%;
  min-height: 400px;
}

.contact .form form {
  display: grid;
  gap: 20px;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.grid-one {
  display: grid;
}

.contact input,
.contact button,
.contact textarea {
  padding: 12px;
  border: 1px solid #333;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
}

.contact textarea {
  min-height: 250px;
  resize: vertical;
}

.contact button {
  background: green;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact button:hover {
  background: darkgreen;
}


@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr; 
    max-width: 100%;
    margin: 0 auto; 
  }

  .contact .map {
    min-height: 250px; 
  }

  .grid-two {
    grid-template-columns: 1fr; 
  }
}


footer {
  width: 100%;
  /* height: 300px;  */
  background: #222;
  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  gap: 20px; 
}
footer .top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 15px;
  padding: 30px;
  gap: 30px;
}
footer .data {
  text-align: center;
  display: grid;
  gap: 10px;
  font-size: 16px;
  max-width: 200px;
  margin: 50px auto 0 auto;
  color: grey;
}

footer .data span {
  font-weight: bold;
  color: white;
}

footer .info_icon {
  display: flex;
  gap: 20px;
  font-size: 20px;
  cursor: pointer;
}

footer span i {
  font-size: 24px;
  cursor: pointer;
}

footer .fooot {
  background: #000;
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  margin-top: auto; 
}
