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

/* Body and base styles */
body {
  font-family: 'Playfair Display','Times New Roman',serif;
  background-color: #E0DFD9;
  color: #333;
}

.feature-section {
  position: relative;
  background: url("../media/pagemedia/vaibe/spcvaibe.jpg") no-repeat center center/cover;

  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  overflow: hidden;
}

.feature-overlay {
  background-color: rgba(255, 255, 255, 0.85);
  width: 90%;
  max-width: 1200px;
  border-radius: 20px;
    position: absolute;
  top: 10%; /* ← Move this to e.g. 40% */
  padding: 60px;
  display: flex;
  flex-direction: column;
  animation: fadeIn 1.5s ease-in-out;
}

.feature-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.feature-left .brand-logo {
  width: 220px;
  height: auto;
  animation: slideInLeft 1.2s ease-out;
}

.feature-left p {
  font-size: 1.1rem;
  color: #000;
  line-height: 1.6;
  animation: fadeInUp 1.6s ease forwards;
  opacity: 0;
}

.feature-left p:nth-of-type(1) {
  animation-delay: 0.3s;
}

.feature-left p:nth-of-type(2) {
  animation-delay: 0.6s;
}

.feature-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-preview {
  max-width: 100%;
  max-height: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: slideInRight 1.2s ease-out;
}

.pdf-preview:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .feature-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-left, .feature-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .feature-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-left,
  .feature-right {
    width: 100%;
  }

  /* Make section relative only on mobile */
  .feature-section {
    position: relative;
    padding-bottom: 100px; /* adds space so footer doesn't overlap */
  }

  /* Remove absolute positioning on mobile */
  .feature-overlay {
    position: static;
    top: auto;
  }
}

