/* Main CSS for Rural Outreach Benefit Clinics */

:root {
  /* Color Palette - Pastel */
  --primary-1: #a8d1d1; /* Soft Teal */
  --primary-2: #f1e1a6; /* Muted Yellow */
  --primary-3: #e5c2c0; /* Dusty Rose */
  --primary-4: #d5e3b5; /* Sage Green */
  --primary-5: #d8c4df; /* Lavender */
  
  /* Light and dark variations */
  --primary-1-light: #c4e0e0;
  --primary-1-dark: #8ab3b3;
  --primary-2-light: #f6ebc9;
  --primary-2-dark: #d8ca87;
  --primary-3-light: #f0d6d4;
  --primary-3-dark: #c9a5a3;
  --primary-4-light: #e4ecd0;
  --primary-4-dark: #b8c696;
  --primary-5-light: #e6d9e9;
  --primary-5-dark: #baa8c3;
  
  /* Text colors */
  --text-dark: #3a3a3a;
  --text-medium: #666666;
  --text-light: #999999;
  
  /* Background colors */
  --bg-light: #fafafa;
  --bg-white: #ffffff;
  
  /* Spacings */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 96px;
  
  /* Font sizes */
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-md: 1.25rem;
  --font-lg: 1.5rem;
  --font-xl: 2rem;
  --font-xxl: 3rem;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary-1-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-1);
}

section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title h2 {
  font-size: var(--font-xl);
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-1);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-medium);
}

/* Button Styles */
.btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-1);
  color: var(--text-dark);
}

.btn-primary:hover {
  background-color: var(--primary-1-dark);
  color: var(--bg-white);
}

.btn-secondary {
  background-color: var(--primary-3);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--primary-3-dark);
  color: var(--bg-white);
}

/* Header */
.header {
  background-color: transparent;
  padding: 20px 0;
  position: absolute;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
}

.header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: var(--font-lg);
  color: var(--bg-white);
}

.header.sticky .navbar-brand {
  color: var(--text-dark);
}

.navbar-nav .nav-link {
  color: var(--bg-white);
  font-weight: 600;
  padding: 10px 15px;
}

.header.sticky .navbar-nav .nav-link {
  color: var(--text-dark);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--primary-2);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--bg-white);
}

.hero-content h1 {
  font-size: var(--font-xxl);
  margin-bottom: var(--spacing-md);
  font-weight: 800;
}

.hero-content p {
  font-size: var(--font-md);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
}

.hero-slide {
  position: relative;
}

.hero-slide:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

/* About Section */
.about-section {
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.about-feature-box {
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: var(--bg-white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-feature-box i {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-1);
}

/* Services Section */
.services-section {
  background-color: var(--bg-light);
  position: relative;
}

.service-box {
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: var(--bg-white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-4-light);
  border-radius: 50%;
  margin-bottom: var(--spacing-md);
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-4-dark);
}

.service-title {
  font-size: var(--font-md);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

.service-price {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--primary-3-dark);
  margin: var(--spacing-sm) 0;
}

.service-features {
  margin-top: auto;
}

.service-features ul {
  list-style: none;
  padding-left: 0;
}

.service-features li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--text-light);
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li i {
  color: var(--primary-2-dark);
  margin-right: 10px;
}

/* Features Section */
.features-section {
  background-color: var(--bg-white);
}

.feature-box {
  text-align: center;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.feature-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-5-light);
  border-radius: 50%;
  margin: 0 auto var(--spacing-md);
}

.feature-icon i {
  font-size: 2.5rem;
  color: var(--primary-5-dark);
}

/* Price Plan Section */
.priceplan-section {
  background-color: var(--bg-light);
}

.price-box {
  background-color: var(--bg-white);
  border-radius: 10px;
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.price-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-header {
  text-align: center;
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--text-light);
  margin-bottom: var(--spacing-md);
}

.price-title {
  font-size: var(--font-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.price-amount {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--primary-1-dark);
  margin-bottom: var(--spacing-sm);
}

.price-features {
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.price-features ul {
  list-style: none;
  padding-left: 0;
}

.price-features li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li i {
  color: var(--primary-2);
  margin-right: 10px;
}

/* Team Section */
.team-section {
  background-color: var(--bg-white);
}

.team-member {
  margin-bottom: var(--spacing-lg);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  transition: all 0.5s ease;
}

.team-member:hover .team-image img {
  transform: scale(1.1);
}

.team-info {
  background-color: var(--bg-white);
  padding: var(--spacing-md);
  text-align: center;
}

.team-name {
  font-size: var(--font-md);
  font-weight: 700;
  margin-bottom: 5px;
}

.team-role {
  font-size: var(--font-sm);
  color: var(--text-medium);
}

/* Reviews Section */
.reviews-section {
  background-color: var(--bg-light);
  position: relative;
}

.review-box {
  background-color: var(--bg-white);
  border-radius: 10px;
  padding: var(--spacing-md);
  margin: 20px 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.review-text {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.review-text:before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 30px;
  color: var(--primary-2-light);
  opacity: 0.3;
}

.review-author {
  font-weight: 700;
  font-size: var(--font-md);
}

/* Core Info Section */
.coreinfo-section {
  background-color: var(--bg-white);
}

.coreinfo-box {
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  transition: all 0.3s ease;
  height: 100%;
}

.coreinfo-box:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.coreinfo-icon {
  font-size: 3rem;
  color: var(--primary-3);
  margin-bottom: var(--spacing-sm);
}

.coreinfo-title {
  font-size: var(--font-md);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

/* Contact Section */
.contact-section {
  background-color: var(--primary-1-light);
  position: relative;
  overflow: hidden;
}

.contact-form {
  background-color: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-control {
  height: 50px;
  border-radius: 30px;
  padding: 10px 20px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-1);
}

textarea.form-control {
  height: 150px;
  border-radius: 20px;
}

.contact-info {
  background-color: var(--primary-1);
  padding: var(--spacing-lg);
  border-radius: 10px;
  height: 100%;
}

.contact-info h4 {
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
}

.contact-info-item {
  display: flex;
  margin-bottom: var(--spacing-md);
}

.contact-info-item i {
  font-size: 1rem;
  color: var(--primary-1-dark);
  margin-right: var(--spacing-sm);
}

.contact-info-item p {
  margin-bottom: 0;
}

/* Blog Section */
.blog-section {
  background-color: var(--bg-light);
}

.blog-post {
  background-color: var(--bg-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--spacing-md);
  transition: all 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  transition: all 0.5s ease;
}

.blog-post:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: var(--spacing-md);
}

.blog-title {
  font-size: var(--font-md);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.blog-title a {
  color: var(--text-dark);
}

.blog-title a:hover {
  color: var(--primary-1);
}

.blog-excerpt {
  margin-bottom: var(--spacing-sm);
}

.blog-link {
  font-weight: 600;
  color: var(--primary-1);
}

.blog-link:hover {
  color: var(--primary-1-dark);
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: var(--spacing-lg) 0;
}

.footer h4 {
  color: var(--bg-white);
  font-size: var(--font-md);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-1);
}

.footer p {
  margin-bottom: var(--spacing-sm);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--bg-light);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-1);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  margin-top: 50px;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Shape decorations */
.shape {
  position: absolute;
  z-index: 0;
}

.shape-1 {
  top: 15%;
  left: -5%;
  width: 30%;
  opacity: 0.1;
}

.shape-2 {
  bottom: 10%;
  right: -5%;
  width: 25%;
  opacity: 0.1;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Additional pages */
.page-header {
  height: 400px;
  background-color: var(--primary-1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dark);
}

.page-title {
  font-size: var(--font-xxl);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

/* Space page */
#space {
  height: 500px;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
} 