/* ================================
   ZERO-EMISSIONS COURIER SERVICE
   Main Stylesheet
   ================================ */

:root {
  /* Primary Color Palette - Pastel High-Contrast */
  --primary-green: #66c3a0;
  --primary-blue: #7bb3f0;
  --primary-orange: #ffb366;
  --primary-purple: #b17bb3;
  --primary-pink: #f0a3c7;
  
  /* Light/Dark Shades */
  --light-green: #e8f5f0;
  --dark-green: #4a9b7a;
  --light-blue: #ebf3ff;
  --dark-blue: #5a8fc7;
  --light-orange: #fff4e8;
  --dark-orange: #e69a4d;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --black: #212529;
  
  /* Conservative Typography */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-h1: 2.5rem;
  --font-size-h2: 2rem;
  --font-size-h3: 1.75rem;
  --font-size-h4: 1.5rem;
  --font-size-h5: 1.25rem;
  --font-size-h6: 1rem;
  
  /* Layout */
  --section-padding: 4rem 0;
  --container-max-width: 1200px;
}

/* Base Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

/* Conservative Heading Sizes */
h1 { font-size: var(--font-size-h1); font-weight: 700; }
h2 { font-size: var(--font-size-h2); font-weight: 600; }
h3 { font-size: var(--font-size-h3); font-weight: 600; }
h4 { font-size: var(--font-size-h4); font-weight: 500; }
h5 { font-size: var(--font-size-h5); font-weight: 500; }
h6 { font-size: var(--font-size-h6); font-weight: 500; }

/* Conservative Navbar Brand */
.navbar-brand {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-green);
}

/* Section Styling */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background-color: var(--light-gray);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: var(--primary-green);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: var(--primary-blue);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 125px;
}

/* Services Cards */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: none;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-green);
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Price Plan Cards */
.price-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  height: 100%;
}

.price-card.featured {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
  color: var(--white);
  transform: scale(1.05);
}

/* Team Cards */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--light-green);
}

/* Reviews/Testimonials Cards */
.review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  border-left: 4px solid var(--primary-green);
}

/* Case Study Cards */
.casestudy-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
}

/* Process Cards */
.process-card {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline Cards */
.timeline-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  margin-bottom: 2rem;
}

.timeline-card::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-blue);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Career Cards */
.career-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  border-top: 4px solid var(--primary-orange);
}

/* Core Info Cards */
.coreinfo-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
}

/* FAQ Cards */
.faq-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 2rem;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-control {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(102, 195, 160, 0.25);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
  transform: translateY(-2px);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .navbar-brand {
  color: var(--primary-green);
}

.navbar-scrolled .nav-link {
  color: var(--dark-gray);
}

.navbar-scrolled .nav-link:hover {
  color: var(--primary-green);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-green);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced Form States */
.form-control.is-valid {
  border-color: var(--primary-green);
  background-image: none;
}

.form-control.is-invalid {
  border-color: #dc3545;
  background-image: none;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.valid-feedback {
  color: var(--primary-green);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Footer */
footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 2rem;
}

footer a {
  color: var(--primary-green);
  text-decoration: none;
}

footer a:hover {
  color: var(--light-green);
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .service-card:hover,
  .btn-primary:hover {
    transform: none;
  }
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  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);
}

/* Skip to main content link */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 6px;
  z-index: 10000;
  padding: 8px 16px;
  text-decoration: none;
}

.skip-to-main:focus {
  top: 6px;
}

/* Screen reader only class */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only-focusable:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: inherit !important;
  margin: inherit !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

/* Breadcrumb */
.breadcrumb {
  background: none;
  padding: 1rem 0;
}

.breadcrumb img {
  width: 24px;
  height: 24px;
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
