:root {
  --green: #006400;
  --white: #fff;
  --black: #000;
  --gray: #808080;
  --shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Bricolage Grotesque", sans-serif;
}

body {
  overflow-x: hidden;
  background-color: transparent;
  color: var(--black);
}

.hero-container {
  background: url(Offices.jpeg) no-repeat center/cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-image {
  background: url(Luxry.jpg) no-repeat center/cover;
  width: 22rem;
  height: 22rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  position: absolute;
  top: 25%;
  right: 20%;
  object-fit: cover;
}

.nav {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 3rem;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80%;
  margin: 1.25rem auto;
  padding: 0.6rem 1rem;
  color: var(--white);
}

.nav-logo h3 {
  font-weight: 700;
  cursor: pointer;
}

.nav-list ul li a {
  color: white;
  text-decoration: none;
}

.nav-list ul li select {
  background-color: transparent;
  color: var(--white);
  border: none;
  outline: none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  appearance: none; /* removes default browser styling */
  -webkit-appearance: none;
}

.nav-list ul li select option {
  background-color: black;
  color: white;
}

.nav-list ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

.nav-list ul li {
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-list ul li:hover,
.nav-list ul li:focus {
  transform: scale(1.2);
  color: var(--gray);
}

.nav-list ul li a:hover,
.nav-list ul li a:focus {
  color: var(--gray);
}

.nav-login {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.login {
  padding: 0.6rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.login p a {
  color: var(--white);
  text-decoration: none;
}

.login p a:hover,
.login p a:focus {
  color: var(--gray);
}

.login:hover {
  transform: scale(1.05);
}

button.start,
.box-2 button {
  border: none;
  border-radius: 1.25rem;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

button.start a,
button.start a:link,
button.start a:visited {
  color: var(--white) !important;
  text-decoration: none;
}

button.start {
  background-color: var(--green);
  color: var(--white);
  text-decoration: none;
}

button.start:hover,
button.start:focus {
  transform: scale(1.05);
}

.box-2 .join a,
.box-2 .join a:link,
.box-2 .join a:visited {
  color: var(--black) !important;
  text-decoration: none;
}

.box-2 .join:hover a,
.box-2 .join:focus a {
  color: var(--white) !important;
}

.hamburger {
  display: none;
}

.hero-section-2 {
  margin: 4.5rem 0 0 9rem;
}

.box-1 {
  border: 1px solid var(--black);
  border-radius: 3rem;
  width: 12.5rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 0.3rem;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.box-1:hover {
  transform: scale(1.1);
}

.box-1:active {
  animation: pop 0.3s ease-in-out;
}

.box-1 .new {
  background-color: var(--green);
  border-radius: 0.2rem;
  color: var(--white);
  font-size: 0.7rem;
  padding: 0.3rem;
}

.box-1-text {
  font-size: 0.7rem;
  font-weight: 400;
  padding-top: 0.3rem;
  padding-left: 5px;
}

.white-text { color: var(--white); }
.green-text { color: var(--green); }

.box-2 {
  max-width: 31rem;
  margin-top: 2.5rem;
}

.box-2 h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.2;
  text-shadow: 1px 1px 0 var(--white), -1px -1px 0 var(--white),
               1px -1px 0 var(--white), -1px 1px 0 var(--white);
}

.box-2 .join {
  background-color: var(--white);
  color: var(--black);
  margin-right: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--white);
}

.box-2 .join a {
  color: var(--black);
  text-decoration: none;
}

.box-2 .demo-btn {
  background-color: var(--green);
  color: var(--black);
  border: 1px solid var(--black);
  text-decoration: none;
}

.box-2 .demo-btn a {
  color: var(--black);
  text-decoration: none;
}

.box-2 .join:hover,
.box-2 .join:focus {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.box-2 .join:hover a,
.box-2 .join:focus a {
  color: var(--white);
}


.box-2 .demo-btn:hover,
.box-2 .demo-btn:focus {
  background-color: var(--green);
  color: var(--white);
  transform: scale(1.05);
}

.box-2 .demo-btn:hover a,
.box-2 .demo-btn:focus a {
  color: var(--white);
  text-decoration: none;
}

/* ===========================
   LEGAL PAGES HEADER / NAV
=========================== */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-logo img {
  width: 35px;
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #1e88ff;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===========================
   LEGAL HERO SECTION
=========================== */

.legal-hero {
  padding: 140px 20px 60px;
  text-align: center;
  background: var(--white);
}

.legal-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.legal-hero p {
  color: #666;
}

.back-home-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 20px;
  background: var(--green);
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.back-home-btn:hover {
  background: #004d00;
  transform: translateY(-2px);
}

/* ===========================
   LEGAL CONTENT
=========================== */

.legal-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  color: var(--green);
  margin-bottom: 10px;
}

/* ===========================
   SCROLL ANIMATION
=========================== */

.animate-on-scroll {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.6s ease;
}

.animate-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}


.about-us {
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 50px auto;
  align-items: center;
  padding: 20px;
  background-color: #333;
  display: flex;
  border-radius: 8px;
  color: #fff;
  font-family: "Bricolage Grotesquesque", sans-serif;
}

.about-us h2{
  text-align: center;
  justify-content: center;
  display: flex;
  margin-bottom: 25px;
  font-size: 2.2em;
  line-height: 1.6;
  color: #fff;
}

.about-us-content{
  padding: 30px;
  flex: 3;
}

.testimonial-section {
  padding: 60px 20px;
  text-align: center;
  background: #f5f5f5;
}

.testimonial-title {
  margin-bottom: 25px;
  font-size: 2rem;
  font-weight: 700;
  color: #006400;
}

.testimonial-slider {
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  display: flex;
  gap: 20px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.testimonial-card {
  min-width: 300px;
  background: #fff;
  padding: 20px;
  scroll-snap-align: center;
  flex: 0 0 80%;
  border-radius: 1rem;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  flex-shrink: 0;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 10px;
}

.stars i {
  color: gold;
  margin: 0 2px;
  align-items: center;
}

.testimonial-text {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

/* Slider Buttons */
.slider-controls {
  margin-top: 20px;
}

.prev-btn, .next-btn {
  padding: 10px 15px;
  font-size: 1.5rem;
  background: #006400;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  margin: 0 10px;
}

.prev-btn:hover, .next-btn:hover {
  background: #004d00;
}

.stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 20px 0;
}

.stars i {
  color: gold;
  font-size: 18px;
}

html {
  scroll-behavior: smooth;
}

/* Media Queries */
@media (max-width: 768px) { 
  .hamburger {
    display: block;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
    z-index: 999;
  }

  .nav-list.open {
    display: block;
  }

  .nav-list ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-image { 
    display: none; 
  }
  .nav { 
    width: 95%;
    position: relative;
  }
  .nav-logo h3 { 
    font-size: 1.1rem; 
  }
  .hero-section-2 {
    margin: 3rem auto 0;
    text-align: center;
    padding: 0 0.6rem;
  }
  .box-1 { 
    margin: 0 auto; 
  }
  .box-2 { 
    width: 100%; 
  }
  .box-2 h2 { 
    font-size: 2.3rem; 
  }
  .box-2 p { 
    font-size: 0.9rem; 
  }
  .box-2 button {
    width: 100%;
    margin-bottom: 0.6rem;
  }
  .testimonial-card {
    min-width: 90%;
    height: 300px;
    padding: 15px;
  }
  .testimonial-slider {
    gap: 10px;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 30px;
  }
  .footer-section {
    margin-bottom: 25px;
  }
  .footer-bottom p {
    font-size: 0.85rem;
  }
}

/* Footer */
.footer {
  background-color: var(--green);
  color: var(--white);
  padding: 50px 20px 0;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.footer ul li select {
  background-color: transparent;
  color: var(--white);
  border: none;
  outline: none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  appearance: none; /* removes default browser styling */
  -webkit-appearance: none;
}

.footer ul li select option {
  background-color: black;
  color: white;
}

.footer-container {
  flex-wrap: wrap;
  justify-content: space-around;
  border-bottom: 1px solid #002900;
  padding-bottom: 30px;
}

.footer-section {
  flex: 1 1 220px;
  margin: 15px 20px;
}

.footer-title {
  color: #000;
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-section p,
.footer-section ul {
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover{
  color: #000;
}

/*Footer Bottom */
.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #002900;
  margin-top: 20px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #aaa
}

.legal-header {
  padding: 60px 20px;
  background: #f5f7fa;
  text-align: center;
}

.legal-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.legal-header p {
  color: #666;
}

.legal-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.8;
}

.legal-container h2 {
  margin-top: 30px;
  color: #006400;
}

.legal-container ul {
  padding-left: 20px;
}

.legal-container a {
  color: #006400;
  text-decoration: none;
}


.socials {
  margin-top: 10px;
}

.socials a {
  color: #ddd;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: #002900;
}