/* ============================================================
   Fresh Laundry Service - Custom Stylesheet
   Theme: Modern Blue & White Professional
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --primary:     #1565C0;
  --primary-dark:#0D47A1;
  --accent:      #29B6F6;
  --accent-light:#E3F2FD;
  --white:       #ffffff;
  --text-dark:   #0d1b2a;
  --text-muted:  #607D8B;
  --border:      #e0e7ef;
  --card-shadow: 0 8px 32px rgba(21,101,192,0.10);
  --radius:      14px;
  --font-head:   'Playfair Display', serif;
  --font-body:   'DM Sans', sans-serif;
  --transition:  0.35s cubic-bezier(.4,0,.2,1);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }
section { padding: 90px 0; }

/* ── Utility ── */
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto 50px; }
.tag-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,101,192,0.30);
  color: var(--white);
}
.btn-outline-custom {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
}

/* ── Navbar ── */
.navbar {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(21,101,192,0.08);
  padding: 14px 0;
  transition: box-shadow var(--transition);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(21,101,192,0.15); }
.navbar-brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--primary) !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand span { color: var(--accent); }
.navbar-brand .logo-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
}
.nav-link {
  font-weight: 500;
  font-size: .92rem;
  color: var(--text-dark) !important;
  padding: 6px 16px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  transform: translateX(-50%);
}
.nav-link:hover::after,
.nav-link.active::after { width: 60%; }
.nav-link.active,
.nav-link:hover { color: var(--primary) !important; }
.navbar-toggler { border: none; padding: 4px; }
.navbar-toggler:focus { box-shadow: none; }

/* ── Hero Slider ── */
#heroCarousel { position: relative; }
.carousel-item {
  height: 680px;
  min-height: 540px;
}
.hero-slide {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(13,71,161,.82) 0%, rgba(41,182,246,.25) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.carousel-item.active .hero-bg { transform: scale(1); }
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  animation: heroFadeIn .9s ease;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content .tag-label { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.8rem); margin-bottom: 18px; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.hero-content p { font-size: 1.1rem; opacity: .9; max-width: 560px; margin: 0 auto 32px; }
.carousel-control-prev, .carousel-control-next {
  width: 52px; height: 52px;
  top: 50%; transform: translateY(-50%);
  margin: 0 16px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  opacity: 1;
}
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }
.carousel-control-prev:hover, .carousel-control-next:hover { background: rgba(255,255,255,.3); }
.carousel-indicators button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  margin: 0 5px;
}
.carousel-indicators button.active { background: white; }

/* ── Services Cards ── */
.services-section { background: #F8FBFF; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(21,101,192,.16); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 72px; height: 72px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.7rem;
  color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: white; }
.service-card h5 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ── How We Work ── */
.how-section {}
.step-item { text-align: center; padding: 20px; }
.step-number {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(21,101,192,.30);
}
.step-item h5 { font-size: 1.1rem; margin-bottom: 10px; }
.step-item p { color: var(--text-muted); font-size: .9rem; }
.step-connector {
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 35px 0;
  border-radius: 2px;
  opacity: .3;
}

/* ── Why Choose Us ── */
.why-section { background: var(--primary); color: white; overflow: hidden; position: relative; }
.why-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(41,182,246,.12);
}
.why-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.why-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
  height: 100%;
}
.why-card:hover { background: rgba(255,255,255,.15); transform: translateY(-4px); }
.why-card .icon { font-size: 2rem; margin-bottom: 14px; color: var(--accent); }
.why-card h6 { font-family: var(--font-body); font-weight: 600; margin-bottom: 8px; font-size: 1rem; }
.why-card p { font-size: .88rem; opacity: .8; margin: 0; }

/* ── Testimonials ── */
.testimonials-section { background: #F8FBFF; }
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--accent-light);
  position: absolute;
  top: -10px; left: 20px;
  line-height: 1;
}
.testimonial-card p { font-size: .95rem; color: var(--text-muted); margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: .95rem; }
.author-info span { font-size: .82rem; color: var(--text-muted); }
.stars { color: #FFC107; font-size: .85rem; margin-bottom: 12px; }

/* ── Stats Bar ── */
.stats-bar { background: var(--primary-dark); color: white; padding: 50px 0; }
.stat-item { text-align: center; }
.stat-item .number {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.stat-item span.label { font-size: .88rem; opacity: .8; }

/* ── Footer ── */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.75);
  padding: 70px 0 0;
}
.footer-brand { font-family: var(--font-head); color: white; font-size: 1.4rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-icon { background: var(--primary); }
footer p { font-size: .9rem; line-height: 1.7; }
.footer-heading { color: white; font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 18px; letter-spacing: .05em; text-transform: uppercase; font-size: .85rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .9rem; transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: .9rem; }
.footer-contact-item i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.social-links { display: flex; gap: 10px; margin-top: 10px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
  font-size: .9rem;
}
.social-link:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 50px;
  padding: 20px 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}

/* ── Page Banner ── */
.page-banner {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%);
  color: white;
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner h1 { font-size: clamp(2rem,4vw,3rem); position: relative; }
.page-banner p { opacity: .85; position: relative; }
.breadcrumb { background: none; justify-content: center; margin: 0; }
.breadcrumb-item, .breadcrumb-item.active { color: rgba(255,255,255,.75); font-size: .9rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.breadcrumb-item a { color: var(--accent); }

/* ── Pricing ── */
.pricing-table-wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); border: 1px solid var(--border); }
.table { margin: 0; }
.table thead th { background: var(--primary); color: white; font-family: var(--font-body); font-weight: 600; font-size: .92rem; padding: 16px 20px; border: none; }
.table tbody tr { transition: var(--transition); }
.table tbody tr:hover { background: var(--accent-light); }
.table tbody td { padding: 14px 20px; font-size: .92rem; border-color: var(--border); vertical-align: middle; }
.table tbody td:first-child { font-weight: 500; }
.price-badge { background: var(--accent-light); color: var(--primary); font-weight: 600; padding: 3px 12px; border-radius: 50px; font-size: .85rem; }
.package-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 2px solid transparent;
  transition: var(--transition);
  height: 100%;
}
.package-card:hover { border-color: var(--primary); transform: translateY(-6px); }
.package-card.featured { border-color: var(--primary); }
.package-header { background: var(--primary); color: white; padding: 32px 28px; text-align: center; }
.package-header.accent-bg { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.package-header h4 { font-size: 1.3rem; margin-bottom: 8px; }
.package-price { font-size: 2.8rem; font-family: var(--font-head); line-height: 1; }
.package-price span { font-size: 1rem; opacity: .7; }
.package-body { padding: 28px; background: white; }
.package-body ul { list-style: none; padding: 0; margin: 0 0 24px; }
.package-body ul li { padding: 8px 0; font-size: .92rem; color: var(--text-muted); border-bottom: 1px dashed var(--border); display: flex; align-items: center; gap: 10px; }
.package-body ul li:last-child { border-bottom: none; }
.package-body ul li i { color: var(--primary); }

/* ── Service Detail ── */
.service-detail-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.service-detail-card:hover { box-shadow: 0 20px 50px rgba(21,101,192,.16); }
.service-detail-img {
  width: 100%; height: 280px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--accent-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: var(--primary);
}
.service-detail-body { padding: 32px; }
.service-detail-body h3 { font-size: 1.5rem; margin-bottom: 14px; }
.service-detail-body p { color: var(--text-muted); margin-bottom: 20px; }
.service-feature-list { list-style: none; padding: 0; margin: 0 0 24px; }
.service-feature-list li { padding: 6px 0; font-size: .9rem; display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.service-feature-list li i { color: var(--accent); }

/* ── About ── */
.team-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(21,101,192,.16); }
.team-img-wrap {
  width: 100%; height: 240px;
  background: linear-gradient(135deg, var(--accent-light), #c5e8ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}
.team-img-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(21,101,192,.08));
}
.team-body { padding: 24px; }
.team-body h5 { font-size: 1.1rem; margin-bottom: 4px; }
.team-body span { font-size: .85rem; color: var(--text-muted); }
.team-body .social-links { justify-content: center; margin-top: 14px; }
.achievement-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.achievement-icon { width: 56px; height: 56px; background: var(--accent-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.4rem; flex-shrink: 0; }
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; text-align: center; padding: 80px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E"); }
.cta-section h2 { font-size: clamp(1.8rem,3vw,2.8rem); margin-bottom: 16px; position: relative; }
.cta-section p { opacity: .85; max-width: 500px; margin: 0 auto 32px; position: relative; }

/* ── Contact ── */
.contact-form-wrap {
  background: white;
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}
.form-control, .form-select {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: .93rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21,101,192,.08);
}
.form-label { font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.contact-info-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}
.contact-info-card:hover { transform: translateX(6px); }
.contact-info-icon { width: 52px; height: 52px; background: var(--accent-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.contact-info-icon-wrapper strong { display: block; margin-bottom: 4px; }
.contact-info-icon-wrapper p { margin: 0; font-size: .9rem; color: var(--text-muted); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); border: 1px solid var(--border); }
.map-wrap iframe { display: block; }

/* ── Animations ── */
.fade-up { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }

/* ── Back to top ── */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: white; border: none;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(21,101,192,.35);
  cursor: pointer;
  transition: var(--transition);
  z-index: 999;
}
#backToTop:hover { background: var(--primary-dark); transform: translateY(-3px); }
#backToTop.show { display: flex; }

/* ── Responsive ── */
@media (max-width: 992px) {
  section { padding: 65px 0; }
  .carousel-item { height: 520px; }
  .hero-content h1 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
  .carousel-item { height: 420px; }
  .hero-content h1 { font-size: 1.75rem; }
  section { padding: 50px 0; }
  .contact-form-wrap { padding: 28px 20px; }
}
@media (max-width: 576px) {
  .carousel-item { height: 360px; }
  .stats-bar .stat-item { margin-bottom: 24px; }
}
