:root {
  --sky-metal: #87CEEB;        /* Base sky blue */
  --metallic-mist: #9AC7E6;    /* Light metallic blue */
  --steel-sheen: #B0C4DE;      /* Metallic accent */
  --gold-accent: #D4AF37;      /* Existing gold */
  --deep-shadow: #2C3E50;      /* Existing navy */
  --gray: #6C7A89;
  --white: #FFFFFF;
}

/* Estate Planning Main Styles */
.estate-planning {
  background: #f8f9fa;
}

/* Hero Section with Video and Image Overlay */
/* .estate-hero {
  position: relative;
  overflow: hidden;
  background: url('../assets/estate-bg.jpg') center/cover no-repeat;
} */

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  object-fit: cover;
  opacity: 0.7;
  mix-blend-mode: multiply;
}

/* .hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.4);
  z-index: 2;
} */

.hero-content {
  position: relative;
  z-index: 3;
}

/* Fallback for browsers that don't support video */
@supports not (object-fit: cover) {
  .hero-video {
    display: none;
  }
  
  .estate-hero {
    background: url('../assets/estate-bg.jpg') center/cover no-repeat;
  }
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .hero-video {
    opacity: 0.5;
  }
  
  .hero-image-overlay {
    background: rgba(44, 62, 80, 0.6);
  }
}

.estate-hero .hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  z-index: 1000;
}

/* .estate-hero .hero-content h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
} */


/* Estate Services Section */
.estate-services {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.estate-services h2 {
  font-family: 'Playfair Display', serif;
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

.estate-services h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 4px solid var(--gold);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-list {
  list-style: none;
  margin: 1rem 0;
  text-align: left;
}

.service-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(44, 62, 80, 0.1);
}

/* Why Choose Section */
.why-choose {
  padding: 4rem 2rem;
  background: var(--navy);
  color: var(--white);
}

.why-container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.why-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

/* Process Section */
.process {
  padding: 4rem 2rem;
  text-align: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.timeline-step {
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.timeline-step:hover {
  border-bottom-color: var(--gold);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  border: 2px solid var(--navy);
}

/* FAQ Section */
.faq {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.faq h2 {
  font-family: 'Playfair Display', serif;
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

.faq-grid {
  max-width: 800px;
  margin: 2rem auto;
}

.faq-card {
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: var(--white);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 1000px;
}

/* CTA Section */

/**********************
  CTA Buttons - Modified Styles
***********************/
.hero-cta {
  margin-top: 3rem; /* Increased from 2rem */
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  position: relative;
  padding: 1.1rem 2.8rem; /* Slightly larger */
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateZ(0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-button.primary {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid rgba(255,255,255,0.3);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  backdrop-filter: blur(4px);
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.cta-button:active {
  transform: translateY(1px);
}

.cta-button.secondary:hover {
  background: rgba(212, 175, 55, 0.1);
}

.cta-button i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(3px);
}

/* Pulse Animation */
@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.cta-button.primary:hover {
  animation: pulse-gold 1.5s infinite;
}

.cta {
  padding: 4rem 2rem;
  background: var(--navy);
  color: white;
  text-align: center;
}

.cta-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.cta-button {
  padding: 1rem 3rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
}

.cta-button i {
  font-size: 1.2rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .estate-hero .tagline {
      font-size: 1.1rem !important;
      padding: 0.6rem 1.2rem !important;
      margin: 0.5rem 1rem;
  }
  
  .services-grid {
      grid-template-columns: 1fr;
  }
  
  .timeline {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .estate-hero {
      padding: 120px 1rem 1rem;
  }
  
  .estate-hero .hero-content h1 {
      font-size: 2.2rem;
  }
  
  .service-card {
      padding: 1.5rem;
  }
  
  .why-card {
      padding: 1.5rem;
  }
}