/* Rural Social Aid Roadshow - Main Styles */

:root {
  /* Primary Color Palette */
  --primary-green: #2c7a2c;
  --primary-orange: #e67e22;
  --primary-teal: #1abc9c;
  --primary-purple: #8e44ad;
  --primary-red: #c0392b;
  
  /* Light shades */
  --light-green: #4caf50;
  --light-orange: #f39c12;
  --light-teal: #48c9b0;
  --light-purple: #9b59b6;
  --light-red: #e74c3c;
  
  /* Dark shades */
  --dark-green: #1e5e1e;
  --dark-orange: #d35400;
  --dark-teal: #16a085;
  --dark-purple: #7b3a95;
  --dark-red: #a02920;
  
  /* Neutral colors */
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --bg-light: #f8f9fa;
  --bg-dark: #34495e;
}

/* Conservative font sizes */
* {
  box-sizing: border-box;
}

body {
    overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

h1 { font-size: 1.875rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

/* Navbar styling */
.navbar-brand {
  font-size: 1.125rem !important;
  font-weight: 600;
  color: var(--primary-green) !important;
}

.navbar {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 0.75rem 0;
}

.navbar-nav .nav-link {
  font-size: 0.9375rem;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-orange) !important;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-teal) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero h1 {
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 1rem;
}

#hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
}

/* Decorative shapes */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
}

.shape-blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-orange);
  top: -200px;
  right: -200px;
}

.shape-blob-2 {
  width: 300px;
  height: 300px;
  background: var(--primary-purple);
  bottom: -150px;
  left: -150px;
}

/* Section styling */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title h3 {
  color: var(--primary-orange);
  font-weight: 400;
}

.section-title p {
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
#about {
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}

.feature-box {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Services Section */
#services {
  background: var(--bg-light);
}

.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px 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-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
    overflow-x: hidden;
  padding: 1.5rem;
}

.service-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.service-card .price {
  font-size: 1.5rem;
  color: var(--primary-orange);
  font-weight: 700;
}

/* Features Section */
#features {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
  color: white;
}

#features .section-title h2,
#features .section-title h3,
#features .section-title p {
  color: white;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-item i {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.9);
}

/* Price Plan Section */
.pricing-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: scale(1.05);
}

.pricing-card.featured {
  border: 3px solid var(--primary-orange);
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary-orange);
  color: white;
  padding: 0.25rem 2rem;
  transform: rotate(45deg);
  font-size: 0.875rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  color: var(--primary-purple);
  font-weight: 700;
  margin: 1rem 0;
}

/* Team Section */
#team {
  background: var(--bg-light);
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

.team-member h5 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.team-member p {
  color: var(--primary-orange);
  font-size: 0.875rem;
}

/* Reviews Section */
#reviews {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.review-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.review-item .stars {
  color: #ffc107;
  margin-bottom: 1rem;
}

.review-item .author {
  font-weight: 600;
  color: var(--text-dark);
}

/* Case Studies Section */
#casestudies {
  background: white;
}

.case-study-card {
  border-left: 4px solid var(--primary-red);
  padding-left: 2rem;
  margin-bottom: 2rem;
}

/* Process Section */
#process {
  background: var(--bg-light);
}

.process-step {
  text-align: center;
  position: relative;
  padding: 2rem;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--primary-orange);
  transform: translateY(-50%);
}

.process-step:last-child::after {
  display: none;
}

.process-step .step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline Section */
#timeline {
  background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
  color: white;
}

#timeline .section-title h2,
#timeline .section-title h3,
#timeline .section-title p {
  color: white;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  width: 2px;
  height: calc(100% + 1rem);
  background: rgba(255,255,255,0.3);
}

.timeline-item:last-child::after {
  display: none;
}

/* Career Section */
#career {
  background: var(--bg-light);
}

.career-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  border-top: 3px solid var(--primary-green);
}

/* Core Info Section */
#coreinfo {
  background: white;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.info-item {
  text-align: center;
  padding: 1.5rem;
}

.info-item i {
  font-size: 2.5rem;
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

/* Contact Form Section */
#contact {
  background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-control,
.form-select {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
  color: white;
  border: none;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4);
}

/* Contact Info */
.contact-info {
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary-orange);
  margin-right: 1rem;
  width: 40px;
  text-align: center;
}

/* Blog Section */
#blog {
  background: var(--bg-light);
}

#blog_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
    overflow-x: hidden;
  padding: 1.5rem;
}

.blog-card h5 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.blog-card p {
  color: #6c757d;
  font-size: 0.875rem;
}

.blog-card a {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 600;
}

/* FAQ Section */
#faq {
  background: white;
}

.accordion-item {
  border: 1px solid #dee2e6;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-orange);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
}

/* Gallery Section */
#gallery {
  background: var(--bg-light);
  padding: 4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2c3e50 100%);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

footer h4,
footer h5 {
  color: white;
  margin-bottom: 1rem;
}

footer p {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
}

footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-orange);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb img {
  height: 30px;
  width: auto;
}

/* Swiper customization */
.swiper {
  padding: 2rem 0 3rem;
}

.swiper-pagination-bullet {
  background: var(--primary-orange);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-orange);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
} 