@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --primary-color: #e36414;
  /* Warm rustic orange */
  --secondary-color: #4f772d;
  /* Moss green */
  --accent-color: #ffc857;
  /* Golden sunlight */
  --bg-dark: #1f241d;
  /* Deep forest dark */
  --text-light: #fdfbf7;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Floating Blobs Background (Block: blobs) */
.blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: var(--bg-dark);
  overflow: hidden;
}

.blobs__blob {
  position: absolute;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(227, 100, 20, 0.45), rgba(227, 100, 20, 0) 70%);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
  top: 20vh;
  left: 10vw;
  filter: blur(40px);
}

.blobs__blob--second {
  width: 60vw;
  height: 60vw;
  animation: float 25s infinite ease-in-out -5s;
  background: radial-gradient(circle, rgba(255, 200, 87, 0.35), rgba(255, 200, 87, 0) 70%);
  top: 50vh;
  left: 45vw;
}

.blobs__blob--third {
  width: 55vw;
  height: 55vw;
  animation: float 22s infinite ease-in-out -10s;
  background: radial-gradient(circle, rgba(79, 119, 45, 0.4), rgba(79, 119, 45, 0) 70%);
  top: -10vh;
  left: 40vw;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(15vw, 15vh) scale(1.1);
  }

  66% {
    transform: translate(-10vw, 10vh) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Hero Section (Block: hero) */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 0 10%;
  position: relative;
  z-index: 1;
}

.hero__content {
  flex: 1;
  max-width: 50%;
  padding-right: 50px;
}

.hero__heading {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  margin-top: 0;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero__description {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.85);
  animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards;
}

.hero__actions {
  display: flex;
  gap: 20px;
  animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}

.hero__btn {
  padding: 15px 35px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__btn--primary {
  background: linear-gradient(45deg, var(--primary-color), #ff9f1c);
  color: #fff;
  box-shadow: 0 10px 20px rgba(227, 100, 20, 0.3);
}

.hero__btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 25px rgba(227, 100, 20, 0.4);
}

.hero__btn--secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero__visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInRight 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s backwards;
}

.hero__image-container {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(227, 100, 20, 0.15);
  position: relative;
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero__image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 2;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero__image-container:hover {
  transform: translateY(-10px);
}

.hero__image-container:hover .hero__image {
  transform: scale(1.08);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 5% 60px;
  }

  .hero__content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 60px;
  }

  .hero__heading {
    font-size: 3.5rem;
  }

  .hero__actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__heading {
    font-size: 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
  }
}

/* Reviews Section (Block: reviews) */
.reviews {
  padding: 100px 10%;
  position: relative;
  z-index: 1;
}

.reviews__header {
  text-align: center;
  margin-bottom: 60px;
}

.reviews__heading {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reviews__subheading {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Review Card (Block: review-card) */
.review-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(15px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(227, 100, 20, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.review-card__stars {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}

.review-card__info {
  display: flex;
  flex-direction: column;
}

.review-card__name {
  font-weight: 600;
  font-size: 1.1rem;
}

.review-card__role {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

@media (max-width: 768px) {
  .reviews {
    padding: 80px 5%;
  }

  .reviews__heading {
    font-size: 2.5rem;
  }
}