@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f2f2f2;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  display: flex;
  justify-content: center;
  background: #ffffff;
}

.navbar {
  display: flex;
  padding: 0 13px;
  max-width: 100%;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.navbar input#menu-toggler {
  display: none;
}

.navbar #hamburger-btn {
  cursor: pointer;
  display: none;
}

.navbar .all-links {
  display: flex;
  align-items: center;
}

.navbar .all-links li {
  position: relative;
  list-style: none;
}

.navbar .logo a {
  display: flex;
  align-items: center;
  margin-left: 0;
  height: 58px;
}

.navbar .logo a p {
  font-size: 15px;  /* Adjust text size */
  margin: 0;
  color: #0001ff;
  font-weight: 500;
}

.navbar .logo a img {
  height: 45px;  /* Adjust the height as needed */
  width: auto;   /* Keeps the aspect ratio of the image */
  margin-right: 10px;  /* Space between the image and the text */
}

header a{
  margin-left: 40px;
  text-decoration: none;
  color: #249000;
  height: 58px;
  padding: 20px 0;
  display: inline-block;
}

header a:hover, footer a:hover {
  color: #ddd;
}

.homepage {
  height: 100vh;
  width: 100%;
  position: relative;
  background: url("images/ship-home.jpg");
  background-position: center 65%;
  background-size: cover;
  background-attachment: fixed;
}

.homepage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.homepage .content {
  display: flex;
  height: 95%;
  z-index: 3;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.homepage .content h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 10px;
}

.homepage .content .text {
  margin-bottom: 50px;
  color: #fff;
  font-size: 20px;
  text-align: center;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 1.3);
}

.homepage .content .text p{
  font-size: 21px;
}
@media screen and (max-width: 768px) {
  .navbar .all-links {
    display: none; /* Hide the navigation links on small screens */
  }

  #hamburger-btn {
    display: block;
    padding-top: 7px; /* Show the hamburger menu button on smaller screens */
  }

  .navbar input#menu-toggler:checked + #hamburger-btn + .all-links {
    display: flex; /* Show the menu when checkbox is checked */
    flex-direction: column; /* Stack the links vertically */
    position: absolute;
    top: 57px;
    left: 0;
    background: #ffffff;
    width: 100%;
    padding: 10px 36px 0px 0px;
  }

  .navbar .logo a img {
    height: 35px;  /* Adjust logo size for mobile */
  }
}
.content a {
  color: #000;
  display: block;
  text-transform: uppercase;
  font-size: 18px;
  margin: 0 10px;
  padding: 10px 30px;
  border-radius: 5px;
  background: #fff;
  border: 2px solid #fff;
  transition: 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 1.3);
  text-decoration: none;
}

.content a:hover {
  color: #fff;
  background: rgba(255,255,255,0.3);
}

section {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 80px 0 0;
}

section h2 {
  font-size: 2rem;
}

section > p {
  text-align: center;
}

section .cards {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-top: 50px;
  padding: 0 10px;
  justify-content: space-between;
}

section.about {
  margin: 0 auto;
  max-width: 1200px;
  margin-bottom: 35px;
}

.about .company-info {
  margin-top: 30px;
}

.about h3 {
  margin: 30px 0 10px;
}

.about .team {
  text-align: left;
  width: 100%;
}

.about .team ul {
  padding-left: 20px;
}

section .cards .card {
  background: #fff;
  padding: 40px 15px;
  list-style: none;
  border-radius: 5px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
  width: calc(100% / 3 - 30px);
  text-align: center;
}

.portfolio .cards .card {
  padding: 0 0 20px;
}

.services .card img {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 100%;
  object-fit: cover;
}

.portfolio .card img {
  width: 100%;
  padding-bottom: 10px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
}

.cards .card p {
  padding: 0 15px;
  margin-top: 5px;
}

.about .row {
  padding: 0 10px;
}

.contact .row {
  margin: 60px 0 90px;
  display: flex;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.contact .row .col {
  padding: 0 10px;
  width: calc(100% / 2 - 50px);
}

.contact .col p {
  margin-bottom: 25px;
}

.contact .col p i {
  color: #7a7a7a;
  margin-right: 10px;
}

.contact form input {
  height: 45px;
  margin-bottom: 20px;
  padding: 10px;
  width: 100%;
  font-size: 16px;
  outline: none;
  border: 1px solid #bfbfbf;
}

.contact form textarea {
  padding: 10px;
  width: 100%;
  font-size: 16px;
  height: 150px;
  outline: none;
  resize: vertical;
  border: 1px solid #bfbfbf;
}

.contact form button {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 17px;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  background: #333;
  transition: 0.2s ease;
}

.contact form button:hover {
  background: #525252;
}

footer {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #000;
  padding: 20px 0;
}

footer div {
  padding: 0 10px;
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

footer span {
  color: #fff;
}

footer a {
    padding: 11px;
    color: white;
    text-decoration: none;
}

@media screen and (max-width: 860px) {
  .navbar .all-links {
    position: fixed;
    left: -100%;
    width: 300px;
    display: block;
    height: 100vh;
    top: 58px;
    background: #ffffff;
    transition: left 0.3s ease;
  }

  .navbar #menu-toggler:checked~.all-links {
    left: 0;
  }

  .navbar .all-links li {
    font-size: 18px;
  }

  .navbar #hamburger-btn {
    display: block;
  }

  section > p {
    text-align: center;
  }

  section .cards .card {
    width: calc(100% / 2 - 15px);
    margin-bottom: 30px;
  }

  .homepage .content h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .homepage .content .text {
    font-size: 17px;
  }

  .content a {
    font-size: 17px;
    padding: 9px 20px;
  }

  .contact .row {
    flex-direction: column;
  }

  .contact .row .col {
    width: 100%;
  }

  .contact .row .col:last-child {
    margin-top: 40px;
  }

  footer a {
    height: 0;
  }

  .certificates-section {
        padding: 40px 15px;
      }

      .certificates-section h2 {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-top: revert;
      }

      .certificates-section h2::after {
        width: 50px;
        height: 3px;
      }

      .certificates-section p {
        font-size: 1rem;
        margin-bottom: 30px;
      }

      .certificates-container {
        grid-template-columns: 1fr; /* Stack certificates vertically on smaller screens */
        gap: 25px;
      }

      .certificate-card {
        margin-bottom: 25px;
      }

      .certificate-card img {
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      }

      .certificate-card img:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
      }

      .certificate-card .caption {
        font-size: 0.9rem;
        margin-top: 8px;
      }
}

@media screen and (max-width: 560px) {
  section .cards .card {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* Style for Instagram logo */
.instagram-logo {
  width: 30px;
  height: 30px;
  border-radius: 26%; /* Makes it circular if the image is square */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.whatsapp-logo {
  width: 55px;
  height: 55px;
  border-radius: 26%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* Add hover effect */
.instagram-logo:hover {
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a shadow effect */
}

.whatsapp-logo:hover {
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a shadow effect */
}

/* Tooltip container */
.hover-container {
  position: relative;
  display: inline-block;
}
/* Tooltip text styling */
.hover-container::after {
  content: "Gwaliya International Exporter"; /* Text to display */
  position: absolute;
  bottom: -40px; /* Adjust to position below the logo */
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff; /* Background color for the tooltip */
  color: #020202; /* Text color */
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Initially not visible */
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.wp-hover-container::after {
  content: "Whatsapp Us"; /* Text to display */
  position: absolute;
  bottom: 23px; /* Adjust to position below the logo */
  left: -90%;
  transform: translateX(-50%);
  background-color: #1eca40; /* Background color for the tooltip */
  color: #ffffff; /* Text color */
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Initially not visible */
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

/* Show tooltip on hover */
.hover-container:hover::after {
  opacity: 1;
  visibility: visible;
}

.wp-hover-container:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Adjust the surrounding <p> tag if needed */
p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.web-logo{
  display: flex;
  align-items: center; /* Center logos vertically */
  gap: 25px; /* Adds uniform spacing between logos */
  margin: 20px 30px;
}

.fixed-bottom-corner {
  position: fixed;
  bottom: 58px; /* Distance from the bottom edge */
  right: 15px; /* Distance from the right edge */
  z-index: 1000; /* Ensures it stays above other elements */
  padding: 5px; /* Optional: Add padding */
  border-radius: 8px; /* Optional: Rounded corners */ 
}

.certificates-section {
      padding: 60px 20px;
      position: relative;
      overflow: hidden;
      min-height: 100vh;
    }

    .certificates-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('images/leaf-pattern.png') repeat;
      opacity: 0.05;
      z-index: 0;
    }

    .certificates-section h2 {
      font-size: 2.5rem;
      color: #1a3c34;
      text-align: center;
      margin-bottom: 15px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      position: relative;
      z-index: 1;
    }

    .certificates-section h2::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background: #28a745;
      margin: 10px auto;
      border-radius: 2px;
    }

    .certificates-section p {
      text-align: center;
      font-size: 1.1rem;
      color: #5a6b5e;
      margin-bottom: 40px;
      font-style: italic;
      position: relative;
      z-index: 1;
    }

    .certificates-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      position: relative;
      z-index: 1;
    }

    .certificate-card {
      margin-bottom: 30px;
      transition: transform 0.3s ease;
    }

    .certificate-card img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .certificate-card img:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .certificate-card .caption {
      text-align: center;
      margin-top: 10px;
      font-size: 0.95rem;
      color: #2c3e50;
      font-weight: 500;
    }

    @media (max-width: 768px) {
      .certificates-container {
        grid-template-columns: 1fr; /* Stack certificates vertically on smaller screens */
        gap: 25px;
      }
    }

    .content-button{
      display: flex;
  gap: 10px; 
    }