/* ============================================
   BAMBOO FIBER HOME TEXTILES - MAIN STYLES
   Bootstrap 5 Integration - No Overrides
   ============================================ */

/* Color Palette - Bamboo Theme */
:root {
  /* Primary Colors - Pastel High-Contrast */
  --bamboo-green: #a4d7a8;
  --bamboo-cream: #f4f2e9;
  --bamboo-sage: #99b898;
  --bamboo-earth: #e2d0ba;
  --bamboo-mist: #ffffff;
  
  /* Light Shades */
  --bamboo-green-light: #c9d3ca;
  --bamboo-cream-light: #f8f6f0;
  --bamboo-sage-light: #e1ede3;
  --bamboo-earth-light: #d8c5b4;
  --bamboo-mist-light: #f0f6f0;
  
  /* Dark Shades */
  --bamboo-green-dark: #92b193;
  --bamboo-cream-dark: #d8cebc;
  --bamboo-sage-dark: #a4ada5;
  --bamboo-earth-dark: #cdaf98;
  --bamboo-mist-dark: #f6f6f6;
  
  /* Typography */
  --font-family-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --line-height-base: 1.6;
}

/* Base Styles */
body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: #2f3e31;
  background-color: var(--bamboo-cream);
}

/* Progress Bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: transparent;
}

/* Conservative Typography */
h1, .h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--bamboo-green-dark);
  margin-bottom: 1rem;
}

h2, .h2 {
  font-size: 1.77rem;
  font-weight: 500;
  color: var(--bamboo-sage-dark);
  margin-bottom: 1.08rem;
}

h3, .h3 {
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--bamboo-earth-dark);
  margin-bottom: 0.87rem;
}

h4, .h4 {
  font-size: 1.27rem;
  font-weight: 500;
  margin-bottom: 0.72rem;
}

h5, .h5 {
  font-size: 1.27rem;
  font-weight: 500;
  margin-bottom: 0.69rem;
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  color: #567157;
}

/* Header & Navigation */
.navbar-brand {
    font-size: 10px !important;
  font-size: 1.55rem !important; /* Only !important usage allowed */
  font-weight: 600;
  color: var(--bamboo-green-dark);
}

.navbar {
  background-color: var(--bamboo-cream-light);
  box-shadow: 0 7px 13px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(248, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 13px rgba(0,0,0,0.15);
}

.nav-link {
    font-size: 10px !important;
  color: var(--bamboo-sage-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--bamboo-green-dark);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bamboo-mist) 0%, var(--bamboo-cream) 100%);
  display: flex;
  align-items: center;
}

.hero-decorative {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--bamboo-green);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 13px;
  padding: 2rem;
  box-shadow: 0 7px 9px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--bamboo-mist);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-price {
  font-size: 1.56rem;
  font-weight: 600;
  color: var(--bamboo-green-dark);
}

/* Feature Cards */
.feature-card {
  background: var(--bamboo-mist-light);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
}

/* Price Plan Cards */
.price-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 9px 6px rgba(0,0,0,0.1);
  border: 2px solid var(--bamboo-sage);
  height: 100%;
  position: relative;
}

.price-card.featured {
  border-color: var(--bamboo-green);
  transform: scale(1.05);
}

.price-card-price {
  text-align: center;
  margin-top: 1.71rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--bamboo-mist);
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 6px 6px rgba(0,0,0,0.1);
  height: 100%;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--bamboo-sage);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  overflow: hidden;
}

/* Review Cards */
.review-card {
  background: var(--bamboo-cream-light);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 5px solid var(--bamboo-green);
  height: 100%;
}

/* Case Study Cards */
.case-study-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Process Steps */
.process-step {
  background: var(--bamboo-mist);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  height: 100%;
}

.process-number {
  background: var(--bamboo-green);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 600;
}

/* Timeline Items */
.timeline-item {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--bamboo-sage);
  margin-bottom: 1rem;
}

/* Career Cards */
.career-card {
  background: var(--bamboo-cream-light);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--bamboo-sage);
  height: 100%;
}

/* Core Info Cards */
.core-info-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--bamboo-sage);
  border-radius: 8px;
  padding: 0.75rem;
}

.form-control:focus {
  border-color: var(--bamboo-green);
  box-shadow: 0 0 0 0.2rem rgba(155, 191, 159, 0.25);
}

.btn-primary {
  background-color: var(--bamboo-green);
  border-color: var(--bamboo-green);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--bamboo-green-dark);
  border-color: var(--bamboo-green-dark);
}

/* Form Validation Styles */
.form-message {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 500;
}

.was-validated .form-control:valid {
  border-color: var(--bamboo-green);
}

.was-validated .form-control:invalid {
  border-color: #df4245;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-body {
  padding: 1.5rem;
}

/* FAQ Cards */
.faq-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-left: 4px solid var(--bamboo-green);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Grid Systems - Responsive breakpoints handled in responsive.css */
.services-grid {
  /* Bootstrap grid system used as base */
}

.features-grid {
  /* Bootstrap grid system used as base */
}

/* Footer */
.footer {
  background-color: var(--bamboo-sage-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--bamboo-cream-light);
  text-decoration: none;
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

/* Utilities */
.bg-bamboo-primary {
  background-color: var(--bamboo-green);
}

.bg-bamboo-secondary {
  background-color: var(--bamboo-sage);
}

.text-bamboo-primary {
  color: var(--bamboo-green-dark);
}

.text-bamboo-secondary {
  color: var(--bamboo-sage-dark);
}

/* Lazy Loading */
.lazy {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.lazy.loaded {
  opacity: 1;
}

/* Section Spacing */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bamboo-mist);
}

/* Animations - Accessibility First */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Additional hover effects */
  .blog-card:hover,
  .core-info-card:hover,
  .case-study-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }
  
  .btn:hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .core-info-card:hover,
  .case-study-card:hover,
  .btn:hover {
    transform: none !important;
  }
} 

.hero-section h1 {
    padding-top: 175px;
}


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
