/* ===== CFO COMMUNITY TEMPLATE - MAIN STYLES ===== */

/* Color Palette - Pastel High-Contrast Colors */
:root {
  /* Primary Colors */
  --primary-navy: #29374f;
  --primary-teal: #1b9d7f;
  --primary-coral: #da7211;
  --primary-slate: #31424d;
  --primary-mint: #0ec389;
  
  /* Light Shades */
  --light-navy: #2c3b54;
  --light-teal: #3cd6b6;
  --light-coral: #ffbd19;
  --light-slate: #617481;
  --light-mint: #64c688;
  
  /* Dark Shades */
  --dark-navy: #111a20;
  --dark-teal: #147570;
  --dark-coral: #cb4203;
  --dark-slate: #325465;
  --dark-mint: #109d96;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #888b8e;
  --dark-gray: #363e47;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  
  /* Conservative Font Sizes */
  --fs-small: 0.875rem;
  --fs-normal: 1rem;
  --fs-medium: 1.125rem;
  --fs-large: 1.25rem;
  --fs-xlarge: 1.5rem;
  --fs-xxlarge: 2rem;
}

/* Base Typography - Conservative Sizing */
body {
  font-family: var(--font-primary);
  font-size: var(--fs-normal);
  line-height: 1.6;
  color: var(--dark-slate);
  background-color: var(--white);
}

/* Conservative Heading Sizes */
h1 {
  font-size: var(--fs-xxlarge);
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--fs-xlarge);
  font-weight: 600;
  color: var(--primary-slate);
  margin-bottom: 0.875rem;
}

h3 {
  font-size: var(--fs-large);
  font-weight: 500;
  color: var(--primary-slate);
  margin-bottom: 0.75rem;
}

h4, h5, h6 {
  font-size: var(--fs-medium);
  font-weight: 500;
  color: var(--primary-slate);
  margin-bottom: 0.625rem;
}

p {
  font-size: var(--fs-normal);
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dark-teal);
}

/* Header & Navigation */
.navbar-brand {
  font-size: var(--fs-large) !important;
  font-weight: 600;
  color: var(--primary-navy) !important;
}

.navbar-nav .nav-link {
  font-size: var(--fs-normal);
  font-weight: 500;
  color: var(--primary-slate) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-teal) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: var(--primary-mint);
  opacity: 0.05;
  border-radius: 50% 0 0 50%;
  transform: translateX(50%);
}

/* Section Spacing */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Services Cards */
.service-card {
  background: var(--white);
  border: 1px solid #d7d7d7;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.service-price {
  font-size: var(--fs-xlarge);
  font-weight: 700;
  color: var(--primary-teal);
  margin-top: 1rem;
}

/* Features Section */
.features-section {
  background-color: var(--light-gray);
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-coral);
  margin-bottom: 1rem;
}

/* Price Plan Cards */
.price-card {
  background: var(--white);
  border: 2px solid #f9f9f9;
  border-radius: 0.75rem;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-teal);
}

.price-card.featured {
  border-color: var(--primary-coral);
  transform: scale(1.05);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Team Section */
.team-member {
  text-align: center;
  padding: 1rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--primary-mint);
}

/* Reviews/Testimonials */
.review-card {
  background: var(--white);
  border: 1px solid #d3dde8;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.review-author {
  font-weight: 600;
  color: var(--primary-navy);
  margin-top: 1rem;
}

/* Case Studies */
.casestudy-card {
  background: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.casestudy-card:hover {
  transform: translateY(-3px);
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-teal);
  color: var(--white);
  font-size: var(--fs-large);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Timeline */
.timeline-item {
  padding: 2rem;
  border-left: 3px solid var(--primary-mint);
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--primary-coral);
}

/* Career Section */
.career-item {
  background: var(--white);
  border: 1px solid #ffffff;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.career-item:hover {
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Core Info Section */
.coreinfo-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 3rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 1px solid #c8d2d8;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-size: var(--fs-normal);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(9, 162, 156, 0.25);
}

.btn-primary {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-teal);
  border-color: var(--dark-teal);
}

/* Blog Section */
.blog-card {
  background: var(--white);
  border: 1px solid #e4e8ef;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.faq-card {
  background: var(--white);
  border: 1px solid #bfcbda;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.faq-question {
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--medium-gray);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-item {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
footer {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 3rem 0 1rem;
}

footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

footer a {
  color: var(--light-mint);
}

footer a:hover {
  color: var(--white);
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background-color: var(--light-gray);
}

.breadcrumb-image {
  max-height: 40px;
  width: auto;
}

/* Utility Classes */
.text-primary-teal {
  color: var(--primary-teal) !important;
}

.text-primary-navy {
  color: var(--primary-navy) !important;
}

.bg-light-section {
  background-color: var(--light-gray);
}

/* Animation Support - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, 
  *::before, 
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Sal.js Animation Classes */
[data-sal] {
  transition-duration: 0.5s;
  transition-timing-function: ease-out;
}

/* Additional Page Sections */
.add-page-section {
  padding: 3rem 0;
}

.add-page-section:nth-child(even) {
  background-color: var(--light-gray);
}

.add-page-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #d7dbdd;
} 

.hero-section h1 {
    padding-top: 175px;
}


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.instagram-link:hover {
    background: #e4405f;
    border-color: #e4405f;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
