/* ========================================
   HOME OFFICE ERGONOMIC ASSESSMENT SERVICE
   Main Stylesheet
   ======================================== */

/* Color Palette - Pastel High-Contrast Colors */
:root {
  /* Primary Colors */
  --primary-navy: #2c3e50;
  --primary-teal: #16a085;
  --primary-coral: #e74c3c;
  --primary-gold: #f39c12;
  --primary-purple: #9b59b6;
  
  /* Light Shades */
  --light-navy: #34495e;
  --light-teal: #48c9b0;
  --light-coral: #ec7063;
  --light-gold: #f7dc6f;
  --light-purple: #bb8fce;
  
  /* Dark Shades */
  --dark-navy: #1b2631;
  --dark-teal: #138d75;
  --dark-coral: #c0392b;
  --dark-gold: #d68910;
  --dark-purple: #7d3c98;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --black: #000000;
}

/* Base Typography - Conservative Sizes */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-navy);
  background-color: var(--white);
}

/* Header Styles */
.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-navy);
}

/* Conservative Heading Sizes */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

/* Paragraph Styles */
p {
  font-size: 1rem;
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-teal) 0%, var(--primary-teal) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Section Spacing */
.section {
  padding: 4rem 0;
}

/* About Section */
.about-section {
  background-color: var(--light-gray);
}

.feature-card {
  background: var(--white);
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background-color: var(--white);
}

.service-card {
  background: var(--white);
  border: 2px solid var(--light-teal);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  border-color: var(--primary-teal);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-coral);
}

/* Features Section */
.features-section {
  background-color: var(--light-gray);
}

/* Price Plan Section */
.priceplan-section {
  background-color: var(--white);
}

.price-card {
  background: var(--white);
  border: 2px solid var(--light-purple);
  border-radius: 0.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.price-card.featured {
  border-color: var(--primary-coral);
  transform: scale(1.05);
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Team Section */
.team-section {
  background-color: var(--light-gray);
}

.team-card {
  background: var(--white);
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: scale(1.05);
}

.team-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--white);
}

.review-card {
  background: var(--light-gray);
  border: none;
  border-radius: 0.75rem;
  padding: 2rem;
  height: 100%;
}

.review-text {
  font-style: italic;
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-navy);
}

/* Case Study Section */
.casestudy-section {
  background-color: var(--light-gray);
}

.case-card {
  background: var(--white);
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
}

.case-card:hover {
  transform: translateY(-5px);
}

/* Process Section */
.process-section {
  background-color: var(--white);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem auto;
}

/* Timeline Section */
.timeline-section {
  background-color: var(--light-gray);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--primary-teal);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 0;
  width: 15px;
  height: 15px;
  background: var(--primary-coral);
  border-radius: 50%;
}

/* Career Section */
.career-section {
  background-color: var(--white);
}

.career-card {
  background: var(--light-gray);
  border: none;
  border-radius: 0.75rem;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
}

/* Core Info Section */
.coreinfo-section {
  background-color: var(--light-gray);
}

.info-card {
  background: var(--white);
  border: none;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: scale(1.05);
}

.info-icon {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--white);
}

.contact-form {
  background: var(--light-gray);
  padding: 3rem;
  border-radius: 0.75rem;
}

.form-control {
  border: 2px solid var(--light-teal);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(22, 160, 133, 0.25);
}

.btn-primary {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-teal);
  border-color: var(--dark-teal);
}

/* Blog Section */
.blog-section {
  background-color: var(--light-gray);
}

.blog-card {
  background: var(--white);
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

/* FAQ Section */
.faq-section {
  background-color: var(--white);
}

.faq-card {
  background: var(--light-gray);
  border: none;
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 1rem;
}

.faq-question {
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--medium-gray);
}

/* Gallery Section */
.gallery-section {
  background-color: var(--light-gray);
  padding: 4rem 0;
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 3rem 0 1rem 0;
}

.footer h5 {
  color: var(--light-teal);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--light-teal);
}

.footer-bottom {
  border-top: 1px solid var(--light-navy);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-teal) !important;
}

.bg-primary-custom {
  background-color: var(--primary-teal) !important;
}

/* Accessibility - Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Custom Decorative Elements */
.blob-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-coral);
  top: 10%;
  right: 10%;
}

.blob-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-gold);
  bottom: 20%;
  left: 5%;
}

.hero-section h1 {
    padding-top: 250px;
}


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
