/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  /* If you want to center content vertically/horizontally on the body, use flex:
       (Note: This may affect full-page sections, so adjust as needed.) */
  /* display: flex;
       justify-content: center;
       align-items: center; */
  height: 100vh;
  background: #e3e5e5;
}

/* Header Section */
.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(110, 110, 116, 0.641), rgba(69, 69, 71, 0.7)),
    url("images/banner.jpeg");
  background-position: center;
  background-size: cover;
  position: relative;
  background-attachment: fixed;
}

/* Navigation */
nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

nav img {
  width: 100px;
  height: 80px;
  border-radius: 100px;
}

.nav-links {
  flex: 1;
  text-align: right;
  position: static; /* Remove absolute positioning for larger screens */
  
  width: auto; /* Allow navbar width to adjust naturally */
  height: auto; /* Adjust the height accordingly */
  
  transition: 0.3s;
}


.menu-icon {
  display: none;
}

.nav-links ul {
  list-style: none;
  
}

.nav-links ul li {
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  color: rgb(13, 13, 13);
  text-decoration: none;
  font-weight: bold;
}

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #e2e1e1;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

/* Mobile Navigation Icons */
.fa-bars,
.fa-bars menu-icon {
  display: none;
}

/* Text Box in Header */
.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 62px;
}

.text-box p {
  margin: 10px 0px 40px;
  font-size: 14px;
  color: #fff;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.hero-btn:hover {
  border: 1px solid #f44336;
  background: #3f4142;
  transition: 1s;
}

/* Platform Section */
.Platform {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.Platform h1 {
  font-size: 36px;
  font-weight: 600;
}

.Platform p {
  color: #040303;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

/* Row for Flex Layouts */
.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

/* Platform Columns */
.Platform-col {
  flex-basis: 31%;
  background: #fff3f3;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
}

/* Headings and Hover Effects */
h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

.Platform-col:hover {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
}

h2 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}
.mobile-menu {
  display: none;
}


/* Join Section */
.join img {
  width: 10%;
  height: 81px;
  border-radius: 10px;
  display: block;
}

.join ul li {
  text-align: center;
}

/* Tracking Section */
.Tracking {
  width: 90%;
  margin: auto;
  text-align: center;
  padding-top: 20px;
}

.Tracking-col {
  flex-basis: 32%;
  border-radius: 15px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.Tracking-col img {
  width: 80%;
  display:ruby-base;
  padding: 40px;
  border-radius: 50px;
}

.layer {
  background: transparent; /* Initially hidden */
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.5s ease-in-out; 
}

.layer:hover {
  background: rgba(48, 49, 49, 0.7);
  opacity: 1;
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 45%;
  opacity: 1;
}

/* Communication Section */
.Communication {
  width: 50%;
  margin: auto;
  text-align: center;
  padding-top: 60px;
}

.Communication-col {
  flex-basis: 45%;
  border-radius: 10px;
  margin-bottom: 10%;
  text-align: center;
}

.Communication-col img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
}
.row {
  display: flex;
  gap: 25px; /* Adds space between columns */
}

.Communication-col p {
  padding: 2px;
}

.Communication-col h3 {
  margin-top: 35px;
  margin-bottom: 15px;
  text-align: center;
}

/* Testimonials Section */
.Testimonials {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 15px;
}

.testimonials-col {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background: #fff3f3;
  padding: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.testimonials-col img {
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

.testimonials-col h3 {
  margin-top: 15px;
  text-align: left;
}

.testimonials-col p {
  padding: 0;
}

.testimonials-col .fa {
  color: rgb(212, 209, 21);
}

/* Adjust Testimonials Image Margin for Smaller Screens */
@media (max-width: 700px) {
  .testimonials-col img {
    margin-left: 0;
    margin-right: 15px;
  }
}

/* Call-to-Action (CTA) Section */
.cta {
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgba(88, 85, 85, 0.7), rgba(88, 84, 84, 0.414)), 
    url("images/wantstoknowmorw.jpeg"); /* Fix backslashes */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 15px;
  text-align: center;
  padding: 100px 0;
  color: #fff;
  min-height: 300px; /* Ensures the image isn't cut off */
  display: flex; /* Centers content */
  flex-direction: column;
  justify-content: center;
  align-items: center;
}



@media (max-width: 700px) {
  .cta {
    font-size: 24px;
  }
}

/* Footer Section */
.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
  margin-top: 20px;
  margin-bottom: 25px;
  font-weight: 600;
}

/* Mobile Responsive Styles */
@media (max-width: 700px) {
  .text-box h1 {
    font-size: 20px;
  }
  .row {
    flex-direction: column;
  }
  /* Mobile Navigation */
  .nav-links {
    position: absolute;
    background: #f44336;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: all 0.5s ease-in-out;
  }
  .nav-links ul {
    padding: 30px;
  }
  .nav-links ul li {
    display: block;
  }
  .fa-bars,
  .fa-times {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }
}



/* Show hamburger menu on small screens only 
@media (max-width: 768px) {
  .menu-icon {
      display: block;
      color: #000;
      font-size: 24px;
      cursor: pointer;
  }

  .nav-links ul {
      flex-direction: column;
  }

  .nav-links {
    position: absolute;
    right: -200px;
    top: 0;
    background: #ffcc00;
    height: 100vh;
    width: 200px;
    transition: 0.5s;
}


  .nav-links ul li {
      display: block;
      padding: 10px;
  }

  .fa-times {
      display: block;
      margin: 20px;
      cursor: pointer;
  }

  .close-icon {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}


.menu-icon {
    font-size: 26px;
    color: white;
    cursor: pointer;
}

} */

