/* ===== SaaS Testimonial Collection Template - Main CSS ===== */

/* Color Palette - 5 Primary Colors + Light/Dark Shades */
:root {
  /* Primary Colors - Pastel High-Contrast */
  --primary-blue: #6366f1;
  --primary-purple: #8b5cf6;
  --primary-green: #10b981;
  --primary-orange: #f59e0b;
  --primary-pink: #ec4899;
  
  /* Light Shades */
  --light-blue: #e0e7ff;
  --light-purple: #f3e8ff;
  --light-green: #d1fae5;
  --light-orange: #fef3c7;
  --light-pink: #fce7f3;
  
  /* Dark Shades */
  --dark-blue: #3730a3;
  --dark-purple: #5b21b6;
  --dark-green: #047857;
  --dark-orange: #d97706;
  --dark-pink: #be185d;
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 30px;
  --font-size-4xl: 36px;
  
  /* Spacing */
  --section-padding: 80px 0;
  --section-padding-sm: 60px 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
}

/* Typography - Conservative Sizes */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

/* Navbar Brand Conservative Size */
.navbar-brand {
  font-size: var(--font-size-xl) !important;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Section Spacing */
section {
  padding: var(--section-padding);
}

.section-sm {
  padding: var(--section-padding-sm);
}

/* Hero Section - Fullscreen Height */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-purple);
  top: 10%;
  right: 10%;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-green);
  bottom: 20%;
  left: 5%;
}

/* Services Cards */
.service-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.service-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-blue);
}

/* Team Cards */
.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

/* Testimonials - Static Bootstrap Cards Only */
.testimonial-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  background: var(--light-green);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-green);
}

/* FAQ - Static Cards Only */
.faq-card {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: var(--white);
}

.faq-question {
  font-weight: 600;
  color: var(--gray-900);
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

.faq-answer {
  padding: 1.5rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 2rem;
}

.form-control {
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  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(99, 102, 241, 0.15);
}

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

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

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

/* Footer - High Contrast Colors for Better Readability */
footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1rem;
}

footer h5, footer h6 {
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

footer p, footer li {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.7;
}

footer a {
  color: var(--white);
  text-decoration: underline;
  transition: color 0.3s ease;
  font-weight: 500;
}

footer a:hover {
  color: var(--light-blue);
  text-decoration: underline;
}

.footer-divider {
  border-top: 2px solid var(--gray-500);
  margin: 2rem 0 1rem;
}

/* Gallery */
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.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;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Utilities */
.text-primary-blue { color: var(--primary-blue); }
.text-primary-purple { color: var(--primary-purple); }
.text-primary-green { color: var(--primary-green); }
.text-primary-orange { color: var(--primary-orange); }
.text-primary-pink { color: var(--primary-pink); }

.bg-light-blue { background-color: var(--light-blue); }
.bg-light-purple { background-color: var(--light-purple); }
.bg-light-green { background-color: var(--light-green); }
.bg-light-orange { background-color: var(--light-orange); }
.bg-light-pink { background-color: var(--light-pink); }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
  margin: 2rem 0;
} 


/* 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;
    }
}
