:root {
  --color-bg: #F5F5F7; /* Apple-like off-white */
  --color-brand: #EAB308;
  --color-brand-btn: #FBC004;
  --color-black: #111111; 
  --color-black-light: #1A1A1A;
  --color-white: #FFFFFF;
  --radius-lg: 32px;
  --radius-pill: 50px;
  --transition: 0.3s ease;
  
  --font-en: 'Inter', sans-serif;
  --font-th: 'Kanit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  font-family: var(--font-th); background-color: var(--color-bg);
  color: var(--color-black-light); line-height: 1.6; overflow-x: hidden; width: 100%; position: relative;
}

h1, h2, h3, h4, h5, .font-en { font-family: var(--font-en); }
.text-center { text-align: center; }
.text-yellow { color: var(--color-brand-btn) !important; }
.text-white { color: var(--color-white) !important; }
.text-black { color: var(--color-black) !important; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 4rem; }

/* REUSABLES */
.btn-pill {
  display: inline-block; background-color: var(--color-brand-btn);
  color: var(--color-black); padding: 0.8rem 2.2rem;
  border-radius: var(--radius-pill); text-decoration: none;
  font-weight: 700; font-family: var(--font-en); border: none; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-pill:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(251, 192, 4, 0.3); }

.btn-line-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; text-decoration: none;
  transition: all var(--transition);
}
.btn-line-icon:hover {
  background-color: #00B900; color: var(--color-white);
  transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 185, 0, 0.3);
}

/* NAVBAR */
.navbar {
  position: absolute; top: 0; width: 100%;
  padding: 2rem 0; z-index: 1000;
}
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1280px; margin: 0 auto; padding: 0 4rem;
}
.logo { font-size: 1.8rem; font-weight: 800; text-decoration: none; letter-spacing: -0.5px; font-family: var(--font-en); white-space: nowrap; }
.logo-white { color: var(--color-white); }
.logo-yellow { color: var(--color-brand-btn); }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-family: var(--font-en); text-decoration: none;
  color: rgba(255,255,255,0.7); font-weight: 500; font-size: 0.95rem;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-white); }

/* HERO SECTION (Axios Style) */
.hero-axios {
  position: relative; min-height: auto;
  display: flex; align-items: center; justify-content: flex-start;
  padding-top: 200px; padding-bottom: 10rem; overflow: hidden;
}
.hero-bg-image {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center; z-index: 1;
}
.hero-bg-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(17, 17, 17, 0.88); z-index: 2;
}
.hero-bg-f {
  position: absolute; top: 15%; right: -5%;
  height: 90%; opacity: 0.2; z-index: 2; pointer-events: none;
}
.hero-axios-container {
  position: relative; z-index: 3; width: 100%;
}
.hero-axios-layout {
  display: flex; flex-direction: column; width: 100%; gap: 0.5rem; font-family: var(--font-en);
}
.hero-row {
  display: flex; width: 100%; align-items: center;
}
.hero-row-1 {
  justify-content: flex-start; gap: 2rem;
}
.hero-row-2 {
  justify-content: space-between; align-items: flex-start; gap: 2rem;
}
.hero-right-col {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem;
  margin-top: -7.5rem; /* Pulls text block up to fill space next to CREATE */
  border-left: 3px solid rgba(255,255,255,0.4);
  padding-left: 1.5rem;
}
.hero-row-3 {
  justify-content: space-between; align-items: flex-start; padding-left: 18%; gap: 2rem;
}
.title-white {
  color: var(--color-white); font-weight: 800; font-size: 7rem; line-height: 1; letter-spacing: -2px; text-transform: uppercase;
}
.title-pill {
  background-color: var(--color-brand-btn); color: var(--color-black);
  padding: 0 3rem; border-radius: 100px; display: inline-flex; align-items: center; justify-content: center;
  line-height: 1.1; font-weight: 800; font-size: 6.5rem; white-space: nowrap; letter-spacing: -2px;
}
.pill-mff {
  font-size: 1.35rem;
  padding: 0.3rem 1.2rem;
  letter-spacing: 0;
  font-weight: 700;
}
.hero-desc-box {
  width: 560px; max-width: 100%; color: rgba(255,255,255,0.95); font-size: 1.25rem; line-height: 1.6; font-family: var(--font-th);
}
.btn-circle-arrow {
  width: 90px; height: 90px; border-radius: 50%; background-color: transparent; border: 2px solid rgba(255,255,255,0.3);
  color: var(--color-white); display: flex; align-items: center; justify-content: center; font-size: 2rem;
  transition: all var(--transition); text-decoration: none;
}
.btn-circle-arrow i { transform: rotate(-45deg); transition: transform var(--transition); }
.btn-circle-arrow:hover {
  background-color: var(--color-brand-btn); border-color: var(--color-brand-btn); color: var(--color-black);
}
.btn-circle-arrow:hover i { transform: rotate(0deg); }
.mobile-only { display: none; }

/* ABOUT MODERN */
.about-modern {
  padding: 8rem 0; background: var(--color-brand-btn); /* Changed from white to yellow */
  border-radius: 0 0 60px 60px; margin-top: -40px; position: relative; z-index: 10;
}
.about-modern-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; align-items: center; }
.sub-eyebrow { font-size: 1rem; color: #222; letter-spacing: 4px; margin-bottom: 1rem; font-weight: 700; }
.highlight-large { font-size: 4rem; font-weight: 800; font-family: var(--font-en); line-height: 1; color: var(--color-black); }
.lead-text { font-size: 1.5rem; color: var(--color-black); margin-bottom: 1.5rem; font-weight: 500; }
.sub-text { font-size: 1.1rem; color: #333; }

/* MFF DEFINITION */
.mff-editorial-section { padding: 6.5rem 0 5.5rem; position: relative; overflow: hidden; text-align: center; }
.definition-huge {
  font-size: clamp(4rem, 10vw, 9rem); font-family: var(--font-en); font-weight: 800; line-height: 1; 
  letter-spacing: -2px; margin-bottom: 0.5rem; color: var(--color-brand-btn);
  animation: floatText 8s ease-in-out infinite;
}
.definition-sub {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-family: var(--font-th); font-weight: 500; color: var(--color-black);
  animation: floatText 8s ease-in-out infinite;
  animation-delay: 1s; /* Slightly offset so they float at different paces */
}
@keyframes floatText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* SERVICE OVERVIEW (Bento / Jigsaw Style) */
.service-overview { padding: 6rem 0; }
.section-title-bold { font-size: 4rem; font-family: var(--font-en); line-height: 1; font-weight: 800; }
.service-bento-box {
  background-color: var(--color-black-light);
  border-radius: 30px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 3rem;
  align-items: stretch;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
}
.service-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.s-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  color: var(--color-white);
  display: flex; align-items: center; justify-content: flex-start;
  text-align: left; font-weight: 500; font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); line-height: 1.4;
  background-color: rgba(255,255,255,0.02);
}
.s-card:hover { 
  background-color: var(--color-brand-btn);
  color: var(--color-black);
  border-color: var(--color-brand-btn);
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.6);
  cursor: pointer;
}
.service-jigsaw-card {
  background-color: var(--color-brand-btn);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transform: rotate(3deg);
  margin-left: -2rem;
  padding: 3rem;
  box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.service-jigsaw-card:hover {
  transform: rotate(5deg) scale(1.03) translateY(-10px);
  box-shadow: -20px 20px 40px rgba(0,0,0,0.6);
  cursor: pointer;
}
.jigsaw-inner-mask {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit; overflow: hidden; z-index: 0;
}
.jigsaw-bg-f {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-15deg);
  width: 140%; height: 140%; object-fit: contain;
  filter: brightness(0); opacity: 0.04; pointer-events: none; z-index: 0;
}
.jigsaw-title {
  font-family: var(--font-en); font-size: clamp(3rem, 4vw, 4.5rem); font-weight: 900; line-height: 0.9;
  color: var(--color-black); text-align: left; text-transform: uppercase; letter-spacing: -2px;
  position: relative; z-index: 2;
}
.service-jigsaw-card::before {
  content: ""; position: absolute;
  left: -25px; top: 40%;
  width: 50px; height: 50px;
  background-color: var(--color-brand-btn);
  border-radius: 50%;
}
.service-jigsaw-card::after {
  content: ""; position: absolute;
  bottom: -25px; right: 20%;
  width: 50px; height: 50px;
  background-color: var(--color-black-light);
  border-radius: 50%;
  box-shadow: inset 0 5px 10px rgba(0,0,0,0.3);
}

/* SERVICE LIST REDESIGN */
.service-list-wrapper { display: flex; flex-direction: column; width: 100%; }
.service-row { padding: 6rem 0; transition: all var(--transition); border-top: 1px solid rgba(0,0,0,0.1); }
.service-row.bg-yellow { background: var(--color-brand-btn); color: var(--color-black); }
.service-row.bg-black { background: var(--color-black); color: var(--color-white); border-top: 1px solid rgba(255,255,255,0.1); }

.service-row-container { display: flex; align-items: center; gap: 5rem; }
.sr-reverse { flex-direction: row-reverse; }

.sr-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.sr-tag { font-family: var(--font-en); font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; opacity: 0.8; }
.bg-black .sr-tag { color: var(--color-brand-btn); }
.bg-yellow .sr-tag { color: var(--color-black); }

.sr-title { font-size: 2.8rem; font-weight: 800; font-family: var(--font-en); margin-bottom: 1.5rem; line-height: 1.1; display: flex; align-items: center; gap: 20px; cursor: pointer; width: fit-content; text-transform: uppercase; }
.sr-title i { font-size: 2.5rem; transform: rotate(-45deg); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.service-row:hover .sr-title i { transform: rotate(0deg); }
.bg-black .sr-title i { color: var(--color-brand-btn); }
.bg-yellow .sr-title i { color: var(--color-black); }

.sr-desc { font-size: 1.1rem; line-height: 1.8; margin-bottom: 2rem; max-width: 90%; }
.bg-black .sr-desc { color: rgba(255,255,255,0.85); }
.bg-yellow .sr-desc { color: rgba(0,0,0,0.85); }

.sr-list { list-style: none; }
.sr-list li { margin-bottom: 0.8rem; padding-left: 1.5rem; position: relative; font-weight: 500; font-size: 1.05rem;}
.sr-list li::before { content: "•"; position: absolute; left: 0; font-weight: bold; font-size: 1.2rem; top: -3px; }
.bg-black .sr-list li::before { color: var(--color-brand-btn); }
.bg-yellow .sr-list li::before { color: var(--color-black); }

.sr-image { flex: 0.85; position: relative; }
.pill-image-frame { width: 100%; height: 380px; border-radius: 999px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.bg-black .pill-image-frame { box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.pill-image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-row:hover .pill-image-frame img { transform: scale(1.05); }

/* MARQUEE */
.marquee-section { padding: 6rem 0; overflow: hidden; }
.marquee { white-space: nowrap; overflow: hidden; display: flex; }
.marquee-content { display: flex; animation: scrollLeft 50s linear infinite; gap: 3rem; }
.marquee-reverse { animation: scrollRight 50s linear infinite; }
.m-logo { font-size: 1.5rem; font-weight: 600; font-family: var(--font-en); color: #888; padding: 0 2rem; }

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

/* CREDIBILITY */
.credibility-split { display: flex; align-items: center; gap: 4rem; }
.credibility-section { padding: 8rem 0; background: var(--color-black-light); color: white; border-radius: 60px 60px 0 0;}
.credibility-title { flex: 1; font-size: 3rem; line-height: 1.2; font-family: var(--font-en); font-weight: 700; }
.stat-grid-modern { flex: 1; display: flex; gap: 8rem; justify-content: flex-end; }
.stat-item-modern { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat-num { font-size: 6.5rem; font-weight: 800; font-family: var(--font-en); line-height: 1; position: relative; display: inline-block; }
.stat-plus { color: var(--color-brand-btn); position: absolute; left: 100%; top: 0; }
.stat-label { font-size: 0.9rem; font-weight: 600; letter-spacing: 2px; opacity: 0.7; margin-top: 1rem; line-height: 1.4; text-align: center; }

/* CONTACT */
.contact-section { background-color: var(--color-black); color: var(--color-white); padding: 4rem 0 8rem; }
.contact-container { display: flex; gap: 4rem; align-items: flex-start; }
.contact-left { flex: 1; }
.contact-headline { font-size: 3.5rem; color: var(--color-brand-btn); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 1rem; }
.megaphone-icon { width: 50px; height: 50px; }
.contact-subhead { font-size: 1.2rem; font-weight: 600; margin-bottom: 3rem; }
.contact-info { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.contact-f-icon { width: 80px; height: 80px; object-fit: contain; }
.info-details { font-size: 1rem; line-height: 1.8; color: #CCCCCC; }
.info-details strong { font-family: var(--font-en); font-size: 1.2rem; color: var(--color-white); }
.contact-social { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.contact-social a { color: var(--color-white); font-size: 1.5rem; text-decoration: none; background: rgba(255,255,255,0.1); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.3s; }
.contact-social a:hover { background: var(--color-brand-btn); }
.social-handle { font-weight: 600; letter-spacing: 1px; }

.contact-right { flex: 1; }
.contact-form {
  background-color: var(--color-white); padding: 3rem 3rem 4rem; border-radius: var(--radius-lg);
  box-shadow: 20px 20px 0 rgba(251, 192, 4, 1);
  position: relative;
}
.form-decor-trail {
  position: absolute;
  top: 10px;
  left: -130px;
  width: 110px;
  height: 110px;
  z-index: 9;
  transform: rotate(-10deg);
  opacity: 0.8;
}
.form-decor-plane {
  position: absolute;
  top: -40px;
  left: -40px;
  font-size: 6rem;
  color: var(--color-brand-btn);
  transform: rotate(15deg);
  filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.3));
  z-index: 10;
}
.form-group { margin-bottom: 1.5rem; }
.form-group input { width: 100%; padding: 1rem 0; border: none; border-bottom: 1px solid #CCCCCC; font-size: 1rem; font-family: var(--font-en); background: transparent; outline: none; transition: border-color var(--transition); }
.form-group input:focus { border-bottom-color: var(--color-brand-btn); }
.btn-submit { position: absolute; bottom: -25px; left: 50%; transform: translateX(-50%); padding: 1rem 4rem; font-size: 1.2rem; color: #1A1A1A; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-submit:hover { transform: translateX(-50%) translateY(-2px); }

/* FOOTER */
.footer { background-color: #0b0b0b; color: #666666; padding: 2rem 0; font-family: var(--font-en); font-size: 0.9rem; }

/* ANIMATIONS */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container { padding: 0 2rem; }
  .nav-container { padding: 0 2rem; }
  .hero-folio-split, .contact-container, .credibility-split, .service-row-container { flex-direction: column; }
  .contact-left, .contact-right { width: 100%; }
  .about-modern-grid { grid-template-columns: 1fr; gap: 3rem; }
  .stat-grid-modern { flex-direction: column; gap: 3rem; justify-content: center; }
  .sr-reverse { flex-direction: column; }
  .sr-image { width: 100%; margin-top: 2rem; flex: none; }
  .pill-image-frame { height: 250px; border-radius: 100px; }
  .sr-title { font-size: 2.2rem; }
  .service-row { padding: 4rem 0; }
  .sr-desc { max-width: 100%; }
  .service-bento-box { display: flex; flex-direction: column-reverse; padding: 2rem; gap: 2rem; }
  .service-jigsaw-card { margin-left: 0; transform: rotate(0deg); margin-top: 1rem; margin-bottom: 1rem; }
  .service-jigsaw-card::before, .service-jigsaw-card::after { display: none; }
  .hero-axios-layout { gap: 2rem; }
  .title-white { font-size: 4.5rem; }
  .title-pill { font-size: 4rem; padding: 0 2rem; }
  .pill-mff { font-size: 1.2rem; padding: 0.2rem 1rem; }
  .hero-row-1 { gap: 1rem; }
  .hero-row-2 { flex-direction: column; align-items: flex-start; }
  .hero-right-col { margin-top: 0; align-items: flex-start; } /* Remove negative margin on mobile */
  .hero-row-3 { padding-left: 0; }
  .hero-desc-box { border-left: none; padding-left: 0; padding-top: 1rem; border-top: 2px solid rgba(255,255,255,0.3); }
}
@media (max-width: 768px) {
  .hero-row-2 .hero-right-col { display: none !important; }
  .mobile-hero-desc { display: flex !important; margin-top: 1.5rem; align-items: flex-start; }
  .container { padding: 0 1.2rem; }
  .nav-container { padding: 0 1.2rem; }
  .logo { font-size: 1.4rem; }
  .btn-pill { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
  .btn-line-icon { width: 38px; height: 38px; font-size: 1.3rem; }
  .nav-right { gap: 0.5rem !important; }
  .nav-right span { font-size: 0.55rem !important; }
  .nav-links { display: none; }
  .service-bento-grid { grid-template-columns: 1fr; }
  .mobile-only { display: block; }
  .title-white { font-size: 3rem; }
  .title-pill { font-size: 2.5rem; padding: 0 1.2rem; margin-top: 5px; }
  .pill-mff { font-size: 1rem; padding: 0.2rem 0.8rem; }
  .btn-circle-arrow { width: 60px; height: 60px; font-size: 1.5rem; }
  .hero-row-2 { gap: 1rem; }
  .hero-row-3 { gap: 1rem; margin-top: 0; }
  .contact-social { flex-wrap: wrap; gap: 0.8rem; }
  .contact-form { padding: 2rem 1.5rem 3.5rem; box-shadow: 10px 10px 0 rgba(251, 192, 4, 1); margin-right: 10px; }
  .form-decor-trail { left: -30px; width: 80px; height: 80px; top: 0px; }
  .form-decor-plane { left: -10px; top: -30px; font-size: 4rem; }
}
