/* =============================================================================
   SaaS Social Media Trend Analysis Template - Main Styles
   Template: 190 - Bootstrap 5 Based
   ============================================================================= */

/* Color Palette - Pastel High Contrast Colors */
:root {
  /* Primary Colors */
  --color-primary: #6366f1;        /* Indigo */
  --color-secondary: #10b981;      /* Emerald */
  --color-accent: #f59e0b;         /* Amber */
  --color-danger: #ef4444;         /* Red */
  --color-info: #06b6d4;          /* Cyan */
  
  /* Light Shades */
  --color-primary-light: #a5b4fc;
  --color-secondary-light: #6ee7b7;
  --color-accent-light: #fcd34d;
  --color-danger-light: #fca5a5;
  --color-info-light: #67e8f9;
  
  /* Dark Shades */
  --color-primary-dark: #4338ca;
  --color-secondary-dark: #059669;
  --color-accent-dark: #d97706;
  --color-danger-dark: #dc2626;
  --color-info-dark: #0891b2;
  
  /* Background Colors */
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-gray: #f1f5f9;
  
  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  
  /* Conservative Font Sizes */
  --font-size-small: 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;
  
  /* Border Radius */
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Global Styles */
body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-primary);
	background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Global Image Responsiveness */
img {
	max-width: 100%;
	height: auto;
}

.img-fluid {
	max-width: 100%;
	height: auto;
}

/* Conservative Typography */
h1, .h1 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h2, .h2 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

h3, .h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

h4, .h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
}

p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Header Styles */
#header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar-brand {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-primary);
}

.navbar-nav .nav-link {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-primary);
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  position: relative;
  overflow: hidden;
}

.hero-decorative {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--color-primary-light), var(--color-secondary-light));
  opacity: 0.1;
  z-index: 1;
}

.hero-decorative:first-child {
  top: -150px;
  right: -150px;
}

.hero-decorative:last-child {
  bottom: -150px;
  left: -150px;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 125px;
}

/* Buttons */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  color: var(--color-primary);
  border-color: var(--color-primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: 2rem;
}

/* Services Section */
#services {
  background-color: var(--bg-light);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.price-tag {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: var(--font-size-lg);
}

/* Features Section */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-info), var(--color-info-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

/* Price Plans */
.price-card {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(white, white), linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  background-clip: padding-box, border-box;
}

.price-card.featured {
  transform: scale(1.05);
  z-index: 10;
}

.price-value {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
}

/* Team Section */
.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-photo {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	margin: 0 auto 1rem;
	background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	font-size: 2rem;
	overflow: hidden;
	position: relative;
}

.team-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

/* Reviews/Testimonials */
.review-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  height: 100%;
}

.review-rating {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* Case Studies */
.case-study-card {
	background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: var(--shadow);
}

.case-study-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

.case-study-card img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	border-radius: var(--border-radius);
}

.case-study-card .card-body {
	position: relative;
}

.case-study-card .card-body img {
	margin-top: 1rem;
	max-height: 200px;
	object-fit: cover;
}

/* Process Steps */
.process-step {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-lg);
  margin: 0 auto 1rem;
}

/* Contact Form */
.form-control {
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius);
  padding: 0.75rem;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* FAQ Section */
.faq-card {
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
}

.faq-question {
  background-color: var(--bg-light);
  padding: 1.25rem;
  margin: 0;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-answer {
  padding: 1.25rem;
  margin: 0;
  background-color: var(--bg-white);
  color: var(--text-secondary);
}

/* Gallery Grid */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
	padding: 0;
}

.gallery-item {
	position: relative;
	aspect-ratio: 4/3;
	border-radius: var(--border-radius);
	overflow: hidden;
	transition: all 0.3s ease;
	background: var(--bg-light);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	color: white;
	padding: 1rem;
	font-size: 1.1rem;
	font-weight: 600;
	text-align: center;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
	transform: translateY(0);
}

/* Footer */
#footer {
  background-color: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-section h5 {
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-primary-light);
}

/* Section Spacing */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--font-size-small);
  margin-bottom: 0.5rem;
}

/* Utility Classes */
.bg-primary {
  background-color: var(--color-primary) !important;
}

.bg-secondary {
  background-color: var(--color-secondary) !important;
}

.bg-light {
  background-color: var(--bg-light) !important;
}

.text-primary {
  color: var(--color-primary) !important;
}

.text-secondary {
  color: var(--color-secondary) !important;
}

/* 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;
    scroll-behavior: auto !important;
  }
  
  .card:hover,
  .btn:hover {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  #footer,
  .btn {
    display: none !important;
  }
  
  body {
    color: black !important;
    background: white !important;
  }
} 


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
