/* ===== FONT IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --green: #02b150;
  --black: #000;
  --white: #fff;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--black);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  transition: top 0.3s ease;
  z-index: 1000;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.bar {
  width: 30px;
  height: 3px;
  background: var(--white);
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--green);
}

.mobile-nav .btn-get-started,
.mobile-nav .btn-driver-app {
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
}

.mobile-nav .btn-get-started {
  background-color: var(--green);
  color: var(--white);
}

.mobile-nav .btn-driver-app {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

/* Brand */
.brand {
  font-size: 26px;
  font-weight: 700;
}
.brand .apus {
  color: var(--white);
}
.brand .fly {
  color: var(--green);
}

.brand-link {
  text-decoration: none; /* remove underline */
  color: inherit;        /* optional: keep original text color */
}


/* Nav links */
.nav-links {
  display: flex;
  gap: 35px;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--green);
}
.nav-buttons {
  display: flex;
  gap: 15px;
}

/* Get Started button */
.btn-get-started, 
.btn-driver-app {

  color: var(--white);
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  text-decoration: none;
}
.btn-get-started {
  background-color: var(--green);
  color: #fff;
}
.btn-get-started:hover {
  background-color: #03c55d;
  transform: scale(1.05);
}
.btn-driver-app {
  border: 2px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
}
.btn-driver-app:hover {
  background-color: var(--green);
  color: #fff;
}



#background {
  position: fixed;      /* stays in place while scrolling */
  top: 0;
  left: 0;
  width: 100%;          /* spans full width */
  height: 100%;         /* spans full height */
  object-fit: cover;    /* makes the image fill the screen */
  opacity: .4;         /* 60% opacity */
  z-index: -5;          /* puts it behind other elements */
}

/* ===== GLOBAL SECTION SPACING ADJUSTMENT ===== */
section {
  scroll-margin-top: 80px; /* keeps anchor scrolling nice under sticky header */
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 80px 100px; /* leave more space at bottom for scroll text */

  min-height: 85vh; /* ensures scroll text fits inside */
}

.hero-content {
  flex: 1;
  max-width: 50%;
}

.hero-subtitle {
  color: var(--green);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}
.hero-title span {
  color: var(--green);
}

.hero-desc {
  font-size: 18px;
  color: #555;
  margin: 20px 0 30px;
  max-width: 600px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.btn-primary,
.btn-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 30px;
  padding: 12px 25px;
  font-size: 16px;
  transition: all 0.3s ease;

}

.btn-primary {
  background-color: var(--green);
  border: 1px solid #000;
  color: var(--white);
  border: none;
  text-decoration: none;
}
.btn-primary:hover {
  background-color: #03c55d;
  transform: scale(1.05);
}

html {
  scroll-behavior: smooth;
}


.btn-secondary {
  background-color: var(--white);
  border: 1px solid #000;
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-secondary:hover {
  background-color: #f5f5f5;
  transform: scale(1.05);
}

.btn-primary img,
.btn-secondary img {
  width: 22px;
  height: 22px;
}

/* Divider */
.hero-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 40px 0;
  width: 100%;
}

/* Stats Section */
.hero-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.stat img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}
.stat h3 {
  font-size: 24px;
  font-weight: 700;
  color: #111;
}
.stat p {
  color: #555;
  font-size: 16px;
}

/* Right Side Image */
.hero-image {
  flex: 1;
  text-align: right;
}
.hero-image img {
  width: 80%;
  max-width: 500px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .navbar {
    padding: 18px 40px;
  }

  .hero {
    padding: 100px 60px;
  }

  .hero-title {
    font-size: 48px;
  }

  .live-tracking {
    padding: 100px 60px;
  }

  .live-title {
    font-size: 44px;
  }

  .live-tracking video {
    width: 90%;
    max-width: 600px;
  }

  .transforming-lives {
    padding: 80px 60px;
  }

  .transforming-lives-2 {
    font-size: 38px;
  }

  .mobile-app {
    padding: 100px 60px;
  }

  .app-title {
    font-size: 42px;
  }

  .stay-updated {
    padding: 70px 40px;
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 18px 30px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 40px 40px; /* tighter padding for smaller screens */
    min-height: auto;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-image {
    text-align: center;
    margin-top: 40px;
  }
  .hero-image img {
    width: 60%;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-desc {
    font-size: 17px;
  }

  .live-tracking {
    padding: 80px 40px;
  }

  .live-title {
    font-size: 38px;
  }

  .live-desc {
    font-size: 16px;
  }

  .transforming-lives {
    padding: 70px 40px;
  }

  .transforming-lives-2 {
    font-size: 34px;
  }

  .see-how-drone {
    font-size: 17px;
  }

  .mobile-app {
    padding: 80px 40px;
  }

  .app-title {
    font-size: 38px;
  }

  .app-desc {
    font-size: 16px;
  }

  .stay-updated {
    padding: 60px 30px;
  }

  .stay-title {
    font-size: 28px;
  }

  .footer {
    padding: 60px 30px 30px;
  }
}

/* Mobile Navbar */
@media (max-width: 768px) {
  .navbar {
    padding: 18px 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-buttons {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hamburger Animation */
  .hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Hero Section Mobile */
  .hero {
    padding: 100px 20px 70px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-desc {
    font-size: 16px;
    margin: 15px 0 25px;
  }

  .hero-buttons {
    gap: 15px;
  }

  .hero-stats {
    gap: 30px;
  }

  .stat img {
    width: 70px;
    height: 70px;
  }

  .stat h3 {
    font-size: 20px;
  }

  .stat p {
    font-size: 14px;
  }

  /* Live Tracking Mobile */
  .live-tracking {
    padding: 60px 20px;
  }

  .live-title {
    font-size: 32px;
  }

  .live-desc {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .live-tracking img,
  .live-tracking video {
    width: 95%;
  }

  .live-detail {
    font-size: 14px;
  }

  /* Transforming Lives Mobile */
  .transforming-lives {
    padding: 60px 20px;
  }

  .transforming-lives-2 {
    font-size: 28px;
  }

  .see-how-drone {
    font-size: 16px;
    margin-bottom: 50px;
  }

  .frame-6 {
    gap: 30px;
  }

  .frame-6 > div {
    width: 45%;
  }

  .text-wrapper-31,
  .text-wrapper-35,
  .text-wrapper-37 {
    font-size: 18px;
  }

  .text-wrapper-32,
  .text-wrapper-34,
  .text-wrapper-36,
  .text-wrapper-38 {
    font-size: 14px;
  }

  /* Mobile App Section Mobile */
  .mobile-app {
    padding: 60px 20px;
  }

  .app-title {
    font-size: 32px;
  }

  .app-desc {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .features-grid {
    gap: 30px;
  }

  .feature {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .feature img {
    width: 80px;
  }

  .feature h4 {
    font-size: 20px;
  }

  .feature p {
    font-size: 15px;
  }

  .early-access {
    padding: 30px;
  }

  .early-header h3 {
    font-size: 20px;
  }

  .early-subtext {
    font-size: 14px;
  }

  .app-bottom-row {
    margin-top: 30px;
  }

  .store-buttons {
    margin-left: -35px;
  }

  .store-buttons img {
    width: 140px;
  }

  .launch-info {
    font-size: 14px;
    padding: 10px 20px;
    margin-left: -35px;
  }

  /* Stay Updated Mobile */
  .stay-updated {
    padding: 50px 20px;
  }

  .stay-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .stay-desc {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .email-container {
    gap: 10px;
  }

  .email-container input,
  .email-container button {
    padding: 12px 18px;
    font-size: 14px;
  }

  .latest-news-btn {
    padding: 16px 50px;
    font-size: 18px;
  }

  /* Footer Mobile */
  .footer {
    padding: 50px 20px 30px;
  }

  .footer-upper {
    gap: 40px;
  }

  .footer-main-title {
    font-size: 24px;
  }

  .footer-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .footer-category {
    font-size: 16px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-copy {
    font-size: 13px;
  }

  .social-media a {
    margin-left: 12px;
  }

  .social-media img {
    width: 20px;
    height: 20px;
  }

  /* Back to Top Button Mobile */
  #backToTop {
    bottom: 60px;
    right: 20px;
    padding: 10px 18px;
    font-size: 14px;
  }
}



/* ===== SCROLL TO EXPLORE (INSIDE HERO) ===== */
.scroll-to-explore {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: fadeInUp 1.2s ease;
}

.scroll-to-explore p {
  font-size: 14px;
  letter-spacing: 2px;
  color: #444;
  font-weight: 500;
  margin-bottom: 8px;
  margin-top: 8px;
}

.scroll-to-explore img {
  width: 28px;
  height: auto;
  opacity: 0.8;
  animation: bounce 2s infinite;
  display: block;
  margin: 0 auto;
}

.scroll-to-explore {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: fadeInUp 1.2s ease;
}

.scroll-to-explore p {
  font-size: 14px;
  letter-spacing: 2px;
  color: #444;
  font-weight: 500;
  margin-bottom: 8px;
}

.scroll-to-explore img {
  width: 28px;
  height: auto;
  opacity: 0.8;
  animation: bounce 2s infinite;
  display: block;
  margin: 0 auto;
}

/* Subtle bounce animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ===== LIVE TRACKING SECTION ===== */
.live-tracking {
  text-align: center;
  padding: 120px 80px;
  margin-top: -90px;
}

.live-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 10px;
}

.live-title {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin-bottom: 15px;
}

.live-desc {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

/* Image styling */
.live-tracking img {
  width: 80%;
  max-width: 700px;
  height: auto;
  margin-bottom: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Video styling */
.live-tracking video {
  width: 80%;
  max-width: 700px;
  height: auto;
  margin-bottom: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Description below image */
.live-detail {
  max-width: 800px;
  margin: 0 auto;
  color: #444;
  font-size: 17px;
  line-height: 1.6;
}

/* Highlighted green word */
.highlight-green {
  color: var(--green);
}


@media (max-width: 768px) {
  .live-tracking {
    padding: 80px 30px;
  }

  .live-title {
    font-size: 36px;
  }

  .live-desc {
    font-size: 16px;
  }

  .live-tracking img,
  .live-tracking video {
    width: 90%;
  }

  .live-detail {
    font-size: 15px;
  }
}

/* ===== TRANSFORMING LIVES SECTION ===== */
.transforming-lives {
  text-align: center;
  padding: 100px 80px;
  margin-top: -140px;
}

/* Section Titles */
.transforming-lives-2 {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}

.transforming-lives-2 .span {
  color: var(--green);
}

.see-how-drone {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.see-how-drone .span {
  color: var(--green);
  font-weight: 600;
}

/* ===== REVIEWS CAROUSEL ===== */
.carousel {
  max-width: 1100px;
  margin: 0 auto 80px;
  position: relative;
}

.reviews {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.placeholder-text {
  background-color: #eee; /* gray block */
  height: 16px;           /* match normal text height */
  width: 80%;             /* vary width if you like */
  border-radius: 4px;
  margin: auto;
}


/* Individual review card */
.reco,
.reco-2 {
  background-color: #f9f9f9;
  border-radius: 20px;
  padding: 30px 25px;
  width: 320px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s ease;
}

.reco:hover,
.reco-2:hover {
  transform: translateY(-5px);
}

.reco p,
.reco-2 p {
  color: #333;
  font-size: 15px;
  line-height: 1.5;
}

.text-wrapper-39,
.text-wrapper-45 {
  color: #f5b400;
  font-size: 18px;
  margin-bottom: 10px;
}

.text-wrapper-42,
.jamie-torres-rescue {
  margin-top: 20px;
  font-weight: 600;
  color: #111;
  font-size: 15px;
}

/* Decorative shapes inside cards */
.ellipse,
.ellipse-2 {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 6px;
  border-radius: 3px;
  background-color: var(--green);
}

/* ===== ACHIEVEMENTS ROW (STATIC, CLEAN VERSION) ===== */
.frame-6 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px; /* space between each item */
  flex-wrap: wrap;
  margin-top: 70px;
  text-align: center;
}

/* Each achievement item */
.frame-6 > div {
  width: 220px;
}

/* Images */
.frame-6 img {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
}

/* Headings (Acknowledge, 20+, etc.) */
.text-wrapper-31,
.text-wrapper-35,
.text-wrapper-37 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

/* Subtexts (Officially Acknowledged..., etc.) */
.text-wrapper-32,
.text-wrapper-34,
.text-wrapper-36,
.text-wrapper-38 {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 200px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .frame-6 {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .frame-6 > div {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .frame-6 > div {
    width: 100%;
  }
}

/* ===== MOBILE APP SECTION ===== */
.mobile-app {
  padding: 120px 80px;
  margin-top: -130px;
  margin-bottom: 50px; /* Add bottom margin to prevent overlap */
}

.app-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.app-content {
  flex: 1;
  max-width: 50%;
}

.app-subtitle {
  color: var(--green);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.app-title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin-bottom: 16px;
}
.app-title span {
  color: var(--green);
}

.app-desc {
  color: #555;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}

/* ===== FEATURES GRID (2x2 Layout with Image Left, Text Stack Right) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
  margin-top: 60px;
  align-items: start;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.feature img {
  width: 110px;
  height: auto;
  flex-shrink: 0;
}

/* Widen text area so it doesn’t wrap too early */
.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 420px;
}

.feature h4 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
  line-height: 1.3;
}

.feature p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* Text container so title and desc stack properly */
.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Early Access Box */
.early-access {
  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

/* Header inside Early Access */
.early-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.early-header h3 {
  font-size: 22px;
  font-weight: 600;
  color: #111;
}
.join-others {
  color: var(--green);
  font-weight: 600;
  font-size: 16px;
}

.early-subtext {
  font-size: 15px;
  color: #555;
  margin: 10px 0 25px;
}

/* Email Form */
.early-form {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}
.early-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 25px;
  font-size: 15px;
  outline: none;
}
.early-form button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--green);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.early-form button:hover {
  background-color: #03c55d;
  transform: scale(1.05);
}
.early-form img {
  width: 20px;
  height: 20px;
}

/* Perks */
.early-perks {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.early-perks div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}
.early-perks img {
  width: 24px;
  height: 24px;
}

/* Right Side Image */
.app-image {
  flex: 1;
  text-align: right;
}
.app-image img {
  width: 90%;
  max-width: 500px;
}

/* Bottom Row (Outside Container) */
.app-bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.store-buttons img {
  width: 160px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.store-buttons img:hover {
  transform: scale(1.05);
}

/* Launch Info (styled as its own container/button) */
.launch-info {
  background-color: #fff;
  border: 2px solid var(--green);
  color: #111;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.launch-info:hover {
  background-color: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
  .app-container {
    flex-direction: column;
    text-align: center;
  }
  .app-content {
    max-width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .feature {
    flex-direction: row;
    align-items: flex-start;
  }

  .feature img {
    width: 90px;
  }

  .feature-text {
    text-align: left;
    max-width: 100%;
  }
  .early-form {
    flex-direction: column;
  }
  .app-image {
    text-align: center;
    margin-top: 40px;
  }
  .app-image img {
    width: 70%;
  }
  .early-header {
    flex-direction: column;
    gap: 10px;
  }
  .app-bottom-row {
    flex-direction: column;
    margin-top: 40px;
  }
}

/* ===== STAY UPDATED SECTION ===== */
.stay-updated {
  padding: 80px 50px;
  text-align: center;
  border-radius: 20px;
  margin-top: -70px;
  margin-bottom: 50px; /* Add bottom margin to prevent overlap */
}

/* Main title */
.stay-title {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}

/* Description */
.stay-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Email input container */
.email-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto 30px;
}

.email-container input {
  flex: 1;
  padding: 14px 20px;
  border: 1.5px solid #ddd;
  border-radius: 25px;
  font-size: 15px;
  outline: none;
}

.email-container button {
  padding: 14px 25px;
  background-color: var(--green);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.email-container button:hover {
  background-color: #03c55d;
  transform: scale(1.05);
}

/* Button to news page */
.latest-news-btn {
  display: inline-block;
  padding: 20px 60px;
  background-color: #fff;
  color: var(--green);
  font-weight: 600;
  font-size: 20px;
  border: 2px solid var(--green);
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.latest-news-btn:hover {
  background-color: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background-color: #111; /* dark footer */
  color: #fff;
  padding: 80px 50px 40px 50px;
  font-family: 'Poppins', sans-serif;
  margin-top: 50px; /* Add top margin to prevent overlap */
}

/* Upper part with 3 columns */
.footer-upper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

/* 1st column (Apus Fly) */
.footer-left .footer-main-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}
.footer-left .footer-main-title span {
  color: var(--green);
}

.footer-left .footer-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #ccc;
}
.footer-left .footer-desc span {
  color: var(--green);
  font-weight: 600;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* Make contact icons white for black footer background */
.footer-contact img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1); /* converts black icons to white */
  transition: all 0.3s ease;
}

/* Optional hover effect for icons */
.footer-contact img:hover {
  filter: brightness(0) invert(0.6) sepia(1) saturate(5) hue-rotate(100deg);
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.footer-contact a:hover {
  color: var(--green);
}

/* 2nd and 3rd columns */
.footer-category {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: inherit; /* keeps the same color as text */
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--green); /* or any highlight color */
}

.footer-links li {
  margin-bottom: 10px;
  color: #ccc;
  cursor: pointer;
}
.footer-links li:hover {
  color: var(--green);
}

/* Divider line */
.footer-divider {
  border: 0;
  height: 1px;
  background-color: #444;
  margin-bottom: 30px;
}

/* Lower part */
.footer-lower {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 14px;
  color: #ccc;
}

.social-media a {
  margin-left: 15px;
}
.social-media img {
  width: 24px;
  height: 24px;
  filter: none; /* make icons white by default */
  transition: all 0.3s ease;
}
/* Only apply white filter to the X icon */
.social-media img[alt="X"] {
  filter: brightness(0) invert(1);
}
.social-media img:hover {
  filter: brightness(0) invert(0.4) sepia(1) saturate(5) hue-rotate(100deg);
}

/*back to top*/
#backToTop {
  position: fixed;
  bottom: 75px;
  right: 75px;
  padding: 12px 20px;
  font-size: 16px;
  background-color: var(--green);
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;                /* start invisible */
  visibility: hidden;        /* hidden so it doesn’t block clicks */
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

#backToTop.show {
  opacity: 1;                /* fade in */
  visibility: visible;
}

#backToTop:hover {
  background-color: #03c55d;
  transform: translateY(-2px);
}
