@charset "UTF-8";
/**
 * JuteAlBangladesh WordPress Theme Stylesheet
 * 100% Identical to React Application Styling
 */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-cairo: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --color-emerald-50: #ecfdf5;
  --color-emerald-100: #d1fae5;
  --color-emerald-200: #a7f3d0;
  --color-emerald-300: #6ee7b7;
  --color-emerald-400: #34d399;
  --color-emerald-500: #10b981;
  --color-emerald-600: #059669;
  --color-emerald-700: #047857;
  --color-emerald-800: #065f46;
  --color-emerald-900: #064e3b;
  --color-emerald-950: #022c22;
}

html {
  font-family: var(--font-cairo);
  direction: rtl;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-cairo);
  background-color: #ffffff;
  color: #1f2937;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Responsive Logo System
   ========================================================================== */
.site-branding {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 65%;
}

.custom-logo-link,
.site-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  text-decoration: none;
  line-height: 1;
}

.custom-logo,
.site-logo-img {
  height: 2.25rem !important; /* 36px on mobile */
  width: auto !important;
  max-width: 175px !important;
  object-fit: contain !important;
  display: block;
  transition: all 0.2s ease-in-out;
}

@media (min-width: 480px) {
  .site-branding {
    max-width: 60%;
  }
  .custom-logo,
  .site-logo-img {
    height: 2.5rem !important; /* 40px */
    max-width: 210px !important;
  }
}

@media (min-width: 640px) {
  .site-branding {
    max-width: 50%;
  }
  .custom-logo,
  .site-logo-img {
    height: 3rem !important; /* 48px */
    max-width: 250px !important;
  }
}

@media (min-width: 768px) {
  .custom-logo,
  .site-logo-img {
    height: 3.25rem !important; /* 52px */
    max-width: 280px !important;
  }
}

@media (min-width: 1024px) {
  .site-branding {
    max-width: 35%;
  }
  .custom-logo,
  .site-logo-img {
    height: 3.5rem !important; /* 56px */
    max-width: 320px !important;
  }
}

/* Responsive Table Wrappers */
.table-responsive,
.overflow-x-auto {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile usability */
@media (max-width: 640px) {
  input, select, textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    max-width: 100%;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #10b981;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #059669;
}

/* Base Typography & Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-cairo);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Line clamp utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Accordion Smooth Transitions */
.jute-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, padding 0.35s ease;
  opacity: 0;
}
.jute-accordion-content.active {
  max-height: 500px;
  opacity: 1;
  padding-top: 1rem;
}

/* Aspect Ratios fallback */
.aspect-4-3 {
  aspect-ratio: 4 / 3;
}
.aspect-3-4 {
  aspect-ratio: 3 / 4;
}
.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  font-family: var(--font-cairo);
}

/* Animation Utilities */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }
}

.whatsapp-pulse {
  animation: pulseGlow 2.5s infinite;
}
