/* Main Stylesheet for Elderly Home Visit Estate Planning Service */

/* Root Variables - Color Palette */
:root {
  /* Primary Colors - Pastel Palette */
  --primary-1: #d8e2dc; /* Soft Mint Green */
  --primary-2: #ffe5d9; /* Pale Peach */
  --primary-3: #ffcad4; /* Soft Pink */
  --primary-4: #f4acb7; /* Dusty Rose */
  --primary-5: #9d8189; /* Muted Plum */
  
  /* Light/Dark Shades */
  --primary-1-light: #e6ede9;
  --primary-1-dark: #b5c5bc;
  --primary-2-light: #fff2ec;
  --primary-2-dark: #f0cfc0;
  --primary-3-light: #ffdde3;
  --primary-3-dark: #f0b7c2;
  --primary-4-light: #f9ccd3;
  --primary-4-dark: #e08c9a;
  --primary-5-light: #b7a1a8;
  --primary-5-dark: #7d666d;
  
  /* Text Colors */
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  
  /* Background Colors */
  --bg-light: #ffffff;
  --bg-off-white: #f8f9fa;
  --bg-gray: #e9ecef;
  
  /* Utility Colors */
  --success: #75b798;
  --warning: #ffda6a;
  --danger: #ea868f;
  --info: #6edff6;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.5rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  margin-bottom: 3rem;
  text-align: center;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 50px;
  height: 2px;
  background-color: var(--primary-4);
  transform: translateX(-50%);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-medium);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.btn-primary {
  background-color: var(--primary-5);
  border-color: var(--primary-5);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-5-dark);
  border-color: var(--primary-5-dark);
}

.btn-outline-primary {
  border-color: var(--primary-5);
  color: var(--primary-5);
}

.btn-outline-primary:hover {
  background-color: var(--primary-5);
  color: white;
}

/* Cards */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--primary-5) !important;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-4);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover:after, 
.nav-link.active:after {
  width: 80%;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--primary-1-light);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--text-medium);
}

.hero-desc {
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4));
  z-index: 1;
}

/* About Section */
.about-section {
  background-color: var(--bg-light);
}

.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-feature {
  text-align: center;
  margin-bottom: 30px;
  padding: 2rem;
  background-color: var(--bg-off-white);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-4);
}

.about-feature h4 {
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background-color: var(--primary-1-light);
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
  background-color: var(--bg-light);
}

.service-content {
  padding: 2rem;
}

.service-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-5);
}

.service-icon i {
  font-size: 3rem;
}

.service-title {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.service-price {
  display: inline-block;
  background-color: var(--primary-2);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  margin: 1rem 0;
  font-weight: 600;
}

.service-features {
  padding-left: 0;
  list-style: none;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-features li:before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--primary-5);
  position: absolute;
  left: 0;
  top: 0;
}

/* Features Section */
.features-section {
  background-color: var(--bg-off-white);
}

.feature-card {
  padding: 2rem;
  text-align: center;
  background-color: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: var(--primary-3-light);
  color: var(--primary-5);
}

/* Price Plan Section */
.price-plan-section {
  background-color: var(--bg-light);
}

.price-card {
  padding: 3rem 2rem;
  border-radius: 10px;
  background-color: var(--bg-off-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-card.featured {
  background-color: var(--primary-2-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.price-card.featured:before {
  content: 'Popular';
  position: absolute;
  top: 15px;
  right: -30px;
  background-color: var(--primary-4);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.75rem;
  font-weight: 600;
}

.price-name {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 1.5rem;
}

.price-period {
  display: block;
  font-size: 0.875rem;
  color: var(--text-medium);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

.price-features {
  padding-left: 0;
  list-style: none;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Team Section */
.team-section {
  background-color: var(--primary-2-light);
}

.team-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.team-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
  background-color: var(--bg-light);
}

.team-name {
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-5);
  margin-bottom: 1rem;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--bg-off-white);
}

.review-card {
  position: relative;
  padding: 2rem;
  border-radius: 10px;
  background-color: var(--bg-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 15px;
}

.review-card:before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 2rem;
  color: rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 15px;
  left: 15px;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.review-author {
  font-weight: 600;
  color: var(--primary-5);
}

/* Core Info Section */
.core-info-section {
  background-color: var(--bg-light);
}

.core-info-item {
  padding: 2rem;
  border-radius: 10px;
  background-color: var(--bg-off-white);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
  height: 100%;
}

.core-info-item:hover {
  transform: translateY(-5px);
}

.core-info-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-4);
}

.core-info-icon i {
  font-size: 2.5rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--primary-3-light);
}

.contact-form {
  padding: 3rem;
  border-radius: 10px;
  background-color: var(--bg-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  padding: 0.75rem 1.25rem;
  border-radius: 5px;
  border: 1px solid var(--bg-gray);
  margin-bottom: 1.5rem;
}

.contact-info {
  padding: 3rem;
  border-radius: 10px;
  background-color: var(--primary-5);
  color: white;
  height: 100%;
}

.contact-info-item {
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  margin-right: 1rem;
  font-size: 1.25rem;
}

/* Blog Section */
.blog-section {
  background-color: var(--bg-off-white);
}

.blog-card {
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.blog-excerpt {
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--primary-5);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.blog-link:after {
  content: '\f178';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 0.5rem;
  transition: margin-left 0.3s ease;
}

.blog-link:hover:after {
  margin-left: 0.75rem;
}

/* Footer */
footer {
  background-color: var(--primary-5-dark);
  color: white;
  padding: 5rem 0 2rem;
}

footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-2-light);
}

.footer-heading {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-text {
  margin-bottom: 1.5rem;
}

.footer-links {
  padding-left: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
} 