/* ========================================================================
   MAIN CSS - SaaS Testimonial Collection Template
   ======================================================================== */

/* Color Palette - 5 Primary Colors with Light/Dark Shades */
:root {
  /* Primary Colors */
  --primary-1: #667eea;
  --primary-2: #764ba2;
  --primary-3: #f093fb;
  --primary-4: #ffecd2;
  --primary-5: #fcb69f;
  
  /* Light Shades */
  --primary-1-light: #a5b4fc;
  --primary-2-light: #c4b5fd;
  --primary-3-light: #fbcfe8;
  --primary-4-light: #fef3c7;
  --primary-5-light: #fed7cc;
  
  /* Dark Shades */
  --primary-1-dark: #3730a3;
  --primary-2-dark: #581c87;
  --primary-3-dark: #be185d;
  --primary-4-dark: #d97706;
  --primary-5-dark: #ea580c;
  
  /* Text Colors */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  
  /* Background Colors */
  --bg-light: #f9fafb;
  --bg-lighter: #ffffff;
  --bg-gradient: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Borders */
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-lighter);
}

/* Typography - Conservative Sizes */
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;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Header Styles */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-1);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-1);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 175px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Decorative Shapes */
.decorative-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

/* Buttons */
.btn-primary {
  background: var(--primary-1);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-1-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  border: 2px solid var(--primary-1);
  color: var(--primary-1);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-1);
  color: white;
  transform: translateY(-2px);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-secondary);
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.card-header {
  background: var(--bg-light);
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* Services Section */
.service-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-1);
  margin-bottom: 1rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-1);
  margin-top: 1rem;
}

/* Features Section */
.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-1);
  margin-right: 1rem;
  min-width: 50px;
}

/* Team Section */
.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-1-light);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Reviews/Testimonials Section */
.review-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  position: relative;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.review-author {
  font-weight: 600;
  color: var(--text-primary);
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-control {
  border-radius: var(--border-radius);
  border: 1px solid #d1d5db;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.form-control:focus {
  border-color: var(--primary-1);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-1-dark);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

/* Navbar scrolled state */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .shape-1,
  .shape-2 {
    animation: none;
  }
}

/* Utility Classes */
.text-gradient {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-light-gradient {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
}

.shadow-custom {
  box-shadow: var(--shadow-lg);
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Image lazy loading placeholder */
.lozad {
  transition: opacity 0.3s ease;
}

.lozad[data-loaded="false"] {
  opacity: 0;
}

.lozad[data-loaded="true"] {
  opacity: 1;
}

/* Progress bar styles */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 10000;
  pointer-events: none;
}

/* Custom spacing for sections */
.py-section {
  padding: 5rem 0;
}

.py-section-sm {
  padding: 3rem 0;
}

/* Gallery styles */
.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Process steps */
.process-step {
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.process-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--primary-1);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Timeline styles */
.timeline-item {
  position: relative;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  margin-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--primary-1);
  border-radius: 50%;
}

/* Price plan styles */
.price-plan {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.price-plan:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.price-plan.featured {
  border: 2px solid var(--primary-1);
  transform: scale(1.05);
}

.price-plan-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-1);
  margin: 1rem 0;
}

.price-plan-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-plan-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.price-plan-features li:last-child {
  border-bottom: none;
}

/* Case study styles */
.case-study {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.case-study-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Career styles */
.career-position {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.career-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.career-role {
  color: var(--primary-1);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Core info styles */
.core-info-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  text-align: center;
}

.core-info-icon {
  font-size: 2.5rem;
  color: var(--primary-1);
  margin-bottom: 1rem;
}

/* Blog styles */
.blog-post {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.blog-post:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.blog-post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-post-content {
  padding: 1.5rem;
}

.blog-post-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.blog-post-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.blog-post-link {
  color: var(--primary-1);
  text-decoration: none;
  font-weight: 500;
}

.blog-post-link:hover {
  text-decoration: underline;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
