/* ==========================================================================
   Dublux Properties — Shared styles (base, navbar, footer, quick connect)
   Converted from React/Tailwind to hand-written CSS
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy: #0a2647;
  --navy-deep: #0f172a;
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --yellow-500: #eab308;
  --yellow-600: #ca8a04;
  --amber-300: #fcd34d;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --font-main: "Bai Jamjuree", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
}

body {
  font-family: var(--font-main);
  background: #fff;
  color: #000;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ---------- Reveal on scroll (replaces framer-motion whileInView) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.9s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-inner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar-logo {
  cursor: pointer;
  display: inline-block;
  animation: fadeInLeft 0.5s ease both;
}

.navbar-logo img {
  height: 2.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .navbar-logo img { height: 3rem; }
}

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

/* Desktop nav */
.navbar-menu {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .navbar-menu { display: flex; }
}

.nav-item {
  position: relative;
  height: 90px;
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav-item:hover .nav-link,
.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.nav-caret {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-caret {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-out;
  z-index: 1300;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  min-width: 240px;
  padding: 0.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

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

.nav-dropdown a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  padding: 0.75rem;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding-left: 1.25rem;
}

/* Quick connect pill button */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qc-button-wrap {
  position: relative;
  transition: transform 0.3s ease;
}

.qc-button-wrap:hover { transform: scale(1.05); }
.qc-button-wrap:active { transform: scale(0.95); }

.qc-button-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(to right, #2563eb, #4f46e5);
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.qc-button-wrap:hover .qc-button-glow { opacity: 1; }

.qc-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: #fff;
  color: var(--navy-deep);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.qc-button-wrap:hover .qc-button {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.qc-button svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.qc-button-wrap:hover .qc-button svg {
  transform: rotate(45deg);
}

.qc-button-shine {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  z-index: 0;
}

.qc-button-wrap:hover .qc-button-shine {
  animation: shimmer-slide 1.5s infinite;
}

@keyframes shimmer-slide {
  100% { transform: translateX(100%); }
}

/* Mobile toggle */
.navbar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
}

.navbar-toggle svg { width: 24px; height: 24px; }

@media (min-width: 1024px) {
  .navbar-toggle { display: none; }
}

.navbar-toggle .icon-close { display: none; }
body.mobile-menu-open .navbar-toggle .icon-close { display: block; }
body.mobile-menu-open .navbar-toggle .icon-menu { display: none; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  z-index: 1100;
  background: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-top: 100px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
}

body.mobile-menu-open .mobile-drawer {
  height: 100vh;
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-group { margin-bottom: 1.5rem; }

.mobile-group-title {
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

.mobile-group a {
  display: block;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}

.mobile-group a:hover { color: var(--blue-500); }

.mobile-qc-button {
  display: block;
  width: 100%;
  background: var(--blue-500);
  color: var(--navy-deep);
  padding: 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 2rem;
}

/* ==========================================================================
   QUICK CONNECT MODAL
   ========================================================================== */
.qc-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.qc-modal.open {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 640px) {
  .qc-modal { padding: 1.5rem; }
}

.qc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.qc-card {
  position: relative;
  width: 100%;
  max-width: 32rem;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qc-modal.open .qc-card {
  transform: scale(1) translateY(0);
}

.qc-card-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
}

.qc-card-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
}

.qc-card-header p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.qc-form {
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.qc-field {
  position: relative;
}

.qc-field .field-icon {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
  color: var(--gray-400);
}

.qc-field .field-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.qc-field input,
.qc-field textarea {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--gray-300);
  background: var(--gray-50);
  padding: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-900);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qc-field.has-icon input { padding-left: 2.5rem; }

.qc-field input:focus,
.qc-field textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 1px var(--blue-500);
}

.qc-field textarea { resize: vertical; }

.qc-submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  background: var(--gray-300);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
  transition: transform 0.15s ease;
}

.qc-submit:hover { transform: scale(1.02); }
.qc-submit:active { transform: scale(0.98); }
.qc-submit svg { width: 18px; height: 18px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background: #0a0a0a;
  color: #fff;
  padding: 5rem 2rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

@media (min-width: 768px) {
  .site-footer { padding-left: 4rem; padding-right: 4rem; }
}
@media (min-width: 1024px) {
  .site-footer { padding-left: 6rem; padding-right: 6rem; }
}

/* Animated thread background (elements generated by JS) */
.footer-threads {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.2;
  pointer-events: none;
}

.thread-v {
  position: absolute;
  top: 0;
  height: 100%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: thread-vertical 8s ease-in-out infinite;
}

.thread-h {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: thread-horizontal 12s ease-in-out infinite;
}

.thread-d1,
.thread-d2 {
  position: absolute;
  width: 1px;
  height: 8rem;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.thread-d1 { animation: thread-diagonal1 15s linear infinite; }
.thread-d2 { animation: thread-diagonal2 18s linear infinite; }

.thread-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  animation: thread-dot 20s linear infinite;
}

.thread-pulse {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: pulse-intersection 3s ease-in-out infinite;
}

@keyframes thread-vertical {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
  25% { transform: translateY(10px) translateX(1px); opacity: 0.3; }
  50% { transform: translateY(20px) translateX(0); opacity: 0.2; }
  75% { transform: translateY(10px) translateX(-1px); opacity: 0.3; }
}

@keyframes thread-horizontal {
  0%, 100% { transform: translateX(0) translateY(0); opacity: 0.15; }
  25% { transform: translateX(15px) translateY(1px); opacity: 0.25; }
  50% { transform: translateX(30px) translateY(0); opacity: 0.15; }
  75% { transform: translateX(15px) translateY(-1px); opacity: 0.25; }
}

@keyframes thread-diagonal1 {
  0% { transform: rotate(45deg) translateY(-100px); opacity: 0; }
  10% { opacity: 0.2; }
  90% { opacity: 0.2; }
  100% { transform: rotate(45deg) translateY(calc(100vh + 100px)); opacity: 0; }
}

@keyframes thread-diagonal2 {
  0% { transform: rotate(-45deg) translateY(-100px); opacity: 0; }
  10% { opacity: 0.2; }
  90% { opacity: 0.2; }
  100% { transform: rotate(-45deg) translateY(calc(100vh + 100px)); opacity: 0; }
}

@keyframes thread-dot {
  0% { transform: translateY(-10px); opacity: 0; }
  10%, 90% { opacity: 0.4; }
  100% { transform: translateY(calc(100vh + 10px)); opacity: 0; }
}

@keyframes pulse-intersection {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.8); opacity: 0.6; }
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-col h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.5s ease;
}

.footer-col:hover h3::after { width: 100%; }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  color: var(--gray-300);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.footer-contact-item:hover { color: #fff; }

.footer-contact-item svg {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-contact-item:hover svg { opacity: 1; }

.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
  position: relative;
  display: block;
  color: var(--gray-300);
  font-size: 15px;
  padding-left: 0;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 0.75rem;
}

.footer-links a:hover::before { width: 0.5rem; }

/* Social icons */
.footer-social {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.footer-social a {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.footer-social a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.footer-social a svg {
  position: relative;
  z-index: 1;
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.footer-social a:hover {
  border-color: transparent;
  transform: scale(1.1);
}

.footer-social a:hover::before { background: transparent; }

.footer-social a.social-fb:hover { background: #2563eb; }
.footer-social a.social-ig:hover { background: linear-gradient(to right, #9333ea, #db2777); }
.footer-social a.social-x:hover { background: #000; }
.footer-social a.social-li:hover { background: #1d4ed8; }

/* Thread divider */
.footer-divider {
  position: relative;
  z-index: 10;
  width: 100%;
  margin-bottom: 1.5rem;
  height: 1px;
}

.footer-divider-line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  background-size: 200% 100%;
  animation: thread-move 6s linear infinite;
}

@keyframes thread-move {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.footer-stitch {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
  animation: stitch-pulse 2s ease-in-out infinite;
}

@keyframes stitch-pulse {
  0%, 100% { opacity: 0.4; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateY(-50%) scale(1.2); }
}

/* Bottom bar */
.footer-bottom {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-300);
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  transition: color 0.3s ease;
}

.back-to-top:hover { color: #fff; }

.back-to-top .btt-circle {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), transparent);
}

.back-to-top:hover .btt-circle {
  border-color: #fff;
  background: #fff;
  color: #000;
  transform: scale(1.1);
}

/* ==========================================================================
   SHARED PAGE HERO (Villas / Apartments / Off-Plan / About / Contact)
   ========================================================================== */
.page-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-hero { height: 90vh; }
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.page-hero-overlay.dark { background: rgba(0, 0, 0, 0.5); }

.page-hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.page-hero-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .page-hero-content h1 { font-size: 3.75rem; }
}

.page-hero-breadcrumb {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
}

@media (min-width: 768px) {
  .page-hero-breadcrumb { font-size: 1rem; }
}

.page-hero-breadcrumb a { transition: color 0.2s ease; }
.page-hero-breadcrumb a:hover { color: #fde047; }
.page-hero-breadcrumb .sep { opacity: 0.6; }
.page-hero-breadcrumb .current { opacity: 0.8; }

.page-hero-line {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   DEVELOPERS MARQUEE (brands)
   ========================================================================== */
.developers-section {
  width: 100%;
  background: #000;
  padding: 5rem 0;
  overflow: hidden;
}

.developers-section h2 {
  text-align: center;
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 3rem;
  letter-spacing: 0.025em;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .developers-section h2 { font-size: 3.75rem; }
}

.developers-marquee {
  background: #fff;
  padding: 2rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.developers-track {
  display: flex;
  gap: 6rem;
  padding: 0 3rem;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.developers-marquee:hover .developers-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.developers-track img {
  height: 5rem;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* ---------- Generic helpers ---------- */
.text-center { text-align: center; }
.hidden { display: none !important; }
