/* ==========================================================================
   SAJID GRAPHICS (সাজিদ গ্রাফিক্স) - Modern Whitish Theme Stylesheet
   Location: Gouripur Bazar, Daudkandi, Cumilla
   Branding: Green (#16A34A / #15803D), Lime (#84CC16), Pure White & Slate
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Noto+Sans+Bengali:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-bangla: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
  --font-heading: 'Noto Sans Bengali', 'Hind Siliguri', sans-serif;
  --font-english: 'Outfit', 'Inter', sans-serif;

  /* Whitish Theme Colors */
  --bg-pure: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-tinted: #F0FDF4;
  --bg-card: #FFFFFF;
  
  /* Brand Green Palette */
  --brand-green-50: #F0FDF4;
  --brand-green-100: #DCFCE7;
  --brand-green-200: #BBF7D0;
  --brand-green-500: #22C55E;
  --brand-green-600: #16A34A;
  --brand-green-700: #15803D;
  --brand-green-800: #166534;
  --brand-green-900: #14532D;

  /* Accent Lime */
  --brand-lime-400: #A3E635;
  --brand-lime-500: #84CC16;
  --brand-lime-600: #65A30D;

  /* Neutrals */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --border-green: #BBF7D0;

  /* CMYK Accents */
  --cmyk-cyan: #06B6D4;
  --cmyk-magenta: #EC4899;
  --cmyk-yellow: #EAB308;
  --cmyk-key: #0F172A;
}

/* ---------------- Smooth Scrolling & Base Typography ---------------- */
html {
  scroll-behavior: smooth;
  font-family: var(--font-bangla);
  color: var(--text-primary);
  background-color: var(--bg-pure);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 10% 10%, rgba(34, 197, 94, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 90% 90%, rgba(132, 204, 22, 0.03) 0%, transparent 40%),
              #FFFFFF;
  min-height: 100vh;
}

.font-bangla {
  font-family: var(--font-bangla);
}

.font-english {
  font-family: var(--font-english);
}

/* ---------------- Custom Scrollbar ---------------- */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #22C55E;
  border-radius: 6px;
  border: 2px solid #F1F5F9;
}
::-webkit-scrollbar-thumb:hover {
  background: #16A34A;
}

/* ---------------- Subtle CMYK Grid & Print Registration Marks ---------------- */
.print-grid-bg {
  background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
  background-size: 24px 24px;
}

.cmyk-bar {
  background: linear-gradient(90deg, 
    #06B6D4 0%, #06B6D4 25%, 
    #EC4899 25%, #EC4899 50%, 
    #EAB308 50%, #EAB308 75%, 
    #0F172A 75%, #0F172A 100%
  );
  height: 4px;
}

.cmyk-bar-sm {
  background: linear-gradient(90deg, 
    #06B6D4 0%, #06B6D4 25%, 
    #EC4899 25%, #EC4899 50%, 
    #EAB308 50%, #EAB308 75%, 
    #16A34A 75%, #16A34A 100%
  );
  height: 3px;
}

/* ---------------- 3D Folded Ribbon Service Cards (Flyer Exact Match) ---------------- */
.service-flyer-card {
  background: #FFFFFF;
  border-radius: 28px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-flyer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
}

/* Ribbon 3D Headers */
.ribbon-header-wrapper {
  position: relative;
  margin-top: -8px;
  padding: 0 12px;
}

.ribbon-digital {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 50%, #DC2626 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.35);
}
.ribbon-digital-bottom {
  background: linear-gradient(90deg, #F97316, #DC2626);
}

.ribbon-offset {
  background: linear-gradient(135deg, #9333EA 0%, #7E22CE 50%, #6B21A8 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(126, 34, 206, 0.35);
}
.ribbon-offset-bottom {
  background: linear-gradient(90deg, #9333EA, #6B21A8);
}

.ribbon-sublimation {
  background: linear-gradient(135deg, #84CC16 0%, #65A30D 50%, #16A34A 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(101, 163, 13, 0.35);
}
.ribbon-sublimation-bottom {
  background: linear-gradient(90deg, #84CC16, #16A34A);
}

/* 3D Fold Ribbon End Ears */
.ribbon-3d-box {
  position: relative;
  border-radius: 18px 18px 4px 4px;
}
.ribbon-ear-left {
  position: absolute;
  left: -10px;
  top: 14px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.ribbon-ear-digital {
  border-right: 10px solid #9A3412;
}
.ribbon-ear-offset {
  border-right: 10px solid #581C87;
}
.ribbon-ear-sublimation {
  border-right: 10px solid #14532D;
}

/* Square Bullet Points (■) */
.square-bullet-digital {
  background-color: #F97316;
  opacity: 0.85;
}
.square-bullet-offset {
  background-color: #A855F7;
  opacity: 0.85;
}
.square-bullet-sublimation {
  background-color: #84CC16;
  opacity: 0.85;
}

/* Visiting Card Digital Mockup (1:1 with Reference Image 2) */
.visiting-card-container {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
}

.visiting-card-green-strip {
  background: linear-gradient(90deg, #16A34A 0%, #22C55E 70%, #84CC16 100%);
}

.visiting-card-angled-line {
  background: linear-gradient(90deg, #22C55E 0%, #84CC16 65%, #CBD5E1 65%, #CBD5E1 100%);
  height: 4px;
}

/* ---------------- Glassmorphic & Whitish Cards ---------------- */
.whitist-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whitist-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 16px 32px -4px rgba(22, 163, 74, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.whitist-card-static {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.green-gradient-glow {
  position: relative;
}
.green-gradient-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #22C55E, #84CC16, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------------- Floating Keyframes ---------------- */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.animate-float-slow {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

.ripple-circle {
  animation: ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

/* ---------------- Header Sticky Glass Effect ---------------- */
.nav-sticky {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* ---------------- Active Navigation Indicator ---------------- */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2.5px;
  background: #16A34A;
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}
.nav-link.active {
  color: #16A34A;
  font-weight: 700;
}

/* ---------------- Portfolio Grid & Overlay ---------------- */
.portfolio-item {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-item:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-overlay {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.portfolio-img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------- Category Pills Filter ---------------- */
.filter-btn {
  transition: all 0.2s ease;
}
.filter-btn.active {
  background-color: #16A34A;
  color: #FFFFFF;
  border-color: #16A34A;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

/* ---------------- Lightbox Modal Transition ---------------- */
.modal-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop.open .modal-content {
  transform: scale(1) translateY(0);
}

/* ---------------- Registration Mark Graphic Elements ---------------- */
.reg-mark {
  width: 24px;
  height: 24px;
  position: relative;
}
.reg-mark::before, .reg-mark::after {
  content: '';
  position: absolute;
  background-color: #94A3B8;
}
.reg-mark::before {
  top: 11px;
  left: 0;
  right: 0;
  height: 1px;
}
.reg-mark::after {
  left: 11px;
  top: 0;
  bottom: 0;
  width: 1px;
}
.reg-mark-circle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border: 1px solid #94A3B8;
  border-radius: 50%;
}

/* ---------------- Price Badge & Pill Styles ---------------- */
.badge-service {
  background-color: #F0FDF4;
  color: #15803D;
  border: 1px solid #DCFCE7;
}

.badge-subtle-lime {
  background-color: #F7FEE7;
  color: #4D7C0F;
  border: 1px solid #ECFCCB;
}

/* ---------------- Tooltips ---------------- */
.tooltip-box {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.has-tooltip:hover .tooltip-box {
  visibility: visible;
  opacity: 1;
}

/* ---------------- Print Styles ---------------- */
@media print {
  .no-print,
  #floating-whatsapp,
  #header,
  footer {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
}
