/* Rural Social Aid Roadshow - Main CSS */
/* Copyright 2025 domain.com. All rights reserved for domain.com.  */

/* Root Variables */
:root {
  /* Primary Colors */
  --primary-color-1: #2C7A7B; /* Teal - Trust & Healthcare */
  --primary-color-2: #ED8936; /* Orange - Energy & Community */
  --primary-color-3: #9F7AEA; /* Purple - Compassion */
  --primary-color-4: #48BB78; /* Green - Growth & Rural */
  --primary-color-5: #E53E3E; /* Red - Urgency & Aid */
  
  /* Light Shades */
  --light-shade-1: #81E6D9;
  --light-shade-2: #FBD38D;
  --light-shade-3: #D6BCFA;
  --light-shade-4: #9AE6B4;
  --light-shade-5: #FEB2B2;
  
  /* Dark Shades */
  --dark-shade-1: #234E52;
  --dark-shade-2: #C05621;
  --dark-shade-3: #6B46C1;
  --dark-shade-4: #276749;
  --dark-shade-5: #C53030;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F7FAFC;
  --gray: #A0AEC0;
  --dark-gray: #2D3748;
  --black: #1A202C;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

/* Conservative Typography */
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  h4 { font-size: 1.5rem; }
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, var(--primary-color-1), var(--primary-color-2));
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background: rgba(255,255,255,0.1);
  border-radius: 5px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color-1) 0%, var(--primary-color-4) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: url('../ELE_images/rural-pattern.webp');
  opacity: 0.1;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Decorative Shapes */
.blob-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-color-3);
  top: -150px;
  right: -100px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--primary-color-5);
  bottom: -200px;
  left: -150px;
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  background: var(--light-gray);
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-price {
  font-size: 2rem;
  color: var(--primary-color-2);
  font-weight: 700;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--light-shade-1), var(--light-shade-4));
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color-1);
  margin-bottom: 1rem;
}

/* Team Section */
.team-section {
  padding: 4rem 0;
  background: var(--white);
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-color-4);
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 4rem 0;
  background: var(--light-gray);
}

.swiper {
  padding: 2rem 0 3rem;
}

.testimonial-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color-1);
  margin-top: 1rem;
}

/* Gallery Section */
.gallery-section {
  padding: 4rem 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: var(--light-gray);
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.accordion-button {
  background: var(--white);
  color: var(--dark-gray);
  font-weight: 600;
  padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color-1), var(--primary-color-4));
  color: var(--white);
}

.accordion-button::after {
  filter: invert(1);
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color-2), var(--primary-color-5));
  color: var(--white);
}

.contact-form {
  background: rgba(255,255,255,0.95);
  padding: 2rem;
  border-radius: 15px;
  color: var(--dark-gray);
}

.form-control, .form-select {
  border: 2px solid var(--light-shade-1);
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color-1);
  box-shadow: 0 0 0 0.2rem rgba(44, 122, 123, 0.25);
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-color-1), var(--primary-color-4));
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1rem;
}

footer a {
  color: var(--light-shade-1);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color-2);
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin: 0;
}

.breadcrumb-image {
  height: 20px;
  width: auto;
}

/* Additional Pages Specific Styles */
.add-page-section {
  padding: 3rem 0;
  background: var(--white);
}

.add-page-section:nth-child(even) {
  background: var(--light-gray);
}

/* Space Page */
#space {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--light-shade-3), var(--light-shade-2));
}

/* Blog Section */
.blog-section {
  padding: 4rem 0;
  background: var(--white);
}

#blog_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.blog-card-body {
    overflow-x: hidden;
  padding: 1.5rem;
}

/* Utility Classes */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color-1), var(--primary-color-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-padding {
  padding: 4rem 0;
}

.text-minimal {
  max-width: 600px;
  margin: 0 auto;
} 