/* =========================================
   CSS RESET & NORMALIZATION
   ========================================= */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background-color: #F4F4F2;
  color: #1A2327;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #1A2327;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #D4B873;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 20px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 1em;
  color: inherit;
  outline: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* =========================================
   FONT FAMILY DEFINITIONS
   ========================================= */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Times New Roman, Times, serif;
  color: #1A2327;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.subtitle {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: #686868;
  font-weight: 400;
  margin-bottom: 20px;
}
p {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #2d353b;
}
strong, b {
  font-weight: 700;
}

/* =========================================
   LAYOUT CONTAINER & SECTION STYLES
   ========================================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.text-section {
  align-items: flex-start;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
  background: #F4F4F2;
  box-shadow: 0 2px 16px rgba(26,35,39,0.05);
  position: sticky;
  top: 0;
  z-index: 60;
}
.desktop-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: flex-start;
  padding: 18px 0;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1A2327;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  position: relative;
  padding: 4px 3px;
  border-radius: 2px;
}
.desktop-nav a:hover,
.desktop-nav a:focus {
  color: #D4B873;
  background: #e9e3d2;
}
.desktop-nav img {
  height: 38px;
  margin-right: 10px;
}

/* Hide burger nav by default on desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* =========================================
   FOOTER STYLES
   ========================================= */
footer {
  background: #1A2327;
  color: #F4F4F2;
  padding: 38px 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-logo img {
  height: 38px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-bottom: 4px;
}
.footer-nav a {
  color: #D4B873;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F4F4F2;
  text-decoration: underline;
}
.footer-copy {
  font-size: 0.94rem;
  color: #eee5c8;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

/* =========================================
   HERO AND CALL-TO-ACTION BUTTONS
   ========================================= */
.cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F4F4F2;
  background: #1A2327;
  padding: 13px 34px;
  border-radius: 40px;
  box-shadow: 0 2px 10px rgba(26,35,39,0.11);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  border: none;
  display: inline-block;
  outline: none;
  margin-top: 8px;
  margin-bottom: 10px;
}
.cta-button:hover,
.cta-button:focus {
  background: #D4B873;
  color: #1A2327;
  box-shadow: 0 4px 16px rgba(212,184,115,0.19);
  transform: translateY(-2px) scale(1.055);
}

/* =========================================
   FLEXBOX LAYOUTS – CARDS AND FEATURES
   ========================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(26,35,39,0.06);
  padding: 32px 24px 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(212,184,115,0.13);
  transform: translateY(-3px) scale(1.025);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Feature grid for index page */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(212,184,115,0.08);
  padding: 26px 20px 20px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.feature-item img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 10px 40px rgba(212,184,115,0.14);
}

/* Card grid for services section (index) */
.service-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(26,35,39,0.07);
  padding: 28px 22px 22px 22px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.14s;
  min-width: 250px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 8px 24px rgba(212,184,115,0.14);
  transform: translateY(-2px) scale(1.016);
}
.service-card strong {
  color: #D4B873;
}

/* Testimonials */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 22px rgba(26,35,39,0.10);
  padding: 26px 22px 24px 22px;
  min-width: 240px;
  max-width: 420px;
  margin-bottom: 20px;
  color: #1A2327;
  position: relative;
  border-left: 5px solid #D4B873;
  transition: box-shadow 0.18s, transform 0.17s;
}
.testimonial-card p {
  color: #1A2327;
  font-size: 1.08rem;
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card strong {
  color: #55543A;
  font-size: 0.97rem;
  font-style: italic;
  font-family: 'Playfair Display', Times New Roman, Times, serif;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 10px 38px rgba(212,184,115,0.14);
  transform: translateY(-3px) scale(1.019);
}

/* =========================================
   COLLECTION & LABELS (koleksi-jam-tangan)
   ========================================= */
.brand-icon-row {
  display: flex;
  flex-direction: row;
  gap: 35px;
  align-items: center;
  margin: 18px 0 24px 0;
}
.labels-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 10px;
  margin-top: 12px;
}
.label-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(212,184,115,0.11);
  padding: 19px 18px 16px 18px;
  min-width: 180px;
  flex: 1 1 180px;
  text-align: left;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border 0.18s;
}
.label-item strong {
  color: #D4B873;
  font-family: 'Playfair Display', serif;
  font-size: 1.09rem;
}
.label-item span {
  color: #686868;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
}
.label-item:hover {
  box-shadow: 0 7px 27px rgba(212,184,115,0.16);
  border-left: 4px solid #D4B873;
}

/* =========================================
   FAQ, BENEFITS, ETC. (jaminan-sijil, perkhidmatan)
   ========================================= */
.faq-list, .benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.faq-item, .benefit-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(26,35,39,0.06);
  padding: 20px 17px 17px 17px;
  min-width: 190px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.faq-item:hover, .benefit-item:hover {
  box-shadow: 0 9px 34px rgba(212,184,115,0.14);
  transform: translateY(-2px) scale(1.009);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.service-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(26,35,39,0.08);
  padding: 22px 19px 19px 19px;
  transition: box-shadow 0.15s, transform 0.12s;
  margin-bottom: 20px;
}
.service-item strong {
  color: #D4B873;
}
.service-item:hover {
  box-shadow: 0 8px 30px rgba(212,184,115, 0.10);
  transform: translateY(-1px) scale(1.011);
}

/* =========================================
   FORMS & NOTICES (hubungi-kami, etc.)
   ========================================= */
.form-notice {
  background: #fffdf4;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(212,184,115,0.10);
  padding: 20px 15px;
  color: #56543B;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 15px;
}

/* =========================================
   TABLES (for possible use)
   ========================================= */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}
th, td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid #eceae3;
}
th {
  background-color: #f6f1e6;
  color: #1A2327;
  font-family: 'Playfair Display', Times, serif;
}

/* =========================================
   COOKIE CONSENT BANNER
   ========================================= */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffaf3;
  color: #1A2327;
  border-top: 2px solid #D4B873;
  box-shadow: 0 -2px 16px rgba(212,184,115,0.13);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 120;
  gap: 16px;
  transition: transform 0.33s cubic-bezier(.74,.04,.26,1), opacity 0.25s;
}
#cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 13px;
}
.cookie-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: #1A2327;
  background: #ece6d6;
  padding: 9px 25px;
  border-radius: 28px;
  border: none;
  transition: background 0.18s, color 0.18s;
  margin-right: 2px;
}
.cookie-button.accept {
  background: #D4B873;
  color: #1A2327;
}
.cookie-button.accept:hover,
.cookie-button.accept:focus {
  background: #B8A054;
}
.cookie-button.reject {
  background: #e3e3e3;
  color: #1A2327;
}
.cookie-button.reject:hover,
.cookie-button.reject:focus {
  background: #c1b98f;
}
.cookie-button.settings {
  background: #fff;
  border: 1px solid #D4B873;
  color: #B8A054;
}
.cookie-button.settings:hover,
.cookie-button.settings:focus {
  background: #ece6d6;
}

/* Cookie modal */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 140;
  left: 50%; top: 50%;
  transform: translate(-50%, -55%) scale(1);
  min-width: 290px;
  max-width: 98vw;
  width: 400px;
  background: #fffdf6;
  border: 2px solid #D4B873;
  border-radius: 14px;
  box-shadow: 0 4px 40px rgba(41,38,23,0.17);
  padding: 29px 28px 22px 28px;
  animation: modalIn 0.4s cubic-bezier(.68,-0.02,.28,1) 1;
}
@keyframes modalIn {
  from {opacity:0; transform: translate(-50%,-60%) scale(0.95);}
  to {opacity:1; transform: translate(-50%,-55%) scale(1);}
}
#cookie-modal.show {
  display: block;
}
#cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #D4B873;
}
.cookie-category label {
  font-size: 1rem;
  cursor: pointer;
}
#cookie-modal .cookie-actions {
  margin-top: 18px;
  justify-content: flex-end;
}
#cookie-modal .cookie-actions .cookie-button {
  font-size: 0.97rem;
}
#cookie-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: #ae9a58;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 2;
  line-height: 1;
}
#cookie-modal-close:hover,
#cookie-modal-close:focus {
  color: #1A2327;
}

/* =========================================
   MOBILE FIRST RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
  .container {
    max-width: 97vw;
    padding: 0 14px;
  }
  .feature-grid, .card-container, .content-grid, .labels-grid, .faq-list, .benefit-grid, .service-card-grid, .testimonial-slider {
    gap: 16px;
  }
}
@media (max-width: 900px){
  .desktop-nav {
    gap: 18px;
    padding: 12px 0;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.35rem;}
  .container {
    padding: 0 7px;
  }
  .section {
    margin-bottom: 34px;
    padding: 25px 0;
  }
  .content-wrapper,
  .text-section {
    padding: 0 2px;
  }
  .feature-grid, .service-card-grid, .labels-grid, .faq-list, .brand-icon-row, .benefit-grid, .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .brand-icon-row {
    justify-content: flex-start;
    gap: 20px;
  }
  .card, .feature-item, .service-card, .label-item, .faq-item, .benefit-item {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  .card-content {
    gap: 8px;
  }
  .footer-logo img {height:32px;}
  .desktop-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    background: #D4B873;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 105;
    font-size: 2rem;
    color: #1A2327;
    border: none;
    box-shadow: 0 1px 3px rgba(212,184,115,0.10);
    transition: background 0.13s, color 0.13s;
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    background: #B8A054;
    color: #fff;
  }
}

/* =========================================
   MOBILE MENU OVERLAY
   ========================================= */
.mobile-menu {
  display: none;
}
@media (max-width: 768px) {
  .mobile-menu {
    display: flex !important;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26,35,39,0.96);
    z-index: 110;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(102%);
    transition: transform 0.36s cubic-bezier(.74,.04,.26,1);
    will-change: transform;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    position: absolute;
    right: 18px;
    top: 16px;
    background: #D4B873;
    color: #1A2327;
    font-size: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    z-index: 130;
    box-shadow: 0 1px 6px rgba(212,184,115,0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.17s, color 0.15s;
  }
  .mobile-menu-close:focus,
  .mobile-menu-close:hover {
    background: #B8A054;
    color: #fff;
  }
  .mobile-nav {
    margin-top: 85px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100vw;
    align-items: flex-start;
    padding-left: 40px;
    padding-right: 20px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    color: #F4F4F2;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 7px 0;
    border-radius: 3px;
    width: 100%;
    display: block;
    transition: background 0.16s, color 0.16s;
  }
  .mobile-nav a:focus,
  .mobile-nav a:hover {
    background: #D4B873;
    color: #1A2327;
    padding-left: 10px;
  }
}
/* Hide mobile menu overlay on desktop */
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle
  { display: none !important; }
}


/* =========================================
   UTILITIES & MICRO-INTERACTIONS
   ========================================= */
.shadow-hover:hover, .shadow-hover:focus {
  box-shadow: 0 8px 38px rgba(26,35,39,0.15);
}
.rounded {
  border-radius: 12px;
}
.muted {
  color: #686868;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.gap-20 {gap:20px;}
.gap-10 {gap:10px;}
.text-center {
  text-align: center;
  align-items: center;
}
.mt-20 {margin-top:20px;}
.mb-16 {margin-bottom:16px;}
.mb-32 {margin-bottom:32px;}

/* ======================
   ACCESSIBILITY FOCUS
   ====================== */
a:focus-visible, button:focus-visible, .cta-button:focus-visible {
  outline: 2px dashed #D4B873;
  outline-offset: 1px;
  background: #fcf9f0;
}

/* =========================================
   PRINT STYLES
   ========================================= */
@media print {
  header, .desktop-nav, .mobile-menu-toggle, .mobile-menu,
  footer, #cookie-banner, #cookie-modal {
    display: none !important;
  }
  body, .container {
    background: #fff !important;
    color: #111 !important;
  }
  .section, .content-wrapper {
    padding: 0; margin: 0;
  }
  a { color: #222 !important; text-decoration: underline; }
}
