/*
 * Main CSS for Textile-Dye Recapture & Resale Service
 * Bootstrap 5 Base Framework Integration
 */

/* Bootstrap 5 CDN Import */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Font Awesome CDN Import */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors */
  --primary-color: #6762de;
  --secondary-color: #21cba2;
  --accent-color: #ed7c13;
  --success-color: #14c57d;
  --warning-color: #fff417;
  
  /* Light Shades */
  --primary-light: #adb8ee;
  --secondary-light: #5bd492;
  --accent-light: #f6b124;
  --success-light: #39e6dd;
  --warning-light: #ffeed2;
  
  /* Dark Shades */
  --primary-dark: #363ce2;
  --secondary-dark: #036941;
  --accent-dark: #ec7900;
  --success-dark: #048c4c;
  --warning-dark: #d8ae4e;
  
  /* Neutral Colors */
  --text-primary: #2e3c48;
  --text-secondary: #61666d;
  --text-light: #a8afbb;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-dark: #161b2c;
  --border-color: #ffffff;
  
  /* Typography */
  --font-family: 'Inter', sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-max-width: 1200px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    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.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 { font-size: 2.51rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.54rem; }
h4 { font-size: 1.38rem; }
h5 { font-size: 1.23rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.58rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: white;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-light);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  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");
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
    padding-top: 275px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 4px 2px 9px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.37rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1.22rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 4rem;
}

/* About Section */
.about-section {
  background-color: var(--bg-secondary);
}

.about-feature {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: white;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 13px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Features Section */
.features-section {
  background: var(--bg-secondary);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-item i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
  background: white;
}

.priceplan-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.priceplan-card:hover {
  transform: translateY(-10px);
}

.priceplan-price {
  font-size: 2.53rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.priceplan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.priceplan-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

/* Team Section */
.team-section {
  background: var(--bg-secondary);
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-member-name {
  font-size: 1.26rem;
  font-weight: 600;
  margin-bottom: 0.74rem;
}

.team-member-role {
  color: var(--text-secondary);
  font-style: italic;
}

/* Reviews Section */
.reviews-section {
  background: white;
}

.review-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
  border-left: 6px solid var(--primary-color);
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.73rem;
}

/* Case Study Section */
.casestudy-section {
  background: var(--bg-secondary);
}

.casestudy-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
}

/* Process Section */
.process-section {
  background: white;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-bottom: 2rem;
  position: relative;
}

.process-step::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.process-container {
  counter-reset: step;
}

/* Timeline Section */
.timeline-section {
  background: var(--bg-secondary);
}

.timeline-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-left: 9px solid var(--secondary-color);
}

/* Career Section */
.career-section {
  background: white;
}

.career-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

/* Core Info Section */
.coreinfo-section {
  background: var(--bg-secondary);
}

.coreinfo-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.coreinfo-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 5rem 0;
}

.contact-info {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-form {
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
}

.form-control {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(101, 119, 242, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* Blog Section */
.blog-section {
  background: var(--bg-secondary);
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-title {
  font-size: 1.28rem;
  font-weight: 600;
  margin-bottom: 0.61rem;
}

.blog-card-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.blog-card-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--bg-secondary);
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--primary-light);
}

.faq-answer {
    padding: 1.5rem;
    color: var(--text-secondary);
    display: none;
    border-top: 1px solid var(--border-color);
}

.faq-answer.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.faq-question::after {
    content: '+';
    font-size: 1.62rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

/* Gallery Section */
.gallery-section {
  background: var(--bg-secondary);
}

.gallery-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

@media (max-width: 575.98px) {
    .gallery-layout {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .gallery-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .gallery-layout {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .gallery-layout {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  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: var(--bg-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.63rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-custom {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.border-radius-custom {
  border-radius: 12px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Space Page */
#space {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
}

/* Breadcrumbs */
.breadcrumb {
    background: none;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-radius: 0;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item img {
    margin: 0 0.5rem;
}

.breadcrumb-item:first-child img {
    margin-left: 0;
}

.breadcrumb-item:last-child img {
    margin-right: 0;
}

/* Additional Page Styles */
.add-page-section {
  padding: 4rem 0;
}

.add-page-section:nth-child(even) {
  background: var(--bg-secondary);
}

.add-page-section:nth-child(odd) {
  background: white;
}

.add-page-element {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.60rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.add-page-element-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.61rem;
  color: var(--primary-color);
}

.add-page-element-desc {
  color: var(--text-secondary);
  margin-bottom: 0;
} 


/* 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;
    }
}
