/* Main CSS File - Investing Guide Template */

:root {
  /* Main color palette - based on investment theme with modern pastels */
  --primary-color-1: #3a506b; /* Deep blue for trust and stability */
  --primary-color-2: #5bc0be; /* Teal for growth and prosperity */
  --primary-color-3: #ffd166; /* Gold/yellow for wealth and investment */
  --primary-color-4: #ef476f; /* Accent pink for highlights and calls to action */
  --primary-color-5: #57a773; /* Green for positive growth */
  
  /* Light and dark variations */
  --primary-color-1-light: #4d6785;
  --primary-color-1-dark: #2b3d52;
  
  --primary-color-2-light: #7fd3d1;
  --primary-color-2-dark: #459e9c;
  
  --primary-color-3-light: #ffdc85;
  --primary-color-3-dark: #e6b94d;
  
  --primary-color-4-light: #f26989;
  --primary-color-4-dark: #d93a5f;
  
  --primary-color-5-light: #78bb8f;
  --primary-color-5-dark: #458a5c;
  
  /* Neutrals */
  --neutral-light: #f8f9fa;
  --neutral-light-gray: #e9ecef;
  --neutral-mid-gray: #ced4da;
  --neutral-dark-gray: #6c757d;
  --neutral-dark: #212529;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Borders & Shadows */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
  
  --box-shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
  --box-shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --box-shadow-heavy: 0 10px 50px rgba(0, 0, 0, 0.15);
}

/* Base Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--neutral-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--neutral-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--primary-color-1);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color-1-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  transition: all 0.3s ease;
  border-radius: var(--border-radius-md);
  padding: 0.6rem 1.5rem;
  font-weight: 500;
}

.btn-primary {
  background-color: var(--primary-color-1);
  border-color: var(--primary-color-1);
}

.btn-primary:hover {
  background-color: var(--primary-color-1-dark);
  border-color: var(--primary-color-1-dark);
}

.btn-secondary {
  background-color: var(--primary-color-2);
  border-color: var(--primary-color-2);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--primary-color-2-dark);
  border-color: var(--primary-color-2-dark);
}

.btn-accent {
  background-color: var(--primary-color-4);
  border-color: var(--primary-color-4);
  color: white;
}

.btn-accent:hover {
  background-color: var(--primary-color-4-dark);
  border-color: var(--primary-color-4-dark);
}

/* Section Styles */
.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.section-subtitle {
  font-weight: 500;
  color: var(--primary-color-2);
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: var(--box-shadow-light);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color-1);
}

.navbar-nav .nav-link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color-2);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 70%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--neutral-light);
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* For fixed header */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--neutral-light);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color-3);
}

.hero-desc {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: var(--spacing-lg);
  color: var(--neutral-light);
}

/* About Section */
.about-feature {
  text-align: center;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  background-color: white;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow-light);
  height: 100%;
}

.about-feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-medium);
}

.about-feature i {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color-2);
}

.about-feature h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

/* Services Section */
.services-item {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
  margin-bottom: var(--spacing-md);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.services-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-medium);
}

.services-item-header {
  padding: var(--spacing-md);
  background-color: var(--primary-color-1);
  color: white;
  text-align: center;
}

.services-item-content {
  padding: var(--spacing-md);
}

.services-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color-1);
}

.services-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-md);
}

.services-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--neutral-light-gray);
}

.services-features li:last-child {
  border-bottom: none;
}

.services-features i {
  color: var(--primary-color-2);
  margin-right: 10px;
}

/* Features Section */
.features-item {
  text-align: center;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  transition: all 0.3s ease;
}

.features-item i {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color-3);
  transition: all 0.3s ease;
}

.features-item:hover i {
  transform: scale(1.1);
}

/* Price Plan Section */
.priceplan-item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-medium);
  margin-bottom: var(--spacing-md);
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.priceplan-item.featured {
  transform: scale(1.05);
}

.priceplan-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-heavy);
}

.priceplan-item.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.priceplan-header {
  padding: var(--spacing-md);
  background-color: var(--primary-color-1);
  color: white;
  text-align: center;
}

.priceplan-body {
  padding: var(--spacing-md);
  background-color: white;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.priceplan-price {
  font-size: 3rem;
  font-weight: 700;
  margin: var(--spacing-md) 0;
  color: var(--primary-color-1);
  text-align: center;
}

.priceplan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-md);
  flex-grow: 1;
}

.priceplan-features li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--neutral-light-gray);
}

.priceplan-features li:last-child {
  border-bottom: none;
}

.priceplan-features i {
  margin-right: 10px;
  color: var(--primary-color-5);
}

/* Team Section */
.team-member {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
  background-color: white;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-medium);
}

.team-member-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-member-info {
  padding: var(--spacing-md);
  text-align: center;
}

.team-member-name {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.team-member-role {
  color: var(--primary-color-2);
  font-weight: 500;
}

/* Reviews Section */
.reviews-slider {
  position: relative;
  padding-bottom: var(--spacing-lg);
}

.review-item {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--box-shadow-light);
  text-align: center;
  margin: 1rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-text {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding: 0 1.5rem;
}

.review-text::before,
.review-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color-3);
  opacity: 0.3;
  position: absolute;
}

.review-text::before {
  top: -1.5rem;
  left: 0;
}

.review-text::after {
  bottom: -2.5rem;
  right: 0;
}

.review-author {
  font-weight: 700;
  color: var(--primary-color-1);
}

/* Core Info Section */
.coreinfo-item {
  text-align: center;
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  background-color: white;
  box-shadow: var(--box-shadow-light);
  transition: all 0.3s ease;
  height: 100%;
}

.coreinfo-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-medium);
}

.coreinfo-item i {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color-5);
}

.coreinfo-item-title {
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

/* Contact Section */
.contact-form {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--box-shadow-medium);
}

.form-control {
  border-radius: var(--border-radius-md);
  border: 1px solid var(--neutral-mid-gray);
  padding: 0.8rem 1rem;
  margin-bottom: var(--spacing-sm);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color-2);
}

textarea.form-control {
  min-height: 150px;
}

.form-check-input:checked {
  background-color: var(--primary-color-1);
  border-color: var(--primary-color-1);
}

/* Blog Section */
.blog-item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
  margin-bottom: var(--spacing-md);
  transition: all 0.3s ease;
  height: 100%;
  background-color: white;
}

.blog-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-medium);
}

.blog-item-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-item-content {
  padding: var(--spacing-md);
}

.blog-item-title {
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.blog-item-excerpt {
  margin-bottom: var(--spacing-md);
}

/* FAQ Section */
.faq-accordion {
  margin-bottom: var(--spacing-lg);
}

.accordion-item {
  margin-bottom: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
  border: none;
}

.accordion-button {
  padding: 1.25rem;
  background-color: white;
  font-weight: 600;
  color: var(--primary-color-1);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color-1);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  padding: 1.25rem;
  background-color: var(--neutral-light);
}

/* Gallery Section */
.gallery {
  padding-bottom: var(--spacing-lg);
}

.gallery-item {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--box-shadow-medium);
}

.gallery-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Footer */
footer {
  background-color: var(--primary-color-1-dark);
  color: white;
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-heading {
  color: var(--primary-color-3);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.footer-desc {
  margin-bottom: var(--spacing-md);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--neutral-light);
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--primary-color-3);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  margin-right: 1rem;
  color: var(--primary-color-3);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--spacing-md);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Decorative Elements */
.shape {
  position: absolute;
  z-index: 0;
}

.shape-circle {
  border-radius: 50%;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-color-2-light);
  opacity: 0.1;
  top: 10%;
  left: -150px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-color-3-light);
  opacity: 0.1;
  bottom: 10%;
  right: -100px;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Breadcrumbs */
.breadcrumb-section {
  background-color: var(--neutral-light);
  padding: var(--spacing-md) 0;
  margin-top: 76px;
}

.breadcrumb {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
}

.breadcrumb-item a {
  color: var(--primary-color-1);
}

.breadcrumb-item.active {
  color: var(--primary-color-2);
}

/* Utilities */
.bg-light {
  background-color: var(--neutral-light) !important;
}

.bg-primary {
  background-color: var(--primary-color-1) !important;
}

.bg-secondary {
  background-color: var(--primary-color-2) !important;
}

.bg-accent {
  background-color: var(--primary-color-4) !important;
}

.text-primary {
  color: var(--primary-color-1) !important;
}

.text-secondary {
  color: var(--primary-color-2) !important;
}

.text-accent {
  color: var(--primary-color-4) !important;
}

.text-gold {
  color: var(--primary-color-3) !important;
}

.text-green {
  color: var(--primary-color-5) !important;
} 