:root {
  --background: #ff9500;
  --primaryDark: #1b263b;
  --accentDark: #003566;
  --textPrimary: #0d1b2a;
  --textSecondary: #333333;
  --accent: #ff6b00;
  --highlight: #ffd60a;
}

body {
  font-family: 'Inter', sans-serif;
  padding-top: 4em;
  background: var(--background);
  color: var(--textSecondary);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

h1, h2 {
  margin-bottom: 20px;
}

p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* HEADER */
.header {
  width: 100%;
  padding: 20px;
  background: var(--textPrimary);
  border-bottom: 4px solid var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--highlight);
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
}

.nav a:hover {
  color: var(--accent);
}

/* HERO */
.hero {
  background: linear-gradient(to right, #0d1b2a, #1b263b);
  padding: 100px 20px;
  text-align: center;
  color: #ffffff;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: var(--highlight);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: 0.3s;
}

.btn:hover {
  background: #e85d04;
}

/* LANDING PAGE GRID */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.lp-card {
  background: #ffffff;
  border: 1px solid #e1e8f0;
  padding: 25px;
  border-radius: 10px;
  text-decoration: none;
  color: #222;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.lp-card:hover {
  border-color: var(--accent);
  background: #ffd60a20;
  transform: translateY(-3px);
}

.lp-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--textPrimary);
  font-weight: 900;
}

.lp-card p {
  font-size: 0.95rem;
  color: #444;
}

/* FEATURED GUIDES GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.card {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: 0.3s;
}

.card:hover {
  background: #ffd60a20;
  border-color: var(--accent);
}

/* REVIEWS SECTION */
.reviews-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
}

.review-card {
  display: block;
  width: 280px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: #222;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.review-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.review-card:hover {
  border-color: var(--accent);
  background: #ffd60a20;
  transform: translateY(-3px);
}

.review-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.review-card h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: var(--textPrimary);
}

.review-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.review-card .btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f97316;
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  pointer-events: none;
}

/* FOOTER */
.footer {
  background: var(--textPrimary);
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
  color: #ffffff;
  font-weight: 700;
}

.footer-links a {
  color: var(--highlight);
  text-decoration: none;
  margin: 0 10px;
  font-weight: 900;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* BACK TO TOP BUTTON */
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 16px;
  border: none;
  outline: none;
  background-color: #f97316;
  color: white;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#backToTop:hover {
  background-color: #d65c0b;
  transform: translateY(-3px);
}

/* RESPONSIVE TWEAKS */
@media (max-width: 900px) {
  .grid, .lp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .review-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    text-align: center;
  }
  .nav a {
    margin: 10px;
    display: inline-block;
  }
  .grid, .lp-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 70px 20px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
  .review-card {
    width: 100%;
  }
}