/* ================================
   SKILL-BARTERING PLATFORM
   Main CSS - Bootstrap 5 Based
   ================================ */

:root {
  /* Primary Color Palette - High Contrast Pastels */
  --primary-blue: #4a90e2;
  --primary-coral: #ff6b6b;
  --primary-mint: #51e5a8;
  --primary-purple: #a569bd;
  --primary-amber: #f39c12;
  
  /* Light/Dark Shades */
  --blue-light: #e3f2fd;
  --blue-dark: #2c5e9b;
  --coral-light: #ffe0e0;
  --coral-dark: #cc5555;
  --mint-light: #e8fcf4;
  --mint-dark: #41b883;
  --purple-light: #f0ebf7;
  --purple-dark: #8e44ad;
  --amber-light: #fff4e0;
  --amber-dark: #d68910;
  
  /* Neutral Colors */
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-light: #e9ecef;
}

/* Base Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-light), var(--mint-light));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../WER_images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 125px;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Section Spacing */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* About Section */
#about {
  background: var(--bg-white);
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Services Section */
#services {
  background: linear-gradient(135deg, var(--coral-light), var(--purple-light));
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  border: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-coral);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-coral);
  margin: 1rem 0;
}

.service-features {
  text-align: left;
  margin: 1.5rem 0;
}

.service-features ul {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.service-features li:before {
  content: '✓';
  color: var(--primary-mint);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Features Section */
#features {
  background: var(--bg-white);
}

/* Price Plan Section */
#priceplan {
  background: linear-gradient(135deg, var(--mint-light), var(--amber-light));
}

.price-card {
  background: white;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  position: relative;
}

.price-card:hover {
  transform: scale(1.05);
}

.price-card.featured {
  border: 4px solid var(--primary-coral);
  transform: scale(1.1);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-coral);
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}

/* Team Section */
#team {
  background: var(--bg-light);
}

.team-card {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 5px solid var(--primary-mint);
}

/* Reviews Section */
#reviews {
  background: linear-gradient(135deg, var(--purple-light), var(--blue-light));
}

.review-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  position: relative;
}

.review-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-purple);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}

.review-author {
  font-weight: bold;
  color: var(--primary-purple);
  margin-top: 1rem;
}

/* Case Study Section */
#casestudy {
  background: var(--bg-white);
}

.case-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary-amber);
}

/* Process Section */
#process {
  background: linear-gradient(135deg, var(--amber-light), var(--coral-light));
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-step::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-amber);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.process-container {
  counter-reset: step;
}

/* Timeline Section */
#timeline {
  background: var(--bg-light);
}

.timeline-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-left: 5px solid var(--primary-blue);
}

/* Career Section */
#career {
  background: linear-gradient(135deg, var(--mint-light), var(--purple-light));
}

.career-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.career-card:hover {
  transform: translateY(-10px);
}

/* Core Info Section */
#coreinfo {
  background: var(--bg-white);
}

.info-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  border-top: 4px solid var(--primary-coral);
}

/* Contact Section */
#contacts {
  background: linear-gradient(135deg, var(--blue-light), var(--coral-light));
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--border-light);
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Blog Section */
#Blog {
  background: var(--bg-light);
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* FAQ Section */
#faq {
  background: linear-gradient(135deg, var(--amber-light), var(--mint-light));
}

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

.faq-question {
  background: var(--primary-blue);
  color: white;
  padding: 1.5rem;
  margin: 0;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--blue-dark);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
}

.faq-answer {
  padding: 1.5rem;
  background: white;
  display: none;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-item.active .faq-answer {
  display: block;
}

/* Gallery Section */
#gallery {
  background: var(--bg-white);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--text-dark), var(--primary-purple));
  color: white;
  padding: 4rem 0 2rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h5 {
  color: var(--primary-coral);
  margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--primary-coral);
}

/* Breadcrumbs */
.breadcrumb-section {
  background: var(--bg-light);
  padding: 2rem 0;
  text-align: center;
}

.breadcrumb-image {
  max-width: 200px;
  height: auto;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--primary-coral), var(--primary-amber));
}

.shadow-custom {
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Mobile Navigation Toggle */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border-radius: 0.375rem;
  transition: box-shadow 0.15s ease-in-out;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(255,255,255,0.25);
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

/* Scrolled Navbar State */
.navbar.scrolled {
  background: rgba(74, 144, 226, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

/* Contact Info Styling */
.contact-info {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-top: 2rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.contact-info i {
  margin-right: 1rem;
  color: var(--primary-blue);
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

/* Space Page Styling */
#space {
  min-height: 70vh;
  background: linear-gradient(135deg, var(--blue-light), var(--mint-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  position: relative;
}

#space::before {
  content: 'Space Content Area';
  font-size: 2rem;
  color: var(--text-light);
  opacity: 0.3;
}

/* Button Outline Styles */
.btn-outline-primary {
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  background: transparent;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-primary:hover {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Form Improvements */
.form-check-input:checked {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.form-check-label {
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Gallery Section Improvements */
#gallery .container {
  max-width: 1200px;
}

.gallery-grid .gallery-item:nth-child(1) { grid-column: span 2; }
.gallery-grid .gallery-item:nth-child(4) { grid-column: span 2; }

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Success/Error Message Styles */
.alert {
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border: none;
}

.alert-success {
  background-color: var(--mint-light);
  color: var(--mint-dark);
  border-left: 4px solid var(--primary-mint);
}

.alert-danger {
  background-color: var(--coral-light);
  color: var(--coral-dark);
  border-left: 4px solid var(--primary-coral);
}

/* Team Member Grid Fix */
@media (min-width: 992px) {
  .team-card {
    margin: 0 auto 2rem;
  }
}

/* Price Card Enhancements */
.price-card ul {
  list-style: none;
  padding: 0;
}

.price-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.price-card li:before {
  content: '✓';
  color: var(--primary-mint);
  font-weight: bold;
  margin-right: 0.5rem;
} 


/* 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;
}

.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;
    }
}
