/* Community Welfare Template - Main CSS */

/* Color Palette */
:root {
  --primary-emerald: #10b981;
  --primary-coral: #ff6b6b;
  --primary-amber: #f59e0b;
  --primary-violet: #8b5cf6;
  --primary-slate: #334155;
  --light-emerald: #a7f3d0;
  --light-coral: #fecaca;
  --light-amber: #fef3c7;
  --light-violet: #ddd6fe;
  --light-slate: #e2e8f0;
  --dark-emerald: #047857;
  --dark-coral: #dc2626;
  --dark-amber: #d97706;
  --dark-violet: #6d28d9;
  --dark-slate: #1e293b;
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f8fafc;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-emerald), var(--primary-violet));
  --gradient-secondary: linear-gradient(135deg, var(--primary-coral), var(--primary-amber));
  --gradient-accent: linear-gradient(135deg, var(--primary-violet), var(--primary-coral));
  --gradient-hero: linear-gradient(135deg, var(--primary-slate), var(--primary-emerald));
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--primary-slate);
  background-color: var(--white);
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.display-4 {
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-slate);
  opacity: 0.9;
}

/* Navbar Styles */
.navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  color: var(--primary-emerald) !important;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
  color: var(--primary-slate) !important;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-emerald) !important;
  background: var(--light-emerald);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 6rem 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../INV_images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

/* Card Styles */
.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  overflow: hidden;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--light-emerald);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-slate);
}

.service-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-emerald);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--light-emerald);
}

/* Team Member */
.team-member {
  text-align: center;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-member:hover {
  background: var(--gradient-accent);
  transform: translateY(-10px);
}

.team-member img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.team-member:hover img {
  border-color: var(--light-emerald);
  transform: scale(1.05);
}

.team-member h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transition: all 0.4s ease;
}

.team-member p {
  color: var(--primary-slate);
  opacity: 0.8;
  transition: all 0.4s ease;
}

.team-member:hover h3,
.team-member:hover p {
  color: var(--white);
}

/* Testimonials */
.testimonials-slider {
  background: var(--gradient-primary);
  border-radius: 30px;
  padding: 4rem;
  margin: 3rem 0;
  color: var(--white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  padding: 0 2rem;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 4rem;
  position: absolute;
  opacity: 0.3;
}

.testimonial-text::before {
  left: -1rem;
  top: -2rem;
}

.testimonial-text::after {
  right: -1rem;
  bottom: -4rem;
}

/* FAQ Section */
.faq-item {
  border: 2px solid var(--light-emerald);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  background: var(--light-emerald);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  margin: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 1.5rem;
  background: var(--white);
  display: none;
  line-height: 1.8;
}

/* Contact Form */
.contact-form {
  background: var(--gradient-secondary);
  border-radius: 30px;
  padding: 4rem;
  color: var(--white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  border: none;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.contact-form .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px;
  transition: all 0.3s ease;
}

/* Footer */
.footer {
  background: var(--primary-slate);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-section h4 {
  color: var(--primary-emerald);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-section a {
  color: var(--light-slate);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-section a:hover {
  color: var(--primary-emerald);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Buttons */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

/* Section Styling */
.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Feature Icons */
.feature-icon {
  font-size: 2.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  display: inline-block;
} 