/* AI Contract Analysis Tool - Main Styles */

:root {
  /* Primary Color Palette - Pastel High Contrast */
  --primary-blue: #4A90F2;
  --primary-green: #7ED321;
  --primary-purple: #9013FE;
  --primary-orange: #F5A623;
  --primary-red: #D0021B;
  
  /* Light Shades */
  --light-blue: #E8F4FD;
  --light-green: #F0F9E8;
  --light-purple: #F3E5F5;
  --light-orange: #FFF8E1;
  --light-red: #FFEBEE;
  
  /* Dark Shades */
  --dark-blue: #2C5282;
  --dark-green: #38A169;
  --dark-purple: #6B46C1;
  --dark-orange: #C05621;
  --dark-red: #9B2C2C;
  
  /* Neutral Colors */
  --text-primary: #2D3748;
  --text-secondary: #4A5568;
  --text-light: #718096;
  --bg-light: #F7FAFC;
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;
}

/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

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

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

.text-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Header Styles */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

/* 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: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="100" fill="%234A90F2" opacity="0.1"/><circle cx="800" cy="300" r="150" fill="%239013FE" opacity="0.1"/><circle cx="600" cy="700" r="120" fill="%237ED321" opacity="0.1"/></svg>') no-repeat center/cover;
  z-index: 1;
}

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

/* Section Spacing */
.section-padding {
  padding: 5rem 0;
}

.section-padding-lg {
  padding: 6rem 0;
}

/* Card Styles */
.card-custom {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Service Cards */
.service-card {
  background: var(--bg-white);
  padding: 2rem;
  text-align: center;
}

.service-card .fa {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

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

/* Team Cards */
.team-card {
  text-align: center;
  padding: 1.5rem;
}

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

/* Review Cards */
.review-card {
  background: var(--light-blue);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

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

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

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

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

/* Footer */
.footer {
  background-color: var(--text-primary);
  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;
}

/* Gallery Styles */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

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

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

/* Process/Timeline Items */
.process-item,
.timeline-item {
  position: relative;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary-blue);
  margin-bottom: 1.5rem;
}

/* Blog Items */
.blog-item {
  background: var(--bg-white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-3px);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* Breadcrumb */
.breadcrumb-custom {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-custom img {
  height: 24px;
  width: auto;
}

/* Animations - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

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

.text-secondary-custom {
  color: var(--text-secondary);
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-title .text-subtitle {
  color: var(--text-light);
}




/* Team Social Links - Glass Style */
.team-social-links {
    margin-top: 22px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.social-link {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: white;
}

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

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

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

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

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

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

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

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

.x-link:hover {
    background: rgba(0, 0, 0, 0.5);
}

.x-link i {
    display: none;
}

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