/* MAIN STYLES - Affordable Housing Application Workshops Template */

:root {
  /* Primary Colors */
  --primary-1: #5b8e7d; /* Sage Green - Main brand color */
  --primary-2: #f4b860; /* Warm Yellow - Accent color */
  --primary-3: #c8553d; /* Terracotta - Call to action */
  --primary-4: #f8f5f2; /* Off-White - Background */
  --primary-5: #2c3e50; /* Dark Blue - Text color */
  
  /* Shades */
  --primary-1-light: #8bae9e;
  --primary-1-dark: #3b6e5d;
  --primary-2-light: #f7d08f;
  --primary-2-dark: #d49840;
  --primary-3-light: #e07e6a;
  --primary-3-dark: #a83c27;
  --primary-4-light: #ffffff;
  --primary-4-dark: #e8e4e1;
  --primary-5-light: #4c5e70;
  --primary-5-dark: #1c2e40;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--primary-5);
  background-color: var(--primary-4);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  line-height: 1.6;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  position: relative;
  margin-bottom: 1.5rem;
  color: var(--primary-5-dark);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--primary-1);
  margin-bottom: 2rem;
  font-weight: 500;
}

.section-description {
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-1);
  border-color: var(--primary-1);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-1-dark);
  border-color: var(--primary-1-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: var(--primary-2);
  border-color: var(--primary-2);
  color: var(--primary-5-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-2-dark);
  border-color: var(--primary-2-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-accent {
  background-color: var(--primary-3);
  border-color: var(--primary-3);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: var(--primary-3-dark);
  border-color: var(--primary-3-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sections */
section {
  padding: 5rem 0;
  position: relative;
}

/* Header */
header {
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: rgba(248, 245, 242, 0.9);
  backdrop-filter: blur(10px);
}

header.scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

#sitename {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-1-dark);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--primary-5);
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-1);
}

.navbar-nav .nav-link.active {
  color: var(--primary-1);
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background-color: var(--primary-1);
  border-radius: 5px;
}

/* Hero Section */
#hero {
  padding: 9rem 0 5rem;
  background-color: var(--primary-4-light);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

#hero-title-1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--primary-5-dark);
}

#hero-subtitle-1 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--primary-1);
}

#hero-desc-1 {
  margin-bottom: 2.5rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-shape-1 {
  position: absolute;
  top: -50px;
  right: -30px;
  width: 200px;
  height: 200px;
  background-color: var(--primary-2);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

.hero-shape-2 {
  position: absolute;
  bottom: -30px;
  left: -50px;
  width: 150px;
  height: 150px;
  background-color: var(--primary-1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
  opacity: 0.5;
}

/* About Section */
#about {
  background-color: var(--primary-4);
  position: relative;
  overflow: hidden;
}

.about-shape {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-1-light);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 0;
  opacity: 0.1;
}

.about-feature {
  padding: 2rem;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-feature i {
  font-size: 2.5rem;
  color: var(--primary-1);
  margin-bottom: 1.5rem;
}

.about-feature h3 {
  color: var(--primary-5-dark);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Services Section */
#services {
  background-color: var(--primary-4-light);
  position: relative;
}

.services-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.services-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.services-card-img {
  height: 200px;
  overflow: hidden;
}

.services-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.services-card:hover .services-card-img img {
  transform: scale(1.1);
}

.services-card-body {
  padding: 1.5rem;
}

.services-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-1);
  margin-bottom: 1rem;
}

.services-features {
  margin-top: 1.5rem;
}

.services-features ul {
  list-style: none;
  padding-left: 0;
}

.services-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--primary-4-dark);
}

.services-features li:last-child {
  border-bottom: none;
}

.services-features i {
  color: var(--primary-1);
  margin-right: 10px;
}

/* Features Section */
#features {
  background-color: var(--primary-4);
  position: relative;
}

.features-item {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.features-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.features-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  background-color: var(--primary-1-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.features-icon i {
  font-size: 2rem;
  color: var(--primary-1-dark);
}

.features-item h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.features-shape {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background-color: var(--primary-2-light);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 0;
  opacity: 0.2;
}

/* Price Plan Section */
#priceplan {
  background-color: var(--primary-4-light);
  position: relative;
}

.pricing-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card-header {
  padding: 2rem;
  background-color: var(--primary-1-light);
  color: white;
}

.pricing-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card-price {
  font-size: 2.5rem;
  font-weight: 800;
}

.pricing-card-body {
  padding: 2rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--primary-4-dark);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--primary-1);
  margin-right: 10px;
}

.recommended {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-2);
  color: var(--primary-5-dark);
  font-weight: 600;
  padding: 0.5rem 1rem;
  transform: rotate(45deg) translateX(30%) translateY(-80%);
  width: 150px;
  text-align: center;
}

/* Team Section */
#team {
  background-color: var(--primary-4);
  position: relative;
}

.team-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img {
  height: 300px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.1);
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-1);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Reviews Section */
#reviews {
  background-color: var(--primary-4-light);
  position: relative;
}

.reviews-container {
  position: relative;
}

.review-card {
  background-color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.review-text:before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: -10px;
  left: -10px;
  color: var(--primary-1-light);
  font-size: 1.5rem;
  opacity: 0.3;
}

.review-author {
  font-weight: 700;
  color: var(--primary-5-dark);
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--primary-1);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-1);
}

.swiper-button-next, .swiper-button-prev {
  color: var(--primary-1);
}

/* Core Info Section */
#coreinfo {
  background-color: var(--primary-4);
  position: relative;
}

.info-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  background-color: var(--primary-2-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.info-icon i {
  font-size: 2rem;
  color: var(--primary-2-dark);
}

.info-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Contact Section */
#contact {
  background-color: var(--primary-4-light);
  position: relative;
}

.contact-form {
  background-color: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
  border: 2px solid var(--primary-4-dark);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-1);
  box-shadow: 0 0 0 0.25rem rgba(91, 142, 125, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--primary-5-dark);
}

.form-select {
  border: 2px solid var(--primary-4-dark);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-select:focus {
  border-color: var(--primary-1);
  box-shadow: 0 0 0 0.25rem rgba(91, 142, 125, 0.25);
}

.form-check-input {
  border: 2px solid var(--primary-4-dark);
}

.form-check-input:checked {
  background-color: var(--primary-1);
  border-color: var(--primary-1);
}

/* Blog Section */
#blog {
  background-color: var(--primary-4);
  position: relative;
}

#blog_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-excerpt {
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--primary-1);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.blog-link i {
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.blog-link:hover i {
  transform: translateX(5px);
}

/* FAQ Section */
#faq {
  background-color: var(--primary-4-light);
  position: relative;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  font-weight: 600;
  padding: 1.25rem;
  background-color: white;
  color: var(--primary-5-dark);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-1-light);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-1);
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%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");
}

.accordion-body {
  padding: 1.25rem;
  background-color: white;
}

/* Gallery Section */
#gallery {
  background-color: var(--primary-4);
  position: relative;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: var(--primary-5-dark);
  color: white;
  padding: 4rem 0 1rem;
  position: relative;
}

footer h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--primary-2);
}

#sitename-footer {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  display: block;
}

#sitedesc {
  margin-bottom: 2rem;
}

#site_policies_title {
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#site_contact_title {
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#site_disclaimer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#contact-info-phone,
#contact-info-email,
#contact-info-address {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

#contact-info-phone i,
#contact-info-email i,
#contact-info-address i {
  margin-right: 1rem;
  width: 20px;
  color: var(--primary-2);
}

.footer-bottom {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#site-copyright {
  color: rgba(255, 255, 255, 0.6);
}

/* Additional pages styling */
.page-header {
  padding: 10rem 0 5rem;
  background-color: var(--primary-1-light);
  color: white;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
}

/* Space page */
#space {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-4-light);
} 