/* 
 * Estate Tax Minimization Clinics Template
 * Main Stylesheet
 */

:root {
  /* Primary color palette */
  --primary-1: #b8a4c9; /* Soft lavender */
  --primary-2: #d6b9aa; /* Muted terracotta */
  --primary-3: #a3c9a8; /* Sage green */
  --primary-4: #dbc9b5; /* Warm beige */
  --primary-5: #c5dfe0; /* Pale teal */
  
  /* Light and dark shades */
  --primary-1-light: #d5c9e0;
  --primary-1-dark: #8e7a9e;
  
  --primary-2-light: #f0d7cc;
  --primary-2-dark: #b0937f;
  
  --primary-3-light: #c7e1ca;
  --primary-3-dark: #7ca382;
  
  --primary-4-light: #f5e8db;
  --primary-4-dark: #b09e89;
  
  --primary-5-light: #e4f4f5;
  --primary-5-dark: #9ab5b6;
  
  /* Additional colors */
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --white: #ffffff;
  --black: #000000;
  --background: #f9f8f6;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Base Styles */
body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-1-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-1);
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title h2 {
  font-size: 42px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-1);
}

.btn-primary {
  background-color: var(--primary-1);
  border-color: var(--primary-1);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-1-dark);
  border-color: var(--primary-1-dark);
  transform: translateY(-2px);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--white);
  box-shadow: 0 2px 15px var(--shadow);
  transition: all 0.3s ease;
}

.header.sticky {
  padding: 5px 0;
}

.header .navbar-brand {
  font-weight: 700;
  font-size: 26px;
  color: var(--primary-1-dark);
}

.header .nav-link {
  padding: 25px 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.header .nav-link:hover,
.header .nav-link.active {
  color: var(--primary-1);
}

/* Hero Section */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background-color: var(--primary-1-light);
}

.hero-slide {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 800px;
}

.hero-content h1 {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* About Section */
.about-section {
  background-color: var(--white);
}

.about-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px var(--shadow);
}

.about-feature {
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  background-color: var(--white);
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow);
}

.about-feature-icon {
  font-size: 36px;
  color: var(--primary-1);
  margin-bottom: 20px;
}

/* Services Section */
.services-section {
  background-color: var(--background);
}

.service-item {
  position: relative;
  padding: 40px 30px;
  border-radius: 10px;
  background-color: var(--white);
  box-shadow: 0 5px 20px var(--shadow);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary-1);
  transition: all 0.3s ease;
  z-index: -1;
}

.service-item:hover::before {
  width: 100%;
  opacity: 0.1;
}

.service-item:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 50px;
  color: var(--primary-1);
  margin-bottom: 25px;
}

.service-price {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background-color: var(--primary-1-light);
  color: var(--primary-1-dark);
  font-weight: 600;
  margin-top: 15px;
}

.service-features {
  margin-top: 20px;
  padding-left: 0;
  list-style: none;
}

.service-features li {
  padding: 5px 0;
  position: relative;
  padding-left: 25px;
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--primary-3);
  font-size: 14px;
}

/* Features Section */
.features-section {
  background-color: var(--white);
}

.feature-item {
  text-align: center;
  padding: 40px 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  background-color: var(--white);
  box-shadow: 0 5px 20px var(--shadow);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin: 0 auto 25px;
  font-size: 32px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-1), var(--primary-3));
}

/* Price Plan Section */
.priceplan-section {
  background-color: var(--background);
}

.price-item {
  padding: 40px 30px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.price-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow);
}

.price-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-2), var(--primary-4));
}

.price-tag {
  font-size: 48px;
  color: var(--primary-1-dark);
  font-weight: 700;
  margin-bottom: 20px;
}

.price-tag small {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-light);
}

.price-features {
  margin: 30px 0;
  padding-left: 0;
  list-style: none;
}

.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-features li:last-child {
  border-bottom: none;
}

/* Team Section */
.team-section {
  background-color: var(--white);
}

.team-item {
  position: relative;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
}

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  transition: all 0.5s ease;
}

.team-item:hover .team-image img {
  transform: scale(1.1);
}

.team-content {
  padding: 25px 20px;
  text-align: center;
  background-color: var(--white);
}

.team-role {
  color: var(--primary-1);
  font-weight: 500;
  margin-top: 5px;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--background);
}

.review-item {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
  margin-bottom: 30px;
  position: relative;
  transition: all 0.3s ease;
}

.review-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow);
}

.review-text {
  margin-bottom: 25px;
  position: relative;
  padding: 0 15px;
}

.review-text::before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 24px;
  color: var(--primary-1-light);
  position: absolute;
  top: -10px;
  left: -5px;
}

.review-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
}

.author-avatar img {
  width: 100%;
}

.author-name {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 5px;
}

.author-rating {
  color: #FFD700;
}

/* Core Info Section */
.coreinfo-section {
  background-color: var(--white);
}

.coreinfo-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.coreinfo-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow);
}

.coreinfo-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-1), var(--primary-5));
}

.coreinfo-icon {
  font-size: 40px;
  color: var(--primary-1);
  margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
  background-color: var(--background);
}

.contact-info {
  padding: 30px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 24px;
  border-radius: 50%;
  margin-right: 15px;
  color: var(--primary-1);
  background-color: var(--primary-1-light);
}

.contact-form {
  padding: 40px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  height: 50px;
  border-radius: 5px;
  border: 1px solid #eee;
  padding: 0 20px;
  box-shadow: none;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-1);
  box-shadow: 0 0 15px rgba(184, 164, 201, 0.1);
}

textarea.form-control {
  height: 150px;
  padding: 15px 20px;
}

/* Blog Section */
.blog-section {
  background-color: var(--white);
}

.blog-item {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow);
}

.blog-image {
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  transition: all 0.5s ease;
}

.blog-item:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 30px;
}

.blog-meta {
  margin-bottom: 15px;
  color: var(--text-light);
}

.blog-meta span {
  margin-right: 15px;
}

.blog-meta i {
  margin-right: 5px;
  color: var(--primary-1);
}

.blog-title {
  margin-bottom: 15px;
  font-size: 22px;
}

.blog-link {
  display: inline-block;
  color: var(--primary-1);
  font-weight: 600;
  margin-top: 15px;
  position: relative;
}

.blog-link:after {
  content: '\f178';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 5px;
  transition: all 0.3s ease;
}

.blog-link:hover:after {
  margin-left: 10px;
}

/* Footer */
.footer {
  background-color: #2c2c2c;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

.footer-logo {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  display: inline-block;
}

.footer-desc {
  margin-bottom: 30px;
}

.footer-heading {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 30px;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact {
  margin-bottom: 30px;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
}

.footer-contact i {
  width: 30px;
  color: var(--primary-1);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 50px;
  text-align: center;
  font-size: 14px;
}

/* Space Page Style */
#space {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
}

/* Additional pages */
.page-banner {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.page-title {
  position: relative;
  z-index: 1;
}

.page-title h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 15px;
}

.breadcrumb {
  display: inline-flex;
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item, 
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.8);
}

/* Basic animations */
.fade-up {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shapes */
.shape {
  position: absolute;
  z-index: -1;
}

.shape-1 {
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: var(--primary-1-light);
  opacity: 0.4;
  border-radius: 0 0 0 100%;
}

.shape-2 {
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background-color: var(--primary-3-light);
  opacity: 0.4;
  border-radius: 0 100% 0 0;
}

.shape-3 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 150px;
  height: 400px;
  background-color: var(--primary-5-light);
  opacity: 0.4;
  border-radius: 100px 0 0 100px;
}

/* Helpers */
.shadow-custom {
  box-shadow: 0 5px 20px var(--shadow);
}

.rounded-custom {
  border-radius: 10px;
}

.overflow-hidden {
  overflow: hidden;
}

.line-height-sm {
  line-height: 1.4;
}

.bg-primary-1 {
  background-color: var(--primary-1);
}

.bg-primary-2 {
  background-color: var(--primary-2);
}

.bg-primary-3 {
  background-color: var(--primary-3);
}

.bg-primary-4 {
  background-color: var(--primary-4);
}

.bg-primary-5 {
  background-color: var(--primary-5);
}

.text-primary-1 {
  color: var(--primary-1);
}

.text-primary-dark {
  color: var(--primary-1-dark);
} 