/* ============ Root & Reset ============ */
:root {
  --bg: #0B2239;
  --bg-2: #0f2c4b;
  --primary: #2F80ED;
  --accent: #FF7A00;
  --text: #101828;
  --muted: #6B7280;
  --card: #ffffff;
  --soft: #F5F7FA;
  --soft-2: #EBF2FF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 34, 57, .18);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #fff;
  line-height: 1.6;
}

/* ============ Utilities ============ */
.container {
  width: min(1180px, 92%);
  margin-inline: auto
}

.section {
  padding: 72px 0
}

.section.light {
  background: var(--soft)
}

.section-title {
  font: 700 28px/1.2 Poppins, Inter, sans-serif;
  margin: 0 0 18px
}

.grid2 {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 600;
  transition: .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.btn.primary {
  background: var(--primary);
  color: #fff
}

.btn.primary:hover {
  filter: brightness(0.95);
  transform: translateY(-1px)
}

.btn.ghost {
  background: #fff;
  color: var(--bg);
  border: 1.5px solid var(--bg)
}

.btn.ghost:hover {
  background: var(--soft)
}

.btn.sm {
  padding: 8px 12px;
  font-size: 14px
}

.btn.w-100 {
  width: 100%
}

.badges {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.badges li {
  background: var(--soft);
  color: #1f2937;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px
}

.muted {
  color: #6b7280;
  font-size: 12px
}

.teaser-row::-webkit-scrollbar,
.pv-thumbs::-webkit-scrollbar {
  height: 6px
}

.teaser-row::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #affbff 0, var(--soft) 70%, #fff 90%);
  box-shadow: 0 2px 12px rgba(16, 24, 40, .06)
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0
}

.logo {
  font-weight: 800;
  letter-spacing: .4px;
  color: var(--bg);
  text-decoration: none
}

.logo-strong {
  color: var(--primary)
}

.logo-img img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.nav {
  display: none;
  gap: 18px;
  align-items: center
}

.nav a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 600
}

.hamburger {
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  display: grid;
  place-items: center;
  gap: 4px
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 2px
}

.mobile-drawer {
  position: fixed;
  inset: 60px 12px auto 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px
}

.mobile-drawer.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto
}

.mobile-link {
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
  font-weight: 600
}

.mobile-link:hover {
  background: var(--soft)
}

.skip-link {
  display: flex;
  justify-content: space-around;
  padding: 5px;
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #dbdbdb;
  line-height: 1.0;
  position: relative;
}

.skip-link p,
a {
  margin: 0;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

/* ============ Hero ============ */
.hero {
  background: radial-gradient(1000px 500px at 120% -20%, var(--soft-2), transparent 60%);
  padding-top: 96px;
}

.headline {
  font: 800 36px/1.15 Poppins, Inter, sans-serif;
  margin: 0 0 10px;
  letter-spacing: .2px
}

.sub {
  color: #374151;
  margin: 0 0 18px
}

.hero-media {
  position: relative
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow)
}

.hero-blob {
  position: absolute;
  inset: -30px -20px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, rgba(47, 128, 237, .25), rgba(255, 122, 0, .18));
  filter: blur(20px);
  z-index: -1;
}

.scroll-indicator {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px
}

/* ============ Teasers (Category Strip) ============ */
.teaser-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.teaser-card {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 240px;
  scroll-snap-align: start;
}

.teaser-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px
}

.teaser-card h3 {
  margin: 0;
  font: 700 16px/1.2 Inter
}

.teaser-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px
}

/* ============ Category Blocks & Product Grid ============ */
.anchor {
  position: relative;
  top: -80px
}

.category-block {
  padding: 90px 0 20px
}

.category-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px
}

.category-header h2 {
  font: 700 24px/1.2 Poppins, Inter, sans-serif;
  margin: 0
}

.product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr)
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.product-card .cover {
  aspect-ratio: 4/3;
  background: #e5e7eb;
  overflow: hidden;

}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease
}

.product-card:hover img {
  transform: scale(1.05)
}

.product-card .pad {
  padding: 14px;
  background-color: #cccccc;
}

.product-card h4 {
  margin: 0 0 6px;
  font: 700 16px/1.25 Inter
}

.product-card p {
  margin: 0 0 10px;
  color: #475467;
  font-size: 13px;
  min-height: 34px
}

.product-card .actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

/* ============ Product View ============ */
.product-view {
  padding-top: 20px
}

.product-view.hidden {
  display: none
}

.pv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px
}

.pv-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--bg);
  font-weight: 700
}

.pv-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr
}

.pv-figure {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px
}

.pv-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  object-fit: cover
}

.pv-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  overflow: auto;
  padding-bottom: 4px
}

.pv-thumbs img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent
}

.pv-thumbs img.active {
  border-color: var(--primary)
}

.pv-info .title {
  font: 800 24px/1.2 Poppins, Inter;
  margin: 0 0 8px
}

.pv-bullets {
  list-style: disc;
  margin: 0 0 14px 18px;
  color: #374151
}

.pv-sticky-actions {
  position: sticky;
  top: 82px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px
}

.pv-tabs {
  display: flex;
  gap: 12px;
  margin: 12px 0 0
}

.pv-tab {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer
}

.pv-sections {
  display: grid;
  gap: 16px;
  margin-top: 14px
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 14px;
  overflow: hidden
}

.specs-table th,
.specs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  font-size: 14px
}

.specs-table th {
  background: var(--soft)
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

/* ============ Testimonials ============ */
.testimonials-grid {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 20px 0;
  width: 100%;
}

.testimonials-track {
  display: inline-flex;
  gap: 20px;
  animation: marqueeInstant 30s linear infinite;
  will-change: transform;
  animation-delay: 0s;
  animation-fill-mode: both;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeInstant {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testi {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
  white-space: normal;
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testi:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(11, 34, 57, .25);
}

.testi .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: #374151;
  font-weight: 600;
}

.stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

/* ============ Contact / Quotation ============ */
.contact-grid {
  align-items: start
}

.Quotation-form label {
  display: block;
  font-size: 13px;
  color: #475467;
  margin-bottom: 6px
}

.Quotation-form input,
.Quotation-form textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  font: 500 14px/1.4 Inter, system-ui;
  background: #fff
}

.Quotation-form input:focus,
.Quotation-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, .15)
}

.chk {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 6px;
  color: #374151
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px
}

/* ============ Footer ============ */
.site-footer {
  margin-top: 30px;
  background: linear-gradient(180deg, #affbff 0, var(--soft) 60%, #fff 100%)
}

.map-wrap {
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  background: #f8fafc
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr
}

.footer-logo {
  font-weight: 800;
  color: var(--bg);
  margin-bottom: 8px
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px
}

.footer-links a {
  color: #111827;
  text-decoration: none
}

.footer-links a:hover {
  color: var(--primary)
}

.copyright {
  border-top: 1px solid #eef2f7;
  text-align: left;
  color: #475467;
  padding: 1% 20%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright .left-text {
  display: flex;
  justify-content: space-evenly;
  gap: 15px;
}

.copyright .developer-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  text-align: right;
}

.copyright .developer-link:hover {
  color: var(--accent);
  
}

.social-media {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 45px;
}


.logo1-img {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 15px;
}

.logo1-img img {
  width: 40%;
  height: 50%;
  border-radius: 10%;
  object-fit: cover;
}


.social-media a {
  width: 42px;
  height: 42px;
  font-size: 2.1rem;
  color: var(--main-color);
  background: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: .4s;
  border-radius: 50%;
  z-index: 1;
}

.social-media a:hover {
  transform: scale(1.1);
  color: #00d4ff;
}

/* == Scroll to Top Button ==*/
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  box-shadow: 0 8px 25px rgba(47, 128, 237, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  overflow: hidden;
}

.scroll-to-top:hover {
  transform: scale(1.2);
  box-shadow: 0 12px 35px rgba(47, 128, 237, 0.4);
}

.scroll-to-top img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.scroll-to-top .progress-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(45deg, #00d4ff, #0099ff);
  border-radius: 50%;
  transition: height 0.1s ease-out;
  z-index: 1;
}

/* ============ Responsive Styles ============ */
@media (min-width:900px) {
  .grid2 {
    grid-template-columns: 1.1fr .9fr
  }

  .nav {
    display: flex
  }

  .hamburger {
    display: none
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr
  }
}

@media (max-width: 900px) {
  .teaser-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .teaser-row {
    grid-template-columns: 1fr;
  }

  .skip-link {
    display: none;
  }
  
}

@media (min-width:600px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (min-width:992px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

@media (min-width:960px) {
  .pv-grid {
    grid-template-columns: 1.1fr .9fr
  }
}

@media (min-width:800px) {
  .rec-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

@media (min-width:800px) {
  .rec-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}



/* Portfolio Marquee Styles - Enhanced Mobile Responsive */
.portfolio-section {
  padding: 40px 0;
  overflow: hidden;
  margin: 20px 0;
}

.portfolio-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #f8fafc;
  border-radius: 16px;
  padding: 15px 0;
  box-shadow: var(--shadow);
}

.portfolio-track {
  display: flex;
  gap: 15px;
  animation: marqueeLeft 45s linear infinite;
  width: max-content;
  padding: 0 15px;
}

.portfolio-track:hover {
  animation-play-state: paused;
}

/* Direction animations */
@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.portfolio-track.direction-right {
  animation-name: marqueeRight;
}

.portfolio-item {
  flex-shrink: 0;
  width: 260px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.portfolio-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.portfolio-item .caption {
  padding: 12px 14px;
  font-size: 13px;
  color: #374151;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 768px) {
  .portfolio-section {
    padding: 30px 0;
    margin: 15px 0;
  }
  
  .portfolio-marquee {
    padding: 12px 0;
    border-radius: 12px;
  }
  
  .portfolio-track {
    gap: 12px;
    padding: 0 12px;
    animation-duration: 40s;
  }
  
  .portfolio-item {
    width: 200px;
  }
  
  .portfolio-item img {
    height: 140px;
  }
  
  .portfolio-item .caption {
    padding: 10px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .portfolio-section {
    padding: 25px 0;
    margin: 10px 0;
  }
  
  .portfolio-marquee {
    padding: 10px 0;
    border-radius: 10px;
  }
  
  .portfolio-track {
    gap: 10px;
    padding: 0 10px;
    animation-duration: 35s;
  }
  
  .portfolio-item {
    width: 160px;
  }
  
  .portfolio-item img {
    height: 120px;
  }
  
  .portfolio-item .caption {
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.2;
  }
}

@media (max-width: 320px) {
  .portfolio-track {
    gap: 8px;
    padding: 0 8px;
  }
  
  .portfolio-item {
    width: 140px;
  }
  
  .portfolio-item img {
    height: 100px;
  }
  
  .portfolio-item .caption {
    padding: 6px 8px;
    font-size: 10px;
  }
}




/* ============ Modern Modal Form ============ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.7) translateY(50px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.modal-overlay.show .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%);
  color: white;
  padding: 25px 30px 20px;
  position: relative;
  overflow: hidden;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-subtitle {
  margin: 5px 0 0;
  opacity: 0.9;
  font-size: 14px;
  font-weight: 400;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #6B7280;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  pointer-events: none;
  background: white;
  padding: 0 5px;
  z-index: 1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 15px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.1);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border: none;
  padding: 18px 25px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.whatsapp-btn:hover::before {
  left: 100%;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:active {
  transform: translateY(0);
}

.product-info {
  background: linear-gradient(135deg, #EBF2FF 0%, #E0F2FE 100%);
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
}

.product-info h4 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
}

.product-info p {
  margin: 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .modal-content {
    width: 95%;
    margin: 10px;
  }
  
  .modal-header {
    padding: 20px 25px 15px;
  }
  
  .modal-title {
    font-size: 20px;
  }
  
  .modal-body {
    padding: 25px 20px;
  }
}




/* ============ Product View Modal ============ */
.product-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.product-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 25px;
  max-width: 1100px;
  width: 95%;
  max-height: 95vh;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(50px) rotateX(10deg);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.product-modal-overlay.show .product-modal-content {
  transform: scale(1) translateY(0) rotateX(0deg);
}

.product-modal-header {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  color: white;
  padding: 20px 30px;
  position: relative;
  overflow: hidden;
}

.product-modal-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 45deg, transparent, rgba(47, 128, 237, 0.1), transparent);
  animation: rotate 6s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.product-modal-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 2;
}

.product-modal-subtitle {
  margin: 5px 0 0;
  opacity: 0.9;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.product-modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  z-index: 3;
}

.product-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
}

.product-modal-body {
  padding: 0;
  max-height: calc(95vh - 80px);
  overflow-y: auto;
}

.product-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

.product-image-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.product-image-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.05) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.main-product-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.main-product-image:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.product-thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.product-thumbnail.active {
  border-color: var(--primary);
  opacity: 1;
  transform: scale(1.1);
}

.product-thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.product-details-section {
  padding: 30px;
  background: white;
  position: relative;
}

.product-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, #ff9500 100%);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
}

.product-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--bg);
  margin: 0 0 15px;
  line-height: 1.2;
}

.product-description {
  color: #6B7280;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.product-specs-preview {
  background: linear-gradient(135deg, var(--soft-2) 0%, var(--soft) 100%);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 25px;
}

.product-specs-preview h4 {
  margin: 0 0 15px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
}

.specs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.spec-item {
  background: white;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  border-left: 3px solid var(--primary);
}

.spec-item strong {
  color: var(--bg);
  display: block;
  font-size: 11px;
  margin-bottom: 2px;
}

.product-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.action-btn {
  flex: 1;
  min-width: 150px;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.action-btn:hover::before {
  left: 100%;
}

.btn-primary-action {
  background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%);
  color: white;
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(47, 128, 237, 0.3);
}

.btn-secondary-action {
  background: linear-gradient(135deg, var(--accent) 0%, #ff9500 100%);
  color: white;
}

.btn-secondary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 122, 0, 0.3);
}

.btn-outline-action {
  background: white;
  color: var(--bg);
  border: 2px solid var(--bg);
}

.btn-outline-action:hover {
  background: var(--bg);
  color: white;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .product-modal-content {
    width: 98%;
    max-height: 98vh;
  }
  
  .product-content-grid {
    grid-template-columns: 1fr;
  }
  
  .product-image-section {
    padding: 20px;
  }
  
  .main-product-image {
    height: 250px;
  }
  
  .product-thumbnails {
    margin-top: 15px;
  }
  
  .product-thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .product-details-section {
    padding: 20px;
  }
  
  .product-title {
    font-size: 22px;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .action-btn {
    min-width: auto;
  }
}

@media (max-width: 600px) {
  .product-modal-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
    max-height: 100vh;
  }
  
  .product-modal-header {
    padding: 15px 20px;
  }
  
  .product-modal-title {
    font-size: 20px;
  }
  
  .main-product-image {
    height: 200px;
  }
  
  .specs-list {
    grid-template-columns: 1fr;
  }
}




/* ============ Updated Product Modal Styles ============ */
.sequential-content {
  background: #f8fafc;
  padding: 0;
}

.content-section {
  padding: 30px;
}

.content-section:nth-child(even) {
  background: rgba(47, 128, 237, 0.02);
}

.content-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 0;
}

.content-card h3 {
  margin: 0 0 25px;
  color: var(--bg);
  font-size: 22px;
  font-weight: 700;
}

/* Price Range Styles */
.product-actions-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  margin-bottom: 20px;
}

.price-range-display {
  text-align: center;
  margin-bottom: 25px;
  padding: 20px;
  background: linear-gradient(135deg, var(--soft-2) 0%, var(--soft) 100%);
  border-radius: 12px;
  border: 2px solid var(--primary);
  position: relative;
}

.price-range-display::before {
  content: '💰';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 5px 10px;
  border-radius: 50%;
  font-size: 20px;
}

.price-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--bg);
  margin-bottom: 5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
}

.price-note {
  font-size: 12px;
  color: #6B7280;
  font-style: italic;
}

.action-buttons-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.action-buttons-row .action-btn {
  flex: 1;
  min-width: 180px;
  max-width: 250px;
}

/* Overview Content Styles */
.overview-content {
  line-height: 1.7;
}

.overview-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.highlight-item {
  background: linear-gradient(135deg, var(--soft-2) 0%, var(--soft) 100%);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(47, 128, 237, 0.1);
}

.highlight-item h4 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
}

.highlight-item p {
  margin: 0;
  color: #374151;
  font-size: 14px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(47, 128, 237, 0.1);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 30px;
  display: block;
  margin-bottom: 15px;
}

.feature-box h4 {
  margin: 0 0 10px;
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
}

.feature-box p {
  margin: 0;
  color: #6B7280;
  font-size: 13px;
  line-height: 1.5;
}

/* Specifications Table Styles */
.specs-table-container {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.detailed-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.detailed-specs-table th,
.detailed-specs-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.detailed-specs-table th {
  background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%);
  color: white;
  font-weight: 600;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.detailed-specs-table td {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.detailed-specs-table tr:hover {
  background: #f8fafc;
}

.detailed-specs-table tr:last-child td {
  border-bottom: none;
}

/* Additional Info Styles */
.additional-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.info-section {
  background: linear-gradient(135deg, var(--soft) 0%, #ffffff 100%);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.info-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.1);
}

.info-section h4 {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.info-section ul {
  margin: 0;
  padding-left: 20px;
}

.info-section li {
  margin-bottom: 8px;
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

/* Related Products Styles */
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.related-product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e5e7eb;
}

.related-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.related-product-image {
  height: 180px;
  overflow: hidden;
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-image img {
  transform: scale(1.05);
}

.related-product-info {
  padding: 20px;
}

.related-product-info h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--bg);
}

.related-product-info p {
  margin: 0 0 15px;
  color: #6B7280;
  font-size: 13px;
  line-height: 1.5;
}

.related-product-actions .btn {
  padding: 8px 16px;
  font-size: 13px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .content-section {
    padding: 20px 15px;
  }
  
  .content-card {
    padding: 20px;
  }
  
  .price-amount {
    font-size: 22px;
  }
  
  .action-buttons-row {
    flex-direction: column;
  }
  
  .action-buttons-row .action-btn {
    min-width: auto;
    max-width: none;
  }
  
  .overview-highlights {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .additional-info {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .related-products-grid {
    grid-template-columns: 1fr;
  }
  
  .detailed-specs-table th,
  .detailed-specs-table td {
    padding: 12px 15px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .price-amount {
    font-size: 20px;
  }
  
  .product-actions-section {
    padding: 20px 15px;
  }
  
  .price-range-display {
    padding: 15px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}
