/* Main CSS for Estate Tax Optimization Seminars Template */

:root {
  /* Primary Colors */
  --primary-color: #7E57C2;
  --secondary-color: #26A69A;
  --accent-color: #FF7043;
  --neutral-color: #78909C;
  --dark-color: #37474F;
  
  /* Shades */
  --primary-light: #B39DDB;
  --primary-dark: #5E35B1;
  --secondary-light: #80CBC4;
  --secondary-dark: #00897B;
  --accent-light: #FFAB91;
  --accent-dark: #E64A19;
  --neutral-light: #B0BEC5;
  --neutral-dark: #546E7A;
  --dark-light: #607D8B;
  --dark-darker: #263238;

  /* Font sizes */
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: var(--primary-color);
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--primary-light);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 100%;
  background-color: var(--primary-color);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-section p {
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.about-feature {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  padding: var(--spacing-xl) 0;
  background-color: #f9f9f9;
}

.service-card {
  padding: 2rem;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::before {
  width: 10px;
}

.service-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.service-features li:last-child {
  border-bottom: none;
}

/* Features Section */
.features-section {
  padding: var(--spacing-xl) 0;
}

.feature-item {
  text-align: center;
  margin-bottom: 2rem;
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
  padding: var(--spacing-xl) 0;
  background-color: #f9f9f9;
}

.price-card {
  padding: 3rem 2rem;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.price-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-card:hover::after {
  height: 10px;
}

.price-name {
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.price-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.price-features li:last-child {
  border-bottom: none;
}

/* Team Section */
.team-section {
  padding: var(--spacing-xl) 0;
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 5px solid var(--primary-light);
}

.team-member h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.team-member p {
  color: var(--neutral-color);
}

/* Reviews Section */
.reviews-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--primary-light);
  position: relative;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../ELE_images/pattern.webp');
  background-size: cover;
  opacity: 0.05;
}

.review-item {
  padding: 2rem;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 1rem;
}

.review-text {
  position: relative;
  padding: 1.5rem 0;
}

.review-text::before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  color: var(--primary-light);
  font-size: 2rem;
  opacity: 0.3;
}

.review-author {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
}

.review-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

/* Core Info Section */
.coreinfo-section {
  padding: var(--spacing-xl) 0;
}

.coreinfo-item {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.coreinfo-item::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--primary-light);
  z-index: -1;
}

.coreinfo-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-xl) 0;
  background-color: #f9f9f9;
}

.contact-form {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
  border: 1px solid var(--neutral-light);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 5px;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 5px;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Blog Section */
.blog-section {
  padding: var(--spacing-xl) 0;
}

.blog-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  height: 100%;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  color: var(--neutral-color);
  font-size: var(--font-size-sm);
  margin-bottom: 0.5rem;
}

.blog-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

.blog-link:hover {
  color: var(--primary-dark);
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-xl) 0;
  background-color: #f9f9f9;
}

.accordion-item {
  margin-bottom: 1rem;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  padding: 1.25rem;
  font-weight: 600;
  background-color: #fff;
  color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-light);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237E57C2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
overflow-x: hidden;
  padding: 1.25rem;
  background-color: #fff;
}

/* Gallery Section */
.gallery-section {
  padding: var(--spacing-xl) 0;
}

.gallery-item {
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
footer {
  padding: 4rem 0 2rem;
  background-color: var(--dark-darker);
  color: #fff;
}

footer h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

footer p {
  color: var(--neutral-light);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--neutral-light);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

#site-copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--neutral-light);
}

/* Custom Shapes */
.custom-shape-1 {
  position: absolute;
  top: 20%;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-light);
  opacity: 0.2;
  z-index: -1;
}

.custom-shape-2 {
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  opacity: 0.2;
  z-index: -1;
}

.custom-shape-3 {
  position: absolute;
  top: -100px;
  right: 10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--accent-light);
  opacity: 0.2;
  z-index: -1;
}

/* Animation classes */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Additional page styles */
.page-header {
  height: 40vh;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pattern.webp');
  background-size: cover;
  opacity: 0.1;
}

.page-header h1 {
  color: #fff;
  font-size: 3rem;
  text-align: center;
  z-index: 1;
}

.breadcrumb-section {
  background-color: var(--neutral-light);
  padding: 1rem 0;
}

.breadcrumb {
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--dark-color);
} 