/* ============================================
   ATCabling - Modern Bootstrap 5 Stylesheet
   Font: DM Serif Display + Inter
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES / DESIGN TOKENS
   ============================================ */
:root {
  --primary: #0f172a;
  --primary-blue: #3b82f6;
  --accent: #f97316;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --white: #ffffff;
  --font-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

/* Font Sizes */
.fs-14 {
  font-size: 14px !important;
}

.fs-16 {
  font-size: 16px !important;
}

.fs-18 {
  font-size: 18px !important;
}

/* Section Title (Serif) */
.section-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 580px;
  line-height: 1.7;
}

/* Custom Colors */
.text-accent {
  color: var(--accent) !important;
}

.text-primary-blue {
  color: var(--primary-blue) !important;
}

.text-light-muted {
  color: #94a3b8 !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.bg-accent-soft {
  background-color: rgba(249, 115, 22, 0.1) !important;
}

.bg-primary-blue {
  background-color: var(--primary-blue) !important;
}

.bg-primary-blue-soft {
  background-color: rgba(59, 130, 246, 0.1) !important;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn-accent:hover {
  background: #ea670c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.35);
}

.btn-primary-blue {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary-blue:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

.letter-spacing {
  letter-spacing: 0.08em;
}

.py-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* ============================================
   NAVBAR
   ============================================ */
#mainNavbar {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0;
  transition: var(--transition);
  z-index: 1050;
}

#mainNavbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

#mainNavbar .navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
}

#mainNavbar .nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 50px;
  transition: var(--transition);
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

#mainNavbar .navbar-toggler-icon {
  filter: invert(1);
}

/* ============================================
   HERO CAROUSEL SLIDER
   ============================================ */
.hero-slide {
  height: 100vh;
  min-height: 650px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.75) 100%);
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

#heroCarousel .carousel-indicators {
  bottom: 30px;
}

#heroCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  transition: var(--transition);
  opacity: 1;
}

#heroCarousel .carousel-indicators button.active {
  background: var(--accent);
  border-color: var(--accent);
  width: 36px;
  border-radius: 6px;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
  margin: 0 1.5rem;
  bottom: auto;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
  opacity: 1;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-slide {
    min-height: 550px;
  }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--primary);
  position: relative;
  z-index: 5;
  margin-top: -1px;
}

.stat-box {
  position: relative;
  padding: 2rem 1rem;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  color: var(--primary-blue);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: #fff;
  display: inline;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--light);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glass);
  border-color: transparent;
}

.service-img-wrapper {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  position: relative;
}

.service-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-illustration {
  transform: scale(1.08);
}

.service-card-body {
  padding: 1.5rem;
  position: relative;
}

.service-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-icon-badge.blue {
  background: #3b82f6;
  color: #fff;
}

.service-icon-badge.indigo {
  background: #6366f1;
  color: #fff;
}

.service-icon-badge.green {
  background: #10b981;
  color: #fff;
}

.service-icon-badge.yellow {
  background: #f59e0b;
  color: #fff;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.service-link {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  text-decoration: none;
}

.service-link:hover {
  color: var(--accent);
  gap: 0.7rem;
}

/* ============================================
   GIF / ANIMATION PLACEHOLDER
   ============================================ */
.gif-section {
  background: var(--white);
}

.gif-placeholder {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-glass);
}

.gif-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.15), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.1), transparent 60%);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.gif-placeholder-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  border: 1px solid transparent;
}

.process-step:hover {
  background: var(--gray-50);
  border-color: var(--gray-200);
}

.step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-blue), #6366f1);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.process-step h5 {
  font-family: var(--font-serif);
  font-size: 16px;
}

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
  background: var(--light);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.why-feature-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.1);
  transform: translateX(4px);
}

.why-feature-item i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.quality-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
  text-align: center;
}

@media (max-width: 768px) {
  .quality-badge {
    display: none;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 50%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: #fff;
  position: relative;
  z-index: 2;
}

.cta-section .btn-accent,
.cta-section p {
  position: relative;
  z-index: 2;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  color: #fff;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  display: block;
  padding: 0.3rem 0;
  transition: var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact li {
  color: #94a3b8;
  font-size: 14px;
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
}

.footer-contact a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--accent);
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: var(--transition);
  text-decoration: none;
  font-size: 1rem;
}

.social-icon:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero,
.solutions-hero {
  background: var(--primary);
  padding: 8rem 0 4rem;
  color: #fff;
  text-align: center;
}

.contact-page {
  background: var(--light);
  min-height: 100vh;
  padding: 7rem 0 5rem;
}

.boutique-page {
  background: var(--light);
  min-height: 100vh;
  padding: 6rem 0 3rem;
}

.about-hero h1,
.solutions-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.about-hero p,
.solutions-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  margin: 0 auto;
}

@media (max-width: 768px) {

  .about-hero h1,
  .solutions-hero h1 {
    font-size: 2rem;
  }
}

/* Mission & Vision */
.mission-section {
  padding: 5rem 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.mission-card {
  background: var(--light);
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  border-left: 4px solid var(--primary-blue);
}

.mission-card.vision {
  border-left-color: var(--accent);
}

.mission-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mission-card-icon.blue {
  background: rgba(59, 130, 246, 0.2);
  color: var(--primary-blue);
}

.mission-card-icon.orange {
  background: rgba(249, 115, 22, 0.2);
  color: var(--accent);
}

.mission-card h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.mission-card p {
  color: var(--gray-600);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Values */
.values-section {
  padding: 5rem 0;
  background: var(--light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.value-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--gray-600);
  font-size: 14px;
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Team */
.team-section {
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4), transparent);
}

.team-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  width: 100%;
}

.team-card-info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.team-card-info .role {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-card-info .bio {
  color: #e2e8f0;
  font-size: 14px;
  opacity: 0;
  transform: translateY(1rem);
  transition: var(--transition);
}

.team-card:hover .bio {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Partners */
.partners-section {
  padding: 5rem 0;
  background: var(--light);
  text-align: center;
}

.partners-section h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partners-logos:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partners-logos span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-400);
}

/* ============================================
   SOLUTIONS PAGE
   ============================================ */
.solutions-grid-section {
  background: var(--light);
  min-height: 100vh;
  padding-bottom: 5rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: -2.5rem;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
  text-decoration: none;
}

.solution-card:hover {
  box-shadow: var(--shadow-glass);
  transform: translateY(-4px);
}

.solution-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.solution-card:hover .solution-icon {
  transform: scale(1.1);
}

.solution-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}

.solution-icon.indigo {
  background: #e0e7ff;
  color: #4f46e5;
}

.solution-icon.emerald {
  background: #d1fae5;
  color: #059669;
}

.solution-icon.purple {
  background: #ede9fe;
  color: #7c3aed;
}

.solution-icon.cyan {
  background: #cffafe;
  color: #0891b2;
}

.solution-icon.sky {
  background: #e0f2fe;
  color: #0284c7;
}

.solution-icon.red {
  background: #fee2e2;
  color: #dc2626;
}

.solution-icon.yellow {
  background: #fef3c7;
  color: #ca8a04;
}

.solution-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.solution-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 14px;
}

.solution-link {
  color: var(--primary-blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  transition: var(--transition);
}

.solution-card:hover .solution-link {
  color: var(--primary);
}

.solution-card:hover .solution-link svg {
  transform: translateX(4px);
}

.solution-link svg {
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .solutions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   BOUTIQUE PAGE
   ============================================ */
.boutique-page {
  background: var(--light);
  min-height: 100vh;
  padding: 3rem 0;
}

.boutique-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.boutique-header h1 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--primary);
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 24rem;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: 50px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  background: var(--white);
  transition: var(--transition);
  font-size: 14px;
}

.search-box input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  border-color: var(--primary-blue);
  outline: none;
}

.search-box .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}

@media (min-width: 768px) {
  .boutique-header {
    flex-direction: row;
    justify-content: space-between;
  }
}

.boutique-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .boutique-layout {
    flex-direction: row;
  }
}

.boutique-sidebar {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .boutique-sidebar {
    width: 16rem;
  }
}

.sidebar-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.category-list li {
  margin-bottom: 0.75rem;
}

.category-list label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 0.75rem;
}

.category-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-blue);
}

.category-list span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.category-list label:hover span {
  color: var(--primary-blue);
}

.price-filter {
  margin-top: 2rem;
}

.price-filter h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.price-filter input[type="range"] {
  width: 100%;
  accent-color: var(--primary-blue);
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 12px;
  color: var(--gray-500);
}

.boutique-products {
  flex: 1;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
}

.products-toolbar span {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 14px;
}

.products-toolbar select {
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 14px;
  background: var(--white);
}

.products-toolbar select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  outline: none;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-glass);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
  background: var(--gray-100);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge-rupture {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 12px;
  color: var(--primary-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.product-rating .star {
  color: #facc15;
}

.product-rating span {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary);
}

.btn-cart {
  padding: 0.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  background: var(--primary-blue);
  color: #fff;
  border: none;
}

.btn-cart:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.btn-cart:disabled {
  background: var(--gray-200);
  color: var(--gray-400);
  cursor: not-allowed;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  background: var(--light);
  min-height: 100vh;
  padding: 5rem 0;
}

.contact-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-heading h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-heading p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-heading h1 {
    font-size: 3rem;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.contact-info-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
}

.contact-info-box h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-blue);
}

.contact-info-item .label {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
  font-size: 14px;
}

.contact-info-item .value {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 14px;
}

.contact-info-item a {
  color: var(--primary-blue);
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--accent);
}

.contact-map {
  background: var(--gray-200);
  border-radius: var(--radius-2xl);
  height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  margin-top: 2rem;
  overflow: hidden;
}

.contact-form-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
}

@media (min-width: 768px) {
  .contact-form-box {
    padding: 3rem;
  }
}

.contact-form-box h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  margin-bottom: 0;
}

.form-group.full {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
  font-size: 14px;
  font-family: var(--font-sans);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: none;
}

.form-group textarea {
  resize: none;
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .needs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.need-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
}

.need-item:hover {
  background: var(--gray-50);
  border-color: var(--primary-blue);
}

.need-item input {
  accent-color: var(--primary-blue);
  width: 16px;
  height: 16px;
}

.need-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}

.file-input {
  margin-bottom: 1.5rem;
}

.file-input label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.file-input input[type="file"] {
  font-size: 14px;
  color: var(--gray-500);
}

.file-input input[type="file"]::file-selector-button {
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-blue);
  cursor: pointer;
  transition: var(--transition);
}

.file-input input[type="file"]::file-selector-button:hover {
  background: rgba(59, 130, 246, 0.2);
}

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
  transition: var(--transition);
}

.btn-submit:hover {
  background: #ea670c;
  transform: translateY(-2px);
}

.form-privacy {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 1rem;
}

/* ============================================
   ADMIN / DASHBOARD
   ============================================ */
.admin-layout {
  min-height: 100vh;
  background: var(--light);
  display: flex;
}

.admin-sidebar {
  width: 16rem;
  background: var(--primary);
  color: #fff;
  display: none;
  flex-direction: column;
}

@media (min-width: 768px) {
  .admin-sidebar {
    display: flex;
  }
}

.admin-sidebar-brand {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-brand a {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}

.admin-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none;
}

.admin-sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.admin-sidebar-nav a.active {
  background: var(--primary-blue);
  color: #fff;
  font-weight: 500;
}

.admin-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-footer button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  color: #cbd5e1;
  border-radius: 10px;
  background: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.admin-sidebar-footer button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.admin-topbar {
  height: 80px;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
}

.admin-topbar h1 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--dark);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 14px;
}

.admin-user-info p:first-child {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.admin-user-info p:last-child {
  font-size: 12px;
  color: var(--gray-500);
}

.admin-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dashboard-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
}

.stat-card h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.stat-card-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.stat-card-body .value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--dark);
}

.stat-trend {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 14px;
  font-weight: 500;
}

.stat-trend.positive {
  color: #16a34a;
}

.stat-trend.negative {
  color: #dc2626;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.dashboard-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}

.dashboard-panel-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-panel-header h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-panel-header button {
  font-size: 14px;
  color: var(--primary-blue);
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
}

.dashboard-panel-header button:hover {
  text-decoration: underline;
}

.orders-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}

.orders-table thead tr {
  background: var(--light);
  color: var(--gray-600);
  font-size: 14px;
}

.orders-table th,
.orders-table td {
  padding: 1rem;
}

.orders-table th {
  font-weight: 500;
}

.orders-table tbody {
  font-size: 14px;
}

.orders-table tbody tr {
  border-bottom: 1px solid var(--gray-50);
  transition: var(--transition);
}

.orders-table tbody tr:hover {
  background: var(--gray-50);
}

.orders-table .order-id {
  font-weight: 500;
  color: var(--primary);
}

.orders-table .order-client {
  color: var(--dark);
}

.orders-table .order-date {
  color: var(--gray-500);
}

.orders-table .order-amount {
  font-weight: 500;
  color: var(--dark);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge.delivered {
  background: #dcfce7;
  color: #15803d;
}

.status-badge.in-progress {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-badge.pending {
  background: #ffedd5;
  color: #c2410c;
}

.stock-alerts {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stock-alert-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  background: #fef2f2;
  border-radius: var(--radius-xl);
  border: 1px solid #fee2e2;
}

.stock-alert-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.stock-alert-content .icon {
  color: #ef4444;
  margin-top: 2px;
  flex-shrink: 0;
}

.stock-alert-content .product-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0;
}

.stock-alert-content .stock-info {
  font-size: 12px;
  color: #dc2626;
  margin-top: 0.25rem;
}

.stock-alert-content .stock-info strong {
  font-weight: 700;
}

.btn-manage-stock {
  width: 100%;
  padding: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-xl);
  background: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-manage-stock:hover {
  background: var(--accent);
  color: #fff;
}

/* ============================================
   SVG ICONS (legacy support)
   ============================================ */
.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 20px;
  height: 20px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

.icon-xl {
  width: 28px;
  height: 28px;
}

.icon-2xl {
  width: 32px;
  height: 32px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}