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

:root {
  /* Color Palette - Pastel High-Contrast Colors */
  --primary-blue: #5bb8f1;
  --primary-green: #8bd823;
  --primary-purple: #9518ff;
  --primary-orange: #ffbf23;
  --primary-red: #ca002d;
  
  /* Light/Dark Shades */
  --light-blue: #e9f4ff;
  --dark-blue: #274a71;
  --light-green: #F0FFF0;
  --dark-green: #75b019;
  --light-purple: #e8d5ef;
  --dark-purple: #6d2ca5;
  --light-orange: #fffeec;
  --dark-orange: #eb7700;
  --light-red: #fffcfd;
  --dark-red: #b21821;
  
  /* Neutral Colors */
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #e3e3e3;
  --gray-600: #808080;
  --gray-800: #554f4e;
  --gray-900: #363636;
}

/* ===== 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: 100px;
}

.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(57, 135, 225, 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 - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

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

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
