/*
 * Digital Backdrop Library Template - Main CSS
 * Bootstrap 5 Integration with Custom Color Palette
 * Conservative Font Sizing and Modern Design
 */

/* ========== CSS VARIABLES - Color Palette ========== */
:root {
  /* Primary Color Palette - High Contrast Pastels */
  --primary-1: #6366f1;        /* Indigo */
  --primary-1-light: #a5b4fc;  /* Light Indigo */
  --primary-1-dark: #4338ca;   /* Dark Indigo */
  
  --primary-2: #ec4899;        /* Pink */
  --primary-2-light: #f9a8d4;  /* Light Pink */
  --primary-2-dark: #be185d;   /* Dark Pink */
  
  --primary-3: #10b981;        /* Emerald */
  --primary-3-light: #6ee7b7;  /* Light Emerald */
  --primary-3-dark: #047857;   /* Dark Emerald */
  
  --primary-4: #f59e0b;        /* Amber */
  --primary-4-light: #fcd34d;  /* Light Amber */
  --primary-4-dark: #d97706;   /* Dark Amber */
  
  --primary-5: #8b5cf6;        /* Violet */
  --primary-5-light: #c4b5fd;  /* Light Violet */
  --primary-5-dark: #7c3aed;   /* Dark Violet */
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8fafc;
  --gray: #64748b;
  --dark-gray: #334155;
  --black: #0f172a;
  
  /* Typography */
  --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 1rem;
  
  /* Border Radius */
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* 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);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-base: all 0.3s ease;
}

/* ========== BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark-gray);
  background-color: var(--white);
}

/* Respect 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;
  }
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--black);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== LAYOUT ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--primary-1);
  margin-bottom: 0.5rem;
}

/* ========== HEADER ========== */
.header {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-5));
  box-shadow: var(--shadow-md);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.25rem !important;
  font-weight: 700;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: var(--transition-base);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-1-light) !important;
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-5));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Account for fixed header */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../FOR_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  min-width: 150px;
}

/* ========== BUTTONS ========== */
.btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-1-dark), var(--primary-2-dark));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary-1);
  border: 2px solid var(--primary-1);
}

.btn-outline:hover {
  background: var(--primary-1);
  color: var(--white);
}

/* ========== CARDS ========== */
.card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: none;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-1-light), var(--primary-2-light));
  border: none;
  padding: 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--gray);
  margin-bottom: 1rem;
}

/* ========== SERVICES SECTION ========== */
.services {
  background: var(--light-gray);
}

.service-card {
  height: 100%;
  text-align: center;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-1);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--gray);
}

.service-features li:before {
  content: "✓";
  color: var(--primary-3);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-5));
  color: var(--white);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-1-light);
}

/* ========== TEAM SECTION ========== */
.team-member {
  text-align: center;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-1);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ========== GALLERY SECTION ========== */
.gallery {
  background: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ========== FAQ SECTION ========== */
.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  background: var(--light-gray);
  padding: 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  margin-bottom: 0;
  cursor: pointer;
  transition: var(--transition-base);
}

.faq-question:hover {
  background: var(--primary-1-light);
  color: var(--white);
}

.faq-answer {
  padding: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

/* ========== CONTACT SECTION ========== */
.contact {
  background: var(--light-gray);
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.form-control {
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-control:focus {
  border-color: var(--primary-1);
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder {
  color: var(--gray);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-1-light);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--gray);
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--primary-1-light);
}

.footer-bottom {
  border-top: 1px solid var(--dark-gray);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom small {
  color: var(--gray);
}

/* ========== BREADCRUMBS ========== */
.breadcrumb {
  background: var(--light-gray);
  padding: 1rem 0;
  border-radius: 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.bg-primary { background-color: var(--primary-1); }
.bg-secondary { background-color: var(--primary-2); }
.bg-success { background-color: var(--primary-3); }
.bg-warning { background-color: var(--primary-4); }
.bg-info { background-color: var(--primary-5); }
.bg-light { background-color: var(--light-gray); }
.bg-dark { background-color: var(--black); }

.text-primary { color: var(--primary-1); }
.text-secondary { color: var(--primary-2); }
.text-success { color: var(--primary-3); }
.text-warning { color: var(--primary-4); }
.text-info { color: var(--primary-5); }
.text-light { color: var(--light-gray); }
.text-dark { color: var(--black); }
.text-muted { color: var(--gray); }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ========== PRICING CARDS ========== */
.pricing-card {
  position: relative;
  transition: var(--transition-base);
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-1);
}

.pricing-card.featured {
  border-color: var(--primary-1);
  transform: scale(1.05);
}

.pricing-card .card-header {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-1);
  text-align: center;
  margin-bottom: 1rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.features-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.features-list li:before {
  content: "✓";
  color: var(--primary-3);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ========== INFO CARDS ========== */
.info-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-base);
  border-left: 4px solid var(--primary-1);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.info-card h6 {
  color: var(--primary-1);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-1);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--primary-1);
  border-radius: 50%;
  top: 1.5rem;
}

.timeline-item:nth-child(odd)::before {
  right: -7px;
}

.timeline-item:nth-child(even)::before {
  left: -7px;
}

.timeline-item h6 {
  color: var(--primary-1);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ========== PROCESS STEPS ========== */
.process-step {
  text-align: center;
  padding: 1rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 auto 1rem;
}

.process-step h6 {
  color: var(--primary-1);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ========== FEATURE CARDS ========== */
.feature-card {
  height: 100%;
  border: none;
  transition: var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card .card-body {
  padding: 2rem 1.5rem;
}

/* ========== FEATURE ITEMS ========== */
.feature-item {
  padding: 1.5rem;
  transition: var(--transition-base);
}

.feature-item:hover {
  transform: translateY(-3px);
}

.feature-item i {
  display: block;
  margin-bottom: 1rem;
}

.feature-item h5 {
  color: var(--primary-1);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--gray);
  margin: 0;
}

/* ========== CONTACT INFO ========== */
.contact-info {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-item i {
  color: var(--primary-1);
  margin-right: 1rem;
  width: 20px;
}

.contact-item p {
  margin: 0;
  color: var(--dark-gray);
}

/* ========== FOOTER LINKS ========== */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-links a:hover {
  color: var(--primary-1-light);
}

/* ========== ADDITIONAL PAGE CARDS ========== */
.tool-card {
  height: 100%;
  border: 2px solid transparent;
  transition: var(--transition-base);
}

.tool-card:hover {
  border-color: var(--primary-1);
  transform: translateY(-5px);
}

.industry-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  overflow: hidden;
  height: 100%;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.industry-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.analytics-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-base);
  height: 100%;
}

.analytics-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.analytics-card.large {
  padding: 2rem;
}

.metric-icon {
  margin-bottom: 1rem;
}

.innovation-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-base);
  height: 100%;
  position: relative;
}

.innovation-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.innovation-header {
  position: relative;
  margin-bottom: 1rem;
}

.badge-new {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--primary-2);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 600;
}

.guideline-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-base);
  height: 100%;
}

.guideline-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.icon-wrapper {
  margin-bottom: 1rem;
}

.support-feature {
  text-align: center;
  padding: 1rem;
}

.support-feature i {
  display: block;
  margin-bottom: 1rem;
}

.support-feature h6 {
  color: var(--primary-1);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ========== INTEGRATION STYLES ========== */
.integration-list {
  padding: 1rem 0;
}

.integration-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.integration-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.integration-item i {
  margin-right: 1rem;
  width: 40px;
  flex-shrink: 0;
}

.integration-item h6 {
  color: var(--primary-1);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.integration-item p {
  margin: 0;
  font-size: 0.9rem;
}

/* ========== SPECIFICATION STYLES ========== */
.specification-list {
  padding: 1rem;
}

.spec-item {
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-1);
}

.spec-item h6 {
  color: var(--primary-1);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.spec-item p {
  margin: 0;
  font-size: 0.9rem;
}

/* ========== SPACE PAGE ========== */
#space {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-5));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  text-align: center;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
