/* ========== RESET & BASE ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #E30613;
  --primary-dark: #b3050f;
  --dark: #0B2447;
  --dark-2: #0d2a58;
  --text: #333;
  --muted: #666;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

/* ========== TOP BAR ========== */
.topbar {
  background: #fff;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  color: var(--text);
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.topbar-item i { color: var(--primary); }

/* ========== HEADER ========== */
.header {
  background: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-weight: 800;
}
.logo-jmd {
  font-size: 32px;
  color: var(--dark);
  letter-spacing: -1px;
}
.logo-jmd .logo-m { color: var(--primary); }
.logo-uniform {
  font-size: 13px;
  color: var(--dark);
  letter-spacing: 4px;
  padding: 2px 0;
  border-top: 1px solid var(--dark);
  border-bottom: 1px solid var(--dark);
  margin-top: 3px;
}
.logo-tag {
  font-size: 7px;
  color: var(--primary);
  letter-spacing: 1px;
  margin-top: 3px;
  font-weight: 600;
}

.nav ul {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  transition: color 0.2s;
}
.nav ul li a:hover,
.nav ul li a.active {
  color: var(--primary);
}
.nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: 6px;
  min-width: 180px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
  z-index: 50;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  padding: 8px 16px;
  font-weight: 500;
  white-space: nowrap;
}
.dropdown li a:hover { background: var(--bg-soft); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
}

.btn-quote-header {
  padding: 12px 20px;
  font-size: 13px;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(180deg, #eef2f8 0%, #dfe6f1 100%);
  padding: 40px 0 0;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: end;
}
.hero-content { padding-bottom: 40px; }
.hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.accent { color: var(--primary); }

.hero-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(11,36,71,0.1);
}
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(227,6,19,0.08);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.feature-text { display: flex; flex-direction: column; line-height: 1.2; }
.feature-text strong { font-size: 13px; font-weight: 600; color: var(--dark); }
.feature-text span { font-size: 12px; color: var(--muted); }

.hero-image {
  align-self: end;
  display: flex;
  justify-content: center;
}
.hero-image img {
  max-height: 500px;
  width: auto;
  object-fit: contain;
}

/* ========== SECTION TITLES ========== */
.section-title {
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1px;
  margin-bottom: 40px;
  position: relative;
  display: block;
}
.section-title.light { color: #fff; }
.section-title.left { text-align: left; }
.title-underline {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 12px auto 0;
}
.title-underline.left { margin-left: 0; }

/* ========== CATEGORIES ========== */
.categories {
  background: #fff;
  padding: 70px 0;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.cat-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  text-align: center;
  padding-bottom: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(11,36,71,0.15);
}
.cat-img {
  background: #f2f4f8;
  height: 250px;
  display: grid;
  place-items: center;
  padding: 16px;
}
.cat-img img {
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.cat-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1px;
  margin: 16px 0 8px;
}
.view-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
}
.view-more:hover { color: var(--primary); gap: 10px; }

/* ========== WHY US ========== */
.why-us {
  background: var(--dark);
  padding: 70px 0;
  color: #fff;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 0 8px;
  position: relative;
}
.why-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.why-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #fff;
  opacity: 0.9;
}
.why-card h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.why-card p {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.5;
}

/* ========== ABOUT ========== */
.about {
  padding: 70px 0;
  background: #fff;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.about-content .section-title { margin-bottom: 20px; }
.about-content p {
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 480px;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}
.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--dark);
  font-weight: 500;
  margin-top: 4px;
}
.know-more { padding: 14px 26px; font-size: 13px; }
.about-image img {
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 70px 0;
  background: var(--bg-soft);
}
.test-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.test-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}
.test-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  flex: 1;
}
.test-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quote-icon {
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
}
.test-card p {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.6;
}
.test-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.test-author {
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
}
.stars { color: var(--primary); font-size: 13px; letter-spacing: 2px; }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--dark);
  color: #fff;
  padding: 40px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-text h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  margin-bottom: 6px;
}
.cta-text p { opacity: 0.85; font-size: 14px; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: #cfd8e6;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr 1.4fr 1.2fr;
  gap: 30px;
}
.footer-logo { margin-bottom: 20px; }
.footer-logo .logo-jmd { color: #fff; }
.footer-logo .logo-uniform { color: #fff; border-color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s;
}
.socials a:hover { background: var(--primary); }

.footer-col h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-col ul li a {
  color: #cfd8e6;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.contact-list li i {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
  width: 16px;
}

.map-box {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
}
.map-box iframe { width: 100%; height: 100%; border: 0; }

.footer-bottom {
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.heart { color: var(--primary); }

/* ========== WhatsApp Float ========== */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  z-index: 200;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .why-card:nth-child(3)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .map-col { grid-column: span 3; }
  .btn-quote-header { display: none; }
}

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: block; order: 3; }
  .nav {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav.open { max-height: 600px; }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    margin-top: 12px;
  }
  .nav ul li a { padding: 12px 8px; border-bottom: 1px solid var(--border); }
  .nav ul li a.active::after { display: none; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--bg-soft);
    padding-left: 20px;
  }

  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-content { padding-bottom: 20px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-features { grid-template-columns: repeat(2, 1fr); gap: 16px; text-align: left; }
  .hero-image img { max-height: 400px; }

  .about-inner { grid-template-columns: 1fr; }
  .about-content .section-title.left { text-align: center; }
  .title-underline.left { margin-left: auto; margin-right: auto; }
  .about-content p { max-width: 100%; text-align: center; }
  .about-stats { justify-content: center; }
  .know-more { display: block; width: fit-content; margin: 0 auto; }

  .test-grid { grid-template-columns: 1fr; }
  .test-arrow { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map-col { grid-column: span 2; }
}

@media (max-width: 600px) {
  .topbar-inner { flex-direction: column; gap: 4px; align-items: center; font-size: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-img { height: 160px; }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .why-card::after { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .map-col { grid-column: span 1; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; width: 100%; }
  .cta-buttons .btn { flex: 1; justify-content: center; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .hero-ctas .btn { flex: 1; justify-content: center; min-width: 140px; }
  .hero-features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .hero-features { grid-template-columns: 1fr; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
}
.about-image img {
    width: 600px;
    height: 300px;
}
@media (max-width: 600px) {
	.about-image img {
		width: 600px;
		height: auto;
	}
}