/* AI-Assisted Legal Brief Summarizer - Main Styles */
/* Bootstrap 5 Integration - No Overrides Allowed */

/* ========================================
   CSS Variables - Color Palette (5 Primary Colors)
========================================== */
:root {
  /* Primary Colors - Pastel High-Contrast */
  --primary-blue: #3B82F6;
  --primary-purple: #8B5CF6;
  --primary-teal: #14B8A6;
  --primary-indigo: #6366F1;
  --primary-green: #10B981;
  
  /* Light Shades */
  --light-blue: #DBEAFE;
  --light-purple: #EDE9FE;
  --light-teal: #CCFBF1;
  --light-indigo: #E0E7FF;
  --light-green: #D1FAE5;
  
  /* Dark Shades */
  --dark-blue: #1E3A8A;
  --dark-purple: #5B21B6;
  --dark-teal: #0F766E;
  --dark-indigo: #3730A3;
  --dark-green: #065F46;
  
  /* Neutral Colors */
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --background-light: #F9FAFB;
  --background-white: #FFFFFF;
  --border-light: #E5E7EB;
}

/* ========================================
   Typography - Conservative Sizes
========================================== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
}

.navbar-brand {
  font-size: 1.25rem !important;
  font-weight: 600;
  color: var(--primary-blue);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
}

p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 50%;
  height: 200%;
  background: var(--light-purple);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -25%;
  width: 40%;
  height: 150%;
  background: var(--light-teal);
  border-radius: 50%;
  opacity: 0.4;
  z-index: 1;
}

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

/* ========================================
   Sections - General Styling
========================================== */
.section-padding {
  padding: 5rem 0;
}

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

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ========================================
   Services Section
========================================== */
.service-card {
  background: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: var(--light-blue);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
  font-size: 1.5rem;
}

.price-tag {
  background: var(--primary-blue);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  display: inline-block;
  margin-top: 1rem;
}

/* ========================================
   Team Section
========================================== */
.team-card {
  background: var(--background-white);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.team-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--light-indigo);
}

/* ========================================
   Testimonials/Reviews Section - Static Cards Only
========================================== */
.review-card {
  background: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 2rem;
  height: 100%;
}

.review-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.review-author {
  color: var(--primary-blue);
  font-weight: 600;
}

/* ========================================
   FAQ Section - Static Cards Only
========================================== */
.faq-card {
  background: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-question {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--text-secondary);
  margin: 0;
}

/* ========================================
   Price Plan Section
========================================== */
.price-card {
  background: var(--background-white);
  border: 2px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: border-color 0.3s ease;
}

.price-card:hover {
  border-color: var(--primary-blue);
}

.price-card.featured {
  border-color: var(--primary-blue);
  background: var(--light-blue);
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.price-features li::before {
  content: '✓';
  color: var(--primary-green);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ========================================
   Contact Form
========================================== */
.contact-form {
  background: var(--background-white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

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

/* ========================================
   Footer - High Contrast Colors Only
========================================== */
.footer {
  background: var(--dark-blue);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* ========================================
   Blog Section
========================================== */
.blog-card {
  background: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--light-purple);
}

/* ========================================
   Gallery Section
========================================== */
.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

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

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

/* ========================================
   Utility Classes
========================================== */
.text-primary-custom {
  color: var(--primary-blue);
}

.bg-light-custom {
  background-color: var(--background-light);
}

.btn-primary-custom {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
  transform: translateY(-2px);
}

/* ========================================
   Accessibility - Reduced Motion
========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.9);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 1);
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

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

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

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