/* Social Impact Consulting Template - Main CSS */

/* Color Palette - Pastel High-Contrast Colors */
:root {
  /* Primary Colors */
  --primary-sage: #8FBC8F;
  --primary-coral: #FFA07A;
  --primary-lavender: #E6E6FA;
  --primary-mint: #F0FFF0;
  --primary-peach: #FFDAB9;
  
  /* Light Shades */
  --light-sage: #A8D8A8;
  --light-coral: #FFB399;
  --light-lavender: #F0F0FF;
  --light-mint: #F8FFF8;
  --light-peach: #FFE4CD;
  
  /* Dark Shades */
  --dark-sage: #76A376;
  --dark-coral: #E6967A;
  --dark-lavender: #D1D1E6;
  --dark-mint: #E0F0E0;
  --dark-peach: #E6C19A;
  
  /* Neutral Colors */
  --text-dark: #2C3E50;
  --text-light: #5D6C7B;
  --white: #FFFFFF;
  --gray-light: #F8F9FA;
  --gray-medium: #DEE2E6;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Typography - Conservative Sizes */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Header Styles */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-sage);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-sage);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-mint) 0%, var(--primary-lavender) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-coral) 0%, transparent 70%);
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 100px;
}

.hero h1 {
  color: var(--text-dark);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: var(--primary-sage);
  border-color: var(--primary-sage);
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-sage);
  border-color: var(--dark-sage);
  transform: translateY(-2px);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background-color: var(--gray-light);
}

.feature-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

/* Services Section */
.services {
  background-color: var(--white);
}

.service-card {
  background: var(--white);
  border: 2px solid var(--primary-lavender);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 650px;
}

.service-card:hover {
  border-color: var(--primary-sage);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  background: var(--primary-mint);
  border-radius: 15px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  flex-shrink: 0;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-sage);
  margin-top: auto;
  padding-top: 1rem;
  flex-shrink: 0;
}

.service-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1rem 0;
  line-height: 1.3;
  flex-shrink: 0;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: var(--text-light);
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.service-card ul {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  color: var(--text-light);
  max-height: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/* Team Section */
.team {
  background-color: var(--gray-light);
}

.team-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--primary-peach);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Reviews Section */
.reviews {
  background-color: var(--white);
}

.review-card {
  background: var(--primary-lavender);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.review-text {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 600;
  color: var(--text-dark);
}

/* FAQ Section */
.faq {
  background-color: var(--gray-light);
}

.faq-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-sage);
}

.faq-question {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-light);
}

/* Contact Section */
.contact {
  background-color: var(--white);
}

.contact-form {
  background: var(--gray-light);
  border-radius: 20px;
  padding: 3rem;
}

.form-control {
  border: 2px solid var(--gray-medium);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(143, 188, 143, 0.25);
}

.contact-info {
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.contact-icon i {
  color: var(--white);
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-sage);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--gray-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-sage);
}

.footer-bottom {
  border-top: 1px solid var(--gray-medium);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Gallery Section */
.gallery {
  background-color: var(--gray-light);
}

.gallery-item {
  background: var(--primary-mint);
  border-radius: 15px;
  height: 250px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
  
  .hero::before {
    animation: none;
  }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
