/* =========================
   General Styles
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #222831;
  color: #DFD0B8;
  line-height: 1.6;
}

/* =========================
   Navbar
   ========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #222831;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 70px;
  width: auto;
}

.logo span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #DFD0B8;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul li a {
  text-decoration: none;
  color: #DFD0B8;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #948979;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #948979;
}

nav ul li a:hover::after {
  width: 100%;
}

/* =========================
   Buttons
   ========================= */
.btn {
  background: #948979;
  color: #222831;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #DFD0B8;
}

.btn.big {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  font-size: 1rem;
}

/* =========================
   Hero Section
   ========================= */
.hero {
  padding: 80px 10%;
  background: #222831;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: #DFD0B8;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #948979;
}

.hero-text p {
  font-size: 1.1rem;
  color: #BDB8AC;
  margin-bottom: 25px;
}

.hero-text .btn.big {
  padding: 12px 30px;
  font-size: 1.05rem;
}

/* Hero Image */
.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* =========================
   Responsive: Hero
   ========================= */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-text .btn.big {
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }
}

/* =========================
   Media Queries (Devices)
   ========================= */

/* Extra Small (<480px) */
@media (max-width: 480px) {
  .navbar {
    padding: 15px 20px;
  }

  .logo img {
    height: 60px;
  }

  .logo span {
    font-size: 1.1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  nav ul li a {
    font-size: 0.9rem;
  }

  .btn.big {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 60px 15px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.9rem;
  }
}

/* Small (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .navbar {
    padding: 20px 30px;
  }

  .logo img {
    height: 80px;
  }

  .logo span {
    font-size: 1.2rem;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  nav ul li a {
    font-size: 1rem;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* Medium (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar {
    padding: 20px 40px;
  }

  .logo img {
    height: 90px;
  }

  .logo span {
    font-size: 1.3rem;
  }

  nav ul {
    gap: 25px;
  }

  nav ul li a {
    font-size: 1rem;
  }

  .hero {
    padding: 90px 30px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.05rem;
  }
}

/* Large (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .navbar {
    padding: 20px 50px;
  }

  nav ul {
    gap: 35px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

/* Extra Large (1441px+) */
@media (min-width: 1441px) {
  .navbar {
    padding: 20px 80px;
  }

  .logo img {
    height: 110px;
  }

  .hero {
    padding: 120px 40px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
}

/* =========================
   Responsive Navbar
   ========================= */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #DFD0B8;
  margin-left: auto;
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #393E46;
    padding: 15px 20px;
    border-radius: 10px;
    z-index: 1000;
    width: 200px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hamburger {
    display: block;
  }

  nav.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .btn {
    display: block;
    text-align: center;
    margin: 10px auto 0 auto;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* =========================
   Services Section
   ========================= */
.services {
  text-align: center;
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.services h2 {
  font-size: 2.2rem;
  color: #DFD0B8;
  margin-bottom: 50px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s ease;
  text-align: left;
  color: #DFD0B8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #948979;
}

.card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #BDB8AC;
}

.card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: #948979;
}

/* =========================
   How It Works Section
   ========================= */
.how-it-works {
  text-align: center;
  padding: 80px 20px;
}

.how-it-works h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #DFD0B8;
}

.how-it-works .subtitle {
  font-size: 1.1rem;
  color: #BDB8AC;
  margin-bottom: 50px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 25px 25px;
  border-radius: 15px;
  transition: transform 0.3s, background 0.3s;
  text-align: left;
}

.step-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
}

.step-badge {
  position: absolute;
  top: -20px;
  left: 20px;
  background: linear-gradient(135deg, #948979, #DFD0B8);
  color: #1E1E1E;
  font-weight: bold;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.step-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #DFD0B8;
}

.step-card p {
  margin-bottom: 8px;
  color: #BDB8AC;
  line-height: 1.5;
}

.step-card .why {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  color: #DFD0B8;
}

/* =========================
   Why Choose Us Section
   ========================= */
.why-choose {
  text-align: center;
  padding: 80px 20px;
}

.why-choose h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #DFD0B8;
}

.why-choose .subtitle {
  font-size: 1.1rem;
  color: #BDB8AC;
  margin-bottom: 50px;
}

.benefit {
  padding: 20px 15px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.benefit .icon {
  font-size: 2.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #DFD0B8;
  transition: transform 0.3s ease, background 0.3s ease;
}

.benefit h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #DFD0B8;
}

.benefit p {
  font-size: 0.95rem;
  color: #BDB8AC;
  line-height: 1.6;
}

.benefit:hover {
  transform: translateY(-8px);
}

.benefit:hover .icon {
  background: linear-gradient(135deg, #948979, #DFD0B8);
  color: #222831;
  transform: scale(1.1);
}

/* =========================
   Testimonials Section
   ========================= */
.testimonials {
  padding: 80px 20px;
  background: #222831;
  text-align: center;
  overflow: hidden;
}

.testimonials .section-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: bold;
  color: #DFD0B8;
}

.testimonial-slider {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  gap: 25px;
  animation: scrollTestimonials 25s linear infinite;
}

.testimonial {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px 20px;
  border-radius: 15px;
  min-width: 260px;
  max-width: 260px;
  flex-shrink: 0;
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-8px);
}

.emoji {
  font-size: 40px;
  margin-bottom: 12px;
}

.quote {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #DFD0B8;
}

.testimonial h4 {
  font-size: 0.9rem;
  font-weight: bold;
  color: #948979;
}

/* Animation */
@keyframes scrollTestimonials {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-200%); }
}

.testimonials-wrapper {
  display: flex;
  gap: 1rem;
  animation: scroll 15s linear infinite;
}

/* =========================
   Call To Action Section
   ========================= */
.cta {
  text-align: center;
  padding: 5rem 2rem;
  background: #222831;
  color: #DFD0B8;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #DFD0B8;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #948979;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta .btn.big {
  background: #DFD0B8;
  color: #222831;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta .btn.big:hover {
  background: #948979;
  color: #fff;
  transform: translateY(-3px);
}

/* =========================
   Footer
   ========================= */
.footer {
  background-color: #252323;
  color: #FFFFFF;
  padding: 40px 20px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-section p,
.footer-section li a {
  color: #CBD5E1;
  line-height: 1.8;
  text-decoration: none;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 5px;
  font-size: 20px;
}

.social-icons a {
  color: #CBD5E1;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #00ADB5;
}

hr {
  border-color: #393E46;
  margin: 30px 0;
}

.footer-copy {
  text-align: center;
  color: #AAAAAA;
  font-size: 14px;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}







/* =========================
   Animations
   ========================= */

/* Fade-in for elements */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* Hero text animation */
.hero-text {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s forwards;
  animation-delay: 0.3s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero image animation */
.hero-image {
  opacity: 0;
  transform: translateY(20px);
  animation: heroImageFade 1s forwards;
  animation-delay: 0.5s;
}

@keyframes heroImageFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services cards animation */
.service-cards .card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}

.service-cards .card:nth-child(1) { animation-delay: 0.2s; }
.service-cards .card:nth-child(2) { animation-delay: 0.4s; }
.service-cards .card:nth-child(3) { animation-delay: 0.6s; }
.service-cards .card:nth-child(4) { animation-delay: 0.8s; }
.service-cards .card:nth-child(5) { animation-delay: 1s; }
.service-cards .card:nth-child(6) { animation-delay: 1.2s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Steps cards animation */
.steps .step-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpSteps 0.8s forwards;
}

.steps .step-card:nth-child(1) { animation-delay: 0.3s; }
.steps .step-card:nth-child(2) { animation-delay: 0.5s; }
.steps .step-card:nth-child(3) { animation-delay: 0.7s; }

@keyframes fadeUpSteps {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Benefits animation */
.benefit {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpBenefits 0.8s forwards;
}

.benefit:nth-child(1) { animation-delay: 0.2s; }
.benefit:nth-child(2) { animation-delay: 0.4s; }
.benefit:nth-child(3) { animation-delay: 0.6s; }
.benefit:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeUpBenefits {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA animation */
.cta h2, .cta p, .cta .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpCTA 0.8s forwards;
}

.cta h2 { animation-delay: 0.3s; }
.cta p { animation-delay: 0.5s; }
.cta .btn { animation-delay: 0.7s; }

@keyframes fadeUpCTA {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Navbar Fix */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 70px;      /* distance from navbar */
    right: 20px;    /* align right */
    background: #393E46;
    padding: 15px 20px;
    border-radius: 10px;
    width: 220px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;  /* VERY HIGH so it’s on top of everything */
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  nav.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .hamburger {
    display: block;
  }
}





/* Ensure navbar is always on top */
.navbar {
  position: relative;
  z-index: 10000; /* higher than hero image */
}

/* Mobile menu fix */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #393E46;
    padding: 15px 20px;
    border-radius: 10px;
    width: 220px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 11000; /* force above everything */
  }
}



