/* ============================================
   HAO YUN CRANE - Premium Website Stylesheet
   Color Palette: #FFFFFF / #FFEA33 / #0D0D0D
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --white: #FFFFFF;
  --yellow: #FFEA33;
  --yellow-dark: #E6D200;
  --yellow-light: #FFF8A0;
  --dark: #0D0D0D;
  --dark-800: #1a1a1a;
  --dark-700: #2a2a2a;
  --gray-100: #f9f9f9;
  --gray-200: #f0f0f0;
  --gray-400: #999;
  --gray-600: #666;
  --pink-light: #FFE5F0;
  --blue-light: #E5F3FF;
  --green-light: #E5FFE8;

  --font-th: 'Kanit', sans-serif;
  --font-en: 'Kanit', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.16);
  --shadow-yellow: 0 8px 32px rgba(255,234,51,0.4);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-th), var(--font-en);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
  box-shadow: var(--shadow-yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,234,51,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--yellow);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}
.btn-yellow:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* ---- Badges & Tags ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--yellow-light);
  color: var(--dark);
  border: 1.5px solid var(--yellow);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.section-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-en), var(--font-th);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.highlight {
  color: transparent;
  background: linear-gradient(135deg, #E6C800 0%, #FFEA33 50%, #FFD700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
}

/* ===============================
   TOP BAR
   =============================== */
.topbar {
  background: var(--dark);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.8rem;
  position: relative;
  z-index: 1000;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-left {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.social-icon svg { width: 14px; height: 14px; }
.social-icon:hover { background: var(--yellow); color: var(--dark); }

/* ===============================
   HEADER / NAVBAR
   =============================== */
.header {
  background: var(--white);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-img {
  width: 120px;
  height: 80px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .header-logo-img {
    width: 80px;
    height: 80px;
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 0.05em;
}

.logo-sub {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--yellow-dark);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Nav */
.nav {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--dark);
  background: var(--yellow-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header-cta { margin-left: 0.5rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 2rem 2.5rem 2rem;
  background: #111;
  position: relative;
  border-top: 1px solid #333;
}

.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
  color: #fff;
  padding: 0.75rem 0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  color: var(--yellow);
  background: transparent;
}

.mobile-nav .btn-primary {
  width: 100%;
  background-color: var(--yellow);
  color: var(--gray-900);
  text-align: center;
  margin-top: 1.5rem !important;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(246, 219, 44, 0.2);
  border: none;
  transition: all 0.3s ease;
}

.mobile-nav .btn-primary:hover {
  background-color: #ffd000;
  box-shadow: 0 10px 25px rgba(246, 219, 44, 0.4);
  transform: translateY(-2px);
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  background-image: url('images/Background1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  position: relative;
  padding: 5rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-bg-shape {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,234,51,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { position: relative; }

.hero-title {
  font-family: var(--font-en), var(--font-th);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 1rem 0;
  color: var(--dark);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--white);
  margin-top: 0.25rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

#hero-contact-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  border-color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
#hero-contact-btn:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Hero Image */
.hero-image { position: relative; }

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.hero-img-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.15));
  animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-badge-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: floatBadge 3s ease-in-out infinite;
}

.badge-float-1 {
  top: 35%;
  left: -12%;
  animation-delay: 0s;
}

.badge-float-2 {
  top: 15%;
  right: -12%;
  animation-delay: 1s;
}

.badge-float-3 {
  bottom: 15%;
  right: -12%;
  animation-delay: 2s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  animation: bounce 2s infinite;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--dark);
  border-radius: 50%;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===============================
   WHY STRIP
   =============================== */
.why-strip {
  background: var(--dark);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.why-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.why-item:hover {
  background: rgba(255,234,51,0.1);
  border-color: rgba(255,234,51,0.3);
  transform: translateY(-4px);
}

/* --- iOS 26 Liquid Glass Icon Base --- */
.why-icon {
  position: relative;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.15);
}

.why-icon svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* Glare shine overlay โ€” top half highlight */
.ios-icon-glare {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.32) 0%,
    rgba(255,255,255,0.06) 100%
  );
  border-radius: 16px 16px 60% 60%;
  z-index: 1;
  pointer-events: none;
}

/* Neutral dark glass โ€” เน„เธกเนˆเธกเธตเธชเธต */
.why-icon--blue,
.why-icon--green,
.why-icon--orange,
.why-icon--pink {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

/* Hover: spring pop */
.why-item:hover .why-icon {
  transform: scale(1.12) translateY(-2px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.25);
}


.why-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.why-text strong {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.why-text span {
  color: var(--gray-400);
  font-size: 0.8rem;
}

/* ===============================
   COMPANY INTRO (CUSTOM DESIGN)
   =============================== */
.company-intro {
  position: relative;
  background: #ffffff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0;
}

.intro-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: url('images/ABOUT.jpg') no-repeat;
  background-position: right top;
  background-size: 100vw auto;
  clip-path: polygon(25% 0, 100% 0, 100% 100%);
  z-index: 2;
}

.intro-bg-stripe {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: #a53018;
  clip-path: polygon(21% 0, 100% 0, 100% 100%);
  z-index: 1;
}

.intro-corner-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: #a53018;
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  z-index: 1;
}

.intro-content {
  position: relative;
  z-index: 3;
  width: 100%;
}
.intro-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}
.intro-logo-img {
  width: 70px;
  height: auto;
}
.intro-logo-text {
  display: flex;
  flex-direction: column;
}
.intro-logo-title {
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  color: #a53018;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}
.intro-logo-sub {
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.intro-main h1 {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1.1;
  font-weight: 900;
  color: #111;
  margin-bottom: 2.5rem;
}
.intro-main .highlight-red {
  color: #a53018;
}

.core-values {
  background: #a53018;
  color: #fff;
  padding: 2.5rem;
  max-width: 650px;
  font-family: 'Kanit', sans-serif;
  box-shadow: 0 15px 30px rgba(165, 48, 24, 0.2);
}
.core-values h3 {
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.core-values p {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
  .intro-bg { width: 100%; clip-path: polygon(0 0, 100% 0, 100% 100%); opacity: 0.2; }
  .intro-bg-stripe { display: none; }
  .intro-corner-bottom { width: 150px; height: 150px; }
  .core-values { padding: 1.5rem; }
}

/* ===============================
   ABOUT COMPANY SECTION
   =============================== */
.about-company {
  position: relative;
  background: #a53018;
  color: #fff;
  padding: 4rem 0 6rem 0;
  overflow: hidden;
  font-family: 'Kanit', sans-serif;
}

.about-top-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 400px;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
}

.about-top-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 85%;
  background: url('images/ABOUT.jpg') no-repeat;
  background-position: right top;
  background-size: 150vw auto;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 2;
}

.about-logo-wrapper {
  position: absolute;
  top: 2rem;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.about-logo-wrapper img {
  width: 70px;
  height: auto;
}

.about-logo-text {
  display: flex;
  flex-direction: column;
}

.about-logo-title {
  color: #a53018;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.about-logo-sub {
  color: #333;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.about-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.about-content h2 {
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 0;
  color: #fff;
}
.about-content h2 strong {
  font-weight: 800;
  display: block;
  font-size: 5rem;
}

.about-divider {
  width: 150px;
  height: 2px;
  background: #fff;
  margin: 2.5rem 0;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.95);
}

@media (max-width: 768px) {
  .about-top-left { width: 100vw; height: 50vw; }
  .about-top-right { width: 100vw; height: 50vw; opacity: 0.3; }
}

/* ===============================
   SERVICES SECTION
   =============================== */
.services {
  padding: 6rem 0;
  background: var(--dark);
}

/* Main Services Grid & Cards (Website Theme Adaptation) */
.main-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Forces all 4 services to be in a single row on desktop */
  gap: 2rem;
  max-width: 1200px;
  margin: 3.5rem auto 0;
  padding: 0 1.5rem;
}

.main-service-card {
  background: var(--dark-800);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.main-service-card .icon-box {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  border: 1.5px solid rgba(255, 234, 51, 0.2);
  background: rgba(255, 234, 51, 0.04);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.2rem;
  box-shadow: 0 8px 20px rgba(255, 110, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-service-card .icon-box svg {
  width: 42px;
  height: 42px;
}

.main-service-card .title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.4;
  font-family: var(--font-th);
  transition: color 0.3s ease;
}

.main-service-card .desc {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin: 0;
  font-family: var(--font-th);
}

/* Hover effects */
.main-service-card:hover {
  transform: translateY(-12px);
  background: var(--dark-700);
  box-shadow: 0 25px 50px rgba(255, 234, 51, 0.12), 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: var(--yellow);
}

.main-service-card:hover .title {
  color: var(--yellow);
}

.main-service-card:hover .icon-box {
  transform: scale(1.1) rotate(6deg);
  background: rgba(255, 234, 51, 0.08);
  border-color: var(--yellow);
  box-shadow: 0 12px 25px rgba(255, 234, 51, 0.25);
}

@media (max-width: 1024px) {
  .main-services-grid {
    grid-template-columns: repeat(2, 1fr); /* Stacks in 2x2 grid on medium screens/tablets */
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 0 1rem;
  }
  .main-service-card {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 650px) {
  .main-services-grid {
    grid-template-columns: 1fr; /* Stacks vertically on small/mobile screens for readability */
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center; /* This centers the items vertically, making the highlighted one pop out */
  margin-top: 3rem;
}

.service-card {
  background: var(--dark-800);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

.premium-service-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.service-card.highlight {
  background: var(--yellow);
  padding: 3.5rem 2.5rem;
  border-color: var(--yellow);
  box-shadow: 0 20px 50px rgba(255, 234, 51, 0.2);
  z-index: 2;
}

.service-card.highlight:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(255, 234, 51, 0.3);
}

.service-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
  margin-bottom: 1rem;
  display: block;
}

.service-card.highlight .service-tag {
  color: var(--dark-700);
}

.service-title-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.service-card.highlight .service-title-text {
  color: var(--dark);
  font-size: 2.2rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  flex-grow: 1;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  color: var(--gray-200);
  font-size: 1.05rem;
  line-height: 1.6;
}

.service-card.highlight .service-features li {
  color: var(--dark-700);
  font-weight: 500;
}

.service-features li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--yellow);
  margin-top: 2px;
}

.service-card.highlight .service-features li svg {
  color: var(--dark);
}

.service-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.service-card .service-btn {
  background: rgba(255,255,255,0.05);
  color: var(--yellow);
  border: 1px solid rgba(255, 234, 51, 0.3);
}

.service-card .service-btn:hover {
  background: var(--yellow);
  color: var(--dark);
}

.service-card.highlight .service-btn {
  background: var(--dark);
  color: var(--yellow);
  border: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.service-card.highlight .service-btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.25);
}

/* ===============================
   MILESTONES / STATS
   =============================== */
.milestones {
  padding: 6rem 0;
  background: var(--white);
  color: var(--dark);
  position: relative;
  overflow: hidden;
}

.milestones .section-title { color: var(--white); }

.milestones::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,234,51,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.milestones-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.milestones-image {
  position: relative;
}

.milestones-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  height: 420px;
  box-shadow: var(--shadow-lg);
}

.milestone-exp-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 234, 51, 0.4);
}

.exp-num {
  display: block;
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.exp-text {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-700);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-box {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  cursor: default;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-box-num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.stat-box-plus {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark);
  vertical-align: top;
  margin-top: 4px;
}

.stat-box-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-700);
  margin-top: 0.5rem;
}

/* ===============================
   BENEFITS
   =============================== */
.benefits {
  padding: 6rem 0;
  background: #e5e5e5;
}

.benefits-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid #ffffff;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.benefit-item:hover, .benefit-item.active {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateX(6px);
  box-shadow: var(--shadow-yellow);
}

.benefit-icon {
  display: none;
}

.benefit-item:hover .benefit-icon,
.benefit-item.active .benefit-icon {
  background: rgba(255,255,255,0.5);
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.benefit-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.benefit-text span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.benefit-item:hover .benefit-text strong,
.benefit-item.active .benefit-text strong { color: var(--dark); }

.benefit-item:hover .benefit-text span,
.benefit-item.active .benefit-text span { color: var(--dark-700); }

/* Benefits Image Grid */
.benefits-img-grid {
  position: relative;
  height: 420px;
}

.bimg {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
}

.bimg-main {
  width: 75%;
  height: 80%;
  top: 0;
  right: 0;
}

.bimg-sm1 {
  width: 45%;
  height: 45%;
  bottom: 0;
  left: 0;
  border: 4px solid var(--white);
}

.bimg-sm2 {
  width: 35%;
  height: 30%;
  bottom: 40%;
  left: 0;
  border: 4px solid var(--white);
  display: none;
}

/* ===============================
   TABLE OF CONTENT SECTION
   =============================== */
.toc-section {
  position: relative;
  padding: 6rem 0 10rem 0;
  background: var(--white);
  overflow: hidden;
}

.toc-bg {
  position: absolute;
  top: 35%;
  left: 0;
  width: 100%;
  height: 65%;
  background: #a53018;
  clip-path: polygon(0 0, 45% 0, 100% 60%, 100% 100%, 0 100%);
  z-index: 1;
}

.toc-top-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 15vw;
  height: 15vw;
  background: #a53018;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 1;
}

.toc-content-wrapper {
  max-width: 600px;
  padding-left: 2rem;
}

.toc-header {
  margin-bottom: 2rem;
}

.toc-header h2 {
  font-family: var(--font-en), sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 0;
}

.toc-header h2 strong {
  font-weight: 800;
  color: #a53018;
}

.toc-line {
  width: 120px;
  height: 2px;
  background: #a53018;
  margin-top: 2rem;
}

.toc-list {
  padding-top: 2rem;
}

.toc-list ul {
  list-style: none;
  padding-left: 2rem;
}

.toc-list li {
  position: relative;
  color: var(--white);
  font-family: var(--font-en), sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.toc-list li::before {
  content: '';
  position: absolute;
  left: -2rem;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}

/* ===============================
   PORTFOLIO / REVIEWS
   =============================== */
.portfolio {
  padding: 6rem 0;
  background: var(--dark);
}

.portfolio .section-title { color: var(--white); }
.portfolio .section-desc { color: rgba(255,255,255,0.7); }

/* Portfolio Tabs */
.portfolio-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.ptab {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.ptab:hover, .ptab.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark);
  box-shadow: var(--shadow-yellow);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  background: var(--dark-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
  cursor: pointer;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-item.hidden { display: none; }

.portfolio-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-img img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay-content h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.25rem; }
.portfolio-overlay-content p { color: rgba(255,255,255,0.8); font-size: 0.8rem; }

.portfolio-body {
  padding: 1.25rem;
}

.portfolio-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.5rem;
}

.ptag {
  display: inline-block;
  background: var(--yellow-light);
  color: var(--dark);
  border: 1px solid var(--yellow);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Reviews Slider */

.reviews-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 24px;
}

.reviews-track .review-card {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .reviews-track .review-card {
    flex: 0 0 calc(50% - 12px);
    min-width: calc(50% - 12px);
  }
}


.review-card {
  background: var(--dark-800);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-yellow);
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}
.review-info {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-family: var(--font-th);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.review-stars {
  font-size: 0.9rem;
  color: #FFC107;
}

.review-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}


.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.review-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-yellow);
  font-weight: 700;
  color: var(--dark);
}

.review-btn:hover {
  background: var(--dark);
  color: var(--yellow);
}

.review-dots {
  display: flex;
  gap: 0.5rem;
}

.rdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.rdot.active {
  background: var(--yellow);
  width: 28px;
  border-radius: var(--radius-full);
}

/* ===============================
   CTA BANNER
   =============================== */
.cta-banner {
  background: var(--dark);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,234,51,0.03) 20px,
    rgba(255,234,51,0.03) 40px
  );
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}

.cta-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}

/* ===============================
   CONTACT SECTION
   =============================== */
.contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  transition: var(--transition);
  cursor: default;
}

.contact-card:hover {
  border-color: var(--yellow);
  background: var(--yellow-light);
  transform: translateX(6px);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-yellow);
}

.contact-details h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1.5px solid var(--gray-200);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-sub {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,234,51,0.2);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  text-align: center;
  background: #e6ffed;
  color: #0a6b1e;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-top: 1rem;
  border: 1px solid #66bb6a;
}

/* ===============================
   FOOTER
   =============================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  line-height: 1.8;
  margin: 1rem 0 1.5rem;
}

.footer-brand .logo-main { color: var(--white); }

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.fsocial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--white);
}

.fsocial:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--yellow);
  padding-left: 6px;
}

.footer-contact-list li {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

/* ===============================
   BACK TO TOP
   =============================== */
.back-to-top {
  display: none !important;
}

/* ===============================
   AOS ANIMATIONS (Custom)
   =============================== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}
[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}
[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .milestones-inner { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav, .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero {
    background-image: url('images/mobile1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    z-index: 0;
  }
  .hero .container { position: relative; z-index: 1; }

  

  .hero-inner { display: flex; flex-direction: column-reverse; gap: 2rem; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .badge-float-1, .badge-float-2, .badge-float-3 { display: flex; font-size: 0.72rem; padding: 0.5rem 0.8rem; white-space: nowrap; }
  .badge-float-1 { left: -5%; top: 10%; }
  .badge-float-2 { right: -5%; top: 35%; }
  .badge-float-3 { right: -5%; bottom: 10%; }

  .why-grid { grid-template-columns: 1fr 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; }

  .milestones-inner { grid-template-columns: 1fr; }
  .milestone-exp-badge { right: 1rem; }

  .benefits-inner { grid-template-columns: 1fr; }
  .benefits-img-grid { height: 280px; }

  .toc-bg { top: 30%; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .toc-header h2 { font-size: 3rem; }
  .toc-list li { font-size: 1.2rem; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; }

  

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .cta-content { text-align: center; justify-content: center; }

  .topbar-left span:nth-child(2) { display: none; }
  .topbar-inner { flex-wrap: nowrap; justify-content: space-between; gap: 0.25rem; }
  .topbar-left span { font-size: 0.65rem; line-height: 1.2; letter-spacing: -0.2px; }
  .topbar-right { gap: 0.4rem; }
  .social-icon { width: 24px; height: 24px; }
  .social-icon svg { width: 14px; height: 14px; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
}

/* ===============================
   IMAGE MODAL
   =============================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
  object-fit: contain;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.modal-close:hover {
  color: var(--yellow);
}

.milestones-image img {
  cursor: zoom-in;
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow-y: auto;
  padding: 3rem 1rem;
}
.gallery-modal.show {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-close {
  position: fixed;
  top: 1rem;
  right: 2rem;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}
.gallery-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  width: 100%;
  margin: auto;
}
.gallery-content img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* ===============================
   LANGUAGE SWITCHER UI
   =============================== */
.lang-switcher-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.lang-switcher-current {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 50px;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.lang-switcher-current:hover {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}

.lang-switcher-current img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

.lang-dropdown {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--white);
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-option img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--yellow);
}

.lang-option.active {
  background: rgba(255, 234, 51, 0.15);
  color: var(--yellow);
}


/* ===== CTA BANNER ===== */
.cta-banner {
  background-color: var(--yellow);
  padding: 3.5rem 0;
}

.cta-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-banner-left {
  flex: 1 1 400px;
}

.cta-banner-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  font-family: var(--font-en), var(--font-th), sans-serif;
}

.cta-banner-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.cta-banner-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-banner-list li {
  font-size: 0.92rem;
  color: var(--dark);
  line-height: 1.7;
  opacity: 0.85;
}

.cta-banner-list li::before {
  content: 'โ€ข ';
  font-weight: 700;
}

.cta-banner-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cta-banner-btn {
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: var(--font-th), sans-serif;
}

.cta-banner-btn--dark {
  background: var(--dark);
  color: var(--yellow);
  border: 2px solid var(--dark);
}

.cta-banner-btn--dark:hover {
  background: transparent;
  color: var(--dark);
}

.cta-banner-btn--outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.cta-banner-btn--outline:hover {
  background: var(--dark);
  color: var(--yellow);
}


/* Mobile Floating UI Elements */
@media (max-width: 768px) {
  .lang-switcher-wrapper {
    right: auto !important;
    left: 1.5rem;
    bottom: 1.5rem;
    align-items: flex-start;
  }
  .lang-dropdown {
    right: auto !important;
    left: 0;
  }
  .mobile-social-fab {
    display: flex !important;
  }
}

.mobile-social-fab {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 1000;
  flex-direction: column-reverse;
  gap: 0.8rem;
  align-items: center;
}

.mobile-social-fab .fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform 0.2s;
}

.mobile-social-fab .fab-btn:active {
  transform: scale(0.95);
}

.fab-btn.fb { background: #1877F2; }
.fab-btn.line { background: #00B900; }
.fab-btn.tiktok { background: #000000; }

.fab-btn svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 768px) {
  .badge-float-1 {
    top: 30%;
    left: -5%;
  }
  .badge-float-2 {
    top: 10%;
    right: -5%;
  }
  .badge-float-3 {
    bottom: 10%;
    right: -5%;
  }
}

/* Slideshow Styles */
.hero-slideshow {
  display: grid;
  width: 100%;
}
.hero-slide {
  grid-area: 1 / 1;
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /* preserve existing floating animation if desired */
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.15));
}
.hero-slide.active {
  opacity: 1;
}

/* Phone Fab Menu */
.fab-call-menu.show {
  display: flex !important;
}
.fab-call-menu a:hover {
  background: #eee !important;
}
  object-fit: cover;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--yellow);
}

.lang-option.active {
  background: rgba(255, 234, 51, 0.15);
  color: var(--yellow);
}


/* ===== CTA BANNER ===== */
.cta-banner {
  background-color: var(--yellow);
  padding: 3.5rem 0;
}

.cta-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-banner-left {
  flex: 1 1 400px;
}

.cta-banner-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  font-family: var(--font-en), var(--font-th), sans-serif;
}

.cta-banner-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.cta-banner-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-banner-list li {
  font-size: 0.92rem;
  color: var(--dark);
  line-height: 1.7;
  opacity: 0.85;
}

.cta-banner-list li::before {
  content: '• ';
  font-weight: 700;
}

.cta-banner-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cta-banner-btn {
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: var(--font-th), sans-serif;
}

.cta-banner-btn--dark {
  background: var(--dark);
  color: var(--yellow);
  border: 2px solid var(--dark);
}

.cta-banner-btn--dark:hover {
  background: transparent;
  color: var(--dark);
}

.cta-banner-btn--outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.cta-banner-btn--outline:hover {
  background: var(--dark);
  color: var(--yellow);
}


/* Mobile Floating UI Elements */
@media (max-width: 768px) {
  .lang-switcher-wrapper {
    right: auto !important;
    left: 1.5rem;
    bottom: 1.5rem;
    align-items: flex-start;
  }
  .lang-dropdown {
    right: auto !important;
    left: 0;
  }
  .mobile-social-fab {
    display: flex !important;
  }
}

.mobile-social-fab {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 1000;
  flex-direction: column-reverse;
  gap: 0.8rem;
  align-items: center;
}

.mobile-social-fab .fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform 0.2s;
}

.mobile-social-fab .fab-btn:active {
  transform: scale(0.95);
}

.fab-btn.fb { background: #1877F2; }
.fab-btn.line { background: #00B900; }
.fab-btn.tiktok { background: #000000; }

.fab-btn svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 768px) {
  .badge-float-1 {
    top: 30%;
    left: -5%;
  }
  .badge-float-2 {
    top: 10%;
    right: -5%;
  }
  .badge-float-3 {
    bottom: 10%;
    right: -5%;
  }
}

/* Slideshow Styles */
.hero-slideshow {
  display: grid;
  width: 100%;
}
.hero-slide {
  grid-area: 1 / 1;
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /* preserve existing floating animation if desired */
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.15));
}
.hero-slide.active {
  opacity: 1;
}

/* Phone Fab Menu */
.fab-call-menu.show {
  display: flex !important;
}
.fab-call-menu a:hover {
  background: #eee !important;
}

/* FAB Menu */
.fab-menu-items { opacity: 0; pointer-events: none; transform: translateY(20px); transition: all 0.3s ease; display: flex; flex-direction: column-reverse; gap: 0.8rem; }
.mobile-social-fab.open .fab-menu-items { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-social-fab.open .icon-closed { display: none !important; }
.mobile-social-fab.open .icon-opened { display: block !important; }

/* Pulse Animation for FAB */
@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(253, 216, 53, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(253, 216, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 216, 53, 0); }
}
.main-toggle { animation: fab-pulse 2s infinite; }
.mobile-social-fab.open .main-toggle { animation: none; box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important; }
