/*
Theme Name: Diwan Realty
Theme URI: https://diwanrealty.com/
Description: Child theme for Hello Elementor with Secure Custom Fields header.
Author: Nirav Patel
Author URI: https://diwanrealty.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: diwan-realty
*/

/* ==========================
   Global Typography
========================== */

body {
  font-family: 'Inter', sans-serif;
  color: #2b445c;
  background: #fff;
}

h1, h2, h3, h4, h5, h6, .site-title, .header-logo a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #001b4d;
}

h1 { font-size: 2.4rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.6rem; }
p  { font-size: 1rem; line-height: 1.7; }

a {
  color: #0140da;
  transition: color 0.3s ease;
}
a:hover {
  color: #001b4d;
}

/* ================================
   Global Icon-Based List Styling
   ================================ */

/* ================================
   Global Icon-Based List Styling
   ================================ */

.project-sections ul {
  list-style: none !important;
  margin: 0 0 1.5rem 0;
  padding: 0;
}

.project-sections ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  line-height: 1.6;
  font-weight: 400;
  color: #111;
}

/* Custom icon injected via pseudo-element */
.project-sections ul li::before {
  content: "\2713"; /* checkmark icon (can replace) */
  position: absolute;
  left: 0;
  top: 2px;

  /* Visual styling for the icon */
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: #001b4d;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
}

/* Optional: nested ul support */
.project-sections ul ul li::before {
  background: #444;
}



/* ==========================
   Header
========================== */

.diwan-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Sticky Header */
.diwan-header.sticky {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: #fff;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Logo */
.header-logo img {
  transition: all 0.3s ease;
  height: 60px;
}

.diwan-header.sticky .header-logo img {
  height: 60px;
}

/* Mega Menu */
.header-wrap {
  position: relative;
}

.mega-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
  justify-content: end !important;
  align-items: baseline;
}

.mega-menu-list > li > a {
  color: #001b4d;
  font-weight: 600;
  text-decoration: none;
  padding: 18px 10px;
  display: inline-block;
  transition: all 0.3s ease;
}
.mega-menu-list > li:hover > a,
.mega-menu-list > li > a:focus {
  color: #0140da;
}

/* Arrow indicator */
.mega-menu-list > li > a::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 6px;
  transition: transform 0.3s ease;
}
.mega-menu-list > li:hover > a::after {
  transform: rotate(180deg);
}

/* Mega submenu */
.mega-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #f8faff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 28px 0;
  z-index: 999;
  animation: dropdownFade 0.3s ease forwards;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega-menu-list > li:hover .mega-submenu {
  display: block;
}

.mega-list {
  list-style: none;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1200px;
  column-count: 4;
  column-gap: 40px;
}

.mega-list .mega-item {
  padding: 6px 0;
}

.mega-list .mega-link {
  color: #001b4d;
  text-decoration: none;
  display: block;
  font-weight: 500;
}
.mega-list .mega-link:hover {
  color: #0140da;
}

/* ==========================
   Header Icons (Search, User, Toggle)
========================== */

.header-user-icon,
.header-search-icon,
.header-desktop-toggle {
  font-size: 18px;
  color: #0140da;
  border: 1.5px solid #0140da;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: transparent;
}
.header-user-icon:hover,
.header-search-icon:hover,
.header-desktop-toggle:hover {
  background: #0140da;
  color: #fff;
  transform: translateY(-2px);
}
.bg-section{
  background: linear-gradient(135deg, rgba(1, 64, 218, 0.08) 0%, rgba(0, 27, 77, 0.06) 100%);
}
/* ==========================
   Search Modal (Light Theme)
========================== */

.search-modal-content {
  background: #fff;
  box-shadow: 0 15px 45px rgba(0,0,0,0.2);
  padding: 25px;
  color: #001b4d;
  border: 1px solid #dfe6f9;
  animation: fadeIn 0.4s ease;
}

.search-modal-content h5 {
  color: #0140da;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.search-form .form-control {
  border: 1.5px solid #0140da;
  background: #f9f9f9;
  font-size: 1.05rem;
  color: #001b4d;
  padding: 10px 16px;
}
.search-form .form-control::placeholder {
  color: #777;
}
.search-form .form-control:focus {
  border-color: #001b4d;
  box-shadow: none;
  background: #fff;
}

.search-form .btn-gradient {
  background: linear-gradient(90deg, #0140da, #001b4d);
  border: none;
  color: #fff;
  transition: 0.3s ease;
}
.search-form .btn-gradient:hover {
  background: linear-gradient(90deg, #001b4d, #0140da);
}


/* ==========================
   Offcanvas (Toggle Menu)
========================== */

.offcanvas {
  background: #fff;
  color: #001b4d;
  border-left: 1px solid #e5e9f5;
  width: 340px;
  transition: all 0.4s ease;
}
.offcanvas-header {
  background: #f8faff;
  border-bottom: 1px solid #e5e9f5;
}
.offcanvas-title {
  color: #0140da;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}
.btn-close {
  filter: none;
  opacity: 0.6;
  transition: 0.3s ease;
}
.btn-close:hover { opacity: 1; }

/* Menu links */
.toggle-menu-list {
  padding-top: 15px;
}
.toggle-menu-list li {
  list-style: none;
}
.toggle-menu-list li a {
  color: #001b4d;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  display: block;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}
.toggle-menu-list li a:hover {
  color: #0140da;
  transform: translateX(4px);
}

/* Buttons in toggle */
.toggle-contact .btn-gradient {
  background: linear-gradient(90deg, #0140da, #001b4d);
  border: none;
  color: #fff;
}
.toggle-contact .btn-outline-secondary {
  border: 1.5px solid #0140da;
  color: #0140da;
  background: transparent;
}
.toggle-contact .btn-outline-secondary:hover {
  background: #0140da;
  color: #fff;
}

/* Social Icons */
.toggle-social {
  border-top: 1px solid #e5e9f5;
  padding-top: 15px;
}
.toggle-social .social-link {
  color: #0140da;
  border: 1.5px solid #0140da;
  font-size: 18px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.toggle-social .social-link:hover {
  background: #0140da;
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================
   Footer (Light Theme)
========================== */

.diwan-footer {
  background: #f8faff;
  color: #001b4d;
  font-size: 15px;
}

.footer-title {
  font-family: 'Poppins', sans-serif;
  color: #0140da;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact a{
  color: #0140da !important;
  text-decoration: none;
}

.footer-menu li a {
   color: #001b4d;
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
  transition: color 0.3s ease, transform 0.3s ease; /* added smooth transform transition */
}
.footer-menu li a:hover {
 color: #0140da;
  transform: translateX(4px);
}

.footer-contact p {
  margin-bottom: 8px;
  color: #001b4d;
  font-size: 14px;
}

.text-blue { color: #0140da !important; }
.border-blue { border-color: #0140da !important; }

.btn-blue {
  background: #0140da;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}
.btn-blue:hover {
  background: #001b4d;
  color: #fff;
}

.footer-newsletter input {
  border: 1px solid #0140da;
  background: #fff;
  color: #001b4d;
  outline: none;
}
.footer-newsletter input::placeholder {
  color: #777;
}

.footer-social .social-link {
  color: #0140da;
  border: 1.5px solid #0140da;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.footer-social .social-link:hover {
  background: #0140da;
  color: #fff;
  transform: translateY(-2px);
}

.newsletter-desc{
  color: #000;
}

.footer-bottom {
  color: #777;
  font-size: 14px;
}

.footer-menu li a {
  position: relative;
  color: #001b4d;
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* underline effect */
.footer-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #0140da;
  transition: width 0.3s ease;
}

/* hover animation */
.footer-menu li a:hover {
  color: #0140da;
  transform: translateX(4px);
}

.footer-menu li a:hover::after {
  width: 100%;
}

/* ------------------------------
   Hero Section
------------------------------ */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-content h1 {
  font-size: 2.8rem;
  color: #fff;
}
.hero-typing-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff !important;
  min-height: 28px;
}
.icon-color {
  color: #0140da;
  font-size: 18px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
  transition: all 0.3s ease;
  font-weight: 600;
}
.cursor {
  display: inline-block;
  color: #fff;
  animation: blink 0.7s infinite;
}
.cursor.hidden { visibility: hidden; }
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ------------------------------
   Purpose Tabs
------------------------------ */
.property-filter-wrapper{
  background: #ffffff61;
    padding: 30px;
    border-radius: 30px;
}
.property-purpose-tabs {
  gap: 15px;
}
.purpose-tab {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 30px;
  padding: 10px 24px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}
.purpose-tab.active,
.purpose-tab:hover {
  background: #fff;
  color: #0140DA;
  box-shadow: 0 3px 10px rgba(1,64,218,0.3);
  transform: translateY(-2px);
}

/* ------------------------------
   Filter Bar
------------------------------ */
.property-search-bar {
  position: relative;
  z-index: 3;
  border: 1px solid #e5e9f5;
  background: #fff;
  border-radius: 12px;
}
.property-search-bar select {
  border: 1.5px solid #0140DA;
  border-radius: 8px;
  color: #001B4D;
  transition: all 0.3s ease;
}
.property-search-bar select:focus {
  box-shadow: 0 0 0 0.2rem rgba(1,64,218,0.15);
  border-color: #001B4D;
}

/* Button */
.btn-gradient {
  background: linear-gradient(90deg, #0140DA, #001B4D);
  color: #fff;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-gradient:hover {
  background: linear-gradient(90deg, #001B4D, #0140DA);
  transform: translateY(-2px);
  color: #fff;
}

/* Featured Projects (updated) */
.featured-projects .section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #001b4d;
  font-size: 1.9rem;
}

.featured-projects .section-desc {
  color: #5d6b80;
  font-size: 1rem;
}

.project-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}
.project-card .card-body .project-builder {
  font-weight: bold;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .35s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

/* Badge */
.purpose-badge {
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  color: #fff;
  background: linear-gradient(90deg, #0140da, #001b4d);
}

/* Price */
.project-price {
  color: #0140da;
  font-size: 1.04rem;
}

/* Short description */
.project-short-desc {
  color: #52606d;
  line-height: 1.4;
}

/* Buttons - removed but keep style for View All */
.btn-outline-primary {
  border: 1px solid #0140da !important;
  color: #0140da;
}
.btn-outline-primary:hover,.btn.btn-secondary.contact-sec:hover {
  background: #0140da;
  color: #fff;
}
.contact-cta-row{
  margin-bottom: 35px;
}
.contact-map{
  border-radius: 30px;
}
/* Explore by City */
.explore-cities .section-title { font-family: 'Poppins', sans-serif; color: #001b4d; font-weight:600; font-size:1.8rem; }
.explore-cities .section-desc { color:#5d6b80; }

.city-card .card { border-radius:12px; overflow:hidden; }
.city-image { width:100%; height:180px; background-size:cover; background-position:center; }
.city-image--fallback { height:180px; background: linear-gradient(90deg,#e9f0ff,#f3f6ff); }

/* Hover */
.city-card:hover .card { transform: translateY(-6px); box-shadow:0 12px 30px rgba(0,0,0,0.08); }
.city-card .card-body { padding:18px; margin: 0 auto;}
.city-card h5 { margin-bottom:6px; color:#001b4d; }


/* =======================
   Top Builders Carousel
======================= */
.top-builders .section-title {
  font-family: 'Poppins', sans-serif;
  color: #001b4d;
  font-weight: 600;
  font-size: 1.8rem;
}
.top-builders .section-desc { color: #5d6b80; }

.builder-card .card {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}
.builder-card:hover .card {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.builder-logo img {
  transition: transform 0.3s ease;
}
.builder-card:hover .builder-logo img {
  transform: scale(1.05);
}

/* Swiper controls */
.builder-prev, .builder-next {
  color: #0140da;
  transition: all 0.3s ease;
}
.builder-prev:hover, .builder-next:hover {
  color: #001b4d;
}

/* =========================
   Project Categories Carousel
   (Diwan Realty)
   ========================= */

.project-cats-carousel .section-title {
  font-family: 'Poppins', sans-serif;
  color: #001b4d;
  font-weight: 600;
  font-size: 1.8rem;
}
.project-cats-carousel .section-desc { color: #5d6b80; }

.project-cats-carousel .swiper-wrapper { padding-bottom: 10px; }

.category-card .card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  background: #fff;
}
.category-card:hover .card {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.category-image {
  width: 100%;
  height: 160px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.category-image--fallback {
  height: 160px;
  background: linear-gradient(90deg, #e9f0ff, #f3f6ff);
}

/* navigation styles */
.projectCats-navigation { margin-top: 16px; }
.projectCats-controls .swiper-button-prev,
.projectCats-controls .swiper-button-next {
  color: #0140da;
}
.projectCats-controls .swiper-button-prev:hover,
.projectCats-controls .swiper-button-next:hover {
  color: #001b4d;
}

/* pagination */
.projectCats-pagination .swiper-pagination-bullet {
  background: #dfe8ff;
  opacity: 1;
}
.projectCats-pagination .swiper-pagination-bullet-active {
  background: #0140da;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .project-cats-carousel .section-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .project-cats-carousel .section-title { font-size: 1.25rem; }
  .category-image { height: 140px; }
}

/* Why Choose — background variants */
.why-choose { position: relative; background-repeat: no-repeat; background-size: cover; background-position: center; }
.why-choose .section-title { color: #001b4d; font-family: 'Poppins', sans-serif; font-weight:600; }
.why-choose .section-desc { max-width: 760px; margin: 0 auto; color: #5d6b80; }

/* Light background (default) text colors */
.why-choose--light .section-title { color: #001b4d; }
.why-choose--light .section-desc { color: #5d6b80; }
.why-choose--light .why-card { background: #f8faff; color: #001b4d; }
.why-choose--light .why-card .why-icon i { color: #0140da; }

/* Dark background (image overlay) - use light text for contrast */
.why-choose--dark {
  color: #fff;
}
.why-choose--dark .section-title,
.why-choose--dark .section-desc,
.why-choose--dark .why-card h5 {
  color: rgba(255,255,255,0.95);
}
.why-choose--dark .section-desc { color: rgba(255,255,255,0.85); }

/* Card styles */
.why-card {
  border-radius: 12px;
  transition: all 0.32s ease;
  box-shadow: 0 6px 18px rgba(17,24,39,0.04);
}
.why-card .why-icon i { font-size: 2rem; transition: transform .28s ease, color .28s ease; display:inline-block; }

/* hover (for light background) */
.why-choose--light .why-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(90deg, #0140da 0%, #001b4d 100%);
  color: #fff;
}
.why-choose--light .why-card:hover .why-icon i { color: #fff; transform: translateY(-4px); }
.why-choose--light .why-card h5 { color: #001b4d; }

/* hover (for dark background) — subtle */
.why-choose--dark .why-card {
  background: rgba(255,255,255,0.06);
}
.why-choose--dark .why-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(90deg, rgba(1,64,218,0.18), rgba(0,27,77,0.18));
  color: #fff;
}
.why-choose--dark .why-card .why-icon i { color: #fff; }
.why-choose .multi-indicators{display:none !important;}

/* Latest Insights — Carousel */
.latest-insights-carousel .section-title { font-family:'Poppins',sans-serif;color:#001b4d;font-weight:600;font-size:1.8rem; }
.latest-insights-carousel .section-desc { color:#5d6b80; }

.insight-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform .32s ease, box-shadow .32s ease;
  background: #fff;
}
.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.insight-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform .35s ease;
}
.insight-card:hover img { transform: scale(1.03); }

.card-excerpt { color:#52606d; }
.read-more-link { color:#0140da; }
.read-more-link:hover { text-decoration:underline; color:#001b4d; }

/* Swiper nav/pagination custom */
.insights-controls { margin-top: 12px; }
.insights-nav .swiper-button-prev,
.insights-nav .swiper-button-next {
  color: #0140da;
}
.insights-nav .swiper-button-prev:hover,
.insights-nav .swiper-button-next:hover { color:#001b4d; }

.insights-pagination .swiper-pagination-bullet { background: #dfe8ff; opacity:1; }
.insights-pagination .swiper-pagination-bullet-active { background: #0140da; }


/* =========================
   Testimonials — Home Carousel
   ========================= */
   .diwan-testimonials .section-title { font-family:'Poppins',sans-serif;color:#001b4d;font-weight:600;font-size:1.6rem; }
   .diwan-testimonials .section-desc { color:#5d6b80; }
   
   .testimonial-card {
     background: #fff;
     border-radius: 12px;
     transition: transform .32s ease, box-shadow .32s ease;
     min-height: 220px;
   }
   .testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(3,32,78,0.08); }
   
   .testimonial-quote { margin-bottom: 6px;display:none !important;}
   .testimonial-text { color:#334155; line-height:1.6; margin-bottom: 10px; }
   
   .testimonial-rating .star { color:#d1d5db; margin-right:2px; font-size:13px; }
   .testimonial-rating .star.filled { color:#f6b024; } /* gold filled */
   
   .testimonials-controls .swiper-button-prev,
   .testimonials-controls .swiper-button-next { color:#0140da; }
   
   .tst-pagination .swiper-pagination-bullet { background:#e6eefc; opacity:1; }
   .tst-pagination .swiper-pagination-bullet-active { background:#0140da; }
   .diwan-testimonials .swiper-pagination-bullets.swiper-pagination-horizontal{bottom: var(--swiper-pagination-bottom, 0px);}

/* diwan-project-search.css */
.project-card { transition: transform .12s ease; }
.project-card:hover { transform: translateY(-4px); }
#project-search-hero .form-control,
#project-search-hero .form-select { min-height: 42px; }

.why-choose .why-card:hover h5,.why-choose .why-card:hover p{
  color: #fff !important;
}

/* Header layout: left logo, center menu, right site logo */
.project-header {
  background: transparent;
  padding: 0.75rem 0;
  position: relative;
  z-index: 50;
}

/* ensure container aligns items */
.project-header .container { display:flex; align-items:center; gap:1rem; }

/* left project logo */
.project-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}

/* center menu */
.project-main-nav { display:flex; align-items:center; gap:1rem; }
.project-main-nav .menu-item { list-style:none; }
.project-main-nav a { text-decoration:none; padding: .5rem .6rem; display:inline-block; color:inherit; }

/* right site logo */
.site-logo-wrapper { display:flex; align-items:center; }

/* mobile specifics */
#project-mobile-toggle { display: none; }
/* assets/css/hero-section.css
   Visual hero exactly like preview image
*/

:root{
  --diwan-primary: #0d6efd;
  --diwan-overlay: rgba(0,0,0,0.45);
  --diwan-white: #ffffff;
}

/* Base / container */

.diwan-hero-section {
  position: relative;
  overflow: hidden;
  /* max-height: 70vh; */
  height: 90vh;
  color: var(--diwan-white);
  display: block;
}

/* Background media */
.diwan-hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay for contrast */
.diwan-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--diwan-overlay);
}

/* inner content */
.diwan-hero-inner {
  position: relative;
  z-index: 5;
  padding-top: 4rem;
  padding-bottom: 4rem;
  top: 40vh; 
}

/* Title + tagline */
.diwan-hero-title {
  font-size: 3.3rem;
  font-weight: 700;
  margin: 0 0 .4rem 0;
  color: #fff;
  letter-spacing: .01em;
  text-shadow: 0 8px 26px rgba(0,0,0,0.45);
  line-height: 1.02;
}

.diwan-hero-tagline {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 4px 12px rgba(0,0,0,0.35);
  margin-bottom: .8rem;
}

/* Quick facts pill */
.diwan-facts-pill {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: .6rem .95rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
  box-shadow: 0 6px 22px rgba(0,0,0,0.25);
}

/* CTAs */
.diwan-btn-primary {
  display: inline-block;
  background: var(--diwan-primary);
  color: #fff;
  border: none;
  padding: .78rem 1.2rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 8px 26px rgba(13,110,253,0.12);
  text-decoration: none;
}

.diwan-btn-outline {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.9);
  color: #fff;
  padding: .66rem 1.05rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

/* hero nav */
.diwan-hero-nav .diwan-section-link{
  color: rgba(255,255,255,0.95);
  padding: .4rem .6rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
  text-decoration: none;
  font-weight: 600;
}

/* Brochure card on right */
.diwan-hero-brochure-card {
  max-width: 320px;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  gap: .75rem;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 44px rgba(0,0,0,0.35);
}

.diwan-card-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  padding: 6px;
}

.diwan-card-body { color: #fff; }
.diwan-card-body h5 { margin: 0 0 .25rem 0; color: #fff; }

/* scroll hint */
.diwan-scroll-hint {
  position: absolute;
  left:50%;
  transform: translateX(-50%);
  bottom: 12px;
  z-index:6;
  background:transparent;
  color: rgba(255,255,255,0.9);
  border: none;
  font-size: 1.25rem;
}
.diwan-btn-primary:hover{
  border: 1px solid #fff;
  border-radius: 5px;
}
.diwan-btn-ghost:hover{
  background: #0b5fff;
}
.diwan-card-body a.btn {
      background: #0b5fff;
    border: 1px solid #0b5fff;
    color: #fff;
}
.diwan-card-body a.btn:hover{
  background: #fff;
    border: 1px solid #0b5fff;
    color: #0b5fff;
}

/* In-page nav styles — move to theme stylesheet if preferred */
.project-inpage-nav-wrapper { width:100%; background:#fff; z-index:9998; border-bottom:1px solid #eef2f6; }
.project-inpage-nav { max-width:1200px; margin:0 auto; padding:12px 20px; text-align:center; transition:all .22s ease; }
.project-inpage-nav-list { margin:0; padding:0; list-style:none; display:inline-flex; gap:26px; align-items:center; }
.project-inpage-nav-link { text-decoration:none; font-weight:600; color:#222; padding:6px 4px; display:inline-block; transition: color .18s ease, transform .12s ease; }
.project-inpage-nav-link:hover, .project-inpage-nav-link.active { color:#0b5fff; transform:translateY(-1px); }
/* sticky state */
.project-inpage-nav.sticky { position:fixed; top:<?php echo intval($inpage_header_height); ?>px; left:0; right:0; box-shadow:0 8px 28px rgba(2,6,23,0.08); background:#fff; }
/* Minimal drop-in styles — move to your theme CSS */
.project-details-row .pd-row { display:flex; gap:1rem; flex-wrap:wrap; }
.project-details-row .pd-col { min-width:0; flex: 1 1 200px; }
.project-details-row .pd-card {
    background:#fff;
    border-radius:10px;
    padding:12px;
    display:flex;
    align-items:center;
    gap:12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.project-details-row .pd-icon { width:46px; height:46px; display:flex; align-items:center; justify-content:center; border-radius:8px; background: rgba(0,0,0,0.03); font-size:20px; flex-shrink:0; }
.project-details-row .pd-title { font-size:11px; text-transform:uppercase; color:#6b7280; margin-bottom:3px; }
.project-details-row .pd-value { font-weight:600; font-size:14px; color:#111827; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
@media (max-width:991px) {
    .project-details-row .pd-row { gap:0.75rem; }
}
@media (max-width:767px) {
    .project-details-row .pd-row { flex-direction:column; }
    .project-details-row .pd-col { width:100%; }
}

/* Hero RERA small styles (can be moved to theme stylesheet) */
.diwan-facts-pill { display: inline-block; padding: .35rem .6rem; border-radius: .5rem; background: rgba(255,255,255,.12); font-weight:600; }
.rera-pill { background: rgba(255,255,255,0.16); }
.diwan-hero-brochure-card { background: rgb(255 255 255 / 15%); padding: 1rem; border-radius: 0.5rem; box-shadow: 0 6px 20px rgba(0,0,0,.05); max-width: 340px; }

/* Buttons & Modal */
.diwan-hero-actions .btn { margin-right: .5rem; padding: .5rem .85rem; border-radius: .45rem; font-weight:600; cursor:pointer; }
.diwan-btn-primary { background:#0b5fff; color:#fff; border: 1px solid #0b5fff !important; }
.diwan-btn-primary:hover{border: 1px solid #fff !important;}
.diwan-btn-ghost { background:transparent; border:1px solid #fff !important; color:#fff; }
.diwan-btn-ghost:hover{
  border: 1px solid #0b5fff !important;
}

.diwan-modal { display:none; position:fixed; inset:0; z-index:1100; align-items:center; justify-content:center; }
.diwan-modal[aria-hidden="false"] { display:flex; }
.diwan-modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,0.6); }
.diwan-modal-panel { position:relative; z-index:1101; width:calc(100% - 2rem); max-width:900px; margin: 1rem auto; background:#fff; border-radius:10px; box-shadow:0 30px 80px rgba(2,6,23,0.4); overflow:hidden; display:flex; flex-direction:column; }
.diwan-modal-close { position:absolute; top:.5rem; right:.6rem; background:transparent; border:0; font-size:1.6rem; line-height:1; cursor:pointer; padding:.25rem .5rem; }
.diwan-modal-body { padding: 1rem; background:#000; }
.sr-only { position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }

/* Contact Section */
/* ---------- Diwan Contact — Base ---------- */
/* =========================
   Contact section (global)
   ========================= */
   .contact-section {
    /* background: linear-gradient(180deg, #F6FAFF 0%, #F0F7FF 100%); */
    padding: 64px 16px;
    color: #0f1724;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    box-sizing: border-box;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }
  
  .contact-left {
    padding: 24px;
  }
  .contact-title {
    font-size: 32px;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
  }
  .contact-sub { margin: 0 0 20px; color: #334155; }
  
  .contact-quick { list-style: none; padding: 0; margin: 0 0 18px; color: #0b1220; }
  .contact-quick li { margin-bottom: 10px; line-height: 1.35; }
  
  .contact-meta .small-note { color: #475569; font-size: 13px; }
  
  .contact-cta-row {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
  }
  .btn-secondary { background: #0b5fff; color: #fff; }
  .btn-outline {
    background: transparent;
    color: #0b5fff;
    border: 1px solid rgba(11,95,255,0.12);
  }
  
  /* Contact form card on right */
  .contact-right {
    background: #ffffff;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(11, 28, 55, 0.06);
    box-sizing: border-box;
  }
  
  /* sr-only accessible class */
  .sr-only {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
  }
  
  /* =========================
     Diwan Contact (CF7) styles
     Scope: only inside .contact-right
     ========================= */
  .contact-right .diwan-contact {
    max-width: 880px;
    margin: 0;
    padding: 0;
    color: #0f1724;
    box-sizing: border-box;
    font-size: 15px;
  }
  
  /* two-column small group grid */
  .contact-right .diwan-contact .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 12px;
    box-sizing: border-box;
  }
  
  /* labels — kept visible for accessibility by default */
  .contact-right .diwan-contact label {
    display: block;
    font-size: 13px;
    color: #0b1220;
    margin-bottom: 6px;
    position: relative;
    box-sizing: border-box;
  }
  
  /* Inputs: transparent background, only bottom border */
  .contact-right .diwan-contact input[type="text"],
  .contact-right .diwan-contact input[type="email"],
  .contact-right .diwan-contact input[type="tel"],
  .contact-right .diwan-contact input[type="file"],
  .contact-right .diwan-contact textarea,
  .contact-right .diwan-contact select {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d2dae8; /* subtle bottom line */
    padding: 10px 6px;
    width: 100%;
    font-size: 15px;
    color: #0b1220;
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease;
    border-radius: 0;
    resize: vertical;
    outline: none;
  }
  
  /* file input visual fallback */
  .contact-right .diwan-contact input[type="file"] {
    border-bottom-style: dashed;
    padding-top: 8px;
  }
  
  /* Select: keep arrow visible and consistent */
  .contact-right .diwan-contact select {
    padding-right: 36px;
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) 50%;
    background-size: 10px;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  
  /* Placeholder style */
  .contact-right .diwan-contact input::placeholder,
  .contact-right .diwan-contact textarea::placeholder {
    color: rgba(11,17,32,0.36);
    transition: opacity .16s ease;
  }
  
  /* Hide placeholder when focused or when the field has content */
  .contact-right .diwan-contact input:focus::placeholder,
  .contact-right .diwan-contact textarea:focus::placeholder,
  .contact-right .diwan-contact input:not(:placeholder-shown)::placeholder,
  .contact-right .diwan-contact textarea:not(:placeholder-shown)::placeholder {
    opacity: 0;
  }
  
  /* Focus state: stronger bottom border */
  .contact-right .diwan-contact input:focus,
  .contact-right .diwan-contact textarea:focus,
  .contact-right .diwan-contact select:focus {
    border-bottom: 2px solid #0b5fff;
    box-shadow: 0 6px 22px rgba(11, 95, 255, 0.06);
  }
  
  /* subtle hover */
  .contact-right .diwan-contact input:hover,
  .contact-right .diwan-contact textarea:hover,
  .contact-right .diwan-contact select:hover {
    border-bottom-color: #bfcbea;
  }
  
  /* Consent checkbox */
  .contact-right .diwan-contact .diwan-consent {
    margin-top: 10px;
    display: block;
    font-size: 13px;
    color: #374151;
  }
  .contact-right .diwan-contact .diwan-consent .wpcf7-list-item-label {
    font-weight: 500;
  }
  
  /* Submit row */
  .contact-right .diwan-contact .diwan-submit-row {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .contact-right .diwan-contact .diwan-btn {
    background: #0b5fff;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(11, 28, 55, 0.06);
  }
  .contact-right .diwan-contact .diwan-note {
    font-size: 12px;
    color: #475569;
  }
  
  /* =========================
     Validation: only bottom border becomes red
     CF7 applies .wpcf7-not-valid to fields/wraps
     ========================= */
  /* direct invalid controls */
  .contact-right .diwan-contact .wpcf7-not-valid,
  .contact-right .diwan-contact input.wpcf7-not-valid,
  .contact-right .diwan-contact textarea.wpcf7-not-valid,
  .contact-right .diwan-contact select.wpcf7-not-valid {
    border-bottom-color: #e11d48 !important; /* red */
    box-shadow: none !important;
  }
  
  /* wrap-level invalid (CF7 may wrap the input) */
  .contact-right .diwan-contact .wpcf7-form-control-wrap > .wpcf7-not-valid,
  .contact-right .diwan-contact .wpcf7-form-control-wrap.wpcf7-not-valid input,
  .contact-right .diwan-contact .wpcf7-form-control-wrap.wpcf7-not-valid textarea {
    border-bottom-color: #e11d48 !important;
    box-shadow: none !important;
  }
  
  /* subtle red focus glow for invalids (optional, low-intensity) */
  .contact-right .diwan-contact .wpcf7-not-valid:focus,
  .contact-right .diwan-contact input.wpcf7-not-valid:focus,
  .contact-right .diwan-contact textarea.wpcf7-not-valid:focus {
    box-shadow: 0 2px 12px rgba(225,29,72,0.07);
    outline: none;
  }
  
  /* Small screens */
  @media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-section { padding: 40px 12px; }
    .contact-left { order: 2; }
    .contact-right { order: 1; margin-bottom: 18px; }
    .contact-right .diwan-contact .grid-2 { grid-template-columns: 1fr; }
  }
  
  /* Optional: visually hide <label> but keep accessible (uncomment to use)
     This makes the placeholder the visible hint while preserving accessibility.
     If you enable this, ensure placeholders exist for every field.
  */
  /*
  .contact-right .diwan-contact label {
    position: absolute;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
  }
  */

/* Layout */
.project-cta-gallery { padding: 25px 0; }
.project-cta-gallery .container { max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.cta-grid { display:flex; gap:24px; align-items:center; margin-bottom:18px; }
.cta-content { flex:1 1 100%; display: inline-flex;justify-content: space-between;}
.cta-title { font-size:28px; margin:0 0 12px; line-height:1.1; }
.project-name { font-weight:700; }
.cta-tagline { margin:0 0 18px; color:#555; max-width:70ch; }
.btn-primary { display:inline-block; padding:12px 20px; text-decoration:none; border-radius:6px; background:#0b67d0; color:#fff; }

/* Gallery - gapless multi-item view */
.gallery-wrap { margin-top:8px; }
.gallery-viewport { position:relative; overflow:hidden; width:100%; }
.slides {
  display:flex;
  gap:0;
  will-change:transform;
  align-items:stretch;
  /* no width set here; each .slide gets a width in JS */
}
.slide { flex:0 0 auto; display:block; }
.slide img { display:block; width:100%; height:100%; object-fit:cover; }

/* Project Sections: two-column responsive layout */
.project-sections { margin: 0; padding: 0; }

/* each section */
.project-section { padding: 35px 0; }
.project-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* media column (image) */
.project-section__col--media { min-height: 320px; }
.project-section__media {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* content column */
.project-section__title { font-size: 28px; margin: 0 0 12px; }
.project-section__content { font-size: 16px; line-height: 1.7; color: #444; }
.project-section__cta .btn { display: inline-block; margin-top: 18px; padding: 12px 22px; text-decoration: none; border-radius: 6px; }

/* modifiers for ordering */
.project-section--image-left .project-section__col--media  { order: 0; }
.project-section--image-left .project-section__col--content{ order: 1; }

.project-section--image-right .project-section__col--media { order: 1; }
.project-section--image-right .project-section__col--content{ order: 0; }

.project-section--image-left .project-section__col--media  { order: 0; }
.project-section--image-left .project-section__col--content{ order: 1; }

.project-section--image-right .project-section__col--media { order: 1; }
.project-section--image-right .project-section__col--content{ order: 0; }


/* small devices */
@media (max-width: 900px) {
  .project-section .container { grid-template-columns: 1fr; }
  .project-section__media { min-height: 220px; }
  .project-section { padding: 36px 0; }
}


/* Heights: tweak as needed */
.gallery-viewport { height: 320px; } /* change to suit design */
@media (min-width: 992px) {
  .cta-title { font-size:36px; }
}
@media (max-width: 600px) {
  .gallery-viewport { height: 220px; }
}

/* Responsive */
@media (max-width: 880px) {
  .diwan-contact-wrap { flex-direction:column; }
  .diwan-contact-left, .diwan-contact-right { flex:1 1 100%; }
}


@media (max-width:767px){ .diwan-modal-panel { width:calc(100% - 1rem); } }
/* mobile adjustments */
@media (max-width:768px) {
  .project-inpage-nav-list { gap:14px; padding:0 8px; overflow:auto; -webkit-overflow-scrolling:touch; }
  .project-inpage-nav-link { font-size:14px; white-space:nowrap; }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .diwan-hero-title { font-size: 2.25rem; }
  .diwan-hero-inner { padding-top: 3rem; padding-bottom: 3rem; }
  .diwan-hero-brochure-card { display: none; }
}

@media (max-width: 575px) {
  .diwan-hero-title { font-size: 1.6rem; }
  .diwan-hero-tagline { font-size: 1rem; }
  .diwan-facts-pill { font-size: .9rem; padding: .45rem .7rem; }
}

/* Project details single-row (4 cols) */
.project-details-row { background: #fff; }
.pd-row { display: flex; gap: 1rem; flex-wrap: nowrap; align-items: stretch; }
.pd-col { flex: 1 1 0; min-width: 180px; }
.pd-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8f9fb;
  box-shadow: 0 6px 18px rgba(14,33,78,0.04);
  height: 100%;
}
.pd-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(0,0,0,0.04);
}
.pd-body { flex: 1; }
.pd-title { font-size: 0.85rem; font-weight: 600; color: #1f2937; margin-bottom: 4px; }
.pd-value { font-size: 0.95rem; color: #374151; line-height: 1.2; }

/* configuration inline text */
.pd-config-inline { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* small screens: stack into single column */
@media (max-width: 768px) {
  .pd-row { flex-direction: column; gap: 0.75rem; }
  .pd-col { min-width: 0; }
}

/* small set — adapt into your theme style */
.project-hero { background-size: cover; background-position:center; position:relative; padding:5.5rem 0; color:#fff; }
.project-hero .hero-overlay { position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.32)); z-index:0; }
.hero-inner { position:relative; z-index:2; }
.project-title { font-size:clamp(1.8rem, 3.2vw, 2.6rem); font-weight:700; }
.project-tagline { color: rgba(255,255,255,0.92); margin-bottom:.75rem; }
.meta-pill { background: rgba(255,255,255,0.1); color:#fff; padding:.35rem .6rem; border-radius:999px; font-size:.95rem; }
.hero-card { border-radius:.75rem; overflow:hidden; box-shadow:0 12px 30px rgba(10,10,10,0.16); background:rgba(255,255,255,0.02); }
.hero-card-media { height:180px; background-size:cover; background-position:center; }
.hero-card-body { padding:1rem; color:rgba(255,255,255,0.95); }

/* project sections */
.project-section { background-repeat:no-repeat; background-size:cover; background-position:center; color:#222; }
.section-heading { font-size:1.4rem; font-weight:600; margin-bottom:1rem; }
.section-body { color:#6c757d; line-height:1.7; }

/* gallery */
.gallery-item { padding-top:66%; background-size:cover; background-position:center; border-radius:.5rem; }

/* amenities */
.amenity-item { background:transparent; padding:.4rem 0; }

/* in-page nav */
.project-inpage-nav { position:sticky; top:72px; z-index:60; background: #fff; padding:.6rem 0; border-bottom:1px solid rgba(0,0,0,0.04); box-shadow:0 6px 18px rgba(0,0,0,0.04); }
.project-inpage-nav .nav a.active { color:var(--bs-primary); font-weight:600; }

/* misc */
.bg-soft { background:#f7fafb; }
.py-6 { padding-top:3.5rem; padding-bottom:3.5rem; }


/* mobile show/hide */
@media (max-width: 767.98px) {
  .project-main-nav { display:none !important; } /* hide center menu on mobile */
  #project-mobile-toggle { display:inline-flex; } /* show hamburger */
  .project-logo { width:48px; height:48px; }
  .site-logo-wrapper { margin-left: .5rem; }

  /* mobile nav panel hidden by default */
  #project-mobile-nav { display:none; background:#fff; border-top:1px solid rgba(0,0,0,0.06); }
  #project-mobile-nav.open { display:block; padding: .75rem 0; }
  .project-mobile-menu .menu-item { padding: .25rem 0; }
}

   /* responsive spacing */
   @media (max-width: 992px) {
     .testimonial-card { min-height: 200px; }
   }
   @media (max-width: 576px) {
     .diwan-testimonials .section-title { font-size:1.25rem; }
     .testimonial-card { padding:1rem; }
   }
   

/* Responsive tweaks */
@media (max-width: 992px) {
  .why-choose .section-title { font-size: 1.6rem; }
}
@media (max-width: 576px) {
  .why-choose .section-title { font-size: 1.25rem; }
  .why-choose .section-desc { padding: 0 16px; }
}


/* Responsive */
@media (max-width: 768px) {
  .hero-section { height: auto; padding: 80px 0; }
  .property-purpose-tabs { flex-wrap: wrap; gap: 10px; }
  .purpose-tab { width: 45%; font-size: 0.9rem; padding: 8px 0; }
}


/* ==========================
   Animations
========================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================
   Responsive
========================== */
@media (max-width: 1024px) {
  .mega-submenu { padding: 20px 0; }
}

@media (max-width: 768px) {
  .mega-submenu { display: none !important; }
  .mega-menu-list { display: none !important; }
  .diwan-footer { text-align: center; }
  .footer-social { justify-content: center; }
}

/* ===========================
   Master Gallery – Section
   =========================== */
.project-master-gallery {
  padding: 60px 0;
}

.project-master-gallery .pmg-header {
  text-align: center;
  margin-bottom: 40px;
}

.project-master-gallery .pmg-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-master-gallery .pmg-subtitle {
  font-size: 14px;
  opacity: 0.75;
}

/* ===========================
   Masonry layout (CSS columns)
   =========================== */
.pmg-masonry-grid {
  column-count: 4;
  column-gap: 16px;
}

.pmg-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  text-decoration: none;
  color: inherit;
}

/* Inner wrapper controls radius + overlay */
.pmg-item-inner {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* Image */
.pmg-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* ===========================
   Hover overlay + blur + eye icon
   =========================== */
.pmg-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.25s ease;
}

.pmg-eye-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.pmg-eye-icon svg {
  display: block;
  color: #111;
}

.pmg-item-inner:hover .pmg-overlay {
  opacity: 1;
}

.pmg-item-inner:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ===========================
   Responsive breakpoints
   =========================== */
@media (max-width: 1199px) {
  .pmg-masonry-grid { column-count: 3; }
}

@media (max-width: 767px) {
  .pmg-masonry-grid { column-count: 2; }
}

@media (max-width: 480px) {
  .pmg-masonry-grid { column-count: 1; }
}

/* ===========================
   Custom Lightbox
   =========================== */

body.pmg-lightbox-open {
  overflow: hidden;
}

.pmg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.pmg-lightbox.is-active {
  display: flex;
  pointer-events: auto;
}

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

.pmg-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pmg-lightbox-img-wrap {
  max-width: 100%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pmg-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}

/* Caption */
.pmg-lightbox-caption {
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

/* Close / Prev / Next controls */
.pmg-lightbox-close,
.pmg-lightbox-prev,
.pmg-lightbox-next {
  position: absolute;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 26px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pmg-lightbox-close {
  top: -50px;
  right: 0;
}

.pmg-lightbox-prev {
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
}

.pmg-lightbox-next {
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
}

.pmg-lightbox-close:hover,
.pmg-lightbox-prev:hover,
.pmg-lightbox-next:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-50%) scale(1.05);
}

.pmg-lightbox-close:hover {
  transform: scale(1.05);
}

/* Mobile tweak: bring arrows closer */
@media (max-width: 767px) {
  .pmg-lightbox-prev {
    left: 8px;
  }
  .pmg-lightbox-next {
    right: 8px;
  }
  .pmg-lightbox-close {
    top: -45px;
    right: 0;
  }
}


/* fmplans.css — high-specificity overrides to prevent theme conflicts */
.fmplans{padding: 35px 0px;}
.content-only .fmplans { padding: 44px 0 !important; color: #222 !important; font-family: inherit !important; }
.content-only .fmplans__container { max-width:1180px; margin:0 auto; padding:0 18px !important; box-sizing:border-box; }
.content-only .fmplans__header { display:flex !important; align-items:center !important; justify-content:center !important; gap:14px !important; margin-bottom:18px !important; flex-wrap:wrap;}
.content-only .fmplans__title { font-size:26px !important; margin:0 !important; font-weight:700 !important; }

/* Tabs bar: always visible, scrollable on small screens */
.content-only .fmplans__tabs { display:flex !important; gap:8px !important; overflow-x:auto !important; -webkit-overflow-scrolling:touch; padding-bottom:4px !important; margin-top:8px !important;justify-content: center; }
.content-only .fmplans__tab { white-space:nowrap !important; background:transparent !important; border:1px solid #e6e6e6 !important; padding:8px 12px !important; border-radius:10px !important; cursor:pointer !important; font-weight:600 !important; color:#333 !important; transition:all .18s ease !important; }
.content-only .fmplans__tab:hover { transform:translateY(-2px) !important; box-shadow:0 6px 18px rgba(16,24,40,0.04) !important; }
.content-only .fmplans__tab.is-active { background:#0b72ef !important; color:#fff !important; border-color:transparent !important; box-shadow:0 8px 24px rgba(11,114,239,0.14) !important; }

/* Ensure only active panel shows (important priority to override theme rules) */
.content-only .fmplans__panel { display:none !important; padding:18px 0 !important; }
.content-only .fmplans__panel.is-active { display:block !important; }

/* Grid layout */
.content-only .fmplans__grid { display:grid !important; grid-template-columns: 1fr 420px !important; gap:22px !important; align-items:start !important; }
@media (max-width:980px) { .content-only .fmplans__grid { grid-template-columns: 1fr !important; } .content-only .fmplans__title { font-size:22px !important; } }

/* Visual area */
.content-only .fmplans__visual { position:relative !important; border-radius:10px !important; overflow:hidden !important; background:#f7f8fb !important; min-height:320px !important; display:flex !important; align-items:center !important; justify-content:center !important; }
.content-only .fmplans__image { width:100% !important; height:auto !important; display:block !important; object-fit:cover !important; }

/* Actions */
.content-only .fmplans__visual-actions { position:absolute !important; left:12px !important; bottom:12px !important; display:flex !important; gap:8px !important; z-index:5 !important; }
.content-only .fmplans__btn { display:inline-block !important; padding:8px 12px !important; background:#fff !important; border-radius:8px !important; border:1px solid #e7e7e7 !important; text-decoration:none !important; font-weight:700 !important; font-size:13px !important; }
.content-only .fmplans__btn--view { cursor:pointer !important; }

/* Meta column */
.content-only .fmplans__meta { padding:6px 6px !important; }
.content-only .fmplans__plan-title { margin-top:0 !important; font-size:18px !important; margin-bottom:8px !important; font-weight:700 !important; }
.content-only .fmplans__desc { margin-bottom:12px !important; color:#444 !important; line-height:1.45 !important; }
.content-only .fmplans__facts { list-style:none !important; padding:0 !important; margin:0 0 12px 0 !important; display:grid !important; gap:8px !important; }
.content-only .fmplans__facts li { background:#fff !important; padding:10px 12px !important; border-radius:8px !important; border:1px solid #f0f0f0 !important; font-size:14px !important; }

.content-only .fmplans__cta { display:flex !important; gap:10px !important; margin-top:12px !important; flex-wrap:wrap !important; }
.content-only .button { display:inline-block !important; padding:10px 14px !important; text-decoration:none !important; border-radius:8px !important; background:#0b72ef !important; color:#fff !important; font-weight:800 !important; font-size:13px !important; }

/* Modal */
.content-only .fmplans__modal { position:fixed !important; inset:0 !important; display:none !important; align-items:center !important; justify-content:center !important; background:rgba(0,0,0,0.6) !important; z-index:99999 !important; padding:20px !important; }
.content-only .fmplans__modal[aria-hidden="false"] { display:flex !important; }
.content-only .fmplans__modal-inner { background:#fff !important; border-radius:10px !important; width:100% !important; max-width:1100px !important; max-height:90vh !important; overflow:auto !important; position:relative !important; padding:18px !important; box-shadow:0 30px 60px rgba(2,6,23,0.3) !important; }
.content-only .fmplans__modal-close { position:absolute !important; top:12px !important; right:12px !important; border:0 !important; background:transparent !important; font-size:28px !important; cursor:pointer !important; }

/* placeholder */
.content-only .fmplans__visual-placeholder { padding:48px !important; color:#777 !important; background:#fafafa !important; border:1px dashed #eee !important; border-radius:8px !important; text-align:center !important; }

/* Location Advantage - layout */
.location-advantage-sec {
    padding: 56px 0;
    color: #0b1220;
}

.location-advantage-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: start;
}

/* Map */
.location-advantage-sec iframe {
    width: 100% !important;
    height: 420px !important;
    border-radius: 10px;
    border: 0;
    display: block;
}

/* Right column title */
.la-title {
    font-size: 28px;
    margin: 6px 0 16px;
    font-weight: 600;
}

/* Cards grid */
.la-cards-grid {
    display: grid;
    gap: 14px;
}

/* Card */
.la-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(13,20,30,0.06);
    align-items: flex-start;
    transition: transform .12s ease, box-shadow .12s ease;
}

.la-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(13,20,30,0.08);
}

.la-card-media {
    width: 56px;
    flex-shrink: 0;
    display:flex;
    align-items:center;
    justify-content:center;
}

.la-card-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f7fb;
    padding: 8px;
}

/* fallback */
.la-card-icon--fallback {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: #f5f7fb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}

/* body */
.la-card-body { flex:1; }

.la-card-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.la-card-title {
    font-size:16px;
    margin:0;
    font-weight:600;
}

.la-distance-badge {
    background: rgba(34,197,94,0.12);
    color: #166534;
    font-size:13px;
    padding:6px 8px;
    border-radius:999px;
    white-space:nowrap;
}

.la-card-desc {
    margin:8px 0 0;
    font-size:13px;
    color: #555;
}

/* placeholders */
.la-map-placeholder,
.la-empty-note {
    color: #666;
    font-size:14px;
    background: #fff;
    padding:14px;
    border-radius:8px;
}

/* tool Section */
.insights-tools-section {
  padding: 80px 0;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.insight-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  transition: all .3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.insight-card:hover {
  transform: translateY(-6px);
}

.insight-card.is-featured {
  background: linear-gradient(135deg, #0d6efd, #4da3ff);
  color: #fff;
}

.card-icon img {
  width: 100%;
  margin-bottom: 16px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.card-desc {
  font-size: 14px;
  margin: 12px 0 20px;
  opacity: .85;
}

.card-cta {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.project-card .card-title{
  text-align: left;
} 
/* Plus sing */
/* ===============================
   Featured Project Plus Icon
================================ */

.project-image-wrap {
  position: relative;
}

.project-plus-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  background: #0d6efd;
  color: #ffffff;
  font-size: 26px;
  font-weight: 300;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Hover Interaction */
.project-image-wrap:hover .project-plus-icon {
  transform: scale(1.1) rotate(90deg);
  background: #084298;
}

/* Image Zoom (Starestate feel) */
.project-image-wrap img {
  transition: transform 0.4s ease;
}

.project-image-wrap:hover img {
  transform: scale(1.05);
}


/* ===============================
   Explore Cities – Plus Icon Only
================================ */

.city-image-wrap {
  position: relative;
}

.city-image {
  padding-top: 70%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.city-image-wrap:hover .city-image {
  transform: scale(1.06);
}

/* Plus Icon */
.city-plus-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  background: #0d6efd;
  color: #ffffff;
  font-size: 24px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(13,110,253,0.35);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.city-card:hover .city-plus-icon {
  transform: scale(1.1) rotate(90deg);
}


/* responsive */
@media (max-width: 880px) {
    .location-advantage-grid {
        grid-template-columns: 1fr;
    }
    .location-advantage-sec iframe { height: 320px !important; }
    .la-cards-grid { grid-template-columns: 1fr 1fr; }
    .la-card { flex-direction: column; align-items: flex-start; }
    .la-card-media { width:100%; }
    .la-card-icon { width:48px; height:48px; }
}
@media (max-width: 480px) {
    .la-cards-grid { grid-template-columns: 1fr; }
}

