/* ==========================================================================
   ShowProspector - Premium Digital Marketing Agency CSS
   Color Theme:
   Primary:   #0F172A (Slate 900)
   Secondary: #1E293B (Slate 800)
   Accent:    #3B82F6 (Blue 500)
   Highlight: #F97316 (Orange 500)
   Light BG:  #F8FAFC (Slate 50)
   ========================================================================== */

:root {
  --primary: #0f172a;
  --secondary: #1e293b;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --highlight: #f97316;
  --highlight-hover: #ea580c;
  --light-bg: #f8fafc;
  --card-border: rgba(226, 232, 240, 0.8);
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f1f5f9;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
  font-family: var(--font-body);
  color: #334155;
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* Custom Gradients */
.bg-dark-agency {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.text-gradient-accent {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-highlight {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-badge {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(249, 115, 22, 0.15) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Navigation */
.navbar-custom {
  padding: 1rem 0;
  transition: var(--transition);
  background-color: transparent;
}

.navbar-custom.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.65rem 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff !important;
}

.navbar-brand span {
  color: var(--highlight);
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent) !important;
}

/* Buttons */
.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50rem;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-highlight {
  background-color: var(--highlight);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50rem;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-highlight:hover {
  background-color: var(--highlight-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
}

.btn-outline-light-custom {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50rem;
  transition: var(--transition);
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Sections */
.hero-wrapper {
  padding: 9rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.4;
  animation: floatShape 8s ease-in-out infinite alternate;
}

.hero-shape-1 {
  width: 350px;
  height: 350px;
  background: var(--accent);
  top: -50px;
  right: -50px;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--highlight);
  bottom: 50px;
  left: -50px;
  animation-delay: -4s;
}

@keyframes floatShape {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 40px) scale(1.1); }
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.3);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.icon-box-blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
}

.icon-box-orange {
  background: rgba(249, 115, 22, 0.1);
  color: var(--highlight);
}

/* Section Styling */
.section-padding {
  padding: 5.5rem 0;
}

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

.section-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 50rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Timeline Cards */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--card-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border: 4px solid #ffffff;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

@media (max-width: 767.98px) {
  .timeline::before { left: 20px; }
  .timeline-dot { left: 20px; }
}

/* Stats Counter Card */
.stat-card {
  padding: 2rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--card-border);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Accordion FAQs */
.accordion-item {
  border: 1px solid var(--card-border);
  border-radius: 0.85rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(59, 130, 246, 0.05);
  color: var(--accent);
}

.accordion-button:focus {
  box-shadow: none;
}

/* Contact Info & Forms */
.form-control, .form-select {
  padding: 0.85rem 1.1rem;
  border-radius: 0.65rem;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.map-placeholder {
  width: 100%;
  height: 380px;
  background: #e2e8f0;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  color: #ffffff;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-right: 0.5rem;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Animation Utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}