/* ========================================
   WORKPLACE DISPUTE MEDIATION CENTER - MAIN CSS
   ======================================== */

:root {
  /* Sophisticated Pastel Color Palette */
  --primary-sage: #a8b5a0;
  --primary-lavender: #c8a8d8;
  --primary-peach: #f4d2a7;
  --primary-mint: #b8e6d3;
  --primary-coral: #f2b5a0;
  
  /* Light & Dark Variations */
  --sage-light: #d4ddd0;
  --sage-dark: #7a8a73;
  --lavender-light: #e4d4f4;
  --lavender-dark: #a585b5;
  --peach-light: #f9e6c8;
  --peach-dark: #e8b580;
  --mint-light: #d9f2e6;
  --mint-dark: #95d9b8;
  --coral-light: #f8d4c8;
  --coral-dark: #e89473;
  
  /* Neutral Tones */
  --neutral-white: #fafafa;
  --neutral-light: #f5f5f5;
  --neutral-medium: #e0e0e0;
  --neutral-dark: #4a4a4a;
  --neutral-charcoal: #2c2c2c;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-sage), var(--primary-mint));
  --gradient-secondary: linear-gradient(135deg, var(--primary-lavender), var(--primary-peach));
  --gradient-accent: linear-gradient(135deg, var(--primary-coral), var(--primary-peach));
  
  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  
  /* Spacing & Sizes */
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --shadow-soft: 0 4px 20px rgba(168, 181, 160, 0.15);
  --shadow-medium: 0 8px 30px rgba(168, 181, 160, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-dark);
  background-color: var(--neutral-white);
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--neutral-charcoal);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--neutral-dark);
}

/* Links */
a {
  color: var(--primary-sage);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--sage-dark);
  text-decoration: none;
}

/* ========================================
   HEADER STYLES
   ======================================== */

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--neutral-medium);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-sage) !important;
}

.navbar-nav .nav-link {
  color: var(--neutral-dark) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-sage) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: url('../CHA_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  transform: rotate(15deg);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
}

/* Decorative Shapes */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
}

.shape-blob-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 15%;
  animation: float 6s ease-in-out infinite;
}

.shape-blob-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 10%;
  animation: float 8s ease-in-out infinite reverse;
}

/* ========================================
   SECTION STYLES
   ======================================== */

section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--neutral-light);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--primary-sage);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  color: var(--neutral-dark);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   CARD COMPONENTS
   ======================================== */

.card-custom {
  background: white;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.card-custom .card-header {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.5rem;
}

.card-custom .card-body {
  padding: 2rem;
}

.card-custom .card-footer {
  background: var(--neutral-light);
  border: none;
  padding: 1.5rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.service-card {
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--neutral-dark);
}

.service-features li::before {
  content: '✓';
  color: var(--primary-mint);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary-sage);
  transition: var(--transition);
}

.team-member:hover .team-image {
  transform: scale(1.05);
  border-color: var(--primary-coral);
}

.team-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--neutral-charcoal);
}

.team-role {
  color: var(--primary-sage);
  font-style: italic;
}

/* ========================================
   TESTIMONIALS SLIDER
   ======================================== */

.testimonial-slide {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  margin: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--neutral-dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-sage);
}

.swiper-pagination-bullet {
  background: var(--primary-sage);
}

.swiper-pagination-bullet-active {
  background: var(--primary-coral);
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.form-control {
  border: 2px solid var(--neutral-medium);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(168, 181, 160, 0.25);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: var(--border-radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.accordion-header button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  font-weight: 600;
  padding: 1.5rem;
}

.accordion-header button:not(.collapsed) {
  background: var(--gradient-accent);
}

.accordion-body {
  background: white;
  padding: 1.5rem;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background: var(--neutral-charcoal);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-title {
  color: var(--primary-sage);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-sage);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   PREFERS REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .shape-blob-1, .shape-blob-2 {
    animation: none;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

.shadow-custom {
  box-shadow: var(--shadow-soft);
}

.rounded-custom {
  border-radius: var(--border-radius);
}

.rounded-custom-lg {
  border-radius: var(--border-radius-lg);
} 