/* VivaDecor Landing Page Styles */
:root {
  --primary: #222;
  --secondary: #fff;
  --accent: #e5e5e5;
  --gray: #888;
  --light-gray: #f7f7f7;
  --border: #e0e0e0;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--secondary);
  color: var(--primary);
  line-height: 1.6;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 40px 0 40px;
  background: var(--secondary);
}
.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
nav a {
  color: var(--primary);
  text-decoration: none;
  margin-left: 32px;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}
nav a:hover {
  color: #2e8b57; /* Example accent color, you can change this */
  border-bottom: 2px solid #2e8b57;
  text-decoration: none;
}
.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 48px 40px 0 40px;
  gap: 40px;
}
.hero-content {
  flex: 1;
  max-width: 540px;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-content p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.hero-content button {
  background: var(--primary);
  color: var(--secondary);
  border: none;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 32px;
  margin-top: 8px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 24px;
}
.hero-stat {
  text-align: left;
}
.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-stat span {
  color: var(--gray);
  font-size: 1rem;
}
.hero-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 320px;
  position: relative;
}
.hero-images-stack {
  position: relative;
  width: 540px;
}

.hero-image-bottom-wrapper {
  position: relative;
  margin-top: 8px;
  
  width: 420px;
}
.hero-image-bottom-wrapper img {
  width: 420px;
  height: 180px;
  border-radius: 8px;
  margin-right: 80px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: block;
  position: relative;
  z-index: 1;
}
.down-arrow {
  position: absolute;
  right: 24px;
  bottom: -32px;
  background: var(--primary);
  color: var(--secondary);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
main {

  margin-top: 100px;
  
}
section {
  margin-top: 56px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.services {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
  margin-top: 52px;
}

.service {
  flex: 1;
  background: var(--light-gray);
  border-radius: 8px;
  padding: 0px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.service-title {
  font-weight: 600;
  margin-bottom: 8px;
}
.service-desc {
  color: var(--gray);
  font-size: 1rem;
}
.split-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.split-section img {
  width: 340px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.split-content {
  flex: 1;
}
.split-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.split-content p {
  color: var(--gray);
  margin-bottom: 16px;
}
.split-content ul {
  list-style: none;
  padding-left: 0;
}
.split-content li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.split-content li:before {
  content: '+';
  color: var(--primary);
  font-weight: 700;
}
.split-content button {
  background: var(--primary);
  color: var(--secondary);
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 8px;
}
.steps-section {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}
.steps-list {
  flex: 1;
}
.steps-list h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.steps-list ul {
  list-style: none;
  padding-left: 0;
}
.steps-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.steps-list .step-number {
  background: var(--primary);
  color: var(--secondary);
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-right: 8px;
  flex-shrink: 0;
}
.steps-image {
  width: 340px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.products-section {
  margin-bottom: 32px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 16px;
}
.product-card {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  transform: translateY(-8px) scale(1.03);
  z-index: 1;
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: transform 0.3s;
}
.product-card:hover img {
  transform: scale(1.06);
}
.product-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}
.testimonials-section {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}
.testimonial {
  background: var(--secondary);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial p {
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial .author-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--accent);
}
.newsletter-section {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
  margin-bottom: 32px;
}
.newsletter-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.newsletter-section p {
  color: var(--gray);
  margin-bottom: 20px;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  flex: 1;
  outline: none;
}
.newsletter-form button {
  padding: 12px 24px;
  border: none;
  background: var(--primary);
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 40px 40px 24px 40px;
  font-size: 0.95rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-logo {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer-section {
  min-width: 180px;
}
.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.footer-section ul {
  list-style: none;
  padding-left: 0;
}
.footer-section li {
  margin-bottom: 6px;
}
.footer-section a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-section a:hover {
  color: var(--gray);
}
.footer-bottom {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .hero, .split-section, .steps-section, .testimonials-section, .footer-content {
    flex-direction: column;
    gap: 24px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .hero-images {
    align-items: center;
  }
}
@media (max-width: 600px) {
  header, main, footer {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
}

.hero-img-square {
  width: 260px; 
  height: 260px; object-fit: cover; border-radius: 1rem; box-shadow: 0 2px 12px rgba(0,0,0,0.06); z-index: 2; position: relative;
}
.hero-img-rect {
  width: 420px; height: 180px; object-fit: cover; border-radius: 0.75rem; box-shadow: 0 2px 8px rgba(0,0,0,0.04); margin-right: 80px; z-index: 1; position: relative;
}
.down-arrow {
  position: absolute; right: 24px; bottom: -32px; background: #222; color: #fff; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 0.5rem; font-size: 2.2rem; z-index: 3; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-img {
  width: 100%; 
  height: 300px; 
  object-fit: cover;  
  margin-bottom: 0.5rem;
  transition: transform 0.3s;
}
.product-card:hover .product-img {
  transform: scale(1.0);
}
.product-card {
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  transform: translateY(-8px) scale(1.03);
  z-index: 1;
} 

.title-with-line {
    position: relative;
    display: inline-block;
    padding-right: 40px; /* space for the line */
  }
  
  .title-with-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-left: 10px;
    width: 100px;
    height: 2px;
    background-color: #000;
    transform: translateY(-50%);
  }

  .line-before-title {
    position: relative;
    padding-left: 60px; /* space for the line */
    display: inline-block;
    font-weight: bold;
  }
  
  .line-before-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #000;
    transform: translateY(-50%);
  }

  .services_icon{
    height: 44px;
    width: 44px;
  }

  .circle-line-container{
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

/* Testimonial Section Styles */
.testimonial-title {
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 40px;
  margin-right: 40px;
  z-index: 2;
  text-align: right;
}
.testimonial-title h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  color: #222;
}

.testimonial-card {
  background: #222;
  color: #fff;
  border-radius: 0px;
  padding: 48px;
  position: relative;
  margin-top: 0px;
  margin-right: 16p;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.testimonial-quote {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  opacity: 0.3;
  position: absolute;
  top: 32px;
  left: 32px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 32px;
  font-weight: 400;
  color: #fff;
}

.testimonial-user {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.testimonial-location {
  color: #bbb;
  font-size: 1rem;
  font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .testimonial-title {
    position: static;
    text-align: left;
    margin: 0 0 32px 0;
  }
  .testimonial-card {
    padding: 32px 20px 24px 20px;
    min-height: 260px;
  }
}