/* Main CSS for Nonprofit Subsidy Acquisition Workshops */

:root {
  /* Color Palette */
  --primary-color: #3D6CB9; /* Blue - main brand color */
  --secondary-color: #F3B941; /* Gold - accent color */
  --tertiary-color: #48A9A6; /* Teal - supporting color */
  --quaternary-color: #E94F37; /* Coral - highlighting color */
  --quinary-color: #6B4E71; /* Purple - sophisticated color */
  
  /* Shades and tints */
  --primary-light: #6B90CB;
  --primary-dark: #2A487E;
  --secondary-light: #F8D086;
  --secondary-dark: #C58F1F;
  --tertiary-light: #84CBC9;
  --tertiary-dark: #347F7D;
  --quaternary-light: #F18B7A;
  --quaternary-dark: #BC3A27;
  --quinary-light: #8F7995;
  --quinary-dark: #4A354F;
  
  /* Neutrals */
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #ADADAD;
  --dark-gray: #555555;
  --black: #222222;
  
  /* Typography */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Section spacing */
section {
  padding: 5rem 0;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.section-description {
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header.scrolled {
  padding: 0.5rem 0;
  background-color: var(--white);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav-link {
  color: var(--dark-gray) !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-shape {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background-color: var(--secondary-color);
  opacity: 0.1;
  border-radius: 50%;
  z-index: 1;
}

/* About Section */
.about-feature {
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
}

.about-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* Services Section */
.services-item {
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.services-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.services-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.services-item:hover::before {
  width: 10px;
}

.services-item-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.services-item-price {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
  font-weight: 700;
  border-radius: 30px;
  margin-top: 1rem;
}

.services-item-features {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
}

.services-item-features li {
  margin-bottom: 0.5rem;
}

/* Features Section */
.features-item {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
}

.features-item-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--white);
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.features-item:hover .features-item-icon {
  transform: rotateY(180deg);
  background-color: var(--primary-color);
}

/* Price Plan Section */
.priceplan-item {
  padding: 3rem 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.priceplan-item:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
  z-index: 2;
}

.priceplan-item-name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.priceplan-item-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.priceplan-item-features {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.priceplan-item-features li {
  margin-bottom: 0.75rem;
}

/* Team Section */
.team-member {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-member-image {
  position: relative;
  overflow: hidden;
}

.team-member-image img {
  transition: all 0.5s ease;
  width: 100%;
}

.team-member:hover .team-member-image img {
  transform: scale(1.1);
}

.team-member-info {
  padding: 1.5rem;
  background-color: var(--white);
}

.team-member-name {
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.team-member-role {
  color: var(--primary-color);
  font-weight: 600;
}

/* Reviews Section */
.reviews-section {
  position: relative;
  overflow: hidden;
  background-color: var(--light-gray);
}

.reviews-shape {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--tertiary-color);
  opacity: 0.1;
  border-radius: 50%;
  z-index: 1;
}

.review-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin: 1rem 0.5rem;
  position: relative;
  z-index: 2;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}

.review-text::before {
  content: '\201C';
  font-size: 4rem;
  position: absolute;
  left: 0;
  top: -20px;
  color: var(--primary-light);
  opacity: 0.3;
  font-family: serif;
}

.review-author {
  font-weight: 700;
  color: var(--primary-color);
}

/* Core Info Section */
.coreinfo-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.coreinfo-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.coreinfo-item-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--tertiary-color);
}

/* Contact Form Section */
.contact-form {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: none;
  border-bottom: 2px solid var(--medium-gray);
  border-radius: 0;
  padding: 0.75rem 0;
  background-color: transparent;
  transition: all 0.3s ease;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Blog Section */
.blog-item {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blog-item-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.blog-item:hover .blog-item-image img {
  transform: scale(1.1);
}

.blog-item-content {
  padding: 1.5rem;
}

.blog-item-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.blog-item-excerpt {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.blog-item-link {
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  padding-right: 20px;
}

.blog-item-link::after {
  content: '→';
  position: absolute;
  right: 0;
  transition: all 0.3s ease;
}

.blog-item-link:hover::after {
  right: -5px;
}

/* FAQ Section */
.accordion-item {
  border: none;
  background-color: transparent;
  margin-bottom: 1rem;
}

.accordion-button {
  background-color: var(--white);
  border-radius: 10px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  font-weight: 600;
  padding: 1.25rem;
  color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233D6CB9'%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-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='%23ffffff'%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.5rem;
  background-color: var(--white);
  border-radius: 0 0 10px 10px;
}

/* Gallery Section */
.gallery-section {
  padding-bottom: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
}

.gallery-item img {
  transition: all 0.5s ease;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-desc {
  margin-bottom: 2rem;
  opacity: 0.8;
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--light-gray);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  opacity: 1;
  padding-left: 5px;
}

.contact-info {
  list-style: none;
  padding-left: 0;
}

.contact-info li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 1rem;
  color: var(--secondary-color);
}

.copyright {
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

/* Breadcrumb */
.breadcrumb-section {
  padding: 1rem 0;
  background-color: var(--light-gray);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

/* Space template */
.space-wrapper {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
} 