/*
 * SaaS Webinar Captions Template - Main CSS
 * Bootstrap 5 Compatible - No Overrides
 * 2025 Modern Design with Conservative Typography
 */

:root {
  /* Primary Color Palette - 5 Pastel High-Contrast Colors */
  --primary-1: #4652d9; /* Indigo */
  --primary-1-light: #93a4ff;
  --primary-1-dark: #4841ce;
  
  --primary-2: #1ddbeb; /* Cyan */
  --primary-2-light: #4fd2f6;
  --primary-2-dark: #01adb6;
  
  --primary-3: #15c783; /* Emerald */
  --primary-3-light: #7df0b4;
  --primary-3-dark: #119973;
  
  --primary-4: #f59a0d; /* Amber */
  --primary-4-light: #ffe519;
  --primary-4-dark: #cc6f02;
  
  --primary-5: #fa303d; /* Red */
  --primary-5-light: #ffa8b7;
  --primary-5-dark: #ed4a31;
  
  /* Neutral Colors */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #ecedee;
  --gray-300: #acbbcd;
  --gray-400: #92adce;
  --gray-500: #5d7388;
  --gray-600: #3d4862;
  --gray-700: #27303d;
  --gray-800: #121d2b;
  --gray-900: #0d1d30;
  
  /* Typography Scale - Conservative Sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --element-margin: 1.5rem;
  --border-radius: 0.5rem;
  --box-shadow: 0 9px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  font-size: var(--font-size-base);
  margin: 0;
  padding: 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;
  }
}

/* Conservative Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

p {
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
  color: var(--gray-600);
}

/* Navbar Conservative Sizing */
.navbar-brand {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--primary-1);
}

/* Section Styling */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: var(--font-size-2xl);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.section-subtitle {
  font-size: var(--font-size-base);
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.section-desc {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-1-light), var(--primary-2-light));
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: 1.70rem;
    padding-top: 275px;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-1);
  border-color: var(--primary-1);
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-1-dark);
  border-color: var(--primary-1-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-2);
  color: var(--primary-2);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-2);
  color: white;
  transform: translateY(-2px);
}

/* Card Styles */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--box-shadow-lg);
  transform: translateY(-5px);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  color: white;
  border: none;
  padding: 1.5rem;
}

.card-body {
  padding: 2rem;
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.service-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.service-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-1);
  margin-top: 1rem;
}

/* Team Cards */
.team-card {
  text-align: center;
  padding: 2rem;
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.63rem;
}

.team-role {
  color: var(--primary-1);
  font-size: var(--font-size-sm);
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--gray-50);
  border-left: 4px solid var(--primary-2);
  padding: 2rem;
  margin-bottom: 2rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--gray-600);
}

.testimonial-author {
  font-weight: 600;
  color: var(--gray-800);
}

/* FAQ Cards */
.faq-card {
  margin-bottom: 1.60rem;
  border: 1px solid var(--gray-200);
}

.faq-question {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Price Plan Cards */
.price-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--primary-1);
  transform: scale(1.05);
}

.price-card .price {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--primary-1);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.price-features li:last-child {
  border-bottom: none;
}

/* Contact Form */
.contact-form {
  background: var(--gray-50);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-control {
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-1);
  box-shadow: 0 0 0 0.2rem rgba(96, 111, 240, 0.25);
}

.form-label {
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.74rem;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-1-light);
}

/* Decorative Elements */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-1);
  top: 10%;
  right: 10%;
}

.blob-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-2);
  bottom: 20%;
  left: 15%;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Process Steps */
.process-item {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--primary-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: var(--font-size-lg);
}

.process-item:nth-child(1)::before { content: '1'; }
.process-item:nth-child(2)::before { content: '2'; }
.process-item:nth-child(3)::before { content: '3'; }
.process-item:nth-child(4)::before { content: '4'; }
.process-item:nth-child(5)::before { content: '5'; }

.process-item h4 {
  margin-top: 4rem;
  color: var(--gray-800);
}

/* Timeline */
.timeline-item {
  position: relative;
  padding: 2rem 0;
  border-left: 2px solid var(--primary-1);
  margin-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 2rem;
  width: 12px;
  height: 12px;
  background: var(--primary-1);
  border-radius: 50%;
}

.timeline-item:last-child {
  border-left: none;
}

/* Utility Classes */
.text-primary { color: var(--primary-1); }
.text-secondary { color: var(--primary-2); }
.bg-primary { background-color: var(--primary-1); }
.bg-secondary { background-color: var(--primary-2); }
.bg-light { background-color: var(--gray-50); }
.bg-dark { background-color: var(--gray-900); }

.rounded { border-radius: var(--border-radius); }
.shadow { box-shadow: var(--box-shadow); }
.shadow-lg { box-shadow: var(--box-shadow-lg); }

.mb-section { margin-bottom: 3rem; }
.mt-section { margin-top: 3rem; }
.py-section { padding: 3rem 0; }

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus Styles */
*:focus {
  outline: 2px solid var(--primary-1);
  outline-offset: 2px;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-1);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
