:root {
  --bg: #06110d;
  --bg-2: #0b1b15;
  --panel: #10251d;
  --panel-2: #153126;
  --text: #eef8f2;
  --muted: #a9bdb3;
  --line: rgba(216, 255, 231, 0.12);
  --green: #15c37b;
  --green-2: #55e39e;
  --cyan: #4fd5d7;
  --amber: #f0b95b;
  --danger: #ff6d70;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --hero-fade-1: rgba(6,19,14,0.95);
  --hero-fade-2: rgba(6,19,14,0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body.light-mode {
  --bg: #f5faf7;
  --bg-2: #eef7f2;
  --panel: #ffffff;
  --panel-2: #edf7f2;
  --text: #0c1c16;
  --muted: #4f665c;
  --line: rgba(12, 28, 22, 0.12);
  --shadow: 0 18px 50px rgba(16, 37, 29, 0.12);
  --hero-fade-1: rgba(245,250,247,0.95);
  --hero-fade-2: rgba(245,250,247,0.25);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  min-height: 42px;
}

.btn-success {
  --bs-btn-bg: var(--green);
  --bs-btn-border-color: var(--green);
  --bs-btn-hover-bg: #10ad6d;
  --bs-btn-hover-border-color: #10ad6d;
  --bs-btn-color: #03120b;
  --bs-btn-hover-color: #03120b;
}

.btn-outline-light {
  --bs-btn-border-color: var(--line);
  --bs-btn-color: var(--text);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.28);
  --bs-btn-hover-color: var(--text);
}

.site-nav {
  background: rgba(6, 17, 13, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.light-mode .site-nav {
  background: rgba(245, 250, 247, 0.88);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
}

.navbar-brand img,
.footer-brand img {
  width: 38px;
  height: 38px;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--muted);
  font-weight: 650;
  padding-inline: 0.85rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--text);
}

.light-mode .navbar-dark .navbar-nav .nav-link,
.light-mode .navbar-dark .navbar-brand {
  color: var(--text);
}

/* Mobile Navbar Toggler & Hamburger Lines */
.site-nav .navbar-toggler {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  transition: all 0.25s ease;
}

.site-nav .navbar-toggler:hover,
.site-nav .navbar-toggler:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(21, 195, 123, 0.25);
  background: rgba(21, 195, 123, 0.1);
}

/* Dark mode (default): bright crisp mint lines */
.site-nav .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='%2355e39e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.6' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Light mode: bold, high-contrast dark lines */
.light-mode .site-nav .navbar-toggler {
  border: 1px solid rgba(12, 28, 22, 0.22);
  background: rgba(12, 28, 22, 0.05);
}

.light-mode .site-nav .navbar-toggler:hover,
.light-mode .site-nav .navbar-toggler:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(21, 195, 123, 0.2);
  background: rgba(21, 195, 123, 0.12);
}

.light-mode .site-nav .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='%230c1c16' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.8' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
  background:
    linear-gradient(115deg, rgba(21, 195, 123, 0.2), transparent 38%),
    radial-gradient(circle at 78% 22%, rgba(79, 213, 215, 0.16), transparent 26%),
    var(--bg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(85, 227, 158, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 227, 158, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-44px, 44px, 0); }
}

.floating-icons span {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--green-2);
  background: rgba(16, 37, 29, 0.62);
  box-shadow: var(--shadow);
  animation: floatTech 7s ease-in-out infinite;
}

.floating-icons span:nth-child(1) { top: 21%; left: 7%; }
.floating-icons span:nth-child(2) { top: 18%; right: 10%; animation-delay: 1s; }
.floating-icons span:nth-child(3) { bottom: 20%; left: 12%; animation-delay: 2s; }
.floating-icons span:nth-child(4) { bottom: 14%; right: 8%; animation-delay: 3s; }
.floating-icons span:nth-child(5) { top: 50%; right: 2%; animation-delay: 4s; }

@keyframes floatTech {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-section .container,
.page-hero .container {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  color: var(--green-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  margin-bottom: 0.9rem;
}

h1, h2, h3, h4 {
  letter-spacing: 0;
  line-height: 1.08;
  font-weight: 850;
}

.hero-section h1 {
  font-size: clamp(2.75rem, 6vw, 5.7rem);
  max-width: 860px;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.2rem;
  margin: 1.3rem 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.hero-proof div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(16, 37, 29, 0.62);
}

.light-mode .hero-proof div,
.light-mode .floating-icons span {
  background: rgba(255, 255, 255, 0.82);
}

.hero-proof strong {
  display: block;
  font-size: 1.45rem;
  color: var(--green-2);
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual,
.detail-visual,
.wide-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(21, 195, 123, 0.12), rgba(79, 213, 215, 0.08));
  box-shadow: var(--shadow);
}

.hero-visual {
  padding: 0.7rem;
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}

.page-hero {
  padding: 9rem 0 4rem;
  background:
    linear-gradient(135deg, rgba(21, 195, 123, 0.16), transparent 34%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
}

.page-hero p {
  color: var(--muted);
  max-width: 760px;
  font-size: 1.1rem;
}

.section {
  padding: 5.5rem 0;
}

.section-compact {
  padding-top: 4rem;
}

.section-muted {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.4rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-card,
.service-card,
.portfolio-card,
.testimonial-card,
.blog-card,
.job-card,
.form-panel,
.contact-panel,
.detail-panel,
.detail-sidebar,
.cta-band,
.category-cloud {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.light-mode .product-card,
.light-mode .service-card,
.light-mode .portfolio-card,
.light-mode .testimonial-card,
.light-mode .blog-card,
.light-mode .job-card,
.light-mode .form-panel,
.light-mode .contact-panel,
.light-mode .detail-panel,
.light-mode .detail-sidebar,
.light-mode .cta-band,
.light-mode .category-cloud {
  background: #ffffff;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-media {
  display: block;
  aspect-ratio: 16 / 10;
  padding: 0.9rem;
  background: rgba(21, 195, 123, 0.08);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem;
}

.category-pill,
.portfolio-card span,
.blog-card span,
.job-card span {
  display: inline-flex;
  color: var(--cyan);
  font-size: 0.83rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.product-card h3,
.service-card h3,
.portfolio-card h3,
.blog-card h3,
.job-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.product-card p,
.service-card p,
.portfolio-card p,
.testimonial-card p,
.blog-card p,
.job-card p {
  color: var(--muted);
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.card-actions strong {
  color: var(--green-2);
}

.price-from-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.service-card {
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 92px 1fr;
  align-items: start;
}

.service-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(21, 195, 123, 0.08);
}

.icon-link {
  color: var(--green-2);
  font-weight: 800;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

.portfolio-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portfolio-card {
  padding: 1rem;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.testimonial-swiper {
  padding-bottom: 2.7rem;
}

.testimonial-card {
  padding: 1.4rem;
}

.stars {
  color: var(--amber);
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-person {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
}

.testimonial-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.testimonial-person span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background:
    linear-gradient(100deg, rgba(21, 195, 123, 0.18), rgba(79, 213, 215, 0.08)),
    var(--panel);
}

.cta-band p {
  color: var(--muted);
  max-width: 680px;
  margin: 0;
}

.blog-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  padding: 1rem;
}

.blog-card.vertical {
  grid-template-columns: 1fr;
}

.blog-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

.blog-card.vertical img {
  height: auto;
  aspect-ratio: 16 / 10;
}

.category-cloud {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.category-cloud strong {
  display: block;
  margin-bottom: 0.7rem;
}

.category-cloud span {
  display: inline-flex;
  margin: 0.25rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.value-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.value-grid i {
  color: var(--green-2);
  font-size: 1.4rem;
}

.value-grid strong,
.value-grid span {
  display: block;
}

.value-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.timeline div {
  border-top: 2px solid var(--green);
  padding-top: 1rem;
}

.timeline strong {
  display: block;
  color: var(--green-2);
  font-size: 1.2rem;
}

.timeline span {
  color: var(--muted);
}

.filter-bar {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.search-form,
.newsletter-form {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.search-form input,
.newsletter-form input {
  max-width: 460px;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 700;
  width: 100%;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(85, 227, 158, 0.68);
  box-shadow: 0 0 0 4px rgba(21, 195, 123, 0.12);
}

.form-panel,
.contact-panel,
.detail-panel,
.detail-sidebar {
  padding: 1.4rem;
}

.contact-panel {
  display: grid;
  gap: 1rem;
}

.contact-panel > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.1rem 0.75rem;
  align-items: center;
}

.contact-panel i {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-2);
}

.contact-panel span {
  color: var(--muted);
}

.contact-panel iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius);
}

.faq-accordion .accordion-item {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
}

.faq-accordion .accordion-button {
  background: transparent;
  color: var(--text);
  font-weight: 800;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--green-2);
  box-shadow: none;
}

.accordion-body {
  color: var(--muted);
}

.job-card {
  padding: 1.2rem;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.wizard-progress span {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.wizard-progress span.active {
  background: var(--green);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.wizard-submit,
.wizard-prev {
  display: none;
}

.detail-panel h2 {
  margin-top: 1.2rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.feature-list span {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--muted);
}

.feature-list i {
  color: var(--green-2);
  margin-top: 0.2rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.screenshot-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.screenshot-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.screenshot-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.screenshot-item:hover img {
  transform: scale(1.06);
}

.screenshot-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #fff;
  font-size: 1.3rem;
  pointer-events: none;
}

.screenshot-zoom-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 25, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.25s ease;
}

.screenshot-item:hover .screenshot-zoom-overlay {
  opacity: 1;
}

.screenshot-item:hover .screenshot-zoom-overlay span {
  transform: scale(1.1);
}

/* Screenshot Modal Popup */
.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  outline: none;
}

.screenshot-lightbox.active {
  display: flex;
}

.screenshot-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 22, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease;
}

.screenshot-modal-card {
  position: relative;
  z-index: 10;
  background: #ffffff;
  color: #1e293b;
  border-radius: 16px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: lightboxPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

/* Modal Header: Title & Close Icon at Top Right */
.screenshot-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.screenshot-modal-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.screenshot-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.screenshot-modal-counter {
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 10px;
  border-radius: 9999px;
}

.screenshot-modal-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.screenshot-zoom-controls {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 2px 4px;
  gap: 2px;
}

.screenshot-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.screenshot-tool-btn:hover:not(:disabled) {
  background: #ffffff;
  color: #059669;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.screenshot-tool-btn:active:not(:disabled) {
  transform: scale(0.92);
}

.screenshot-tool-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.screenshot-zoom-level-btn {
  border: none;
  background: transparent;
  padding: 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  min-width: 48px;
  text-align: center;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.screenshot-zoom-level-btn:hover {
  color: #059669;
}

.screenshot-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #d0d7de;
  background: #f6f8fa;
  color: #475569;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.screenshot-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* Modal Body with Side Scrol Navigation Icons */
.screenshot-modal-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  min-height: 380px;
  background: #f8fafc;
  overflow: hidden;
}

.screenshot-modal-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.screenshot-modal-img-wrap {
  width: 100%;
  height: 58vh;
  max-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  user-select: none;
  touch-action: none;
}

.screenshot-modal-img-wrap img {
  max-width: 100%;
  max-height: 58vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: opacity 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  will-change: transform;
}

.screenshot-modal-caption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
  padding: 0 1rem;
}

/* Side Scrol Navigation Icons (< and >) */
.screenshot-modal-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 20;
}

.screenshot-modal-scroll-btn:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.screenshot-modal-prev {
  left: -24px;
}

.screenshot-modal-next {
  right: -24px;
}

/* Thumbnail Gallery Strip at Bottom */
.screenshot-modal-thumbs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-start;
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 16px 16px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.screenshot-thumb-btn {
  flex-shrink: 0;
  width: 76px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.2s ease;
}

.screenshot-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshot-thumb-btn:hover {
  opacity: 0.9;
  border-color: #94a3b8;
}

.screenshot-thumb-btn.active {
  opacity: 1;
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  transform: scale(1.04);
}

@keyframes lightboxPop {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   Android Apps Portrait Phone Screenshot Presentation (Product Page, Modal & Admin)
   ========================================================================== */

/* 1. Frontend Product Page - Mobile Portrait Showcase */
.screenshot-grid.screenshot-grid-portrait {
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .screenshot-grid.screenshot-grid-portrait {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.9rem !important;
  }
}

.screenshot-grid.screenshot-grid-portrait .screenshot-item {
  aspect-ratio: 9 / 18.5;
  border-radius: 26px;
  border: 4px solid #1e293b;
  background: #090e17;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Smartphone Top Speaker Notch Pill */
.phone-mockup-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 5px;
  background: rgba(0, 0, 0, 0.88);
  border-radius: 9999px;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* Smartphone Bottom Home Bar Indicator */
.screenshot-grid.screenshot-grid-portrait .screenshot-item::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 9999px;
  z-index: 5;
  pointer-events: none;
}

.screenshot-grid.screenshot-grid-portrait .screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  transition: transform 0.35s ease;
}

.screenshot-grid.screenshot-grid-portrait .screenshot-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #10b981;
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.25), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.screenshot-grid.screenshot-grid-portrait .screenshot-item:hover img {
  transform: scale(1.03);
}

/* 2. Lightbox Modal - Portrait Phone Mode */
.screenshot-modal-card.is-portrait {
  max-width: 490px;
}

.screenshot-modal-card.is-portrait .screenshot-modal-body {
  padding: 0.85rem 1rem;
  min-height: 480px;
}

.screenshot-modal-card.is-portrait .screenshot-modal-img-wrap {
  height: 74vh;
  max-height: 74vh;
}

.screenshot-modal-card.is-portrait .screenshot-modal-img-wrap img {
  max-height: 74vh;
  width: auto;
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28), 0 0 0 2px rgba(15, 23, 42, 0.1);
}

.screenshot-modal-card.is-portrait .screenshot-modal-scroll-btn {
  width: 44px;
  height: 44px;
  font-size: 1.15rem;
}

.screenshot-modal-card.is-portrait .screenshot-modal-prev {
  left: -22px;
}

.screenshot-modal-card.is-portrait .screenshot-modal-next {
  right: -22px;
}

@media (max-width: 576px) {
  .screenshot-modal-card.is-portrait .screenshot-modal-prev {
    left: 8px;
  }
  .screenshot-modal-card.is-portrait .screenshot-modal-next {
    right: 8px;
  }
}

.screenshot-modal-card.is-portrait .screenshot-modal-thumbs,
.screenshot-modal-thumbs.is-portrait-thumbs {
  justify-content: center;
  padding: 0.65rem 1rem;
}

.screenshot-modal-card.is-portrait .screenshot-thumb-btn,
.screenshot-modal-thumbs.is-portrait-thumbs .screenshot-thumb-btn {
  width: 44px;
  height: 74px;
  border-radius: 8px;
}

.screenshot-modal-card.is-portrait .screenshot-thumb-btn img,
.screenshot-modal-thumbs.is-portrait-thumbs .screenshot-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 3. Admin Panel - Screenshot Gallery Portrait Mode */
#screenshot_gallery_panel.portrait-mode .screenshot-card-wrapper {
  flex: 0 0 auto;
  width: 20%;
}

@media (max-width: 1400px) {
  #screenshot_gallery_panel.portrait-mode .screenshot-card-wrapper {
    width: 25%;
  }
}

@media (max-width: 992px) {
  #screenshot_gallery_panel.portrait-mode .screenshot-card-wrapper {
    width: 33.333%;
  }
}

@media (max-width: 576px) {
  #screenshot_gallery_panel.portrait-mode .screenshot-card-wrapper {
    width: 50%;
  }
}

#screenshot_gallery_panel.portrait-mode .screenshot-admin-card {
  border-radius: 16px !important;
  background: var(--panel-2) !important;
}

#screenshot_gallery_panel.portrait-mode .screenshot-img-holder {
  height: 250px !important;
  max-width: 140px;
  width: 100%;
  margin: 10px auto 4px auto;
  border-radius: 20px !important;
  border: 3px solid #334155 !important;
  background: #0f172a !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

#screenshot_gallery_panel.portrait-mode .screenshot-img-holder .phone-mockup-pill {
  display: block !important;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 4px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 999px;
  z-index: 5;
  pointer-events: none;
}

#screenshot_gallery_panel.portrait-mode .screenshot-img-holder img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  border-radius: 17px;
}

#screenshot_gallery_panel.portrait-mode .new-ss-preview-box {
  height: 220px !important;
  max-width: 125px !important;
  width: 100%;
  margin: 0 auto;
  border-radius: 18px !important;
  border: 3px solid var(--accent) !important;
  background: #0f172a !important;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#screenshot_gallery_panel.portrait-mode .new-ss-preview-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  border-radius: 15px;
}

#screenshot_gallery_panel.portrait-mode .new-ss-preview-col {
  flex: 0 0 auto;
  width: 20%;
}

@media (max-width: 1400px) {
  #screenshot_gallery_panel.portrait-mode .new-ss-preview-col {
    width: 25%;
  }
}

@media (max-width: 992px) {
  #screenshot_gallery_panel.portrait-mode .new-ss-preview-col {
    width: 33.333%;
  }
}

@media (max-width: 576px) {
  #screenshot_gallery_panel.portrait-mode .new-ss-preview-col {
    width: 50%;
  }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .screenshot-modal-prev {
    left: 8px;
  }
  .screenshot-modal-next {
    right: 8px;
  }
}

@media (max-width: 768px) {
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  .screenshot-lightbox {
    padding: 0.75rem;
  }
  .screenshot-modal-card {
    border-radius: 12px;
  }
  .screenshot-modal-header {
    padding: 0.75rem 1rem;
  }
  .screenshot-modal-body {
    padding: 0.75rem;
    min-height: 240px;
  }
  .screenshot-modal-img-wrap {
    max-height: 48vh;
  }
  .screenshot-modal-img-wrap img {
    max-height: 48vh;
  }
  .screenshot-modal-scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .screenshot-modal-prev {
    left: 6px;
  }
  .screenshot-modal-next {
    right: 6px;
  }
  .screenshot-modal-thumbs {
    padding: 0.6rem 0.75rem;
  }
  .screenshot-thumb-btn {
    width: 60px;
    height: 42px;
  }
}

@media (max-width: 576px) {
  .screenshot-modal-header {
    padding: 0.6rem 0.75rem;
    gap: 0.4rem;
  }
  .screenshot-modal-title {
    font-size: 1.05rem;
  }
  .screenshot-zoom-controls {
    padding: 1px 2px;
  }
  .screenshot-tool-btn {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
  .screenshot-zoom-level-btn {
    min-width: 38px;
    font-size: 0.72rem;
    padding: 0 4px;
  }
}

.article-cover {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.video-frame,
.detail-visual {
  overflow: hidden;
}

.detail-sidebar {
  display: grid;
  gap: 0.9rem;
  position: sticky;
  top: 92px;
}

.detail-sidebar div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
}

.detail-sidebar span {
  color: var(--muted);
  display: block;
  font-size: 0.88rem;
}

.detail-sidebar strong {
  color: var(--green-2);
  font-size: 1.25rem;
}

.narrow {
  max-width: 860px;
}

.article-body {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 1.6rem;
}

.site-footer {
  padding: 4rem 0 2rem;
  background: #04100b;
  border-top: 1px solid var(--line);
}

.light-mode .site-footer {
  background: #eaf5ef;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: var(--muted);
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer a {
  display: block;
  margin: 0.45rem 0;
}

.footer-brand {
  color: var(--text);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.55rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  right: 1rem;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.whatsapp-float {
  bottom: 5.2rem;
  background: #25d366;
  color: #04100b;
}

.back-to-top {
  bottom: 1rem;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 1rem;
  max-width: 460px;
  padding: 1rem;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-consent.show {
  display: flex;
}

.admin-body {
  background: var(--bg);
  min-height: 100vh;
}

.admin-shell {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  background: #0e4d34;
  padding: 1rem 0.85rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.admin-sidebar::-webkit-scrollbar {
  width: 5px;
}

.admin-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.38);
}

.admin-sidebar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.admin-sidebar .navbar-brand img {
  width: 32px;
  height: 32px;
}

.admin-sidebar .navbar-brand span {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  color: #d1fae5;
  border-radius: var(--radius);
  margin-bottom: 0.2rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.admin-sidebar a i {
  font-size: 1.05rem;
  color: #86efac;
  transition: color 0.2s ease;
}

.admin-sidebar a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.admin-sidebar a:hover i {
  color: #ffffff;
}

.admin-sidebar a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.admin-sidebar a.active i {
  color: #ffffff;
}

.admin-main {
  padding: 1.2rem;
}

.admin-topbar,
.admin-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.admin-topbar {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.admin-card {
  padding: 1.2rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.stat-card span {
  color: var(--muted);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--green-2);
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-border-color: var(--line);
  color: var(--text);
}

.table a {
  color: var(--green-2);
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(140deg, rgba(21, 195, 123, 0.18), transparent 36%),
    var(--bg);
}

.admin-login .form-panel {
  width: min(100%, 440px);
}

.media-preview {
  max-width: 120px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-proof,
  .value-grid,
  .timeline,
  .portfolio-strip,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    transform: none;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }
}

@media (max-width: 767px) {
  .hero-proof,
  .portfolio-strip,
  .value-grid,
  .timeline,
  .feature-list,
  .screenshot-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .floating-icons {
    display: none;
  }

  .blog-card,
  .service-card {
    grid-template-columns: 1fr;
  }

  .wizard-actions,
  .footer-bottom,
  .search-form,
  .newsletter-form {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .wizard-actions .btn,
  .search-form .btn,
  .newsletter-form .btn {
    width: 100%;
  }

  .page-hero,
  .section {
    padding-block: 4rem;
  }

  .cookie-consent {
    right: 1rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   E-Commerce Redesign & Styles
   ========================================================================== */

/* Cart & Checkout Specifics */
.cart-table th {
  border-bottom: 2px solid var(--line);
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.cart-table td {
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(21, 195, 123, 0.08);
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  max-width: 130px;
}

.cart-qty-control button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-qty-control button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cart-qty-control input {
  width: 46px;
  height: 32px;
  border: 0;
  border-inline: 1px solid var(--line);
  background: transparent;
  text-align: center;
  color: var(--text);
  font-weight: 700;
  padding: 0;
}

.cart-remove-btn {
  color: var(--danger);
  background: transparent;
  border: 0;
  font-size: 1.1rem;
  padding: 0.2rem;
  transition: opacity 0.2s;
}

.cart-remove-btn:hover {
  opacity: 0.8;
}

/* Checkout Page UI */
.checkout-summary-card {
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: sticky;
  top: 92px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.6rem;
  border-bottom: 1px dashed var(--line);
}

.checkout-summary-item:last-of-type {
  border-bottom: 0;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--line);
  font-size: 1.25rem;
  color: var(--green-2);
}

/* Payment Option Radio Buttons */
.payment-selector {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.payment-option-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-option-card:hover {
  border-color: rgba(85, 227, 158, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.payment-option-card input[type="radio"] {
  width: auto;
  margin: 0;
}

.payment-option-card input[type="radio"]:checked + .payment-desc strong {
  color: var(--green-2);
}

.payment-desc {
  display: flex;
  flex-direction: column;
}

.payment-desc strong {
  font-size: 0.95rem;
}

.payment-desc span {
  font-size: 0.8rem;
  color: var(--muted);
}

.payment-option-card:has(input[type="radio"]:checked) {
  border-color: rgba(37, 211, 102, 0.65);
  background: rgba(37, 211, 102, 0.08);
}

/* WhatsApp Action Buttons */
.btn-whatsapp,
a.btn-whatsapp,
button.btn-whatsapp {
  background-color: #25d366 !important;
  background: #25d366 !important;
  border: 2px solid #1ebe5d !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus,
a.btn-whatsapp:hover,
button.btn-whatsapp:hover {
  background-color: #20ba59 !important;
  background: #20ba59 !important;
  border-color: #1a9e4d !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5) !important;
  transform: translateY(-1px);
}

.btn-outline-whatsapp,
a.btn-outline-whatsapp,
button.btn-outline-whatsapp {
  border: 2px solid #25d366 !important;
  color: #25d366 !important;
  background-color: rgba(37, 211, 102, 0.08) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-outline-whatsapp:hover,
.btn-outline-whatsapp:focus,
a.btn-outline-whatsapp:hover,
button.btn-outline-whatsapp:hover {
  background-color: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
  transform: translateY(-1px);
}

/* Success Card */
.success-card {
  text-align: center;
  max-width: 600px;
  margin: 3rem auto;
  padding: 3rem 2rem;
}

.success-icon {
  font-size: 4rem;
  color: var(--green-2);
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.receipt-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  margin-block: 1.5rem;
}

.light-mode .receipt-box {
  background: rgba(0, 0, 0, 0.015);
}

/* Admin Custom Styling */
.admin-order-items-table {
  width: 100%;
  margin-top: 1.5rem;
}

.admin-order-items-table th {
  border-bottom: 2px solid var(--line);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-order-items-table td {
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
}

/* Cart Badge Nav Item */
.cart-nav-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--danger);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}


.navbar-nav .nav-link.cart-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Home Page Hero Slider Styles
   ========================================================================== */
.hero-slider {
  border-radius: 16px;
  overflow: hidden;
  height: 480px;
  margin-top: 100px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-slide {
  background: linear-gradient(135deg, #06120e 0%, #0c251c 100%);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

/* Light mode overrides for hero slider */

.light-mode .hero-slide h1 {
  color: #0c1c16 !important;
}

.light-mode .hero-slide p {
  color: #4f665c !important;
}

.light-mode .hero-slide span.text-white {
  color: #0c1c16 !important;
}

.hero-slide .container {
  position: relative;
  z-index: 5;
}

.hero-slider-visual {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider-visual:hover {
  transform: translateY(-8px) scale(1.02);
}

.hero-pagination.swiper-pagination-bullets {
  bottom: 20px;
}

.hero-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 4px !important;
}

.light-mode .hero-pagination .swiper-pagination-bullet {
  background: rgba(12,28,22,0.25) !important;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--green) !important; /* Green dots */
  width: 24px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  .hero-slider {
    height: 380px;
    margin-top: 80px;
  }
}

/* ==========================================================================
   Full-Screen Ultra-Wide Responsive Layouts (1400px - 1900px+)
   ========================================================================== */
@media (min-width: 1400px) {
  .container {
    max-width: 1360px !important;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1540px !important;
  }
  .hero-slider {
    height: 520px;
  }
}

@media (min-width: 1900px) {
  .container {
    max-width: 1720px !important;
  }
  .hero-slider {
    height: 560px;
  }
}
/* ==========================================================================
   Quotation Generator & Single-Page Printable Sheet
   ========================================================================== */
.quotation-sheet-root {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.quotation-sheet {
  background: #ffffff;
  color: #1a202c;
  width: 100%;
  max-width: 790px;
  margin: 0 auto;
  padding: 24px 28px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.35;
  box-sizing: border-box;
}

/* Header */
.q-header {
  text-align: center;
  margin-bottom: 12px;
}

.q-company-name {
  font-size: 26px;
  font-weight: 800;
  color: #133b68;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
}

/* Hero Blue Banner */
.q-hero-banner {
  background: #4281cc;
  color: #ffffff;
  padding: 11px 16px;
  border-radius: 3px;
  text-align: center;
  margin-bottom: 10px;
}

.q-project-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 3px 0;
  color: #ffffff;
  line-height: 1.2;
}

.q-project-subtitle {
  font-size: 11px;
  color: #eaf2fb;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Metadata Bar */
.q-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e1edfa;
  border: 1px solid #c8dcf5;
  padding: 6px 14px;
  font-size: 11px;
  color: #1b3860;
  border-radius: 2px;
  margin-bottom: 11px;
}

.q-meta-item {
  flex: 1;
}

.q-meta-label {
  font-weight: 500;
  color: #3b5a82;
}

.q-meta-val {
  font-weight: 700;
  color: #112e52;
}

.q-client-tag {
  font-size: 11px;
  color: #2b4b73;
  margin-top: -6px;
  margin-bottom: 8px;
  padding: 2px 4px;
}

/* Section Headings */
.q-section {
  margin-bottom: 12px;
}

.q-section-title {
  font-size: 12px;
  font-weight: 800;
  color: #133b68;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}

/* Scope & Features Grid */
.q-scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  background: #f0f5fc;
  border: 1px solid #dce8f7;
  border-radius: 3px;
  padding: 10px 14px;
}

.q-feature-block {
  margin-bottom: 6px;
}

.q-feature-block:last-child {
  margin-bottom: 0;
}

.q-feature-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #0d2a4d;
  margin: 0 0 3px 0;
}

.q-feature-list {
  margin: 0;
  padding-left: 14px;
  list-style-type: disc;
}

.q-feature-list li {
  font-size: 10.5px;
  color: #2d3748;
  line-height: 1.34;
  margin-bottom: 2px;
}

/* Price Breakdown Table */
.q-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.q-price-table td {
  border: 1px solid #d8e5f5;
  padding: 5px 8px;
  vertical-align: middle;
}

.q-item-name {
  color: #2d3748;
  width: 32%;
}

.q-item-price {
  color: #1a202c;
  font-weight: 600;
  width: 18%;
  white-space: nowrap;
}

.q-total-name {
  background: #e2edfa;
  color: #133b68;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.q-total-price {
  background: #e2edfa;
  color: #133b68;
  font-weight: 800;
  font-size: 11.5px;
}

/* Payment Milestones & Conditions */
.q-milestones-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f0f5fc;
  border: 1px solid #d8e5f5;
  border-radius: 3px;
  margin-bottom: 6px;
}

.q-milestone-box {
  padding: 6px 10px;
  border-right: 1px solid #d8e5f5;
}

.q-milestone-box:last-child {
  border-right: none;
}

.q-m-label {
  font-size: 10.5px;
  color: #4a5568;
  font-weight: 600;
  margin-bottom: 2px;
}

.q-m-val {
  font-size: 11px;
  color: #133b68;
  font-weight: 800;
}

.q-conditions-text {
  font-size: 9.5px;
  line-height: 1.35;
  color: #334155;
  margin-top: 5px;
}

.q-conditions-text .text-danger {
  color: #b91c1c !important;
}

/* Client Acceptance */
.q-acceptance-wrap {
  border-top: 1.5px solid #3b77be;
  border-bottom: 1.5px solid #3b77be;
  padding: 6px 0;
  margin-top: 10px;
  margin-bottom: 6px;
}

.q-acceptance-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  font-size: 10px;
  color: #1a202c;
  gap: 8px;
}

.q-acceptance-heading {
  font-weight: 800;
  color: #133b68;
  white-space: nowrap;
}

.q-sig-field {
  white-space: nowrap;
  color: #2d3748;
}

/* Document Footer */
.q-footer {
  text-align: center;
  font-size: 9.5px;
  color: #64748b;
  margin-top: 4px;
  letter-spacing: 0.2px;
}

/* PRINT STYLES - SINGLE A4 PAGE ENFORCEMENT */
@media print {
  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .admin-sidebar,
  .admin-topbar,
  .admin-shell > aside,
  .no-print,
  .btn,
  .btn-group,
  .alert,
  footer.py-4 {
    display: none !important;
  }

  .admin-shell {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  .admin-main {
    padding: 0 !important;
    margin: 0 !important;
  }

  @page {
    size: A4 portrait;
    margin: 6mm 10mm 6mm 10mm;
  }

  .quotation-sheet-root {
    padding: 0 !important;
    margin: 0 !important;
  }

  .quotation-sheet {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
    page-break-inside: avoid !important;
    page-break-after: avoid !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .q-hero-banner,
  .q-meta-bar,
  .q-scope-grid,
  .q-total-name,
  .q-total-price,
  .q-milestones-row {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

/* Clickable table rows in CMS */
.clickable-row {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.clickable-row:hover td {
  background-color: rgba(21, 195, 123, 0.08) !important;
}

.clickable-row td:first-child {
  font-weight: 600;
}

/* Alert auto-dismiss transitions */
.alert {
  transition: opacity 0.5s ease, transform 0.5s ease, margin 0.5s ease, padding 0.5s ease, max-height 0.5s ease;
}

.alert.alert-fade-out {
  opacity: 0 !important;
  transform: translateY(-8px) !important;
  pointer-events: none !important;
}

/* Details Modal Styling */
#detailsModal .modal-content {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

#detailsModal .modal-header,
#detailsModal .modal-footer {
  border-color: var(--line);
}

.product-detail-visual-box {
  background: rgba(21, 195, 123, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
  text-align: center;
}

.product-detail-visual-box img {
  max-height: 240px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--line);
}

.product-feature-item:last-child {
  border-bottom: none;
}

/* Universal Confirmation & Alert Modals */
.cms-modal .modal-content {
  background: var(--panel, #ffffff);
  color: var(--text, #1e293b);
  border: 1px solid var(--line, rgba(0, 0, 0, 0.1)) !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

body.admin-body .cms-modal .modal-content,
.admin-theme .cms-modal .modal-content,
.cms-modal.modal-dark .modal-content {
  background: #14221b;
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.cms-modal .modal-backdrop {
  backdrop-filter: blur(4px);
}


