/* ============================================================
   1. CSS VARIABLES & 3 THEMES (3 BẢN PHỐI MÀU)
   ============================================================ */
:root {
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* THEME 1: NÂU CAM ĐẤT (MẪU 1) */
[data-theme="terracotta"] {
  --primary: #963b21;
  --primary-hover: #7b2f18;
  --accent-text: #b64c2d;
  --bg-main: #f9f7f4;
  --bg-card: #ffffff;
  --header-bg: rgba(249, 247, 244, 0.94);
  --header-text: #2d2420;
  --hero-bg: #ece6df;
  --hero-text: #2d2420;
  --hero-p: #665b55;
  --dark-section-bg: #e8e2da;
  --dark-section-text: #2d2420;
  --split-bg: #ece7e1;
  --split-text: #2d2420;
  --footer-bg: #ece7e1;
  --footer-text: #4a3e39;
  --text-dark: #221c19;
  --text-muted: #746b65;
  --border-color: #ddd4cb;
  --card-submit-btn: #963b21;
  --card-submit-hover: #7b2f18;
  --plane-bg: #f5ebe6;
  --plane-color: #963b21;
  --active-theme-dot: #963b21;
}

/* THEME 2: XANH NAVY HIỆN ĐẠI (MẪU 2) */
[data-theme="navy"] {
  --primary: #1976d2;
  --primary-hover: #1565c0;
  --accent-text: #2196f3;
  --bg-main: #ffffff;
  --bg-card: #ffffff;
  --header-bg: rgba(3, 20, 46, 0.94);
  --header-text: #ffffff;
  --hero-bg: #03142e;
  --hero-text: #ffffff;
  --hero-p: #abbfd8;
  --dark-section-bg: #051c3d;
  --dark-section-text: #ffffff;
  --split-bg: #03142e;
  --split-text: #ffffff;
  --footer-bg: #020f24;
  --footer-text: #d0dded;
  --text-dark: #0d1b2a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --card-submit-btn: #1976d2;
  --card-submit-hover: #0d47a1;
  --plane-bg: #e3f2fd;
  --plane-color: #1976d2;
  --active-theme-dot: #03142e;
}

/* THEME 3: HALUCO GOLD & ROYAL NAVY (MẪU 3 - CHUẨN THEO LOGO) */
[data-theme="haluco"] {
  --primary: #d49b28;
  --primary-hover: #b88219;
  --accent-text: #d49b28;
  --bg-main: #ffffff;
  --bg-card: #ffffff;
  --header-bg: rgba(12, 32, 66, 0.95);
  --header-text: #ffffff;
  --hero-bg: #0c2042;
  --hero-text: #ffffff;
  --hero-p: #c8d7ed;
  --dark-section-bg: #08172e;
  --dark-section-text: #ffffff;
  --split-bg: #0c2042;
  --split-text: #ffffff;
  --footer-bg: #061124;
  --footer-text: #e2eaf5;
  --text-dark: #0c2042;
  --text-muted: #61738d;
  --border-color: #e1e7f0;
  --card-submit-btn: #d49b28;
  --card-submit-hover: #b88219;
  --plane-bg: #fdf6e7;
  --plane-color: #d49b28;
  --active-theme-dot: linear-gradient(135deg, #0c2042 50%, #d49b28 50%);
}

/* ============================================================
   2. GLOBAL BASE STYLES & CUỘN MƯỢT
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.scroll-target,
section[id] {
  scroll-margin-top: 85px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  width: 90%;
  max-width: 1220px;
  margin: 0 auto;
}

.section-padding {
  padding: 85px 0;
}

.text-center {
  text-align: center;
}

/* ============================================================
   3. NÚT CHỌN MÀU THU GỌN - 3 BẢN PHỐI MÀU
   ============================================================ */
.theme-switcher-wrapper {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.theme-active-trigger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.current-color-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--active-theme-dot);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background 0.4s ease, transform 0.3s ease;
}

.trigger-icon {
  position: absolute;
  color: #ffffff;
  font-size: 0.72rem;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.theme-active-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.theme-dropdown-menu {
  position: absolute;
  top: 52px;
  right: 0;
  width: 235px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  pointer-events: none;
}

.theme-switcher-wrapper::after {
  content: '';
  position: absolute;
  top: 40px;
  right: 0;
  width: 70px;
  height: 18px;
}

.theme-switcher-wrapper:hover .theme-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.theme-switcher-wrapper.is-closed .theme-dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-8px) scale(0.96) !important;
  pointer-events: none !important;
}

.dropdown-header {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #888;
  margin-bottom: 8px;
  padding-left: 4px;
}

.theme-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  color: #2b2b2b;
  transition: var(--transition);
  margin-bottom: 4px;
}

.theme-option-btn .option-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.dot-terracotta { background-color: #963b21; }
.dot-navy { background-color: #03142e; }
.dot-haluco { background: linear-gradient(135deg, #0c2042 50%, #d49b28 50%); }

.theme-option-btn .option-text {
  flex: 1;
  text-align: left;
}

.theme-option-btn .check-icon {
  font-size: 0.75rem;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.2s;
}

.theme-option-btn:hover {
  background-color: #f3f4f6;
  color: #000;
}

.theme-option-btn.active {
  background-color: #f0f7ff;
  border-color: rgba(25, 118, 210, 0.2);
  color: #1976d2;
}

[data-theme="terracotta"] .theme-option-btn.active {
  background-color: #fbf2ef;
  border-color: rgba(150, 59, 33, 0.2);
  color: #963b21;
}

[data-theme="haluco"] .theme-option-btn.active {
  background-color: #fcf9ee;
  border-color: rgba(212, 155, 40, 0.3);
  color: #b88219;
}

.theme-option-btn.active .check-icon {
  opacity: 1;
}

/* ============================================================
   4. FLOATING SOCIAL CAPSULE
   ============================================================ */
.floating-social-capsule {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  background-color: rgba(10, 22, 43, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 10px;
  border-radius: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.floating-social-capsule a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  border-radius: 50%;
  transition: var(--transition);
}

.floating-social-capsule a:hover {
  color: #ffffff;
  background-color: var(--primary);
  transform: scale(1.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   5. STICKY HEADER NAVIGATION
   ============================================================ */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9990;
  background-color: var(--header-bg);
  color: var(--header-text);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(128, 128, 128, 0.12);
  transition: all 0.3s ease;
}

.main-header.is-sticky {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: inherit;
}

.logo >img{
	max-height: 60px;
    border-radius: 5px;
}
.logo i {
  color: var(--primary);
  font-size: 1.65rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.85;
  color: inherit;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-text);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--accent-text);
}
.nav-links a.active::after {
  width: 100%;
}

.header-right-action {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hotline-box {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.hotline-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.95rem;
  animation: pulse-ring 2s infinite ease-in-out;
}
@keyframes pulse-ring {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.08); }
  100% { transform: scale(0.96); }
}
.hotline-info {
  display: flex;
  flex-direction: column;
}
.hotline-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.7;
}
.hotline-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-text);
  line-height: 1.1;
}

.btn-consult {
  background-color: var(--primary);
  color: #ffffff;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}
.btn-consult:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: inherit;
  cursor: pointer;
}

/* ============================================================
   6. IMAGE HOVER ZOOM TIÊU CHUẨN
   ============================================================ */
.image-hover-zoom {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.image-hover-zoom img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.5s ease;
}
.image-hover-zoom:hover img {
  transform: scale(1.06);
  filter: brightness(1.03);
}

/* ============================================================
   7. HERO & RICH HOME SECTIONS
   ============================================================ */
.hero-section {
  background-color: var(--hero-bg);
  color: var(--hero-text);
  padding: 60px 0 80px;
  transition: var(--transition);
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-text .sub-badge {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  opacity: 0.7;
}
.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin: 15px 0 20px;
  font-weight: 400;
}
.hero-text h1 strong {
  font-weight: 800;
  color: var(--accent-text);
}
.hero-text p {
  color: var(--hero-p);
  font-size: 1.05rem;
  max-width: 450px;
  margin-bottom: 30px;
}
.hero-image {
  height: 480px;
  border-radius: var(--radius-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background-color: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: var(--primary);
  color: #fff;
}
.btn-secondary:hover {
  background-color: var(--primary-hover);
}

.rich-home-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.rich-home-text .section-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.rich-home-text h2 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin: 10px 0 20px;
}
.rich-home-text h2 span {
  color: var(--accent-text);
    font-size: 2.6rem;
}
.rich-home-text p {
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 440px;
}

.rich-home-gallery {
  position: relative;
  height: 450px;
}
.stacked-card {
  position: absolute;
  border: 7px solid #fff;
  border-radius: var(--radius-md);
}
.card-front {
  width: 65%;
  height: 360px;
  left: 0;
  top: 30px;
  z-index: 2;
}
.card-back {
  width: 55%;
  height: 430px;
  right: 20px;
  top: 0;
  z-index: 1;
}

/* ============================================================
   8. FEATURES & SPLIT BANNER
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
  gap: 15px;
  align-items: stretch;
}
.feature-left-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 70px 0;
}
.feature-left-images .feat-img {
  flex: 1;
  height: 195px;
}

.feature-info-card {
  background-color: var(--dark-section-bg);
  color: var(--dark-section-text);
  padding: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-info-card h3 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 25px;
}
.feature-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.feature-item .feat-icon {
  font-size: 1.5rem;
  color: var(--accent-text);
  margin-top: 3px;
}
.feature-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.5;
}

.feature-video-card {
  display: flex;
  flex-direction: column;
  padding: 70px 0;
}
.video-thumbnail {
  position: relative;
  height: 240px;
  border-radius: var(--radius-sm);
}
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}
.video-meta {
  margin-top: 15px;
}
.video-meta .sub-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}
.video-meta h4 {
  font-size: 1.25rem;
  margin: 6px 0;
  color: var(--accent-text);
}
.video-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   BANNER SPLIT (MINI SLIDER 5+ ẢNH & POPUP)
   ============================================================ */
.banner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 50px 0;
  background-color: var(--split-bg);
  color: var(--split-text);
  transition: var(--transition);
}
.banner-split-left {
  min-height: 440px;
}
.banner-split-right {
  display: flex;
  align-items: center;
  padding: 60px;
}
.banner-content h2 {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 20px;
}
.banner-content h2 span {
  color: var(--accent-text);
}
.banner-content p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 25px;
  max-width: 470px;
}

/* Mini Slider Wrapper */
.mini-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  position: relative;
}
.mini-thumbnails-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px;
}
.mini-thumbnails-track::-webkit-scrollbar {
  display: none;
}

.mini-thumb {
  flex: 0 0 85px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.mini-thumb img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}
.mini-thumb:hover {
  border-color: var(--accent-text);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.mini-thumb:hover img {
  transform: scale(1.1);
}

.mini-slide-arrow {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.mini-slide-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============================================================
   9. PROJECTS SECTION (HOVER KÍNH LÚP & TÊN DỰ ÁN)
   ============================================================ */
.section-title h2 {
  font-size: 2.4rem;
}
.section-title h2 span {
  color: var(--accent-text);
}
.section-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 5px;
}
.projects-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 45px;
}
.proj-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  position: relative;
  height: 230px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  transition: var(--transition);
}
.project-card.tall {
  height: 340px;
}
.project-card img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 32, 66, 0.1) 0%, rgba(12, 32, 66, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #ffffff;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s ease;
  pointer-events: none;
}
.zoom-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #ffffff;
}
.proj-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.proj-address {
  font-size: 0.82rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e2eaf5;
}
.proj-address i {
  color: var(--primary);
}

.project-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}
.project-card:hover img {
  transform: scale(1.08);
}
.project-card:hover .proj-overlay {
  opacity: 1;
  transform: translateY(0);
}

.view-more-wrap {
  margin-top: 40px;
}
.view-more-link {
  font-weight: 700;
  text-decoration: underline;
  color: var(--text-dark);
  cursor: pointer;
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.view-more-link:hover {
  color: var(--primary);
  background: rgba(0, 0, 0, 0.04);
}

/* ============================================================
   10. CONTACT CARD SECTION
   ============================================================ */
.contact-card-section {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(8, 16, 30, 0.93) 0%, rgba(13, 27, 49, 0.88) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-card-container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.contact-white-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 42px 48px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition);
}
.plane-icon-circle {
  width: 52px;
  height: 52px;
  background-color: var(--plane-bg);
  color: var(--plane-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.contact-card-title {
  color: #111827;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.contact-card-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 30px;
}
.contact-card-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.input-with-icon {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.input-with-icon .input-icon {
  position: absolute;
  left: 16px;
  color: #9ca3af;
  font-size: 1rem;
  pointer-events: none;
}
.input-with-icon input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  outline: none;
  background-color: #ffffff;
  color: #1f2937;
  transition: var(--transition);
}
.input-with-icon input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}
.btn-card-submit {
  background-color: var(--card-submit-btn);
  color: #ffffff;
  padding: 13px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.btn-card-submit:hover {
  background-color: var(--card-submit-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.card-security-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9ca3af;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ============================================================
   11. PARTNERS & FOOTER
   ============================================================ */
.partners {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
}
.partner-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 0.65;
  font-weight: 700;
  font-size: 1.1rem;
}
.partner-logos .toto {
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.main-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 70px 0 30px;
  transition: var(--transition);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  font-size: 0.9rem;
  opacity: 0.8;
}
.footer-col ul a:hover {
  opacity: 1;
  color: var(--primary);
}
.footer-col.brand-col .phone {
  margin: 12px 0 6px;
  font-weight: 700;
}
.footer-col.brand-col .address {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 16px;
}
.footer-social-icons {
  display: flex;
  gap: 12px;
}
.footer-social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: inherit;
}
.footer-social-icons a:hover {
  background-color: var(--primary);
  color: #fff;
}
.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(128, 128, 128, 0.15);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ============================================================
   12. POPUP 1: SIMPLE LIGHTBOX (CHO MINI SLIDER)
   ============================================================ */
.simple-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.simple-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}
.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}
.lightbox-btn {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-btn:hover {
  background: var(--primary);
  color: #fff;
}
.lightbox-close {
  top: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* ============================================================
   13. POPUP 2: MODAL DỰ ÁN (SLIDER 5 ẢNH + TÊN + ĐỊA CHỈ)
   ============================================================ */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.project-modal.active {
  opacity: 1;
  visibility: visible;
}
.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 14, 30, 0.88);
  backdrop-filter: blur(8px);
}
.project-modal-container {
  position: relative;
  z-index: 2;
  background: #ffffff;
  width: 100%;
  max-width: 820px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.project-modal.active .project-modal-container {
  transform: scale(1);
}

.project-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.project-modal-close:hover {
  background: #e53e3e;
}

.project-slider-stage {
  position: relative;
  width: 100%;
  height: 480px;
  background: #000;
  overflow: hidden;
}
.project-slider-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.proj-nav-btn:hover {
  background: var(--primary);
  color: #fff;
}
.proj-prev-btn { left: 18px; }
.proj-next-btn { right: 18px; }

.proj-image-counter {
  position: absolute;
  bottom: 15px;
  right: 20px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.project-modal-footer {
  padding: 24px 30px;
  background: #ffffff;
}
.project-modal-footer h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0c2042;
  margin-bottom: 6px;
}
.project-modal-footer p {
  color: #64748b;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.project-modal-footer p i {
  color: var(--primary);
}

/* ============================================================
   14. RESPONSIVE DESIGN TOÀN DIỆN (TABLET & MOBILE)
   ============================================================ */

/* TABLET & LAPTOP NHỎ (Dưới 1024px) */
@media (max-width: 1024px) {
  .floating-social-capsule {
    display: none !important;
  }

  .hero-content,
  .rich-home-grid,
  .banner-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .banner-split-left {
    min-height: 320px;
  }

  .banner-split-right {
    padding: 40px 24px;
        width: 100vw;
  }
.banner-content {
    width: 100%;
}
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .feature-left-images {
    flex-direction: row;
    height: auto;
    padding: 0;
  }

  .feature-left-images .feat-img {
    height: 180px;
  }

  .feature-video-card {
    padding: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .project-slider-stage {
    height: 360px;
  }
}

/* SMARTPHONE & MÀN HÌNH NHỎ (Dưới 768px) */
@media (max-width: 768px) {
  .container {
    width: 92%;
    padding: 0 4px;
  }

  .section-padding {
    padding: 55px 0;
  }

  /* --- HEADER & NAVIGATION --- */
  .nav-wrapper {
    padding: 12px 0;
  }

  .logo {
    font-size: 1.25rem;
  }

  .btn-consult {
    display: none !important;
  }

  .hotline-info {
    display: none !important;
  }

  .hotline-icon-wrap {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .mobile-toggle {
    display: block;
    font-size: 1.35rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .nav-links.nav-open {
    display: flex;
  }

  /* --- HERO SECTION --- */
  .hero-section {
    padding: 30px 0 50px;
  }

  .hero-text h1 {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero-text p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-image {
    height: 280px;
  }

  /* --- RICH HOME --- */
  .rich-home-text h2 {
    font-size: 2rem;
  }

  .rich-home-gallery {
    height: 320px;
    margin-top: 10px;
  }

  .card-front {
    width: 75%;
    height: 250px;
    top: 20px;
    border-width: 4px;
  }

  .card-back {
    width: 65%;
    height: 280px;
    right: 0;
    top: 0;
    border-width: 4px;
  }

  /* --- TÍNH NĂNG / TẠI SAO CHỌN --- */
  .feature-info-card {
    padding: 28px 20px;
  }

  .feature-info-card h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  .feature-left-images {
    flex-direction: column;
    gap: 12px;
  }

  .feature-left-images .feat-img {
    height: 160px;
  }

  /* --- BANNER MINI SLIDER --- */
  .mini-slider-wrapper {
    max-width: 100%;
  }

  .mini-thumb {
    flex: 0 0 72px;
    height: 52px;
  }

  /* --- DỰ ÁN TIÊU BIỂU --- */
  .section-title h2 {
    font-size: 2rem;
  }

  .projects-masonry {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-card,
  .project-card.tall {
    height: 240px !important;
  }

  .proj-overlay {
    opacity: 1;
    transform: translateY(0);
    padding: 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(12, 32, 66, 0.85) 100%);
  }

  /* --- KHỐI LIÊN HỆ --- */
  .contact-card-section {
    padding: 60px 15px;
  }

  .contact-white-card {
    padding: 30px 18px;
    border-radius: var(--radius-md);
  }

  .contact-card-title {
    font-size: 1.5rem;
  }

  .contact-card-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .contact-card-form {
    flex-direction: column;
    gap: 12px;
  }

  .input-with-icon,
  .btn-card-submit {
    width: 100%;
  }

  /* --- POPUP / MODAL --- */
  .project-modal {
    padding: 10px;
  }

  .project-slider-stage {
    height: 240px;
  }

  .project-modal-footer {
    padding: 16px;
  }

  .project-modal-footer h3 {
    font-size: 1.2rem;
  }

  .project-modal-footer p {
    font-size: 0.85rem;
  }

  .lightbox-nav {
    display: none;
  }

  /* --- THEME SWITCHER & FOOTER --- */
  .theme-switcher-wrapper {
    top: 70px;
    right: 15px;
  }

  .theme-dropdown-menu {
    width: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .main-footer {
    padding: 50px 0 25px;
  }
}