/* ================= GENERAL FIX ================= */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
}

/* ================= GENERAL CONTAINER ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
}

/* ================= FINAL MERGED HEADER / MENU CSS ================= */
/* Preserves your design: header dark (#151947), desktop dropdowns white, mobile sidebar white.
   Adds: nested submenu support + mobile in-flow submenus (prevent overlay). */

/* ================= HEADER ================= */
header {
  width: 100%;
  background: #151947; /* Dark blue */
  padding: 10px 20px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);

  position: fixed;
  top: 10px;
  left: 0;
  right: 0;

  z-index: 2000;
  border-radius: 50px; /* Pill shape */
  margin: 0 auto;
  max-width: 90%;
  display: flex;
  align-items: center;
}

/* optional inner container if used */
header .container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ================= LOGO ================= */
.logo img {
  height: 60px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ================= NAVIGATION (Desktop) ================= */
nav {
  flex: 1;
  text-align: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 30px; /* preserved as in your original code */
}

nav ul li {
  position: relative;
}

/* top-level link */
nav ul li a {
  text-decoration: none;
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
  transition: 0.3s;
  white-space: nowrap;
  padding: 6px 8px;
  border-radius: 6px;
}

nav ul li a:hover,
nav ul li a:focus {
  color: #d4af37;
}

/* active style (kept) */
ul li a.active {
  color: #d4af37; /* active link color */
  font-weight: bold;
  border-bottom: 2px solid rgb(255, 255, 255);
}

/* ================= FIRST LEVEL DROPDOWN (Desktop) ================= */
/* KEEP desktop dropdown as WHITE panels (your original design) */
nav ul li ul {
  display: none;
  position: absolute;
  top: calc(100% + 6px); /* slightly closer to header than before */
  left: 0;
  background: #fff;
  min-width: 200px; /* reduced min width for tighter layout */
  padding: 6px 0; /* reduced vertical padding */
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px); /* smaller vertical translate */
  transition: all 0.18s ease;
  flex-direction: column;
  gap: 5px;
}

/* show first-level dropdown */
nav ul li:hover > ul,
nav ul li.dropdown-open > ul {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav ul li ul li {
  width: 100%;
  position: relative; /* allow nested submenu positioning */
}

/* first-level dropdown links (white panel) */
nav ul li ul li a {
  padding: 8px 14px; /* tighter left/right padding */
  display: block;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.14s ease;
}

/* hover for white dropdown */
nav ul li ul li a {
  padding: 8px 14px; /* tighter left/right padding */
  display: block;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.14s ease;
}

/* ================= NESTED SUBMENU (Desktop 2nd level) ================= */
/* This supports <ul class="submenu"> inside the first dropdown <li> */
nav ul li ul li .submenu {
  display: none;
  position: absolute;
  top: 0; /* aligns top of nested panel with parent item */
  left: calc(100% - 8px); /* pull nested panel 8px left so gap is small */
  min-width: 200px;
  background: #fff;
  padding: 6px 0;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateX(
    0
  ); /* no extra translate — we use left calc for small gap */
  opacity: 0;
  visibility: hidden;
  transition: all 0.16s ease;
  flex-direction: column;
}

/* show nested submenu on hover or when JS toggles .open */
nav ul li ul li:hover > .submenu,
nav ul li ul li.open > .submenu {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* nested submenu items (white panel) */
nav ul li ul li:hover > .submenu,
nav ul li ul li.open > .submenu {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

nav ul li ul::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 100%;
  width: 8px; /* connector width */
  height: calc(100% - 20px);
  pointer-events: none;
  /* slight gradient to visually reduce the seam — very subtle */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(0, 0, 0, 0.02)
  );
  transform: translateX(-8px);
  border-radius: 4px;
  display: block;
}

/* ================= RIGHT SIDE ================= */
.right-side {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #ffffff;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #d4af37;
}

/* Toggle button hidden on desktop */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  background: none;
  border: none;
}

/* ================= MOBILE SIDEBAR MENU (WHITE as your original) ================= */
/* Keep mobile menu white like your original design but ensure in-flow submenus to avoid overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%; /* hidden by default */
  width: 280px;
  height: 100%;
  background: #fff; /* white as original */
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 3000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .close-btn {
  align-self: flex-end;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  background: none;
  border: none;
}

/* Mobile menu links */
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu ul li {
  position: relative;
}

/* top-level mobile link style (black text on white) */
.mobile-menu ul li a {
  text-decoration: none;
  font-size: 16px;
  color: #000;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 6px;
}

/* MOBILE: in-flow submenus (so they push content down and do not overlay) */
.mobile-menu .submenu {
  display: none; /* will be toggled by JS with .open or .active */
  flex-direction: column;
  padding-left: 15px;
  margin-top: 5px;
  background: transparent;
  border-radius: 6px;
}

/* show mobile submenu when open */
.mobile-menu .submenu.open,
.mobile-menu .submenu.active {
  display: flex;
}

/* mobile submenu links (black on white) */
.mobile-menu .submenu li a {
  text-decoration: none;
  font-size: 15px;
  color: #000;
  font-weight: 600;
  padding: 8px 6px;
}

/* hover for mobile submenu items */
.mobile-menu .submenu li a:hover,
.mobile-menu .submenu li a:focus {
  background: #f8f9fa;
  color: #d4af37;
  border-radius: 4px;
}

/* Arrow rotation for submenu open (mobile & desktop parents share behavior) */
.has-submenu > a i {
  transition: transform 0.3s ease;
  color: inherit;
}
.has-submenu.open > a i.fa-angle-down {
  transform: rotate(180deg);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  nav {
    display: none;
  } /* hide desktop nav on mobile */
  .social-icons {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .logo img {
    height: 50px;
  }
  header {
    border-radius: 25px;
    padding: 10px 15px;
  }

  /* Ensure desktop absolute submenu rules don't cause overlays on mobile:
     make all submenu panels flow inside mobile menu (prevent absolute). */
  nav ul li ul,
  nav ul li ul li .submenu {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 45px;
  }
  .menu-toggle {
    font-size: 22px;
  }
  header {
    border-radius: 15px;
    padding: 8px 12px;
  }
}

/* ================= ACCESSIBILITY / TWEAKS ================= */
a:focus {
  outline: 3px solid rgba(212, 175, 55, 0.18);
  outline-offset: 2px;
  border-radius: 4px;
}

/* keep top-level links from wrapping (maintain pill layout) */
nav ul li a,
nav ul li ul li a,
.mobile-menu ul li > a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================================================================================================
                                                HOME HERO SLIDER 
================================================================================================= */
/* ================= FULLSCREEN SLIDER ================= */
#fullscreen-realestate-slider {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen height */
  overflow: hidden;
  margin-top: -120px; /* Pull slider up so it starts behind header */
  z-index: 1;
}

/* Each slide sits absolute and uses opacity for crossfade */
.fullscreen-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.fullscreen-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* Background media should cover the slide */
.fullscreen-slide img,
.fullscreen-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* For videos: ensure no native controls shown unless added */
.fullscreen-slide video {
  display: block;
  background: #000;
}

/* Text Overlay - always bottom-left */
.slide-content {
  position: absolute;
  bottom: 40px; /* fixed bottom spacing */
  left: 40px; /* fixed left spacing */
  text-align: left;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  max-width: 80%;
  z-index: 3;
}

/* Titles and paragraphs */
.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.slide-content p {
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease forwards;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= Controls (prev/next) ================= */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, transform 0.08s;
  backdrop-filter: blur(4px);
}
.slider-control:active {
  transform: translateY(-50%) scale(0.98);
}
.slider-control:hover {
  background: rgba(0, 0, 0, 0.6);
}

.slider-control.prev {
  left: 24px;
}
.slider-control.next {
  right: 24px;
}

/* Make buttons accessible visually */
.slider-control:focus {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

/* ================= Indicators (dots) ================= */
.slider-indicators {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  display: flex;
  gap: 8px;
  z-index: 6;
}
.slider-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}
.slider-indicators button.active {
  background: #fff;
  width: 14px;
  height: 14px;
}

/* ================= RESPONSIVE (only adjust font size + spacing) ================= */
@media (max-width: 992px) {
  .slide-content h2 {
    font-size: 2rem;
  }
  .slide-content p {
    font-size: 1rem;
  }
  .slider-control {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .slide-content {
    left: 20px; /* smaller side spacing */
    bottom: 20px; /* smaller bottom spacing */
    max-width: 90%;
  }
  .slide-content h2 {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  .slide-content p {
    font-size: 0.9rem;
  }
  .slider-control.prev {
    left: 12px;
  }
  .slider-control.next {
    right: 12px;
  }
}

/* Optional small aesthetic: slightly dark overlay for better text readability */
#fullscreen-realestate-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 80%
  );
}

/* ================================================================================================
                                                HOME FEATURES SECTION 
================================================================================================= */
/* ================= UNIQUE FEATURES SECTION ================= */
#unique-features {
  padding: 70px 20px;
  background: #f5f7fb; /* ✅ Updated background color */
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Feature Box */
.feature-box {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Header Layout */
.feature-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Icon */
.feature-icon {
  width: 50px;
  height: 50px;
  background: #d4af37; /* gold background */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px; /* rounded square */
  font-size: 20px;
  flex-shrink: 0;
}

/* Heading */
.feature-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #151947;
  margin: 0;
}

/* Accent Line */
.feature-line {
  width: 50px;
  height: 3px;
  background: #d4af37;
  margin: 15px 0;
  border-radius: 2px;
}

/* Paragraph */
.feature-box p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-container {
    grid-template-columns: 1fr;
  }
}

/* ================================================================================================
                                                HOME ABOUT US 
================================================================================================= */
/* ================= ABOUT SECTION ================= */
#about-vrld {
  background: #ffffff;
  padding: 40px 20px; /* reduced padding (was 80px) */
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px; /* slightly reduced gap */
  flex-wrap: wrap;
}

/* Left text */
.about-text {
  flex: 1;
  min-width: 280px; /* slightly reduced */
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text.show {
  opacity: 1;
  transform: translateX(0);
}

.about-text h5 {
  color: #d4af37;
  font-size: 18px; /* increased from 14px */
  font-weight: bold;
  letter-spacing: 1.5px; /* slightly more spacing for elegance */
  margin-bottom: 12px; /* increased spacing below */
  text-transform: uppercase; /* makes it stand out more */
}

.about-text h2 {
  font-size: 2.2rem; /* reduced from 2.5rem */
  color: #151947;
  margin-bottom: 15px; /* reduced spacing */
}

.about-text p {
  font-size: 0.95rem; /* slightly smaller text */
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px; /* reduced spacing */
}

/* Modern Outline Button */
.btn-learn {
  display: inline-block;
  padding: 12px 32px;
  color: #151947;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #151947;
  border-radius: 50px; /* pill shape */
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  background: transparent;
}

/* Hover Fill Animation */
.btn-learn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #151947;
  z-index: -1;
  transition: all 0.4s ease;
}

.btn-learn:hover {
  color: #fff;
  border-color: #d4af37;
}

.btn-learn:hover::before {
  left: 0;
  background: #d4af37; /* gold fill on hover */
}

/* Right side grid */
.about-images {
  flex: 1;
  min-width: 280px; /* reduced */
}

.image-grid-9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px; /* reduced gap */
}

.image-grid-9 .grid-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-image: url("../assets/about.jpg");
  background-size: 300% 300%;
  background-repeat: no-repeat;
  border-radius: 10px; /* reduced corners */
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.image-grid-9 .grid-box.show {
  opacity: 1;
  transform: scale(1);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    transform: translateY(40px);
  }

  .about-text.show {
    transform: translateY(0);
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .image-grid-9 {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }
}

/* ================================================================================================
                                                HOME ABOUT FOUNDER 
================================================================================================= */
/* ================= FOUNDER SECTION ================= */
#founder-section {
  background: #151947; /* brand dark blue */
  padding: 70px 20px; /* reduced from 100px */
  position: relative;
  overflow: hidden;
  color: #fff;
}

.founder-container {
  max-width: 1100px; /* slightly smaller */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px; /* reduced from 60px */
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Founder Image */
.founder-photo {
  position: relative;
  flex: 1;
  min-width: 260px; /* reduced */
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-frame {
  width: 260px; /* reduced from 320px */
  height: 260px; /* reduced from 320px */
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #d4af37; /* gold border */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
  z-index: 2;
  position: relative;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pattern background */
.founder-photo .pattern {
  position: absolute;
  width: 310px; /* reduced from 380px */
  height: 310px; /* reduced from 380px */
  border-radius: 50%;
  background: repeating-linear-gradient(
    45deg,
    rgba(212, 175, 55, 0.1),
    rgba(212, 175, 55, 0.1) 10px,
    transparent 10px,
    transparent 20px
  );
  top: -15px;
  left: -15px;
  z-index: 1;
}

/* Founder Info */
.founder-info {
  flex: 1;
  min-width: 280px; /* reduced */
  opacity: 0;
  transform: translateY(30px); /* reduced */
  transition: all 0.8s ease;
}

.founder-info.show {
  opacity: 1;
  transform: translateY(0);
}

.founder-info h5 {
  color: #d4af37;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.founder-info h2 {
  font-size: 2rem; /* reduced from 2.5rem */
  margin-bottom: 15px; /* reduced spacing */
  font-weight: bold;
}

.founder-info h2 span {
  color: #d4af37; /* highlight name in gold */
}

.founder-info p {
  font-size: 0.95rem; /* slightly smaller */
  line-height: 1.6;
  margin-bottom: 12px; /* reduced spacing */
  color: #f5f7fb;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .founder-container {
    flex-direction: column;
    text-align: center;
    gap: 30px; /* reduced */
  }

  .photo-frame {
    width: 220px;
    height: 220px;
  }

  .founder-info h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .founder-info h2 {
    font-size: 1.5rem;
  }
  .founder-info p {
    font-size: 0.9rem;
  }
}

/* ================================================================================================
                                                HOME WHY WE CHOOSE US 
================================================================================================= */
/* ================= WHY CHOOSE US ================= */
#why-choose-classic {
  background: #f5f7fb;
  padding: 40px 20px;
}

.choose-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.choose-header {
  text-align: center;
  margin-bottom: 60px;
}

.choose-header h5 {
  color: #d4af37;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.choose-header h2 {
  font-size: 2.4rem;
  color: #151947;
  margin-bottom: 15px;
  font-weight: bold;
}

.choose-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #555;
  font-size: 1rem;
}

/* Grid */
.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.choose-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.choose-card:hover {
  border-color: #d4af37;
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.2);
}

/* Icon */
.choose-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fdf6e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #d4af37;
}

/* Title */
.choose-card h3 {
  font-size: 1.2rem;
  color: #151947;
  margin-bottom: 12px;
  font-weight: bold;
}

/* Description */
.choose-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .choose-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .choose-grid {
    grid-template-columns: 1fr;
  }
  .choose-card {
    padding: 25px 15px;
  }
  .choose-header h2 {
    font-size: 1.6rem;
  }
}

/* ================================================================================================
                                                HOME OUR WORKS 
================================================================================================= */
/* ===== WORK SECTION ===== */
#work-section {
  background: #151947;
  color: #fff;
  overflow: hidden;
  padding-bottom: 40px; /* ✅ Added bottom padding for breathing space */
}

.work-wrapper {
  display: flex;
  align-items: stretch;
  height: 480px; /* ✅ Increased height for better spacing */
}

/* Left column */
.work-left {
  flex: 1;
  padding: 60px 48px 40px 60px; /* ✅ Increased top & bottom padding */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  min-width: 0;
}

.work-kicker {
  color: #d4af37;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  margin: 0 0 10px 0;
}

.work-title {
  font-size: 2.1rem;
  margin: 0 0 14px 0;
  font-weight: 800;
  line-height: 1.05;
}

.work-desc {
  max-width: 720px;
  color: #f5f7fb;
  line-height: 1.6;
  font-size: 0.96rem;
  margin-bottom: 16px; /* slightly increased for breathing */
}

/* CTA button */
#work-cta.work-cta {
  display: inline-block;
  padding: 14px 30px; /* ✅ Slightly bigger button */
  border-radius: 28px;
  background: #d4af37;
  color: #151947;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 18px; /* ✅ More gap before stats */
  transition: all .22s ease;
  align-self: flex-start;
}

#work-cta.work-cta:hover {
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border: 2px solid #d4af37;
}

/* Stats area pushed to bottom */
.work-stats {
  display: flex;
  justify-content: flex-start;
  gap: 56px;
  width: 86%;
  margin-top: auto;  /* pushes stats to bottom */
  align-items: flex-end;
  padding-bottom: 20px; /* ✅ Added padding to lift numbers slightly up */
}

/* Individual stat */
.work-stat {
  text-align: center;
  min-width: 84px;
}

/* Number styles */
.work-num {
  margin: 0 0 6px 0;
  font-size: 2.3rem; /* ✅ slightly larger for better visibility */
  font-weight: 900;
  color: #d4af37;
  line-height: 1.1;
}

/* Label */
.work-label {
  margin: 0;
  font-size: 0.9rem; /* ✅ increased for readability */
  color: #fff;
}

/* Right image */
.work-image {
  flex: 1;
  min-width: 380px;
  background: url("../assets/ourwork.jpg") center/cover no-repeat;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

/* Responsive */
@media (max-width: 992px) {
  .work-wrapper { 
    flex-direction: column; 
    height: auto; 
    padding-bottom: 20px;
  }
  .work-image { 
    clip-path: none; 
    height: 240px; /* ✅ Slightly taller on tablet */
    order: -1; 
  }
  .work-left { 
    padding: 32px 22px; 
    align-items: center; 
    text-align: center; 
  }
  #work-cta.work-cta { align-self: center; }
  .work-stats {
    width: 100%;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-bottom: 0;
  }
  .work-stat { flex: 0 0 45%; margin-bottom: 10px; }
  .work-num { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  .work-title { font-size: 1.5rem; }
  .work-num { font-size: 1.3rem; }
  .work-desc { font-size: 0.9rem; }
  .work-left { padding: 24px 18px; }
}



/* ================================================================================================
                                                HOME TESTMONIALS 
================================================================================================= */
/* ================= TESTIMONIALS (updated for equal heights) ================= */
#testimonials {
  background: #f5f7fb;
  padding: 40px 20px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #151947;
  margin-bottom: 10px;
}

.underline {
  display: block;
  width: 80px;
  height: 4px;
  background: #d4af37;
  margin: 0 auto 40px;
  border-radius: 2px;
}

/* Swiper slide / wrapper equal-height helpers */
.testimonial-slider .swiper-wrapper {
  align-items: stretch; /* ensure slides stretch vertically to same height */
}

/* Make slides behave as full-height flex containers */
.testimonial-slider .swiper-slide {
  display: flex;
  align-items: stretch;   /* stretch child (testimonial-card) vertically */
  justify-content: center;
  box-sizing: border-box;
  height: auto;           /* allow Swiper to control height; wrapper align-items handles equalization */
  padding: 8px 0;         /* small vertical padding between slides */
}

/* Card Styling */
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(21, 25, 71, 0.06);
  padding: 30px 25px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  position: relative;

  /* equal height: fill the slide */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  min-height: 260px; /* enforces a pleasant minimum; tune as needed */
  box-sizing: border-box;
}

/* Hover */
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Quote icon */
.quote-icon {
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 2.5rem;
  color: #d4af37;
  opacity: 0.15;
  pointer-events: none;
}

/* Balanced text - allow it to take flexible space */
.testimonial-text {
  flex: 1 1 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  font-style: italic;
  margin: 8px 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 72px; /* small floor so short texts don't shrink card too much */
}

/* Client info */
.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.client-info img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 3px solid #d4af37;
  object-fit: cover;
  flex-shrink: 0;
}

.client-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #151947;
  margin: 0;
}

.client-info span {
  display: block;
  font-size: 0.85rem;
  color: #666;
}

/* Swiper controls */
.swiper-button-next,
.swiper-button-prev {
  color: #d4af37;
  transition: 0.3s;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #151947;
}

/* Pagination */
#testimonials .swiper-pagination {
  position: relative;
  margin-top: 20px;
}
.swiper-pagination-bullet {
  background: #d4af37;
  opacity: 0.7;
}
.swiper-pagination-bullet-active {
  background: #151947;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .testimonial-card { min-height: 280px; }
}
@media (max-width: 768px) {
  .testimonial-card { min-height: 220px; padding: 24px 18px 28px; }
  .client-info img { width: 56px; height: 56px; }
  .testimonial-text { font-size: 0.95rem; min-height: 64px; margin-bottom: 18px; }
}
@media (max-width: 480px) {
  .testimonial-card { min-height: 200px; }
  .testimonial-text { font-size: 0.94rem; }
  .client-info h4 { font-size: 1rem; }
}


/* ================================================================================================
                                                FOOTER
================================================================================================= */
/* General Footer Styling */
footer {
  font-family: "Poppins", sans-serif;
  color: #fff;
  position: relative;
}

/* Top Contact Section */
.footer-top {
  background: #f5f7fb;
  padding: 40px 20px;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal cards */
  gap: 25px;
  align-items: stretch; /* makes all equal height */
}
.footer-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px; /* force rectangle */
  max-height: 150px; /* avoid too tall */
}
.footer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.footer-card i {
  font-size: 26px;
  color: #d4af37;
  margin-bottom: 8px;
}
.footer-card h4 {
  font-size: 15px;
  font-weight: bold;
  color: #151947;
  margin-bottom: 6px;
}
.footer-card p,
.footer-card a {
  font-size: 13px;
  color: #333;
  text-decoration: none;
  line-height: 20px;
}

/* Main Footer */
.footer-main {
  background: #151947;
  padding: 60px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr; /* About - Links - Links - Map */
  gap: 40px;
  align-items: flex-start;
}

/* About Section */
.footer-logo {
  max-width: 180px;
  margin-bottom: 15px;
}
.footer-about p {
  font-size: 15px;
  line-height: 22px;
  margin-bottom: 20px;
}
.social-links a {
  margin-right: 12px;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}
.social-links a:hover {
  color: #d4af37;
  transform: scale(1.2);
}

/* Links */
.footer-links h3,
.footer-location h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #d4af37;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links ul li a:hover {
  color: #d4af37;
  padding-left: 5px;
}

/* Map */
.footer-location iframe {
  border-radius: 10px;
  border: 2px solid #d4af37;
  height: 250px;
}

/* Bottom Bar */
.footer-bottom {
  background: #000;
  padding: 1px;
  text-align: center;
  font-size: 10px;
}
.footer-bottom .brand-logo {
  height: 22px;
  vertical-align: middle;
  margin-left: 6px;
}

/* Floating Buttons */
.whatsapp-btn,
.scroll-top {
  position: fixed;
  right: 20px;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 22px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.whatsapp-btn {
  bottom: 85px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.6);
}
.scroll-top {
  bottom: 25px;
  background: #d4af37;
  color: #151947;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}
.whatsapp-btn:hover,
.scroll-top:hover {
  transform: scale(1.15);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1fr; /* stack cards on mobile */
  }
  .footer-grid {
    grid-template-columns: 1fr; /* stack all footer sections */
    text-align: center;
  }
  .footer-location iframe {
    height: 200px;
  }
}

/* ================================================================================================
                                                ABOUT BANNER
================================================================================================= */
/* ================= ABOUT US BANNER ================= */
.about-banner {
  position: relative;
  height: 50vh; /* 50% of screen height */
  background: url("../assets/banner1.jpeg") no-repeat center center/cover; /* Replace with your image */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Overlay (dark shade for readability) */
.about-overlay {
  background: rgba(47, 47, 47, 0.75); /* dark blue transparent */
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Title Box (gold border + angled lines) */
.section-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title-box h2 {
  font-size: 38px;
  font-weight: bold;
  padding: 10px 40px;
  border: 3px solid #d4af37; /* Gold border */
  background: rgba(21, 25, 71); /* Transparent dark blue bg */
  color: #fff;
}

/* Angled lines */
.section-title-box .line {
  display: inline-block;
  width: 45px;
  height: 3px;
  background: #fff;
  transform: rotate(45deg);
  margin: 0 18px;
}
.section-title-box .right-line {
  transform: rotate(-45deg);
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
  .section-title-box h2 {
    font-size: 28px;
    padding: 8px 30px;
  }
  .section-title-box .line {
    width: 30px;
  }
}
@media (max-width: 576px) {
  .section-title-box {
    flex-direction: column;
  }
  .section-title-box .line {
    display: none; /* hide lines on small screen */
  }
  .section-title-box h2 {
    font-size: 22px;
    padding: 6px 20px;
  }
}

/* ================================================================================================
                                                ABOUT ABOUT-US
================================================================================================= */
/* ================= ABOUT US SECTION ================= */
.about-us {
  padding: 40px 20px;
  background: #f5f7fb; /* light gray background */
  font-family: "Poppins", sans-serif;

  /* Animation (default hidden) */

  transition: all 0.8s ease-in-out;
}
.about-us.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* image bigger than text */
  gap: 40px;
  align-items: start;
}

/* Left: Image */
.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.about-image .caption {
  margin-top: 12px;
  font-style: italic;
  font-size: 15px;
  text-align: center;
  color: #151947; /* dark blue */
  font-weight: 500;
}

/* Right: Content */
.about-content .heading {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.about-content .heading .line {
  flex: 0 0 40px;
  height: 2px;
  background: #151947; /* dark blue line */
  margin-right: 12px;
}
.about-content h2 {
  font-size: 28px;
  color: #151947; /* dark blue */
  font-weight: 700;
  margin: 0;
}
.about-content p {
  font-size: 15px;
  line-height: 26px;
  margin-bottom: 16px;
  color: #444;
  text-align: justify;
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr; /* stack image and text */
    gap: 30px;
  }
  .about-content .heading {
    justify-content: center;
  }
  .about-content h2 {
    text-align: center;
  }
  .about-content .heading .line {
    display: none; /* hide line on mobile */
  }
  .about-content p {
    text-align: center;
  }
  .about-image .caption {
    font-size: 14px;
  }
}

/* ================================================================================================
                                                ABOUT MISSION & VISION
================================================================================================= */
/* ================= VISION, MISSION SECTION ================= */
.vrld-vmv-section {
  position: relative;
  font-family: "Poppins", sans-serif;
  min-height: 100vh; /* let content grow naturally */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2% 10%;
  overflow: hidden;
}

/* Background faded image (40% height, centered) */
.vrld-vmv-background {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 30%;
  z-index: 1;
}
.vrld-vmv-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  border-radius: 12px;
}

/* Vision block (top align) */
.vrld-vmv-vision {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: flex-start;
  z-index: 2;
  position: relative;
  min-height: 350px;
  margin-bottom: 40px;
}

/* Mission block (bottom align) */
.vrld-vmv-mission {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: flex-end;
  z-index: 2;
  position: relative;
  min-height: 350px;
  margin-bottom: 60px; /* ensure spacing before brand values */
}

/* Image column */
.vrld-vmv-square {
  display: flex;
  justify-content: center;
  align-items: center;
}
.vrld-vmv-square img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Text column */
.vrld-vmv-text {
  max-width: 600px;
  padding: 20px;
}
.vrld-vmv-text h2 {
  font-size: 26px;
  font-weight: 700;
  color: #151947;
  margin-bottom: 12px;
}
.vrld-vmv-text p {
  font-size: 15px;
  line-height: 26px;
  color: #444;
  text-align: justify;
}

/* ================= Brand Values ================= */
.vrld-vmv-values {
  background: #f5f7fb;
  padding: 80px 15%;
  text-align: center;
  margin-top: 0px; /* push below Mission block */
}
.vrld-vmv-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.vrld-vmv-line {
  flex: 0 0 40px;
  height: 2px;
  background: #d4af37;
  margin-right: 12px;
}
.vrld-vmv-values h2 {
  font-size: 26px;
  font-weight: 700;
  color: #151947;
  margin: 0;
}
.vrld-vmv-values p {
  font-size: 15px;
  line-height: 26px;
  color: #444;
  margin-top: 15px;
}

/* ================= Animation ================= */
.vrld-fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.vrld-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
  .vrld-vmv-section {
    min-height: auto;
    padding: 20px 20px;
    display: block;
  }

  .vrld-vmv-background {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    height: 200px;
    margin: 40px 0;
    z-index: 1;
  }

  .vrld-vmv-vision,
  .vrld-vmv-mission {
    grid-template-columns: 1fr;
    text-align: center;
    margin-bottom: 40px;
    align-items: center;
    min-height: auto;
  }

  .vrld-vmv-square img {
    margin: 0 auto;
  }
  .vrld-vmv-text {
    max-width: 100%;
    padding: 10px 0;
  }
  .vrld-vmv-text p {
    text-align: center;
  }

  .vrld-vmv-values {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .vrld-vmv-text h2,
  .vrld-vmv-values h2 {
    font-size: 22px;
  }
  .vrld-vmv-text p,
  .vrld-vmv-values p {
    font-size: 14px;
    line-height: 24px;
  }
}

/* ================================================================================================
                                                ABOUT FOUNDER 
================================================================================================= */
/* ================= ABOUT PAGE FOUNDER SECTION ================= */
#about-founder-section {
  background: #151947; /* brand dark blue */
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.about-founder-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Founder Image */
.about-founder-photo {
  position: relative;
  flex: 1;
  min-width: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo-frame {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #d4af37; /* gold border */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
  z-index: 2;
  position: relative;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pattern background */
.about-founder-photo .about-pattern {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: repeating-linear-gradient(
    45deg,
    rgba(212, 175, 55, 0.1),
    rgba(212, 175, 55, 0.1) 10px,
    transparent 10px,
    transparent 20px
  );
  top: -15px;
  left: -15px;
  z-index: 1;
}

/* Founder Info */
.about-founder-info {
  flex: 1;
  min-width: 280px;
  opacity: 1; /* ✅ always visible */
  transform: none; /* ✅ no hidden transform */
  transition: none; /* ✅ remove animation requirement */
}

.about-founder-info h5 {
  color: #d4af37;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-founder-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.about-founder-info h2 span {
  color: #d4af37;
}

.about-founder-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #f5f7fb;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .about-founder-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-photo-frame {
    width: 220px;
    height: 220px;
  }

  .about-founder-info h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .about-founder-info h2 {
    font-size: 1.5rem;
  }
  .about-founder-info p {
    font-size: 0.9rem;
  }
}

/* ================================================================================================
                                               GALLERY BANNER
================================================================================================= */
.gallery-banner {
  position: relative;
  height: 50vh; /* 50% of screen height */
  background: url("../assets/banner2.jpeg") no-repeat center center/cover; /* gallery banner image */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Overlay (dark shade for readability) */
.gallery-overlay {
  background: rgba(47, 47, 47, 0.75);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Title Box */
.gallery-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-title-box h2 {
  font-size: 38px;
  font-weight: bold;
  padding: 10px 40px;
  border: 3px solid #d4af37; /* gold border */
  background: rgba(21, 25, 71, 0.9); /* dark blue transparent */
  color: #fff;
}

/* Angled lines */
.gallery-title-box .gallery-line {
  display: inline-block;
  width: 45px;
  height: 3px;
  background: #fff;
  transform: rotate(45deg);
  margin: 0 18px;
}
.gallery-title-box .right-line {
  transform: rotate(-45deg);
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
  .gallery-title-box h2 {
    font-size: 28px;
    padding: 8px 30px;
  }
  .gallery-title-box .gallery-line {
    width: 30px;
  }
}
@media (max-width: 576px) {
  .gallery-title-box {
    flex-direction: column;
  }
  .gallery-title-box .gallery-line {
    display: none; /* hide lines on mobile */
  }
  .gallery-title-box h2 {
    font-size: 22px;
    padding: 6px 20px;
  }
}

/* ================================================================================================
GALLERY ALBUM
================================================================================================= */
/* ================= UNIQUE GALLERY ================= */
.vrld-unique-gallery {
  background: #f5f7fb;
  padding: 40px 20px;
  font-family: "Poppins", sans-serif;
  color: #151947;
}

.unique-gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.unique-gallery-container h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 8px;
}

.unique-gallery-container p {
  font-size: 15px;
  color: #444;
  margin-bottom: 40px;
}

/* Grid */
.unique-gallery-grid,
#vrld-unique-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* item */
.vrld-gallery-item,
.unique-gallery-item {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  min-height: 200px;
}
.vrld-gallery-item img,
.unique-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.vrld-gallery-item:hover img,
.unique-gallery-item:hover img {
  transform: scale(1.05);
}
.vrld-gallery-item .play-btn,
.unique-gallery-item .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #fff;
  background: rgba(21, 25, 71, 0.7);
  padding: 10px 20px;
  border-radius: 50%;
  pointer-events: none; /* ensure click goes to item container */
}

/* If thumbnail missing, style card so it doesn't show broken icon */
.vrld-gallery-item.thumb-missing,
.unique-gallery-item.thumb-missing {
  background-color: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px; /* match the image height */
  padding: 16px;
}

/* ================= VRLD LIGHTBOX ================= */
.vrld-lightbox,
.unique-lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 25, 71, 0.95);
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* visible when active */
.vrld-lightbox[aria-hidden="false"],
.unique-lightbox[aria-hidden="false"] {
  display: flex;
}

/* container for media */
.vrld-lightbox-content {
  width: 100%;
  max-width: 1100px; /* maximum content width on large screens */
  padding: 20px;
  box-sizing: border-box;
  max-height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* shared media styles: allow images and iframes to grow large */
.vrld-lightbox-media,
.unique-lightbox img,
.unique-lightbox iframe {
  display: none; /* JS toggles .show */
  max-width: 95vw; /* almost full width of viewport */
  max-height: 95vh; /* almost full height of viewport */
  width: auto;
  height: auto;
  object-fit: contain; /* preserve aspect ratio */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

/* show media when active */
.vrld-lightbox-media.show {
  display: block;
}

/* ===== NEW: make iframes responsive & large (modern browsers) =====
   Targets the vrld iframe and any .unique-lightbox iframe so YouTube
   player scales to near-fullscreen while maintaining 16:9. */
#vrld-lightbox-video.vrld-lightbox-media,
.unique-lightbox iframe {
  /* expand up to 1100px or 95% viewport width */
  width: min(1100px, 95vw);
  /* ensure correct 16:9 height is computed automatically */
  aspect-ratio: 16 / 9;
  /* never exceed viewport height */
  max-height: 95vh;
  /* visual niceties */
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  /* display controlled by .show class */
}

/* ===== OPTIONAL fallback: wrapper-based responsive iframe (for older browsers)
   If you prefer full cross-browser support, wrap the iframe in:
     <div class="vrld-video-wrap"><iframe ...></iframe></div>
   The CSS below will make that wrapper maintain 16:9 using padding-top. */
.vrld-video-wrap {
  width: min(1100px, 95vw);
  max-height: 95vh;
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  box-sizing: content-box;
}
.vrld-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

/* close button */
.vrld-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 10010;
  font-size: 32px;
  font-weight: bold;
  color: #d4af37;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* nav buttons (prev / next) */
.vrld-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10010;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #fff;
  font-size: 42px;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}
.vrld-lightbox-prev {
  left: 20px;
}
.vrld-lightbox-next {
  right: 20px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .vrld-gallery-item img,
  .unique-gallery-item img {
    height: 200px;
  }
  .vrld-lightbox-nav {
    font-size: 30px;
    padding: 6px 10px;
  }
  .vrld-lightbox-close {
    top: 12px;
    right: 16px;
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .vrld-gallery-item img,
  .unique-gallery-item img {
    height: 200px;
  }
  .vrld-lightbox-content {
    padding: 10px;
    max-height: calc(100vh - 40px);
  }
  .vrld-lightbox-media {
    max-width: 100vw;
    max-height: calc(100vh - 80px);
  }
  .vrld-lightbox-nav {
    display: none;
  } /* hide arrows on tiny screens; swipe supported by browsers */
}

/* ================================================================================================
                                               CONTACT BANNER
================================================================================================= */
.contact-banner {
  position: relative;
  height: 50vh; /* 50% of screen height */
  background: url("../assets/banner3.jpeg") no-repeat center center/cover; /* contact banner image */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Overlay (dark shade for readability) */
.contact-overlay {
  background: rgba(47, 47, 47, 0.75);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Title Box */
.contact-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-title-box h2 {
  font-size: 38px;
  font-weight: bold;
  padding: 10px 40px;
  border: 3px solid #d4af37; /* gold border */
  background: rgba(21, 25, 71, 0.9); /* dark blue transparent */
  color: #fff;
}

/* Angled lines */
.contact-title-box .contact-line {
  display: inline-block;
  width: 45px;
  height: 3px;
  background: #fff;
  transform: rotate(45deg);
  margin: 0 18px;
}
.contact-title-box .right-line {
  transform: rotate(-45deg);
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
  .contact-title-box h2 {
    font-size: 28px;
    padding: 8px 30px;
  }
  .contact-title-box .contact-line {
    width: 30px;
  }
}
@media (max-width: 576px) {
  .contact-title-box {
    flex-direction: column;
  }
  .contact-title-box .contact-line {
    display: none; /* hide lines on mobile */
  }
  .contact-title-box h2 {
    font-size: 22px;
    padding: 6px 20px;
  }
}

/* ================================================================================================
                                               CONTACT ADDRESS & FORM
================================================================================================= */
/* ================= CONTACT US SECTION ================= */
.vrld-contact {
  background: #f5f7fb;
  padding: 40px 20px;
  font-family: "Poppins", sans-serif;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

/* Left: Info */
.contact-info h2 {
  color: #151947;
  margin-bottom: 15px;
}
.contact-info p {
  margin-bottom: 25px;
  color: #444;
}
.info-box {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.info-box i {
  font-size: 20px;
  color: #d4af37;
  margin-right: 12px;
}
.info-box a {
  color: #151947;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}
.info-box a:hover {
  color: #d4af37;
}

/* Fix form alignment */
.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  box-sizing: border-box; /* Prevent overflow */
  width: 100%; /* Stay within column */
}
.contact-form h2 {
  color: #151947;
  margin-bottom: 20px;
  text-align: center;
}
.form-group {
  margin-bottom: 15px;
}
/* Inputs inside form */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; /* Full width inside container */
  box-sizing: border-box; /* Prevents overflow */
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  display: block; /* ensure block layout */
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #d4af37;
}
textarea {
  min-height: 100px;
  resize: none;
}
.btn-submit {
  background: #151947;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  width: 100%;
}
.btn-submit:hover {
  background: #d4af37;
  color: #151947;
}

/* Animations */
.animate-left {
  /* opacity: 0;
  transform: translateX(-50px); */
  transition: all 0.8s ease;
}
.animate-right {
  /* opacity: 0;
  transform: translateX(50px); */
  transition: all 0.8s ease;
}
.animate-left.show,
.animate-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-form {
    text-align: left;
  }
}

/* ================================================================================================
                                               PROJECT
================================================================================================= */

/* ================================================================================================
                                               CAPITAL CITY BANNER
================================================================================================= */
.capital-banner {
  position: relative;
  height: 50vh; /* 50% of screen height */
  background: url("../assets/banner4.jpg") no-repeat center center/cover; /* Capital City banner image */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Overlay (dark shade for readability) */
.capital-overlay {
  background: rgba(47, 47, 47, 0.75);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Title Box */
.capital-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.capital-title-box h2 {
  font-size: 38px;
  font-weight: bold;
  padding: 10px 40px;
  border: 3px solid #d4af37; /* gold border */
  background: rgba(21, 25, 71, 0.9); /* dark blue transparent */
  color: #fff;
  letter-spacing: 2px;
}

/* Angled lines */
.capital-title-box .capital-line {
  display: inline-block;
  width: 45px;
  height: 3px;
  background: #fff;
  transform: rotate(45deg);
  margin: 0 18px;
}
.capital-title-box .right-line {
  transform: rotate(-45deg);
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
  .capital-title-box h2 {
    font-size: 28px;
    padding: 8px 30px;
  }
  .capital-title-box .capital-line {
    width: 30px;
  }
}
@media (max-width: 576px) {
  .capital-title-box {
    flex-direction: column;
  }
  .capital-title-box .capital-line {
    display: none; /* hide lines on mobile */
  }
  .capital-title-box h2 {
    font-size: 22px;
    padding: 6px 20px;
  }
}

/* =======================================================
                      PROJECT ABOUT
========================================================== */
/* ================= ABOUT PROJECT SECTION ================= */

/* Section Wrapper */
.about-project {
  padding: 40px 20px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Container Grid */
.about-project .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

/* Left Content */
.about-project .content {
  flex: 1 1 500px;
}

.about-project .logo {
  width: 180px;
  margin-bottom: 20px;
}

.about-project h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #151947; /* Dark Blue */
  margin-bottom: 20px;
}

.about-project p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

/* Buttons */
.about-project .buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.about-project .btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

/* Primary Button - Gold */
.about-project .btn.primary {
  background: #c59d5f; /* Gold */
  color: #fff;
}
.about-project .btn.primary:hover {
  background: #a57f42;
  transform: translateY(-3px);
}

/* Secondary Button - White with Dark Blue border */
.about-project .btn.secondary {
  background: #fff;
  border: 2px solid #151947;
  color: #151947;
}
.about-project .btn.secondary:hover {
  background: #151947;
  color: #fff;
  transform: translateY(-3px);
}

/* Right Image Box */
.about-project .image-box {
  flex: 1 1 350px;
  text-align: center;
}

.about-project .image-box img {
  width: 100%;
  max-width: 550px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Animations */
.fade-in-left {
  animation: fadeInLeft 1.2s ease forwards;
}
.fade-in-right {
  animation: fadeInRight 1.2s ease forwards;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .about-project .container {
    flex-direction: column;
    text-align: center;
  }
}

/* =======================================================
                      PROJECT LOCATION HIGHLIGHTS
========================================================== */
/* ================= CAPITAL CITY LOCATION ================= */
.capitalcity-location {
  padding: 40px 20px;
  background: #fdfdfd;
}

.capitalcity-container {
  display: block; /* ✅ ensure vertical stacking */
  width: 100%;
}

/* Header */
.capitalcity-header {
  text-align: center;
  margin-bottom: 30px;
}
.capitalcity-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #151947; /* Dark Blue */
  margin-bottom: 10px;
}
.capitalcity-tagline {
  font-size: 1rem;
  color: #666;
}

/* Grid */
.capitalcity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card */
.capitalcity-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}
.capitalcity-card.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}
.capitalcity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Image */
.capitalcity-img {
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 10px;
}
.capitalcity-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}
.capitalcity-corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 35px;
  height: 35px;
  background: #d4af37; /* Gold */
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Text */
.capitalcity-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #151947;
  margin: 8px 0 5px;
}
.capitalcity-location-text {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 8px;
}
.capitalcity-underline {
  display: block;
  width: 60px;
  height: 2px;
  background: #151947;
  margin: 0 auto;
  position: relative;
}
.capitalcity-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4af37; /* Gold */
}

/* Responsive */
@media (max-width: 1024px) {
  .capitalcity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .capitalcity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .capitalcity-grid {
    grid-template-columns: 1fr;
  }
  .capitalcity-img img {
    height: 140px;
  }
}

/* =======================================================
                      PROJECT RESORT HIGHLIGHTS
========================================================== */
/* ================= CAPITAL CITY RESORT HIGHLIGHTS ================= */
.capitalcity-resort {
  padding: 15px 20px;
  background: #f9f9fb;
}

.capitalcity-resort-container {
  max-width: 1400px; /* expanded container */
  margin: 0 auto;
  text-align: center;
}

.capitalcity-resort-header {
  margin-bottom: 30px;
}

.capitalcity-resort-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #151947;
  margin-bottom: 10px;
}

.capitalcity-resort-tagline {
  font-size: 1.1rem;
  color: #666;
}

/* ================= SVG IMAGE ================= */
.capitalcity-resort-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;

  max-width: 100%; /* allow full width usage */
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.capitalcity-resort-image img {
  width: 100%; /* stretch to container */
  max-width: 1200px; /* ⬅️ increased max width */
  height: auto;
  object-fit: contain;

  position: relative;
  top: 0;
  left: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .capitalcity-resort-title {
    font-size: 2rem;
  }
  .capitalcity-resort-tagline {
    font-size: 1rem;
  }
  .capitalcity-resort-image img {
    max-width: 700px; /* allow bigger size on tablets too */
  }
}

@media (max-width: 480px) {
  .capitalcity-resort-title {
    font-size: 1.6rem;
  }
  .capitalcity-resort-tagline {
    font-size: 0.95rem;
  }
  .capitalcity-resort-image img {
    max-width: 100%; /* full width on small screens */
  }
}

/* =======================================================
                      PROJECT GALLERY
========================================================== */
/* ================= BASE ================= */
.capitalcity-project-gallery {
  padding: 40px 20px;
  background: #fdfdfd;
}

.capitalcity-project-header {
  text-align: center;
  margin-bottom: 40px;
}

.capitalcity-project-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #151947; /* Dark Blue */
  margin-bottom: 10px;
}

.capitalcity-project-tagline {
  font-size: 1rem;
  color: #666;
}

/* ================= GRID ================= */
.capitalcity-project-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 per row */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  cursor: pointer;
  aspect-ratio: 1/1; /* keeps all cards same size */
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card:hover {
  transform: translateY(-8px);
}

/* ================= LIGHTBOX ================= */
.capitalcity-lightbox {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(21, 25, 71, 0.9); /* Dark blue overlay */
  justify-content: center;
  align-items: center;
}

.capitalcity-lightbox img {
  max-width: 80%;
  max-height: 80%;
  border: 5px solid #d4af37; /* Gold border */
  border-radius: 10px;
  animation: fadeIn 0.5s ease;
}

/* Buttons */
.capitalcity-lightbox .close-btn,
.capitalcity-lightbox .prev-btn,
.capitalcity-lightbox .next-btn {
  position: absolute;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  transition: color 0.3s;
}

.capitalcity-lightbox .close-btn:hover,
.capitalcity-lightbox .prev-btn:hover,
.capitalcity-lightbox .next-btn:hover {
  color: #d4af37; /* Gold hover */
}

.capitalcity-lightbox .close-btn {
  top: 20px;
  right: 30px;
}

.capitalcity-lightbox .prev-btn {
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
}

.capitalcity-lightbox .next-btn {
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .capitalcity-project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .capitalcity-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .capitalcity-project-grid {
    grid-template-columns: 1fr;
  }
}

/* =======================================================
                      PROJECT HIGHLIGHTS & LOCATION MAP
========================================================== */
/* ================== SECTION LAYOUT ================== */
.projfeatures-section {
  padding: 40px 20px;
  background: #fdfdfd;
}

/* two-column container: equal-width columns */
.projfeatures-container {
  display: flex;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start; /* top-align titles, media below */
}

/* each column takes equal width */
.projfeatures-left,
.projfeatures-right {
  flex: 1; /* equal width */
  display: flex;
  flex-direction: column; /* title on top, media below */
  align-items: center;
  text-align: center;
}

/* Titles */
.projfeatures-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #151947;
  margin: 0 0 16px 0;
  position: relative;
}
.projfeatures-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #d4af37;
  display: block;
  margin-top: 6px;
  border-radius: 2px;
}
/* keep right title visually aligned */
.right-title {
  margin-top: 0;
}

/* vertical divider (between columns) */
.projfeatures-divider {
  width: 3px;
  background: #d4af37;
  border-radius: 2px;
  align-self: stretch; /* span full height of container */
  margin: 0; /* no vertical gaps */
}

/* ================== MEDIA BOXES: SAME WIDTH & HEIGHT ================== */

/* Desktop: both media boxes same height (420px) */
.projfeatures-image,
.projfeatures-mapbox {
  width: 100%;
  height: 420px; /* same height for both on desktop */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  /* fade-in start state (JS toggles .show) */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ----- LEFT IMAGE: remove background & shadow (strong override) ----- */
.projfeatures-image {
  background: transparent !important;
  box-shadow: none !important;
  margin-top: 10px;
}

/* ----- RIGHT MAP: keep background + shadow ----- */
.projfeatures-mapbox {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 10px;
}

/* visible state */
.projfeatures-image.show,
.projfeatures-mapbox.show {
  opacity: 1;
  transform: translateY(0);
}

/* image specifics */
.projfeatures-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* preserves whole image; change to 'cover' to fill & crop */
  display: block;
  background: transparent !important; /* ensure image element has no bg */
}

/* map iframe fills the box */
.projfeatures-mapbox iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ================== RESPONSIVE ================== */
/* Tablet: stack columns, reduce height to 360px */
@media (max-width: 992px) {
  .projfeatures-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .projfeatures-divider {
    display: none; /* remove divider when stacked */
  }

  .projfeatures-image,
  .projfeatures-mapbox {
    height: 360px; /* same (smaller) height on tablet */
    margin-top: 6px;
  }

  .projfeatures-title {
    margin-bottom: 12px;
  }
}

/* Mobile: smaller height 260px & tightened spacing */
@media (max-width: 576px) {
  .projfeatures-container {
    gap: 16px;
    padding: 0 8px;
  }

  .projfeatures-title {
    font-size: 1.3rem;
  }

  .projfeatures-image,
  .projfeatures-mapbox {
    height: 260px; /* same height across both on mobile */
    border-radius: 8px;
  }

  .projfeatures-image img {
    object-fit: contain;
  }
}

/* optional helpers to nudge positions if you need quick manual adjustments */
.projfeatures-image--move-up {
  transform: translateY(-12px) !important;
}
.projfeatures-image--move-down {
  transform: translateY(12px) !important;
}
.projfeatures-image--left {
  transform: translateX(-12px) !important;
}
.projfeatures-image--right {
  transform: translateX(12px) !important;
}

/* ================================================================================================
                                               GOLDEN VALLEY BANNER
================================================================================================= */
.goldenvalley-banner {
  position: relative;
  height: 50vh; /* 50% of screen height */
  background: url("../assets/banner5.jpg") no-repeat center center/cover; /* Golden Valley banner image */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Overlay (dark shade for readability) */
.goldenvalley-overlay {
  background: rgba(47, 47, 47, 0.75);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Title Box */
.goldenvalley-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.goldenvalley-title-box h2 {
  font-size: 38px;
  font-weight: bold;
  padding: 10px 40px;
  border: 3px solid #d4af37; /* gold border */
  background: rgba(21, 25, 71, 0.9); /* dark blue transparent */
  color: #fff;
  letter-spacing: 2px;
}

/* Angled lines */
.goldenvalley-title-box .goldenvalley-line {
  display: inline-block;
  width: 45px;
  height: 3px;
  background: #fff;
  transform: rotate(45deg);
  margin: 0 18px;
}
.goldenvalley-title-box .right-line {
  transform: rotate(-45deg);
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
  .goldenvalley-title-box h2 {
    font-size: 28px;
    padding: 8px 30px;
  }
  .goldenvalley-title-box .goldenvalley-line {
    width: 30px;
  }
}
@media (max-width: 576px) {
  .goldenvalley-title-box {
    flex-direction: column;
  }
  .goldenvalley-title-box .goldenvalley-line {
    display: none; /* hide lines on mobile */
  }
  .goldenvalley-title-box h2 {
    font-size: 22px;
    padding: 6px 20px;
  }
}
