/* ============================================================
   F.A.N.T PROPERTY MANAGEMENT – style.css
   ============================================================ */

/* ── Google Font Import ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ── Design Tokens ── */
:root {
  --navy: #1C2A39;
  --navy-dark: #111C27;
  --navy-mid: #223348;
  --gold: #D4AF37;
  --gold-light: #E8C94A;
  --gold-dark: #B8941E;
  --white: #FFFFFF;
  --bg-light: #F7F9FC;
  --bg-card: #EFF3F8;
  --text-main: #1C2A39;
  --text-muted: #4A5868;
  --text-light: rgba(255, 255, 255, 0.92);
  --border: rgba(28, 42, 57, 0.10);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(28, 42, 57, 0.08);
  --shadow-md: 0 8px 32px rgba(28, 42, 57, 0.12);
  --shadow-lg: 0 20px 60px rgba(28, 42, 57, 0.18);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.30);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', sans-serif;
  --font-display: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Utility ── */
.section-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

/* ── Section Labels & Headings ── */
.section-label {
  display: inline-block;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  position: relative;
}

.section-label::before {
  content: '•';
  margin-right: 8px;
  color: var(--gold-light);
  opacity: 0.7;
}

.section-label::after {
  content: '•';
  margin-left: 8px;
  color: var(--gold-light);
  opacity: 0.7;
}

.section-label.light {
  color: rgba(212, 175, 55, 0.9);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-heading em {
  color: var(--gold);
  font-style: normal;
}

.section-heading.white {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
}

.section-desc.dark {
  color: var(--text-muted);
}

.gold-bar {
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent);
  border-radius: 4px;
  margin-bottom: 24px;
  position: relative;
}

.gold-bar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border: 2px solid var(--white);
  border-radius: 50%;
}

.services .gold-bar::after,
.portfolio .gold-bar::after {
  border-color: var(--navy);
}

.gold-bar.center {
  margin: 0 auto 24px;
}

.about-header,
.section-header-center {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 58px;
}

.about-header::before,
.section-header-center::before {
  display: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: var(--white);
  border-bottom: 1px solid rgba(28, 42, 57, 0.06);
  box-shadow: 0 2px 12px rgba(28, 42, 57, 0.04);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(28, 42, 57, 0.08);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 46px;
  width: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(28, 42, 57, 0.08);
  object-fit: cover;
  transition: transform var(--transition);
}

.logo-link:hover .logo-img {
  transform: scale(1.04);
  border-color: var(--gold-dark);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  transition: color var(--transition);
}

.logo-link:hover .logo-text {
  color: var(--gold-dark);
}

.logo-sub {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover {
  color: var(--gold-dark);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--gold-dark);
  font-weight: 600;
}

.nav-link.active::after {
  transform: scaleX(1);
  background: var(--gold-dark);
}

.nav-link.nav-cta {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 700;
}

.nav-link.nav-cta:hover {
  background: var(--navy);
  color: var(--white);
}

.nav-link.nav-cta::after {
  display: none;
}

/* ── Dropdown Menu ── */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 420px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(28, 42, 57, 0.08);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1010;
  text-align: left;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--transition);
  border-left: 3px solid transparent;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--gold-dark);
  border-left-color: var(--gold);
  padding-left: 24px;
}

.drop-chevron {
  font-size: 0.55rem;
  vertical-align: middle;
  margin-left: 2px;
  color: var(--text-muted);
  transition: transform 0.3s;
  display: inline-block;
}

.nav-item-dropdown:hover .drop-chevron {
  transform: rotate(180deg);
  color: var(--gold-dark);
}

@media (max-width: 768px) {
  .nav-item-dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
    border: none;
    border-radius: var(--radius-md);
    padding: 6px 0;
    width: 100%;
    max-width: 320px;
    margin: 8px auto 0;
  }

  .dropdown-menu.active {
    display: block;
  }

  .dropdown-item {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    padding: 9px 20px 9px 32px;
    white-space: normal;
    word-break: break-word;
    text-align: left;
    border-left: 2px solid transparent;
    display: block;
  }

  .dropdown-item:hover {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    border-left-color: var(--gold);
    padding-left: 32px;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  margin: 0;
  outline: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links.open+.hamburger span {
  background: var(--white);
}

/* ── Language Toggle ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(28, 42, 57, 0.06);
  border: 1px solid rgba(28, 42, 57, 0.12);
  border-radius: 50px;
  padding: 4px 10px;
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 3px 6px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.lang-btn.active {
  background: var(--gold);
  color: var(--navy-dark);
}

.lang-btn:not(.active):hover {
  color: var(--navy);
}

.lang-sep {
  color: rgba(28, 42, 57, 0.25);
  font-size: 0.75rem;
  font-weight: 300;
  user-select: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('images/hero_bg.jpg') center center / cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(170deg,
      rgba(10, 18, 30, 0.72) 0%,
      rgba(17, 28, 45, 0.55) 40%,
      rgba(10, 18, 30, 0.80) 100%);
}

/* Subtle gold vignette at bottom to frame city lights */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 60% at 50% 110%, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 24px 80px;
  max-width: 860px;
  margin: 0 auto;
  animation: fadeUp 1s ease forwards;
}

.hero-badge {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  text-shadow: none;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 7.5vw, 6.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: 0.025em;
  margin-bottom: 12px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title-sub {
  font-size: clamp(0.95rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.22em;
  font-family: var(--font-body);
  text-transform: uppercase;
  margin-top: 10px;
  display: block;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--white);
  font-weight: 400;
  font-style: italic;
  margin: 24px 0 28px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent);
  margin: 30px auto;
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.5);
}

.hero-desc {
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Redesign buttons inside hero to be minimal outlines and elegant solids */
.hero-actions .btn {
  border-radius: 50px;
  padding: 15px 36px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-actions .btn-gold {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-actions .btn-gold:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.hero-actions .btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(212, 175, 55, 0.6);
  border-bottom: 2px solid rgba(212, 175, 55, 0.6);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--navy);
  padding: 0;
}

.stats-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

/* Inline number + plus sign on same row */
.stat-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-plus {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 8px;
  text-align: center;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* ── About stat cards (no-photo variant) ── */
.about-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.about-lead-center {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.about-lead-center strong {
  color: var(--navy);
  font-weight: 700;
}

.about-stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.about-stat-card {
  background: var(--white);
  border: 1px solid rgba(28, 42, 57, 0.08);
  border-radius: 18px;
  padding: 32px 20px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(28, 42, 57, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.about-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(28, 42, 57, 0.12);
  border-color: rgba(212, 175, 55, 0.3);
}

.about-stat-card:hover::before {
  transform: scaleX(1);
}

.asc-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.asc-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-dark);
}

.asc-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.asc-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

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

@media (max-width: 480px) {
  .about-stat-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .asc-num {
    font-size: 1.9rem;
  }
}

.about-image-wrapper {
  position: relative;
}

/* decorative block behind the image */
.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: -24px;
  bottom: -24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  opacity: 0.18;
  z-index: 0;
}

.about-img-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(28, 42, 57, 0.18);
}

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.6s ease;
}

.about-img-frame:hover .about-img {
  transform: scale(1.03);
}

/* gold accent bar on left edge */
.about-img-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%);
  z-index: 2;
}

.about-img-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px rgba(28, 42, 57, 0.3);
  z-index: 3;
  border: 2px solid rgba(212, 175, 55, 0.35);
}

.badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.badge-txt {
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.about-text-col {
  padding-bottom: 32px;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 16px;
  font-weight: 500;
}

.about-body {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-checklist {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.check-icon {
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── About Header ── */
.about-header .gold-bar {
  margin: 0 auto 24px;
}

/* ── About Blocks (3-col below the grid) ── */
.about-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 64px;
}

.about-block {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
}

.about-block:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.about-block-highlight {
  background: linear-gradient(135deg, #FAF6E8 0%, #F2E7C7 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 48px;
  gap: 48px;
  box-shadow: var(--shadow-sm);
}

.about-block-highlight:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-block-highlight .highlight-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.about-block-highlight .highlight-right {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.about-block-highlight .about-block-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
  line-height: 1.35;
}

.about-block-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 42, 57, 0.05);
  border: 1px solid rgba(28, 42, 57, 0.08);
  color: var(--navy);
  margin-bottom: 24px;
  transition: var(--transition);
}

.about-block-icon svg {
  width: 32px;
  height: 32px;
}

.about-block-icon .accent-fill {
  fill: var(--gold);
  opacity: 0.45;
}

.about-block-icon .accent-stroke {
  stroke: var(--gold);
}

/* For the highlighted card */
.about-block-highlight .about-block-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.about-block-highlight .about-block-icon .accent-fill {
  fill: var(--white);
  opacity: 0.35;
}

.about-block-highlight .about-block-icon .accent-stroke {
  stroke: var(--white);
}

.about-block:hover .about-block-icon {
  transform: scale(1.08);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.3);
}

.about-block-highlight:hover .about-block-icon {
  transform: scale(1.08);
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.about-block-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-block-title-en {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.about-block .about-checklist {
  margin-bottom: 0;
}

.about-block .about-checklist li {
  align-items: flex-start;
}

.about-block .about-checklist li em {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  display: block;
  margin-top: 2px;
}

/* ── About Quote ── */
.about-quote {
  background: rgba(212, 175, 55, 0.10);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-main {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.5;
  font-style: italic;
  display: block;
  text-align: center;
}

.about-block-highlight .about-quote {
  background: transparent;
  border: none;
  border-left: 3px solid var(--navy);
  border-radius: 0;
  padding: 8px 0 8px 24px;
  margin: 0;
  width: 100%;
  box-shadow: none;
}

.about-block-highlight .quote-main {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  font-style: italic;
  display: block;
  text-align: left;
  letter-spacing: 0.01em;
}

.about-block-highlight .btn {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(28, 42, 57, 0.15);
}

.about-block-highlight .btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.quote-th {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.5;
}

.quote-en {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(28, 42, 57, 0.04) 0%, transparent 50%),
    linear-gradient(175deg, #FAFBFC 0%, #F2F5F9 50%, #EBF0F6 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.services::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Override text colors for light services bg */
.services .section-label.light {
  color: var(--gold-dark) !important;
}

.services .section-heading.white {
  color: var(--navy) !important;
}

.services .section-desc {
  color: var(--text-muted) !important;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  cursor: default;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(28, 42, 57, 0.08);
  border: 1px solid rgba(28, 42, 57, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(28, 42, 57, 0.16), 0 0 0 1px rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.3);
}

/* ── Service Photo Strip ─────────────────────────────────────── */
.svc-photo-strip {
  position: relative;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}

.svc-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.service-card:hover .svc-photo-strip img {
  transform: scale(1.08);
}

.svc-photo-strip .photo-wrap {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

.svc-photo-strip .photo-wrap::after {
  content: 'ดูทั้งหมด →';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 20, 35, 0.55);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover .svc-photo-strip .photo-wrap::after {
  opacity: 1;
}

/* gold accent bar at top of photo */
.svc-photo-strip::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 2;
}

/* ── Card body ───────────────────────────────────────────────── */
.service-card-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  background: rgba(212, 175, 55, 0.20);
  transform: scale(1.08);
}

.service-icon {
  width: 30px;
  height: 30px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
  padding-top: 4px;
}

.service-number {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  opacity: 0.7;
  display: block;
  margin-bottom: 2px;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
}

.service-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 100px;
  align-self: flex-start;
  transition: background 0.25s ease, border-color 0.25s ease, gap 0.25s ease, color 0.25s ease;
  text-decoration: none;
}

.service-card:hover .service-link {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
  gap: 10px;
}

.service-link span {
  transition: transform 0.25s ease;
}

.service-card:hover .service-link span {
  transform: translateX(3px);
}

/* ============================================================
   TECHNOLOGY SECTION
   ============================================================ */
.technology {
  padding: 100px 0;
  background: var(--bg-light);
}

.tech-logos-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tech-logo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tech-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.3);
}

.tech-logo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.tech-logo-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.tech-logo-icon svg {
  width: 52px;
  height: 36px;
}

.tech-logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tech-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.tech-cat {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   PORTFOLIO / CAROUSEL
   ============================================================ */
.portfolio {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 50%, rgba(212, 175, 55, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    linear-gradient(150deg, #1a2332 0%, #13202e 35%, #0f1a26 65%, #162030 100%);
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      transparent,
      transparent 40px,
      rgba(212, 175, 55, 0.015) 40px,
      rgba(212, 175, 55, 0.015) 41px);
  pointer-events: none;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-track-outer {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 36px 32px;
  background: linear-gradient(to top, rgba(17, 28, 39, 0.92) 0%, transparent 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.caption-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.carousel-caption h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.carousel-caption p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid rgba(212, 175, 55, 0.6);
  color: var(--gold);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 2;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: scale(1.15);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.5);
  border-color: var(--gold);
}

.carousel-btn:active {
  transform: scale(0.97);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: var(--transition);
  border: none;
}

.dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* ============================================================
   CONTACT / CTA SECTION
   ============================================================ */
.contact-cta {
  padding: 100px 0;
  background: var(--bg-light);
}

.cta-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.cta-text {
  background: var(--navy);
  padding: 64px 52px;
}

.cta-text .section-label {
  color: var(--gold);
}

.cta-text .section-heading {
  color: var(--white);
}

.cta-text .gold-bar {
  margin-bottom: 20px;
}

.cta-body {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  display: inline-block;
}

.contact-value:hover {
  color: var(--gold-light);
}

/* ── Contact Form ── */
.cta-form-side {
  padding: 64px 52px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background: var(--white);
}

.form-note {
  margin-top: 12px;
  font-size: 0.88rem;
  color: #2ecc71;
  font-weight: 500;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  padding: 72px 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 4px;
}

.footer-brand .logo-text {
  color: var(--gold);
}

.footer-brand .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
  font-style: italic;
}

.footer-est {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
}

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

.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.87rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.footer-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.32);
}

.footer-bottom-right {
  color: rgba(212, 175, 55, 0.5);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
  50%       { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.15); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.5) translateY(20px); }
  70%  { transform: scale(1.08) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Hero stagger animations ─────────────────────────────────── */
.hero-badge    { animation: fadeUp 0.7s 0.1s ease both; }
.hero-title    { animation: fadeUp 0.8s 0.25s ease both; }
.hero-divider  { animation: fadeUp 0.6s 0.45s ease both; }
.hero-desc     { animation: fadeUp 0.7s 0.55s ease both; }
.hero-actions  { animation: fadeUp 0.7s 0.7s ease both; }

/* animated gradient on hero gold bar */
.hero-divider {
  background-size: 200% 200%;
  animation: fadeUp 0.6s 0.45s ease both, gradientShift 3s ease infinite 1.5s;
}

/* ── Floating decorative orbs in hero ───────────────────────── */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatY 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* ── Reveal base ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* reveal from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* reveal from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* reveal scale */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ── Gold bar grow animation ─────────────────────────────────── */
.gold-bar {
  transform-origin: left center;
}
.gold-bar.visible-line {
  animation: lineGrow 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ── Stat badge pop ──────────────────────────────────────────── */
.about-img-badge {
  animation: none;
}
.about-img-badge.pop {
  animation: popIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ── Button magnetic hover ───────────────────────────────────── */
.btn {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.2s ease,
              background 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease;
}

/* ── Service card tilt shadow ────────────────────────────────── */
.service-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  will-change: transform;
}

/* ── Section label underline slide ──────────────────────────── */
.section-label {
  position: relative;
  display: inline-block;
}
.section-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-label.visible-line::after {
  width: 100%;
}

/* ── Stat number pop ─────────────────────────────────────────── */
.stat-item {
  transition: transform 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
}
.stat-number {
  display: inline-block;
  transition: transform 0.2s ease;
}

/* ── Tech logo float on hover ────────────────────────────────── */
.tech-logo-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.tech-logo-card:hover {
  transform: translateY(-8px) scale(1.04);
}

/* ── CTA card pulse ring ─────────────────────────────────────── */
.cta-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: transparent;
  border: 2px solid transparent;
  transition: border-color 0.4s ease;
  pointer-events: none;
}
.cta-card:hover::after {
  border-color: rgba(212, 175, 55, 0.3);
  animation: goldPulse 1.5s ease infinite;
}

/* Stagger delays for grid items */
.services-grid .service-card:nth-child(1) {
  transition-delay: 0.05s;
}

.services-grid .service-card:nth-child(2) {
  transition-delay: 0.12s;
}

.services-grid .service-card:nth-child(3) {
  transition-delay: 0.19s;
}

.services-grid .service-card:nth-child(4) {
  transition-delay: 0.26s;
}

.services-grid .service-card:nth-child(5) {
  transition-delay: 0.33s;
}

.services-grid .service-card:nth-child(6) {
  transition-delay: 0.40s;
}

.services-grid .service-card:nth-child(7) {
  transition-delay: 0.47s;
}

/* Gold bar animated shimmer on hover */
.gold-bar {
  position: relative;
  overflow: hidden;
}

.gold-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
}

/* Stat items animate in sequence */
.stats-container .stat-item:nth-child(1) {
  transition-delay: 0.0s;
}

.stats-container .stat-item:nth-child(3) {
  transition-delay: 0.1s;
}

.stats-container .stat-item:nth-child(5) {
  transition-delay: 0.2s;
}

.stats-container .stat-item:nth-child(7) {
  transition-delay: 0.3s;
}

/* Service icon subtle pulse on card hover */
.service-card:hover .service-icon-wrap {
  animation: goldPulse 1.5s ease infinite;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img {
    height: 340px;
  }

  .about-image-wrapper::before {
    display: none;
  }

  .about-img-badge {
    bottom: 16px;
    right: 16px;
  }

  .about-blocks {
    grid-template-columns: 1fr 1fr;
  }

  .about-block-highlight {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 36px 24px;
    gap: 24px;
  }

  .about-block-highlight .highlight-left {
    align-items: center;
    text-align: center;
  }

  .about-block-highlight .highlight-right {
    align-items: center;
    width: 100%;
  }

  .about-block-highlight .about-quote {
    border-left: none;
    padding: 0;
  }

  .about-block-highlight .quote-main {
    text-align: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-logos-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {

  .navbar .btn-gold {
    display: none !important;
  }

  .navbar.open,
  .navbar:has(.nav-links.open) {
    background: var(--white) !important;
    box-shadow: 0 4px 20px rgba(28, 42, 57, 0.08) !important;
  }

  .navbar.scrolled {
    backdrop-filter: none !important;
    background: var(--white) !important;
  }

  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f8fafc;
    box-shadow: 0 15px 40px rgba(28, 42, 57, 0.12);
    border-top: 1px solid rgba(28, 42, 57, 0.06);
    flex-direction: column;
    padding: 12px 24px 28px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    gap: 0;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(28, 42, 57, 0.08);
  }

  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .nav-link::after {
    display: none !important;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--gold-dark);
  }

  .nav-link.nav-cta {
    background: var(--gold);
    color: var(--navy-dark);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    justify-content: center;
    margin-top: 12px;
    border-bottom: none;
  }

  .nav-link.nav-cta:hover {
    background: var(--gold-light);
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
    background: #ffffff;
    box-shadow: none;
    border: none;
    padding: 6px 0;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 0 14px;
    border-radius: var(--radius-md);
  }

  .nav-item-dropdown:hover .dropdown-menu {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .dropdown-menu.active {
    display: block;
  }

  .dropdown-item {
    color: var(--text-muted) !important;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 12px 20px;
    white-space: normal;
    text-align: left;
    border-left: 3px solid transparent;
    display: block;
  }

  .dropdown-item:hover,
  .dropdown-item.active {
    color: var(--gold-dark) !important;
    background: var(--bg-light) !important;
    border-left-color: var(--gold) !important;
    padding-left: 24px;
  }

  .drop-chevron {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
  }

  .nav-container {
    padding: 0 16px;
  }

  .logo-img {
    height: 38px;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .logo-sub {
    font-size: 0.45rem;
    letter-spacing: 0.12em;
  }

  .logo-link {
    gap: 8px;
  }

  .nav-right {
    gap: 8px;
    flex-shrink: 0;
  }

  .lang-toggle {
    padding: 3px 8px;
    flex-shrink: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
    flex-shrink: 0;
  }

  .logo-sub {
    display: none;
  }

  .nav-logo {
    min-width: 0;
    overflow: hidden;
  }

  .about-blocks {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .tech-logos-row {
    grid-template-columns: 1fr;
  }

  .stats-container {
    flex-wrap: wrap;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    width: 50%;
  }

  .cta-text {
    padding: 48px 28px;
  }

  .cta-form-side {
    padding: 48px 28px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .hero-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}