/* ==========================================================================
   REMOTE CFO COMMUNITY - MAIN STYLES
   ========================================================================== */

/* Bootstrap 5 CDN Integration */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Font Awesome CDN */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');



/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   CSS VARIABLES - COLOR PALETTE
   ========================================================================== */

:root {
  /* Primary Colors (5 main colors) */
  --primary-blue: #6372e1;
  --primary-teal: #1bcbc5;
  --primary-purple: #9154e9;
  --primary-emerald: #0ac76e;
  --primary-rose: #ff405e;
  
  /* Light Shades */
  --light-blue: #e9ebf7;
  --light-teal: #cafff5;
  --light-purple: #fdfdff;
  --light-emerald: #e3fff3;
  --light-rose: #fff6fa;
  
  /* Dark Shades */
  --dark-blue: #4135d5;
  --dark-teal: #16716a;
  --dark-purple: #6321e2;
  --dark-emerald: #007455;
  --dark-rose: #db283b;
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #cfd2d9;
  --gray-300: #d9dce0;
  --gray-400: #878e99;
  --gray-500: #5a606b;
  --gray-600: #39424b;
  --gray-700: #4a5063;
  --gray-800: #283045;
  --gray-900: #1f2540;
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --section-padding: 80px;
  --container-max-width: 1140px;
  
  /* Animations */
  --transition-base: 0.3s ease-in-out;
  --transition-fast: 0.15s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Conservative Typography */
h1, .h1 {
  font-size: 2.57rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

h2, .h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  color: var(--gray-900);
  margin-bottom: 0.81rem;
}

h3, .h3 {
  font-size: 1.59rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1.4;
  color: var(--gray-800);
  margin-bottom: 0.65rem;
}

h4, .h4 {
  font-size: 1.26rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
  color: var(--gray-800);
  margin-bottom: 0.56rem;
}

h5, .h5 {
  font-size: 1.20rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  color: var(--gray-700);
  margin-bottom: 0.60rem;
}

h6, .h6 {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  color: var(--gray-700);
  margin-bottom: 0.57rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--dark-blue);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Sections */
section {
  padding: var(--section-padding) 0;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.navbar {
  padding: 1rem 0;
  background-color: var(--white);
  box-shadow: 0 7px 7px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.51rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-blue);
}

.navbar-nav .nav-link {
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
  padding: 0.5rem 1rem;
  transition: var(--transition-base);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-teal) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(98, 80, 255, 0.10) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 275px;
}

.hero-title {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: 1.64rem;
}

.hero-subtitle {
  font-size: 1.29rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.22rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */

.section-title {
  font-size: 2.58rem;
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.32rem;
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.16rem;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   CARD STYLES
   ========================================================================== */

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 11px 25px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-size: 1.37rem;
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.card-text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   BUTTON STYLES
   ========================================================================== */

.btn {
  border-radius: 11px;
  font-weight: var(--font-weight-medium);
  padding: 0.75rem 1.5rem;
  transition: var(--transition-base);
  border: none;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  color: var(--white);
}

.btn-outline-primary {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* ==========================================================================
   FORM STYLES
   ========================================================================== */

.form-control {
  border-radius: 12px;
  border: 2px solid var(--gray-200);
  padding: 0.75rem 1rem;
  transition: var(--transition-base);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(105, 108, 254, 0.25);
}

.form-label {
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
  margin-bottom: 0.68rem;
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--gray-300);
  transition: var(--transition-base);
}

.footer a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
  margin-top: 2rem;
}

/* ==========================================================================
   SPECIALTY SECTIONS
   ========================================================================== */

/* Services Section */
.services-item {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
  height: 100%;
}

.services-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.services-item img {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
}

.services-item h4 {
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.services-item p {
  color: var(--gray-600);
  margin-bottom: 1.62rem;
}

.services-price {
  font-size: 1.62rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-blue);
}

/* Team Section */
.team-member {
  text-align: center;
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
}

.team-member h5 {
  color: var(--gray-900);
  margin-bottom: 0.56rem;
}

.team-member p {
  color: var(--primary-blue);
  font-weight: var(--font-weight-medium);
}

/* Reviews Section */
.review-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
  height: 100%;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.review-text {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1.62rem;
}

.review-author {
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
}

/* FAQ Section */
.faq-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.57rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.bg-light-blue { background-color: var(--light-blue); }
.bg-light-teal { background-color: var(--light-teal); }
.bg-light-purple { background-color: var(--light-purple); }
.bg-light-emerald { background-color: var(--light-emerald); }
.bg-light-rose { background-color: var(--light-rose); }

.text-primary-blue { color: var(--primary-blue); }
.text-primary-teal { color: var(--primary-teal); }
.text-primary-purple { color: var(--primary-purple); }
.text-primary-emerald { color: var(--primary-emerald); }
.text-primary-rose { color: var(--primary-rose); }

.border-primary-blue { border-color: var(--primary-blue); }
.border-primary-teal { border-color: var(--primary-teal); }
.border-primary-purple { border-color: var(--primary-purple); }
.border-primary-emerald { border-color: var(--primary-emerald); }
.border-primary-rose { border-color: var(--primary-rose); }

/* ==========================================================================
   RESPONSIVE DESIGN - MOTION PREFERENCES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-section::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;
    }
}
