* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #fff;
}

/* HERO SECTION */
.hero {
  width: 100%;
  height: 85vh;
  position: relative;
  overflow: hidden;
  border-bottom: 0px solid rgba(0, 0, 0, 0.5);
}


.hero-bg {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out; /* same feel as your bottom slider */
  z-index: 0;
}

.hero-bg.active {
  opacity: 1;
}


.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-text,
nav {
  position: relative;
  z-index: 2;
}

/* NAVBAR */
nav {
  width: 100%;
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  position: absolute;
  top: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

nav .logo {
  font-size: 28px;
  font-weight: 50;
  color: white;
  letter-spacing: 1px;
}

.logo img {
    height: 50px;     /* adjust size */
    width: auto;      /* keeps proportions */
    margin-right: 10px; 
    vertical-align: middle;
}


nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: 0.3s ease;
}

nav ul li a:hover {
  color: #e0e0e0;
}

/* HAMBURGER (for mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger div {
  width: 28px;
  height: 3px;
  background: white;
}

/* HERO TEXT */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
}

.hero-text h1 {
  font-size: 70px;
  font-weight: 10;
  margin-bottom: 20px;
  color:rgba(255, 255, 255, 0.8);
  text-shadow: 0px 0px 2px rgba(0,0,0,0.09);
}

.hero-text p {
  font-size: 19px;
  color:rgba(255, 255, 255, 0.8);
  text-shadow: 0px 0px 2px rgba(0,0,0,0.0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-text h1 {
    font-size: 45px;
  }
}


/* Container */
.terms-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* Each section */
.section {
  display: flex;
  align-items: center;
  gap: 50px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.section.reverse {
  flex-direction: row-reverse;
}

/* Section text */
.section .text {
  flex: 1;
}

.section .text h2 {
  font-size: 3.0rem;
  font-weight: 100;
  margin-bottom: 20px;
  color: #005540;
}

.section .text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

/* Section image */
.section .image {
  flex: 1;
}

.section .image img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}

.section .image img:hover {
  transform: scale(1.01);
}

/* Scroll animation */
.section.show {
  opacity: 1;
  transform: translateY(0);
}



/* Responsive for mobile */
@media (max-width: 900px) {
  .section, .section.reverse {
    flex-direction: column; /* Stack vertically */
  }
  
  /* Force text first, image second on mobile */
  .section .text, .section.reverse .text {
    order: 0;  /* Text always comes first */
  }

  .section .image, .section.reverse .image {
    order: 1;  /* Image always comes second */
  }

  .section .image img {
    margin-top: 20px;
  }
}



footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 15px 0;
}
.social-icons a {
  color: white;
  font-size: 22px;
  transition: 0.3s;
}
.social-icons a:hover {
  color: rgb(0, 236, 253);
  transform: scale(1.1);
}