/* Child Custody Strategy Clinics - Main CSS */

/* Color Variables - 5 Primary Colors + Shades */
:root {
  --primary-deep-blue: #1e3a5f;
  --primary-deep-blue-light: #2d4d73;
  --primary-deep-blue-dark: #152c47;
  
  --primary-warm-teal: #4a8b8b;
  --primary-warm-teal-light: #5ca3a3;
  --primary-warm-teal-dark: #3a6d6d;
  
  --primary-soft-gold: #d4af37;
  --primary-soft-gold-light: #e6c659;
  --primary-soft-gold-dark: #b8962a;
  
  --primary-sage-green: #87a96b;
  --primary-sage-green-light: #9bb881;
  --primary-sage-green-dark: #72904f;
  
  --primary-warm-gray: #6b6b6b;
  --primary-warm-gray-light: #848484;
  --primary-warm-gray-dark: #525252;
  
  /* Additional Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-gray: #343a40;
  --black: #000000;
  
  /* Conservative Font Sizes */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-h6: 1rem;
  --font-size-h5: 1.125rem;
  --font-size-h4: 1.25rem;
  --font-size-h3: 1.5rem;
  --font-size-h2: 1.75rem;
  --font-size-h1: 2rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 1rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

/* Respect Reduced Motion */
@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;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-deep-blue);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
  margin-bottom: 1rem;
  color: var(--primary-warm-gray);
}

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--primary-deep-blue), var(--primary-warm-teal));
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: var(--font-size-xl) !important;
  font-weight: 700;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-soft-gold) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-deep-blue) 0%, var(--primary-warm-teal) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../AUT_images/hero-background.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: var(--white);
  font-size: var(--font-size-h1);
  margin-bottom: 1.5rem;
}

.hero-section p {
  color: rgba(255,255,255,0.9);
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
}

/* Decorative Shapes */
.hero-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary-soft-gold);
  border-radius: 50% 30% 70% 40%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-blob:nth-child(2) {
  top: 20%;
  right: 10%;
  animation-delay: -2s;
}

.hero-blob:nth-child(3) {
  bottom: 20%;
  left: 5%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Section Styling */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: var(--font-size-lg);
  color: var(--primary-warm-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  background-color: var(--light-gray);
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-warm-teal);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--primary-sage-green-light), var(--primary-sage-green));
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
    overflow-x: hidden;
  padding: 2rem;
}

.service-price {
  font-size: var(--font-size-h3);
  color: var(--primary-soft-gold);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 5px solid var(--primary-soft-gold);
}

/* Reviews Section */
.reviews-section {
  background-color: var(--light-gray);
}

.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  position: relative;
}

.review-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-soft-gold);
  position: absolute;
  top: -10px;
  left: 20px;
}

/* Price Plan Section */
.price-card {
  background: var(--white);
  border: 2px solid var(--primary-warm-teal);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: scale(1.05);
  border-color: var(--primary-soft-gold);
}

.price-card.featured {
  background: linear-gradient(135deg, var(--primary-deep-blue), var(--primary-warm-teal));
  color: var(--white);
  transform: scale(1.1);
}

.price-value {
  font-size: var(--font-size-h1);
  color: var(--primary-soft-gold);
  font-weight: 700;
  margin: 1rem 0;
}

/* Process Section */
.process-step {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-warm-teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-lg);
  margin: 0 auto 1rem;
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, var(--primary-deep-blue), var(--primary-warm-teal));
  color: var(--white);
}

.contact-form {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.form-control {
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.btn-primary {
  background: var(--primary-soft-gold);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-soft-gold-dark);
}

/* FAQ Section */
.faq-item {
  background: var(--white);
  border: 1px solid #dee2e6;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.faq-question {
  background: var(--light-gray);
  padding: 1rem;
  cursor: pointer;
  font-weight: 600;
  border-bottom: 1px solid #dee2e6;
}

.faq-answer {
  padding: 1rem;
  display: none;
}

/* Gallery */
.gallery-item {
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: var(--primary-deep-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-soft-gold);
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-soft-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb-section {
  padding: 1rem 0;
  background-color: var(--light-gray);
}

.breadcrumb-img {
  max-height: 30px;
  width: auto;
}

/* Blog Section */
.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
    overflow-x: hidden;
  padding: 1.5rem;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-deep-blue), var(--primary-warm-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-deep-blue), var(--primary-warm-teal));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--primary-sage-green), var(--primary-soft-gold));
}

/* Timeline Section */
.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-warm-teal);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-content {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-left: 2rem;
}

@media (min-width: 768px) {
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 2rem;
  }
}

/* Case Study Section */
.case-study-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.case-study-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-study-content {
  padding: 2rem;
}

/* Career Section */
.career-card {
  background: var(--white);
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: border-color 0.3s ease;
}

.career-card:hover {
  border-color: var(--primary-warm-teal);
}

/* Core Info Section */
.info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  border-top: 4px solid var(--primary-warm-teal);
}

.info-card i {
  font-size: 3rem;
  color: var(--primary-warm-teal);
  margin-bottom: 1rem;
} 