/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  font-size: 1rem;
}

html {
  scroll-behavior: smooth;
}


h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: bold;
}

a {
  text-decoration: none;
  color: inherit;
}

.m-t1 {margin-top: 1rem;}
.m-t2 {margin-top: 2rem;}
.m-t3 {margin-top: 3rem;}
.m-b1 {margin-bottom: 1rem;}
.m-b2 {margin-bottom: 3rem;}
.m-b3 {margin-bottom: 3rem;}

button {
  cursor: pointer;
}

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

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  opacity: 1;
  background: linear-gradient(180deg, #000, transparent);
}

.site-header .grid-container {
    max-width: 94rem;
}

.site-header .site-logo img {
  max-width: 300px;
}

.site-header-wrapper {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.site-header-main {
  padding: 15px 0;
}

.main-menu-wrapper {
  text-align: center;
}

.main-menu-wrapper ul {
  list-style-type: none;
  padding: 0;
}

.main-menu-wrapper li {
  display: inline-block;
  margin: 0 20px;
}

.top-bar, .top-bar ul {
    background-color: transparent;
}

.main-menu-wrapper a {
  font-size: 18px;
  color: #333;
  padding: 10px;
  transition: color 0.3s;
}

.main-menu-wrapper a:hover {
  color: #007bff;
}

.top-bar-left {
    position: relative;
}

.top-bar-left .dropdown.menu li a {
  font-size: 18px;
  padding: 10px 15px;
  color: white;
  font-weight: 700;
}

.top-bar-left .dropdown.menu li {
  display: flex;
  align-items: center; /* Vertically align the text with the logo */
}

.subheader {
    padding-top: 113px;
    position: relative;
}

.action-box h3 {
    text-align: right;
    color: white;
    position: relative;
    z-index: 1000;
}


.language-selector {
    position: absolute;
    right: 1rem; 
    top: 1rem;
}

.language-selector img {
    width: 1.5rem;
    height: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #333;
  color: white;
  text-align: center;
  padding: 0;
}

.hero .orbit-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero .orbit-caption h3 {
  font-size: 3rem;
  margin: 10px 0;
}

.hero .orbit-caption h4 {
  font-size: 1.5rem;
  margin: 0;
}

.orbit-image {
  width: 100%;
  height: auto;
}

/* About Section */
.about {
  background-color: #fff;
  padding: 60px 0;
}

.about .action-box {
  background-color: #007bff;
  color: white;
  padding: 40px 0;
}

.about h4 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.about h5 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.about .button {
  background-color: #fff;
  color: #007bff;
  padding: 10px 20px;
  text-transform: uppercase;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.about .button:hover {
  background-color: #0056b3;
}

/* Why Nomad Section */
.why-nomad {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.why-nomad h3 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.why-nomad h4 {
  font-size: 1.25rem;
  color: #555;
}

/* Services Section */
.services {
  background-color: #fff;
  padding: 60px 0;
}

.services .service-box {
  text-align: center;
  padding: 30px;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.services .service-box img {
  width: 66px;
  height: 50px;
  margin-bottom: 20px;
}

.services .service-box h5 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.services .service-box p {
  font-size: 1rem;
  color: #555;
}


/*ABOUT US*/

.about-us, .our-team, .how-to {
    margin-top: 3rem;
}

section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.section-blue {
    background-color: #0584f2;
    color: white;
}


/* Footer */
.footer {
  background-color: #333;
  color: white;
  padding: 40px 0;
}

.footer p {
  text-align: center;
  font-size: 1rem;
}

.footer a {
  color: white;
  text-decoration: underline;
  font-weight: bold;
}

.footer a:hover {
  color: #007bff;
}

/* Responsiveness */
@media (max-width: 768px) {
  .hero {
      display: none;
  }

  .services .service-box {
    padding: 20px;
  }

  .about .action-box {
    padding: 30px 0;
  }
  
  .orbit-bullets {
      display: none;
  }
  
  .top-bar {
      margin-top: 2rem;
  }
  
  .top-bar-left .dropdown.menu li a {
      font-size: 0.85rem;
  }
}

.gallery .gallery-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px; /* Optional: adds rounded corners to the images */
  margin-bottom: 1rem;
}

/*DEMO IMAGES*/
.demo-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-box img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.demo-box p {
  font-weight: 600;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.demo-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.demo-title {
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1.5rem;
}



@media screen and (min-width: 768px) {
  
}

@media screen and (min-width: 1024px) {
  .gallery .gallery-img {
    height: 300px; /* Adjust for larger screens */
    object-fit: cover;
  }
  
  
}

@media screen and (max-width: 1023px) {
    
.gallery .gallery-img {
    height: 250px; /* Adjust for medium screens */
    object-fit: cover;
  }
    
  .title-bar {
    position: absolute;
    right: 1rem;
    top: 1rem;
  }
  
  .language-selector {
      top: -1.5rem;
  }
  
  .site-header {
      background: #007bff;
      opacity: 1;
  }
  
  .menu-icon {
      width: 70px;
    height: 16px;
    cursor: pointer;
    color: white;
    text-align: right;
  }
  
  .menu-icon::after {
          width: 20px;
  }
  
  .top-bar-left .dropdown.menu li a {
       font-size: 0.85rem;
           border: 1px solid white;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
  }
  
  .site-header {
      position: fixed;
        z-index: 10001;
  }
  
  .subheader {
    padding-top: 68px;
    }
  
  .subheader .action-box h3 {
      color: #007bff;
  }
  
  .about-us, .our-team, .how-to {
          margin-top: 0;
  }
  
  section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
}


@media screen and (max-width: 768px) {
    .site-header .site-logo img {
        max-width: 200px; /* Adjust size for smaller screens */
    }
}

@media screen and (max-width: 480px) {
    .site-header .site-logo img {
        max-width: 150px; /* Further adjust for mobile screens */
    }
}