* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', serif;
  min-height: 100vh;
  background: #fcfdee;
  overflow-x: hidden;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInImage {
  from { opacity: 0; filter: blur(5px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes scalePop {
  from { transform: scale(0.95) translateY(20px) translateZ(-10px); opacity: 0; }
  to { transform: scale(1) translateY(0) translateZ(0); opacity: 1; }
}

/* PRICING SECTION */
.pricing-section {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: scalePop 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.left-section {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.left-section h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 200px;
}

.cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card .header {
  background: #f4a700;
  padding: 12px 0;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.card:hover .header {
  background: #d18f00;
}

.card .details {
  padding: 20px 15px;
}

.card .details p {
  margin: 8px 0;
  transition: color 0.3s ease;
}

.card:hover .details p {
  color: #333;
}

.price {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 10px 0;
}

.book-btn {
  display: inline-block;
  background: #555555;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-top: 10px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.book-btn:hover {
  background: #000;
  transform: scale(1.1);
}

.right-section {
  flex: 1;
  
  background-attachment: fixed;
  transition: opacity 0.5s ease;
}

.right-section:hover {
  opacity: 0.95;
}

@media (max-width: 800px) {
  .pricing-section {
    flex-direction: column;
  }

  .right-section {
    height: 300px;
    background-attachment: scroll;
  }

  .cards {
    justify-content: center;
  }
}

/* PROVISIONS SECTION */
.provisions-section {
  padding: 80px 40px;
  background: #fff;
  position: relative;
  z-index: 2;
  margin-top: -50px; /* Slight overlap with Pricing section */
  opacity: 0;
  animation: scalePop 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 60px;
}

.provision-block {
  display: flex;
  gap: 40px;
  margin-bottom: 80px;
  align-items: center;
  flex-wrap: wrap;
}

.provision-block.reverse {
  display: flex;
  gap: 40px;
  margin-bottom: 80px;
  align-items: center;
  flex-wrap: wrap;
}

.provision-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.provision-images .main-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.provision-images .thumbnail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  align-items: start;
}

.provision-images .thumbnail {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}

.provision-images .see-projects-container {
  margin-top: 10px;
}

.provision-text {
  flex: 2;
  font-family: Georgia, serif;
  margin-right: 40px;
}

.provision-text h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.provision-text p {
  font-size: 1rem;
  line-height: 1.6;
}

.see-projects {
  display: inline-block;
  padding: 8px 16px;
  color: #414040;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.see-projects:hover {
  color: #000;
  transform: translateX(5px);
}

@media (max-width: 800px) {
  .provision-block,
  .provision-block.reverse {
    flex-direction: column;
    align-items: center;
  }

  .provision-images {
    width: 100%;
    align-items: center;
  }

  .provision-images .main-image {
    width: 100%;
  }

  .provision-images .thumbnail-grid {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .provision-images .thumbnail {
    height: 80px;
  }

  .provision-text {
    text-align: center;
    margin-right: 0;
  }

  .provision-images .see-projects-container {
    margin-top: 15px;
  }

  .provisions-section {
    margin-top: 0; /* Remove overlap on mobile for better readability */
  }
}

/* APPOINTMENT BOOKING FORM */
.appointment-section {
  padding: 80px 40px;
  background: #fff;
  position: relative;
  z-index: 3;
  opacity: 0;
  animation: scalePop 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.appointment-form {
  max-width: 500px;
  margin: 0 auto;
}

.appointment-form h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 30px;
  text-align: center;
}

.appointment-form .form-group {
  margin-bottom: 20px;
}

.appointment-form label {
  display: block;
  font-size: 1rem;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.appointment-form input,
.appointment-form select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.appointment-form input:focus,
.appointment-form select:focus {
  border-color: #f4a700;
  box-shadow: 0 0 5px rgba(244, 167, 0, 0.5);
  outline: none;
}

.appointment-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.appointment-form button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #555555;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.appointment-form button:hover {
  background-color: #000;
  transform: scale(1.05);
}

/* Animation Classes */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate.fade-in {
  animation: fadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate.slide-up {
  animation: slideUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate.slide-in {
  animation: slideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate.fade-in-image {
  animation: fadeInImage 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}