/* ===== AI LEGAL BRIEF SUMMARIZER - MAIN STYLES ===== */

:root {
  /* Color Palette - Pastel High-Contrast Colors */
  --primary-blue: #4d88ea;
  --primary-green: #8dbc29;
  --primary-purple: #800ff3;
  --primary-orange: #ff9e1c;
  --primary-red: #d21732;
  
  /* Light/Dark Shades */
  --light-blue: #dae4ee;
  --dark-blue: #234893;
  --light-green: #F0FFF0;
  --dark-green: #55911b;
  --light-purple: #fcf5ff;
  --dark-purple: #5f1195;
  --light-orange: #e6e4dd;
  --dark-orange: #fa3700;
  --light-red: #e7cacb;
  --dark-red: #d02e3c;
  
  /* Neutral Colors */
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #d7cecd;
  --gray-600: #8d8d8d;
  --gray-800: #4b4545;
  --gray-900: #303030;
}

/* ===== GLOBAL STYLES ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  scroll-behavior: smooth;
}

/* Conservative Typography */
.navbar-brand {
  font-size: 1.25rem !important;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: var(--primary-blue);
  opacity: 0.1;
  border-radius: 50%;
  transform: rotate(15deg);
}

.hero-content {
  z-index: 2;
  position: relative;
    padding-top: 250px;
}

.hero-image {
  z-index: 1;
  position: relative;
}

/* ===== SECTION SPACING ===== */
.section-padding {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 2rem;
  color: var(--gray-900);
}

.section-subtitle {
  color: var(--primary-blue);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-description {
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
}

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

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

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

.card-header {
  background: transparent;
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.service-card .service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ===== TEAM CARDS ===== */
.team-card {
  text-align: center;
  padding: 1.5rem;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 4px solid var(--light-blue);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--gray-50);
  border-left: 4px solid var(--primary-blue);
  padding: 2rem;
  margin-bottom: 2rem;
}

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

/* ===== FAQ SECTION ===== */
.faq-card {
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
}

.faq-question {
  background: var(--light-blue);
  padding: 1.5rem;
  margin: 0;
  font-weight: 600;
  color: var(--dark-blue);
}

.faq-answer {
  padding: 1.5rem;
  margin: 0;
  background: white;
}

/* ===== FORM STYLES ===== */
.form-control {
  border-radius: 5px;
  border: 2px solid var(--gray-200);
  padding: 12px 15px;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(59, 110, 229, 0.25);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--gray-300);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid var(--gray-600);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* ===== GALLERY ===== */
.gallery-item {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
} 


/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

.x-link::after {
    content: '✦';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
