/* Main CSS for Survivor Benefit Advocacy Center */

:root {
  /* Color Palette */
  --primary-color: #5c6bc0; /* Main purple-blue */
  --secondary-color: #8e99f3; /* Lighter purple-blue */
  --accent-color: #e57373; /* Soft red for accents */
  --neutral-color: #78909c; /* Blue-gray */
  --highlight-color: #ffb74d; /* Warm orange */
  
  /* Shades */
  --primary-light: #8e99f3;
  --primary-dark: #26418f;
  --secondary-light: #c0cfff;
  --secondary-dark: #5d6ec0;
  --accent-light: #ffa4a2;
  --accent-dark: #af4448;
  --neutral-light: #a7c0cd;
  --neutral-dark: #4b636e;
  --highlight-light: #ffe97d;
  --highlight-dark: #c88719;
  
  /* Text Colors */
  --text-dark: #263238;
  --text-light: #eceff1;
  --text-muted: #78909c;
  
  /* Background Colors */
  --bg-light: #f5f7fa;
  --bg-dark: #263238;
  --bg-muted: #eceff1;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.5rem;
  --spacing-xxl: 4rem;
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Raleway', sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-hero: 3.5rem;
  
  /* Border Radius */
  --border-radius-sm: 0.125rem;
  --border-radius-md: 0.25rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 1rem;
  --border-radius-pill: 50rem;
  
  /* Box Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* General Reset and Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
}

/* Header Styles */
header {
  background-color: var(--bg-light);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.navbar-brand {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  flex-direction: row;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  background-image: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../TRA_images/hero-pattern.webp');
  background-size: cover;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-title {
  font-size: var(--font-size-hero);
  margin-bottom: var(--spacing-lg);
  color: var(--text-light);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-xl);
  color: var(--bg-muted);
}

.hero-desc {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xl);
}

/* About Section */
.about {
  position: relative;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-text {
  padding: var(--spacing-lg);
}

.about-title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.about-subtitle {
  margin-bottom: var(--spacing-lg);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.feature-icon {
  color: var(--primary-color);
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-text h4 {
  margin-bottom: var(--spacing-xs);
}

/* Services Section */
.services {
  background-color: var(--bg-muted);
  position: relative;
  overflow: hidden;
}

.services-title {
  text-align: center;
  color: var(--primary-color);
}

.services-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.services-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.service-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: var(--spacing-lg);
}

.service-name {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.service-desc {
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
}

.service-features {
  list-style: none;
  margin-bottom: var(--spacing-lg);
}

.service-features li {
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
}

.service-features li::before {
  content: '✓';
  color: var(--accent-color);
  margin-right: var(--spacing-sm);
  font-weight: bold;
}

.service-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-top: var(--spacing-md);
}

/* Features Section */
.features {
  position: relative;
}

.features-title {
  text-align: center;
  color: var(--primary-color);
}

.features-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.features-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  text-align: center;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  background-color: var(--bg-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.feature-card-name {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

/* Price Plan Section */
.priceplan {
  background-color: var(--bg-muted);
  position: relative;
  overflow: hidden;
}

.priceplan-title {
  text-align: center;
  color: var(--primary-color);
}

.priceplan-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.priceplan-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}

.priceplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.priceplan-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.priceplan-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.priceplan-name {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.priceplan-price {
  font-size: var(--font-size-xxl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.priceplan-features {
  list-style: none;
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

.priceplan-features li {
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--bg-muted);
  display: flex;
  align-items: center;
}

.priceplan-features li::before {
  content: '✓';
  color: var(--accent-color);
  margin-right: var(--spacing-sm);
  font-weight: bold;
}

/* Team Section */
.team {
  position: relative;
  overflow: hidden;
}

.team-title {
  text-align: center;
  color: var(--primary-color);
}

.team-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.team-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.team-member {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-member-image {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.team-member-info {
  padding: var(--spacing-lg);
  text-align: center;
}

.team-member-name {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.team-member-role {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

/* Reviews Section */
.reviews {
  background-color: var(--bg-muted);
  position: relative;
  overflow: hidden;
}

.reviews-title {
  text-align: center;
  color: var(--primary-color);
}

.reviews-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.reviews-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}

.reviews-slider {
  width: 100%;
  position: relative;
  margin-bottom: var(--spacing-xl);
}

.review-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  position: relative;
}

.review-card::before {
  content: "\201C"; /* Using Unicode escape sequence for left double quotation mark */
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: var(--accent-light);
  opacity: 0.3;
  line-height: 1;
}

.review-text {
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.review-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.review-author-name {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
}

/* Core Info Section */
.coreinfo {
  position: relative;
}

.coreinfo-title {
  text-align: center;
  color: var(--primary-color);
}

.coreinfo-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.coreinfo-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}

.coreinfo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.coreinfo-item {
  text-align: center;
  padding: var(--spacing-lg);
}

.coreinfo-item-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.coreinfo-item-title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

/* Contact Section */
.contact {
  background-color: var(--bg-muted);
  position: relative;
}

.contact-title {
  text-align: center;
  color: var(--primary-color);
}

.contact-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.contact-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.contact-form {
  background-color: var(--bg-light);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--bg-muted);
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(92, 107, 192, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
}

.form-check-input {
  margin-right: var(--spacing-sm);
  margin-top: 0.25rem;
}

.form-select {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--bg-muted);
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23263238' viewBox='0 0 16 16'%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");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--text-light);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.contact-info-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Blog Section */
.blog {
  position: relative;
}

.blog-title {
  text-align: center;
  color: var(--primary-color);
}

.blog-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.blog-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.blog-item {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-item-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-item-content {
  padding: var(--spacing-lg);
}

.blog-item-title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.blog-item-excerpt {
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
}

.blog-item-link {
  color: var(--primary-color);
  font-weight: 500;
}

/* FAQ Section */
.faq {
  background-color: var(--bg-muted);
  position: relative;
}

.faq-title {
  text-align: center;
  color: var(--primary-color);
}

.faq-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.faq-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-md);
  background-color: var(--bg-light);
  overflow: hidden;
}

.accordion-header {
  background-color: var(--bg-light);
  padding: var(--spacing-lg);
  cursor: pointer;
  position: relative;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
}

.accordion-header.active::after {
  content: '−';
}

.accordion-body {
  padding: 0 var(--spacing-lg);
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-normal);
}

.accordion-body-inner {
  padding-bottom: var(--spacing-lg);
}

/* Gallery Section */
.gallery {
  position: relative;
}

.gallery-title {
  text-align: center;
  color: var(--primary-color);
}

.gallery-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  height: 250px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.footer-brand {
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.footer-description {
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
}

.footer-heading {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-lg);
  color: var(--text-light);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-contact-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.site-copyright {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
} 