/* ==========================================
   AUTOMATED BOOKKEEPING TEMPLATE - MAIN CSS
   ========================================== */

:root {
  /* Primary Color Palette - Pastel High Contrast */
  --primary-color: #3367c9;
  --secondary-color: #8dc328;
  --accent-color: #ffad36;
  --neutral-color: #afa2a3;
  --danger-color: #c21129;
  
  /* Light Shades */
  --primary-light: #dbe4ee;
  --secondary-light: #dee7ca;
  --accent-light: #fff8ee;
  --neutral-light: #F5F5F5;
  --danger-light: #ffffff;
  
  /* Dark Shades */
  --primary-dark: #0a52bd;
  --secondary-dark: #2f9536;
  --accent-dark: #ff8304;
  --neutral-dark: #363636;
  --danger-dark: #c02921;
  
  /* Bootstrap Variable Overrides */
  --bs-primary: var(--primary-color);
  --bs-success: var(--secondary-color);
  --bs-warning: var(--accent-color);
  --bs-secondary: var(--neutral-color);
  --bs-danger: var(--danger-color);
  
  /* Typography */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --line-height-base: 1.5;
  
  /* Conservative Font Sizes */
  --navbar-brand-font-size: 1.36rem;
  --h1-font-size: 2rem;
  --h2-font-size: 1.76rem;
  --h3-font-size: 1.58rem;
  --h4-font-size: 1.34rem;
  --h5-font-size: 1.16rem;
  --h6-font-size: 1rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --card-padding: 1.5rem;
  --border-radius: 8px;
  --box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   PREFERS-REDUCED-MOTION RESPECT
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================
   BASE STYLES
   ========================================== */
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--neutral-dark);
  background-color: #ffffff;
}

/* ==========================================
   TYPOGRAPHY - CONSERVATIVE SIZING
   ========================================== */
.navbar-brand {
  font-size: var(--navbar-brand-font-size);
  font-weight: 600;
  color: var(--primary-color);
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.99rem;
}

h3 {
  font-size: var(--h3-font-size);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.91rem;
}

h4 {
  font-size: var(--h4-font-size);
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 0.69rem;
}

h5 {
  font-size: var(--h5-font-size);
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 0.72rem;
}

h6 {
  font-size: var(--h6-font-size);
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 0.60rem;
}

p {
  font-size: var(--font-size-base);
  color: var(--neutral-dark);
  margin-bottom: 1rem;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  background-color: #ffffff;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-nav .nav-link {
  color: var(--neutral-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(87, 150, 222, 0.10) 0%, transparent 70%);
  animation: float 6s 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: 150px;
}

.hero-title {
  font-size: var(--h1-font-size);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: var(--h4-font-size);
  color: var(--neutral-color);
  margin-bottom: 1.58rem;
}

.hero-desc {
  font-size: var(--font-size-lg);
  color: var(--neutral-dark);
  margin-bottom: 2rem;
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-color);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.61rem;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: var(--card-padding);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-card {
  text-align: center;
  padding: 2rem;
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.services-card:hover {
  transform: translateY(-5px);
}

.services-price {
  font-size: var(--h3-font-size);
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1rem;
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--primary-light);
}

.team-member-name {
  font-size: var(--h5-font-size);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.55rem;
}

.team-member-role {
  font-size: var(--font-size-sm);
  color: var(--neutral-color);
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact-form {
  background: var(--primary-light);
  padding: 3rem;
  border-radius: var(--border-radius);
}

.form-control {
  border: 1px solid #e1d7d5;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(84, 160, 212, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer a {
  color: #c4c4c4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #474747;
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  color: #d5c1c1;
}

/* ==========================================
   GALLERY
   ========================================== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-card {
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-question {
  font-size: var(--h6-font-size);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.90rem;
}

.faq-answer {
  font-size: var(--font-size-base);
  color: var(--neutral-dark);
  line-height: 1.6;
}

/* ==========================================
   BREADCRUMBS
   ========================================== */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

/* ==========================================
   PRICE PLANS
   ========================================== */
.price-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background: #ffffff;
  position: relative;
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card.featured {
  border: 2px solid var(--primary-color);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #ffffff;
  padding: 0.25rem 1rem;
  border-radius: 15px;
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.price {
  font-size: 2.51rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--neutral-dark);
  border-bottom: 1px solid #f0f0f0;
}

.price-features li:last-child {
  border-bottom: none;
}

/* ==========================================
   BLOG SECTION
   ========================================== */
.blog-card {
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-title {
  font-size: var(--h5-font-size);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.92rem;
}

.blog-excerpt {
  font-size: var(--font-size-sm);
  color: var(--neutral-color);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  text-decoration: underline;
}

/* ==========================================
   SPACE PAGE
   ========================================== */
#space {
  min-height: 60vh;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-primary-custom {
  color: var(--primary-color);
}

.bg-primary-light {
  background-color: var(--primary-light);
}

.bg-secondary-light {
  background-color: var(--secondary-light);
}

.bg-accent-light {
  background-color: var(--accent-light);
}

.shadow-custom {
  box-shadow: var(--box-shadow);
}

.border-radius-custom {
  border-radius: var(--border-radius);
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
