/* ===== ALL TERMINA FONT REFERENCES REMOVED ===== */
:root {
  --bg: #ffffff;
  --bg-subtle: #f8f9fa;
  --bg-dark: #121424;
  --mg-red: #a8281a;
  --mg-red-hover: #8b1f14;
  --mg-navy: #1a1d36;
  --mg-slate: #6e7173;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --ink: #0b2a1e;
  --ink-soft: rgba(11, 42, 30, 0.78);
  /* Single unified sans-serif font for all text on the page */
  --font-display:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --font-copy:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --font-serif: var(--font-copy);
  --font-sans: var(--font-copy);
  --font-heading: var(--font-display);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --heading-size: 2.75rem;
  --subheading-size: 0.85rem;
  --body-size: 1.05rem;
}

/* ===== PERFORMANCE FIXES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-family: var(--font-copy);
  overflow-x: hidden;
}
body {
  background-color: #ffffff;
  color: var(--ink);
  font-family: var(--font-copy);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.section-heading {
  font-family: var(--font-display);
  font-size: var(--heading-size);
  font-weight: 800;
  color: var(--mg-navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}
.section-subheading {
  font-family: var(--font-display);
  font-size: var(--subheading-size);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--mg-red);
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}
.section-description {
  font-family: var(--font-copy);
  font-size: var(--body-size);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 1.25rem;
  line-height: 1.8;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 20px;
  z-index: 1000;
  background: transparent;
  border-bottom: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
header.nav-hidden {
  transform: translateY(-110%);
}
.nav-pill-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(26, 29, 54, 0.15);
  opacity: 0.97;
  transition: var(--transition);
}
.nav-pill-card:hover {
  opacity: 1;
}
.brand-logo-container {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.brand-logo-img {
  height: 55px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-menu a {
  font-family: var(--font-display);
  color: var(--mg-navy);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--transition);
  padding: 4px 0;
}
.nav-menu a.active,
.nav-menu a:hover {
  color: var(--mg-red);
}
.nav-menu li.has-dropdown {
  position: relative;
}
.nav-menu li.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-menu li.has-dropdown > a .dropdown-caret {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}
.nav-menu li.has-dropdown:hover > a .dropdown-caret {
  transform: rotate(180deg);
}
.nav-menu .dropdown-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(26, 29, 54, 0.12);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  z-index: 1001;
}
.nav-menu li.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-menu .dropdown-menu li {
  list-style: none;
}
.nav-menu .dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mg-navy);
  white-space: nowrap;
  transition: var(--transition);
}
.nav-menu .dropdown-menu a:hover {
  background: var(--bg-subtle);
  color: var(--mg-red);
  padding-left: 18px;
}
.sidebar-nav-links li.has-dropdown {
  display: flex;
  flex-direction: column;
}
.sidebar-nav-links .sidebar-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sidebar-nav-links .sidebar-dropdown-toggle {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mg-navy);
  font-size: 0.85rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.sidebar-nav-links .sidebar-dropdown-toggle i {
  transition: transform 0.25s ease;
}
.sidebar-nav-links li.has-dropdown.open .sidebar-dropdown-toggle i {
  transform: rotate(180deg);
}
.sidebar-nav-links .sidebar-submenu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  margin-top: 0;
}
.sidebar-nav-links li.has-dropdown.open .sidebar-submenu {
  max-height: 400px;
  margin-top: 16px;
}
.sidebar-nav-links .sidebar-submenu a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
}
.sidebar-nav-links .sidebar-submenu a:hover {
  color: var(--mg-red);
  padding-left: 8px;
}
.sidebar-trigger-btn {
  background: var(--mg-red);
  color: #ffffff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: none;
}
.sidebar-trigger-btn:hover {
  background: var(--mg-red-hover);
  transform: scale(1.05);
}
.btn-pill-action {
  background: var(--mg-red);
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-pill-action:hover {
  background: var(--mg-red-hover);
  transform: translateY(-1px);
  box-shadow: none;
}
.nav-sidebar-drawer .btn-pill-action {
  border-radius: 40px;
}

/* ===== SIDEBAR ===== */
.nav-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 29, 54, 0.6);
  backdrop-filter: blur(4px);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1500;
}
.nav-sidebar-overlay.active {
  visibility: visible;
  opacity: 1;
}
.nav-sidebar-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #ffffff;
  z-index: 1600;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  border-left: 1px solid var(--border);
}
.nav-sidebar-overlay.active .nav-sidebar-drawer {
  right: 0;
}
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}
.sidebar-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.85;
  transition: var(--transition);
}
.sidebar-close-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--mg-navy);
  transition: var(--transition);
}
.sidebar-close-btn:hover {
  background: var(--mg-navy);
  color: #fff;
}
.sidebar-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: auto;
}
.sidebar-nav-links a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--mg-navy);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.sidebar-nav-links a:hover {
  color: var(--mg-red);
  padding-left: 8px;
}
.sidebar-footer-info {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 24px;
}
.sidebar-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.sidebar-contact-row i {
  color: var(--mg-red);
  font-size: 1.1rem;
}

/* ===== HERO VIDEO ===== */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: #ffffff;
  padding-top: 80px;
  padding-bottom: 24px;
}
.hero-video-section .container {
  padding-left: 16px;
  padding-right: 16px;
}
.hero-corner-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2px;
  text-shadow: none;
}
.hero-vimeo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}
.hero-light-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(26, 29, 54, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 75%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 750px;
  margin-left: clamp(14px, 2.5vw, 44px);
  padding-left: 2px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  padding: 0;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: none;
}
.hero-desc {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 620px;
  text-shadow: none;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.btn-secondary-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(26, 29, 54, 0.45);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 12px 24px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border-radius: 0;
  box-shadow: none;
}
.btn-secondary-outline:hover {
  background: #ffffff;
  color: var(--mg-navy);
  border-color: #ffffff;
}

/* ===== NEXTSPACE PHOTO / INTRO SECTION ===== */
.ns-wrapper {
  width: 100%;
  background: #ffffff;
  padding: 24px 0 12px;
}
.ns-section {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  aspect-ratio: 1024/624;
  padding: 0 16px;
}
.ns-heading {
  position: absolute;
  left: 7.2%;
  width: 37%;
  bottom: 70%;
}
.ns-heading p {
  margin: 0;
  font-size: clamp(14px, 2.1vw, 22px);
  line-height: 1.4;
  font-weight: 600;
  color: var(--mg-navy);
  letter-spacing: -0.01em;
}
.ns-img {
  position: absolute;
  overflow: hidden;
  border-radius: 0;
  background: #eee;
}
.ns-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  will-change: transform;
}
.ns-img:hover img {
  transform: scale(1.06);
}
.img-tablet {
  left: 7.1%;
  top: 34.9%;
  width: 20.8%;
  height: 40.7%;
}
.img-yellow {
  left: 29.4%;
  top: 33.7%;
  width: 20.5%;
  height: 30.3%;
}
.img-highfive {
  left: 51.5%;
  top: 14.3%;
  width: 22%;
  height: 49.5%;
}
.img-office {
  left: 74.9%;
  top: 27.7%;
  width: 18.5%;
  height: 35.9%;
}
.img-sitting {
  left: 29.5%;
  top: 66.3%;
  width: 27.5%;
  height: 30%;
}
.ns-copy {
  position: absolute;
  left: 58.5%;
  top: 68.3%;
  width: 37%;
}
.ns-copy p {
  margin: 0 0 0.6em;
  font-size: clamp(14px, 2.1vw, 22px);
  line-height: 1.4;
  font-weight: 600;
  color: var(--mg-navy);
  letter-spacing: -0.01em;
}
.ns-copy a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(14px, 2.1vw, 22px);
  font-weight: 600;
  color: var(--mg-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ns-copy a:hover {
  opacity: 0.7;
}

/* ===== CORPORATE ABOUT ===== */
.corporate-about-section {
  padding: 24px 20px 10px;
  max-width: 1300px;
  margin: 0 auto;
  background: #ffffff;
}
.top-full-text {
  margin-bottom: 20px;
  color: #555555;
  font-size: 1rem;
  text-align: center;
}
.wrap-container::after {
  content: "";
  display: table;
  clear: both;
}
.corporate-image-container {
  float: left;
  width: 48%;
  height: 480px;
  margin-right: 40px;
  margin-bottom: 20px;
  position: relative;
}
.corp-img-box {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  position: absolute;
}
.corp-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.main-building-img {
  top: 0;
  left: 0;
  width: 68%;
  height: 380px;
  z-index: 1;
}
.sub-interior-img {
  top: 40px;
  right: 0;
  width: 44%;
  height: 210px;
  z-index: 2;
  border: 4px solid #faf8f5;
}
.sub-lifestyle-img {
  bottom: 0;
  right: 20px;
  width: 50%;
  height: 200px;
  z-index: 3;
  border: 4px solid #faf8f5;
}
.corp-stats-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #a8201a;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 0;
  z-index: 4;
  box-shadow: 0 8px 20px rgba(168, 32, 26, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
}
.corp-stats-badge .stats-number {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}
.corp-stats-badge p {
  font-size: 10px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.corporate-heading {
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--mg-navy);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Enabled justified alignment and hyphenation to achieve clean block edges like the reference image */
.content-text {
  font-size: clamp(13.5px, 1.05vw, 16px);
  color: #444444;
  line-height: 1.45;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
.content-text p {
  margin-bottom: 8px;
}

@media (max-width: 850px) {
  .corporate-image-container {
    float: none;
    width: 100%;
    margin-right: 0;
    height: auto;
    min-height: 400px;
  }
}

/* ===== DUAL BACKGROUND SECTION ===== */
.dual-bg-section {
  background-color: #ffffff;
  color: #333;
  position: relative;
  overflow: hidden;
}
.dual-bg-section .top-bg-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 105vh;
  position: relative;
}
.dual-bg-section .content-wrapper {
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: -400px;
}
.dual-bg-section .content-container {
  background: rgba(161, 4, 17, 0.65);
  padding: 120px 8%;
  width: 100%;
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.dual-bg-section .card {
  flex: 1;
  min-width: 350px;
  max-width: 550px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: -30px;
  margin-bottom: -30px;
}
.dual-bg-section .card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}
.dual-bg-section .card .card-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: #111;
}
.dual-bg-section .card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}
.dual-bg-section .explore-btn {
  margin-top: auto;
  padding: 12px 28px;
  background: var(--mg-navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}
.dual-bg-section .explore-btn:hover {
  background: var(--mg-red);
  color: #fff;
}
.dual-bg-section .bottom-bg-section {
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 105vh;
  position: relative;
  margin-top: -400px;
  z-index: 1;
}
@media (max-width: 768px) {
  .dual-bg-section .top-bg-section,
  .dual-bg-section .bottom-bg-section {
    background-attachment: scroll;
  }
  .dual-bg-section .content-wrapper,
  .dual-bg-section .bottom-bg-section {
    margin-top: 0;
  }
  .dual-bg-section .card {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* ===== BEST PROJECTS ===== */
.best-projects-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 35px 24px;
  background: #ffffff;
}
.best-projects-section .projects-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 35px auto;
}
.best-projects-section .projects-title .projects-heading {
  font-family: var(--font-heading);
  font-size: var(--heading-size);
  font-weight: 600;
  color: var(--mg-navy);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.best-projects-section .projects-title p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 400;
}
.best-projects-section .project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #ffffff;
  border-radius: 0;
  padding: 30px;
  margin-bottom: 28px;
  border: 1px solid rgba(26, 29, 54, 0.15);
  box-shadow: 0 16px 40px rgba(26, 29, 54, 0.1);
  gap: 40px;
  position: relative;
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.best-projects-section .project-card:hover {
  box-shadow: 0 20px 50px rgba(26, 29, 54, 0.18);
  border-color: rgba(26, 29, 54, 0.35);
}
.best-projects-section .project-card.reverse {
  grid-template-columns: 1fr 1fr;
}
.best-projects-section .project-card.reverse .project-image {
  order: 2;
}
.best-projects-section .project-card.reverse .project-content {
  order: 1;
}
.best-projects-section .project-card.from-right {
  transform: translateX(250px);
}
.best-projects-section .project-card.from-left {
  transform: translateX(-250px);
}
.best-projects-section .project-card.active {
  opacity: 1;
  transform: translateX(0);
}
.best-projects-section .project-image {
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-subtle);
  height: 360px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
}
.best-projects-section .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.best-projects-section .project-card:hover .project-image img {
  transform: scale(1.04);
}
.best-projects-section .project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.best-projects-section .project-content .project-heading {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--mg-navy);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.best-projects-section .project-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.65;
  font-weight: 400;
}
.best-projects-section .rera-text {
  font-size: 0.72rem;
  color: #8892b0;
  margin-bottom: 20px;
  letter-spacing: 0.4px;
  font-weight: 500;
}
.best-projects-section .project-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.best-projects-section .meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff9f8;
  border: 1px solid #f5b7b1;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--mg-red);
  font-weight: 500;
}
.best-projects-section .meta-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--mg-red);
}
.best-projects-section .know-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--mg-navy);
  color: #fff;
  padding: 11px 24px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(26, 29, 54, 0.3);
}
.best-projects-section .know-more-btn:hover {
  background-color: var(--mg-red);
  transform: translateY(-2px);
}
.best-projects-section .know-more-btn svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}
.best-projects-section .projects-footer {
  text-align: center;
  margin-top: 30px;
}
.best-projects-section .view-all-btn {
  display: inline-block;
  background-color: var(--mg-navy);
  color: #fff;
  padding: 12px 32px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(26, 29, 54, 0.3);
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}
.best-projects-section .view-all-btn:hover {
  background-color: var(--mg-red);
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .best-projects-section .project-card,
  .best-projects-section .project-card.reverse {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .best-projects-section .project-card.reverse .project-image {
    order: 1;
  }
  .best-projects-section .project-card.reverse .project-content {
    order: 2;
  }
  .best-projects-section .project-image {
    height: 260px;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background-color: #ffffff;
  color: #333;
  overflow-x: hidden;
  padding: 35px 24px;
}
.testimonials-section .testimonial-section {
  max-width: 1400px;
  margin: 0 auto;
}
.testimonials-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 35px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonials-section .section-subheading {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a10411;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}
.testimonials-section .testimonial-title-wrapper .testimonial-section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--mg-navy, #16202c);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.testimonials-section .testimonial-title-wrapper p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 0;
}
.testimonials-section .header-line {
  width: 80px;
  height: 3px;
  background-color: #a10411;
  margin: 14px auto 0 auto;
  border-radius: 2px;
}
.testimonials-section .slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  cursor: grab;
  user-select: none;
}
.testimonials-section .slider-container:active {
  cursor: grabbing;
}
.testimonials-section .slider-container::before,
.testimonials-section .slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 768px) {
  .testimonials-section .slider-container::before,
  .testimonials-section .slider-container::after {
    width: 24px; /* small edge fade instead of a big white block */
  }
}
.testimonials-section .slider-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.testimonials-section .slider-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}
.testimonials-section .slider-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.testimonials-section .testimonial-card {
  background: #ffffff;
  width: 480px;
  height: 360px;
  margin: 0 15px;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(29, 53, 87, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-top: 4px solid #1d3557;
  text-align: left;
  transition:
    box-shadow 0.3s ease,
    border-top-color 0.3s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}
.testimonials-section .testimonial-card img {
  pointer-events: none;
}
.testimonials-section .testimonial-card:hover {
  box-shadow: 0 15px 35px rgba(161, 4, 17, 0.12);
  border-top-color: #a10411;
}
.testimonials-section .quote-icon {
  font-size: 3rem;
  color: #1d3557;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 15px;
  text-align: center;
}
.testimonials-section .testimonial-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 300;
  flex-grow: 1;
}
.testimonials-section .star-rating {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: #ffc107;
  margin-bottom: 25px;
  font-size: 1.1rem;
}
.testimonials-section .client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}
.testimonials-section .client-img {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 2px solid #a10411;
}
.testimonials-section .client-details .testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1d3557;
}

/* ===== CONTACT US ===== */
.contact-us-section {
  width: 100%;
  background-color: #ffffff;
  padding: 45px 20px 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contact-us-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 35px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-us-section .section-subheading {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a10411;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}
.contact-us-section .section-heading-wrapper .section-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--mg-navy, #16202c);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.contact-us-section .section-heading-wrapper p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 0;
}
.contact-us-section .contact-container {
  position: relative;
  width: 1150px;
  max-width: 100%;
  margin-bottom: 40px;
  height: 580px;
  background-color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: var(--font-copy);
}
.contact-us-section .contact-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 155px;
  height: 140px;
  background-color: #a10411;
  z-index: 1;
}
.contact-us-section .contact-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 155px;
  height: 100px;
  background-color: #a10411;
  z-index: 1;
}
.contact-us-section .form-section {
  flex: 1.2;
  height: 100%;
  padding: 40px 40px 30px 60px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-us-section .side-menu-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 50px;
  background-color: #a10411;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  z-index: 4;
  transition: background-color 0.3s;
}
.contact-us-section .side-menu-icon:hover {
  background-color: #a10411;
}
.contact-us-section .side-menu-icon span {
  display: block;
  width: 14px;
  height: 2px;
  background-color: #ffffff;
}
.contact-us-section .popup-menu {
  position: absolute;
  left: 45px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 15px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 0;
}
.contact-us-section .popup-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}
.contact-us-section .popup-menu a {
  color: #1d3557;
  font-size: 18px;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  transition: all 0.2s ease;
  text-decoration: none;
}
.contact-us-section .popup-menu a:hover {
  background-color: #a10411;
  color: #ffffff;
}
.contact-us-section .form-header {
  margin-bottom: 30px;
  margin-top: 5px;
}
.contact-us-section .form-header .form-title {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--mg-navy);
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.contact-us-section .form-header p {
  font-family: var(--font-copy);
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}
.contact-us-section .info-section .info-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.contact-us-section .input-group {
  position: relative;
  margin-bottom: 18px;
}
.contact-us-section .input-group input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
  font-size: 14px;
  color: #222;
  outline: none;
  background: transparent;
  transition: border-color 0.3s;
  font-family: var(--font-copy);
}
.contact-us-section .input-group input:focus {
  border-bottom-color: #1d3557;
  border-bottom-width: 2px;
}
.contact-us-section .input-group input::placeholder {
  color: #888;
  font-weight: 400;
}
.contact-us-section .submit-btn {
  width: 100%;
  background-color: #a10411;
  color: #ffffff;
  border: none;
  padding: 12px;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.1s;
  margin-top: 8px;
}
.contact-us-section .submit-btn:hover {
  background-color: #14213d;
}
.contact-us-section .submit-btn:active {
  transform: scale(0.98);
}
.contact-us-section .info-section {
  width: 340px;
  height: 380px;
  background-color: #1d3557;
  color: #ffffff;
  padding: 30px 35px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-us-section .info-item {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
}
.contact-us-section .info-item i {
  font-size: 15px;
  width: 25px;
  margin-right: 15px;
  color: #ffffff;
  text-align: center;
}
.contact-us-section .info-item span {
  color: #f1f1f1;
  letter-spacing: 0.3px;
}
@media (max-width: 950px) {
  .contact-us-section .contact-container {
    width: 100%;
    height: auto;
    flex-direction: column;
  }
  .contact-us-section .info-section {
    width: 100%;
    height: auto;
  }
  .contact-us-section .contact-container::before,
  .contact-us-section .contact-container::after {
    display: none;
  }
  .contact-us-section .social-icons {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    justify-content: flex-start;
  }
  .contact-us-section .form-section {
    padding: 40px 24px 30px;
  }
  .contact-us-section .side-menu-icon {
    display: none;
  }
}
@media (max-width: 600px) {
  .contact-us-section {
    padding: 40px 16px 100px;
  }
  .contact-us-section .form-header .form-title {
    font-size: 22px;
  }
}
/* ===== SPACER ===== */
.spacer-section {
  padding: 40px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.spacer-content h2 {
  font-family: var(--font-heading);
  font-size: var(--heading-size);
  color: var(--mg-navy);
  margin-bottom: 16px;
}
.spacer-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 29, 54, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal-box {
  width: 100%;
  max-width: 540px;
  padding: 48px;
  background: #fff;
  position: relative;
  border-radius: 0;
  border: 1px solid var(--border);
}
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  color: var(--mg-navy);
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  outline: none;
  background: var(--bg-subtle);
  font-family: var(--font-copy);
  border-radius: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  --footer-primary: #16193b;
  --footer-accent-red: #a82b1d;
  width: 100%;
  background-color: var(--footer-primary);
  color: #ffffff;
  font-family: var(--font-copy);
}
.newsletter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  top: -90px;
  margin-bottom: -50px;
}
.cta-banner-content {
  position: relative;
  background: linear-gradient(#a10411);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 320px;
  padding: 50px;
  box-shadow: 0 15px 35px rgba(10, 12, 31, 0.3);
}
.cta-banner-text {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 480px;
}
.cta-banner-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: #ffffff;
  opacity: 0;
  transform: translateY(15px);
  animation: ctaFadeIn 0.8s ease forwards;
}
.cta-banner-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #f1e9e9;
  margin-bottom: 26px;
  opacity: 0;
  transform: translateY(15px);
  animation: ctaFadeIn 0.8s ease 0.15s forwards;
}
.cta-banner-btn {
  display: inline-block;
  background-color: #ffffff;
  color: var(--mg-red);
  padding: 14px 30px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 25px;
  text-decoration: none;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(15px);
  animation: ctaFadeIn 0.8s ease 0.3s forwards;
}
.cta-banner-btn:hover {
  background-color: #e5e9f0;
  transform: translateY(-2px);
}
@keyframes ctaFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cta-banner-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  z-index: 1;
}
.cta-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.footer-col .footer-col-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col .footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 3px;
  background-color: var(--footer-accent-red);
  border-radius: 2px;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.logo-circle-bg {
  width: 80px;
  height: 80px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.logo-circle-bg img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.brand-desc {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-social-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.social-icons a:hover {
  background-color: var(--footer-accent-red);
  border-color: var(--footer-accent-red);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(168, 43, 29, 0.4);
}
/* Scroller styling for Quick Links */
.footer-scroller-wrapper {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--footer-accent-red) rgba(255, 255, 255, 0.05);
}
.footer-scroller-wrapper::-webkit-scrollbar {
  width: 5px;
}
.footer-scroller-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}
.footer-scroller-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--footer-accent-red);
  border-radius: 10px;
}
.footer-nav-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav-list li a {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
  display: inline-block;
}
.footer-nav-list li a:hover {
  color: #ffffff;
  transform: translateX(6px);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}
.contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}
.contact-list li i {
  color: var(--footer-accent-red);
  font-size: 17px;
  margin-top: 4px;
  flex-shrink: 0;
}
.newsletter-subtext {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 16px;
  line-height: 1.5;
}
.newsletter-form .input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.newsletter-form .input-group:focus-within {
  border-color: var(--footer-accent-red);
  box-shadow: 0 0 10px rgba(168, 43, 29, 0.25);
}
.newsletter-form input {
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  width: 100%;
}
.newsletter-form input::placeholder {
  color: #94a3b8;
}
.newsletter-form button {
  background-color: var(--footer-accent-red);
  color: #ffffff;
  border: none;
  padding: 0 20px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
}
.newsletter-form button:hover {
  background-color: #8c2317;
}
.credai-badge-container {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.credai-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  font-weight: 700;
}
.credai-logo-box {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  display: inline-block;
  max-width: 150px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.credai-logo-box img {
  width: 100%;
  height: auto;
  display: block;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 20px;
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #94a3b8;
}
.footer-bottom-content p {
  margin: 0;
}
.techqee-link {
  color: var(--footer-accent-red);
  text-decoration: none;
  font-weight: 600;
}
.techqee-link:hover {
  text-decoration: underline;
}
.bottom-links {
  display: flex;
  gap: 24px;
}
.bottom-links a {
  text-decoration: none;
  color: #94a3b8;
  font-size: 14px;
  transition: color 0.2s;
}
.bottom-links a:hover {
  color: #ffffff;
}
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .cta-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    min-height: auto;
  }
  .cta-banner-text {
    max-width: 100%;
    align-items: center;
  }
  .cta-banner-image {
    position: relative;
    width: 100%;
    height: 220px;
    margin-top: 20px;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ===== FONT BASELINE FIX ===== */
/* Icon fonts (Remix Icon / Font Awesome) are intentionally left untouched
   since they render glyphs, not text, and are unrelated to the page's
   typography. Everything else on the page now uses a single sans-serif
   font defined via the --font-copy / --font-heading variables above.
   IMPORTANT: each icon set must keep its OWN font-family. Font Awesome
   "brand" icons (Facebook, Instagram, WhatsApp, LinkedIn, YouTube, etc.)
   live in a different font file ("Font Awesome 6 Brands") than the
   solid/regular icons ("Font Awesome 6 Free") and reuse the same
   character codes for different glyphs — mixing them into one shared
   font-family list is what causes wrong/missing icons. */
[class*=" ri-"],
[class^="ri-"],
[class*=" ri-"]::before,
[class^="ri-"]::before {
  font-family: "remixicon" !important;
}

/* Font Awesome brand icons (fa-brands / .fab) */
.fa-brands,
[class*=" fa-brands"],
[class^="fa-brands"],
.fab,
.fab::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Font Awesome solid icons (fa-solid / .fas) */
.fa-solid,
[class*=" fa-solid"],
[class^="fa-solid"],
.fas,
.fas::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

/* Font Awesome regular icons (fa-regular / .far) */
.fa-regular,
[class*=" fa-regular"],
[class^="fa-regular"],
.far,
.far::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

/* ===== SCROLL TOP BUTTON ===== */
#scrollTopBtn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 999;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}
#scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
}

/* WHY CHOOSE US SECTION */
.why-choose-us-wrapper {
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  position: relative;
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-copy);
  overflow: hidden;
  box-sizing: border-box;
}

.why-choose-us-wrapper *,
.why-choose-us-wrapper *::before,
.why-choose-us-wrapper *::after {
  box-sizing: border-box;
}

.why-choose-us-wrapper .bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.why-choose-us-wrapper .bg-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease-in-out;
}

.why-choose-us-wrapper .bg-container img.active-img {
  opacity: 1;
}

.why-choose-us-wrapper .bg-container img.hidden-img {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

/* Increased opacity to 0.45 (45% dark tint) so text is crystal clear against any bright background */
.why-choose-us-wrapper .bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 2;
  pointer-events: none;
}

.why-choose-us-wrapper .values-section {
  position: relative;
  min-height: 100vh;
  padding: 50px 4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
}

.why-choose-us-wrapper .values-header {
  text-align: center;
  margin-bottom: 25px;
}

.why-choose-us-wrapper .values-header .subtitle {
  font-size: 0.95rem;
  letter-spacing: 3px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 12px;
  display: block;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.why-choose-us-wrapper .values-header .title-text {
  font-family: var(--font-heading);
  font-size: var(--heading-size);
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.why-choose-us-wrapper .values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.why-choose-us-wrapper .value-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background-color: transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s ease;
}

.why-choose-us-wrapper .value-card:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.why-choose-us-wrapper .card-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.why-choose-us-wrapper .card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0;
  font-weight: 700;
  color: var(--text-light);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  transition: all 0.4s ease;
}

.why-choose-us-wrapper .value-card:hover .card-title {
  color: var(--text-dark);
  text-shadow: none;
  margin-bottom: 12px;
  transform: translateY(-5px);
}

.why-choose-us-wrapper .card-description {
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  color: var(--text-dark);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-choose-us-wrapper .value-card:hover .card-description {
  opacity: 1;
  max-height: 200px;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .why-choose-us-wrapper .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-choose-us-wrapper .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   MOBILE / PHONE RESPONSIVE OVERRIDES
   Everything below this line only targets small screens (max-width: 768px).
   Desktop / tablet-up layout above is left completely untouched.
   ======================================================================== */
@media (max-width: 768px) {
  /* ---------- 1. NAVBAR: only logo + sidebar (hamburger) button, full-width black bar ---------- */
  header {
    padding-top: 0;
  }
  header .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  .nav-pill-card {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    border: none !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
  }
  .nav-menu {
    display: none !important; /* hide full menu + dropdowns on mobile, sidebar drawer handles nav */
  }
  .brand-logo-img {
    height: 42px !important;
  }
  .sidebar-trigger-btn {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.15rem !important;
  }

  /* ---------- 2. HERO: hide text, show the full video ---------- */
  .hero-video-section {
    position: relative;
    height: auto;
    min-height: 0;
    padding-top: 70px; /* clearance so the fixed floating pill overlaps the video edge, not a blank gap */
    padding-bottom: 0;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #000;
  }
  .hero-video-section .container {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-content {
    display: none; /* title + buttons hidden on mobile so only the video shows */
  }
  .hero-light-overlay {
    display: none; /* no text to darken for, keep the video bright and clean */
  }
  .hero-vimeo-bg {
    position: static; /* stop centering/cropping like the desktop cover-fill version */
    top: auto;
    left: auto;
    transform: none;
    display: block;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 0;
    max-height: 70vh;
    object-fit: cover; /* fills the width edge-to-edge with no letterbox bars */
  }

  /* ---------- 3. DUAL BACKGROUND SECTION: only the two cards ---------- */
  .dual-bg-section .top-bg-section,
  .dual-bg-section .bottom-bg-section {
    display: none;
  }
  .dual-bg-section .content-wrapper {
    margin-top: 0;
  }
  .dual-bg-section .content-container {
    padding: 30px 6%;
    gap: 20px;
  }
  .dual-bg-section .card {
    min-width: 100%;
  }

  /* ---------- 4. ABOUT / NEXTSPACE: stack instead of absolute overlay ---------- */
  .ns-section {
    position: static;
    height: auto;
    aspect-ratio: unset;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .ns-heading,
  .ns-copy {
    position: static;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .ns-img {
    position: static;
    width: 100% !important;
    height: 220px !important;
    left: auto;
    top: auto;
  }

  /* ---------- 5. WHY CHOOSE US: cards auto-expand on scroll (see inline script) ---------- */
  .why-choose-us-wrapper .value-card.in-view {
    background-color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
  }
  .why-choose-us-wrapper .value-card.in-view .card-title {
    color: var(--text-dark);
    text-shadow: none;
    margin-bottom: 12px;
    transform: translateY(-5px);
  }
  .why-choose-us-wrapper .value-card.in-view .card-description {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
  }
}

/* ===== FLOATING SOCIAL ICONS (bottom-left) ===== */
.floating-social-stack {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}
.float-social-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}
.float-whatsapp {
  background-color: #25d366;
}
.float-instagram {
  background: radial-gradient(
    circle at 30% 110%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.float-phone {
  background-color: #2b6cb0;
}

@media (max-width: 768px) {
  .floating-social-stack {
    left: 14px;
    bottom: 18px;
    gap: 10px;
  }
  .float-social-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

/* ============================================
   LEADERSHIP SECTION STYLES
   (Extracted from Leadership page — scoped so it
   does not clash with the main site's style.css)
   ============================================ */

.leadership-page-wrap {
  --primary-red: #a10411;
  --primary-navy: #1d3557;
  --bg-cream: #ffffff;
  --card-bg: #f4f0eb;
  --text-dark: #2b2d42;
  --text-muted: #6c757d;
  --gold-accent: #c59b27;

  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Breadcrumb / Hero Banner Section with 100% Solid Image & Crisp Color Overlay */
.breadcrumb-section {
  position: relative;
  width: 100%;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Full opacity background image layer */
.breadcrumb-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Solid color overlay layer on top of the image for text contrast */
.breadcrumb-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 9, 12, 0.65); /* Solid navy tint overlay */
  z-index: 2;
}

.breadcrumb-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  padding: 0 20px;
}

.breadcrumb-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.breadcrumb-nav {
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-nav a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--gold-accent);
}

.breadcrumb-nav span {
  margin: 0 8px;
  color: #cebcbc;
}

.leadership-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  --heading-size: 2.5rem;
}

/* Section Header */
.leadership-section .section-header {
  text-align: center;
  margin-bottom: 70px;
}

.leadership-section .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-navy);
  font-weight: 600;
  margin-bottom: 15px;
}

.leadership-section .section-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mg-red, #e53e3e);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.leadership-section .section-title {
  font-family: var(--font-heading, var(--font-display));
  font-size: var(--heading-size, 2.5rem);
  font-weight: 600;
  color: var(--mg-navy, #16202c);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.leadership-section .section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Leader Card Layout */
.leader-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.leader-card.reverse {
  grid-template-columns: 1fr 1fr;
}

.leader-card.reverse .leader-image-wrapper {
  order: 2;
}

.leader-card.reverse .leader-content-wrapper {
  order: 1;
}

.leader-image-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 450px;
}

.leader-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leader-content-wrapper {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge-number {
  background-color: var(--primary-navy);
  color: #ffffff;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 20px;
}

.leader-name {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 5px;
}

.leader-role {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--mg-red, #e53e3e);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.leader-role::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 40px;
  height: 1px;
  background-color: var(--mg-red, #e53e3e);
}

.leader-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 35px;
  line-height: 1.7;
}

/* Stats Grid */
.leader-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 25px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.08);
}

.stat-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 8px auto;
  fill: var(--primary-navy);
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-value {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Quote Footer Banner */
.quote-banner {
  background-color: var(--primary-navy);
  border-radius: 12px;
  padding: 40px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  margin-top: 50px;
}

.quote-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 700px;
}

.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-accent);
  font-family: "Playfair Display", serif;
}

.quote-text {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
}

.quote-author-wrapper {
  text-align: right;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 40px;
}

.quote-author {
  font-family: "Great Vibes", cursive;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: -5px;
}

.quote-author-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 900px) {
  .leader-card,
  .leader-card.reverse {
    grid-template-columns: 1fr;
  }
  .leader-card.reverse .leader-image-wrapper {
    order: 1;
  }
  .leader-card.reverse .leader-content-wrapper {
    order: 2;
  }
  .leader-image-wrapper {
    min-height: 350px;
  }
  .quote-banner {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .quote-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .quote-author-wrapper {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 0;
    padding-top: 20px;
    width: 100%;
    text-align: center;
  }
}

/* Scoped Variables and Styles to Prevent Clashing */
.mg-gallery-wrapper {
  --mg-bg-color: #ffffff;
  --mg-text-primary: #1d3557;
  --mg-text-muted: #555555;
  --mg-accent-color: #a10411;
  --mg-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --mg-navy: #2c1616;
  --heading-size: 2.5rem;

  background-color: var(--mg-bg-color);
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--mg-text-primary);
  line-height: 1.6;
  width: 100%;
}

.mg-gallery-wrapper *,
.mg-gallery-wrapper *::before,
.mg-gallery-wrapper *::after {
  box-sizing: border-box;
}

.mg-gallery-wrapper .gallery-section {
  padding: 80px 5%;
  max-width: 1500px;
  margin: 0 auto;
}

/* Section Header */
.mg-gallery-wrapper .gallery-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.mg-gallery-wrapper .gallery-header .gallery-title {
  font-family: var(--font-heading, var(--font-display)) !important;
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  color: #0f142e !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 10px !important;
  text-transform: uppercase !important;
}

.mg-gallery-wrapper .gallery-header p {
  font-size: 1.05rem !important;
  color: #4a5568 !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}

/* Quick Navigation Buttons */
.mg-gallery-wrapper .gallery-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.mg-gallery-wrapper .nav-btn {
  background: transparent;
  border: 1px solid rgba(29, 53, 87, 0.2);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--mg-transition);
  color: var(--mg-text-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.mg-gallery-wrapper .nav-btn:hover {
  background: var(--mg-accent-color);
  color: #ffffff;
  border-color: var(--mg-accent-color);
  transform: translateY(-2px);
}

/* Category Section Styling */
.mg-gallery-wrapper .category-block {
  margin-bottom: 70px;
}

.mg-gallery-wrapper .category-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(29, 53, 87, 0.1);
  color: var(--mg-text-primary);
}

/* Grid & Items */
.mg-gallery-wrapper .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.mg-gallery-wrapper .gallery-item {
  position: relative;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
  background: #e2ddd5;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: var(--mg-transition);
}

.mg-gallery-wrapper .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mg-gallery-wrapper .gallery-item:hover img {
  transform: scale(1.05);
}

/* Overlay */
.mg-gallery-wrapper .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(36, 37, 39, 0.9) 0%,
    transparent 50%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mg-gallery-wrapper .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.mg-gallery-wrapper .gallery-overlay .sub-text {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f7f4ef;
  margin-bottom: 4px;
}

.mg-gallery-wrapper .gallery-overlay h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Lightbox */
.mg-gallery-wrapper .mg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(29, 53, 87, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mg-gallery-wrapper .mg-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.mg-gallery-wrapper .mg-lightbox img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.mg-gallery-wrapper .close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.mg-gallery-wrapper .close-lightbox:hover {
  opacity: 1;
  color: var(--mg-accent-color);
}

@media (max-width: 768px) {
  .mg-gallery-wrapper .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .mg-gallery-wrapper .gallery-item {
    height: 220px;
  }
}

/* -----PROJECT DETAIL PAGE------ */
:root {
  --aranyaa-primary: #a10411;
  --aranyaa-secondary: #1d3557;
  --aranyaa-cream: #ffffff;
  --aranyaa-charcoal: #1f2937;
  --aranyaa-border: #eaeaea;
}

.aranyaa-project-wrapper {
  background-color: var(--aranyaa-cream);
  color: var(--aranyaa-charcoal);
  line-height: 1.7;
  padding: 40px 20px;
  font-family: sans-serif;
  letter-spacing: 0.5px;
  box-sizing: border-box;
  width: 100%;
  --heading-size: 2.5rem;
}

.aranyaa-project-wrapper *,
.aranyaa-project-wrapper *::before,
.aranyaa-project-wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.aranyaa-project-wrapper .site-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.aranyaa-project-wrapper .section-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aranyaa-project-wrapper .section-header-outside {
  text-align: center;
}

.aranyaa-project-wrapper .section-sub-title {
  font-family: var(--font-display);
  font-size: var(--subheading-size);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--mg-red);
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

.aranyaa-project-wrapper .section-sub-title::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 1.5px;
  background: var(--aranyaa-primary);
  vertical-align: middle;
  margin: 0 8px;
}

.aranyaa-project-wrapper .section-main-title {
  font-family: var(--font-heading, var(--font-display));
  font-size: var(--heading-size, 2.5rem);
  font-weight: 600;
  color: var(--mg-navy, #16202c);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.aranyaa-project-wrapper .section-desc {
  font-size: 0.95rem;
  color: #4b5563;
  max-width: 650px;
  margin: 8px auto 0;
  line-height: 1.6;
}

.aranyaa-project-wrapper .content-card-box {
  background: #ffff;
  padding: 45px;
  border: 1px solid rgba(26, 29, 54, 0.15);
  box-shadow: 0 16px 40px rgba(26, 29, 54, 0.1);
}

.aranyaa-project-wrapper .overview-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .aranyaa-project-wrapper .overview-editorial {
    grid-template-columns: 1fr;
  }
}

.aranyaa-project-wrapper .overview-copy .rera-tag {
  font-size: 0.75rem;
  color: var(--aranyaa-primary);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: inline-block;
}

.aranyaa-project-wrapper .overview-copy p {
  color: #4b5563;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.aranyaa-project-wrapper .slider-frame {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.aranyaa-project-wrapper .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s ease-in-out,
    visibility 1s ease-in-out;
  z-index: 1;
}

.aranyaa-project-wrapper .carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.aranyaa-project-wrapper .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aranyaa-project-wrapper .highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 35px;
  padding-top: 35px;
  border-top: 1px solid var(--aranyaa-border);
}

.aranyaa-project-wrapper .highlight-box {
  text-align: center;
  padding: 20px 15px;
  background: #fdfdfd;
  border-radius: 10px;
  border: 1px solid var(--aranyaa-border);
}

.aranyaa-project-wrapper .highlight-box .box-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--aranyaa-secondary);
  margin-bottom: 5px;
}

.aranyaa-project-wrapper .highlight-box .box-lbl {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aranyaa-project-wrapper .amenities-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.aranyaa-project-wrapper .amenity-card-item {
  height: 210px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.aranyaa-project-wrapper .amenity-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.aranyaa-project-wrapper .amenity-card-item:hover img {
  transform: scale(1.08);
}

.aranyaa-project-wrapper .filter-buttons-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.aranyaa-project-wrapper .filter-tab {
  background: #f1f3f5;
  border: none;
  color: var(--aranyaa-secondary);
  padding: 10px 28px;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 7.5px;
  cursor: pointer;
  transition: all 0.3s;
}

.aranyaa-project-wrapper .filter-tab.active,
.aranyaa-project-wrapper .filter-tab:hover {
  background: var(--aranyaa-primary);
  color: white;
}

.aranyaa-project-wrapper .gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.aranyaa-project-wrapper .gallery-photo-box {
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
}

.aranyaa-project-wrapper .gallery-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.aranyaa-project-wrapper .gallery-photo-box:hover img {
  transform: scale(1.05);
}

.aranyaa-project-wrapper .plans-download-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.aranyaa-project-wrapper .doc-btn {
  background: var(--aranyaa-secondary);
  color: white;
  padding: 14px 38px;
  border-radius: 7.5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition:
    background 0.3s,
    transform 0.2s;
  display: inline-block;
}

.aranyaa-project-wrapper .doc-btn:hover {
  background: var(--aranyaa-primary);
  transform: translateY(-2px);
}

.aranyaa-project-wrapper .video-player-box {
  position: relative;
  width: 100%;
  padding-top: 52%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.aranyaa-project-wrapper .video-player-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.aranyaa-project-wrapper .location-grid-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 900px) {
  .aranyaa-project-wrapper .location-grid-section {
    grid-template-columns: 1fr;
  }
}

.aranyaa-project-wrapper .map-frame-box {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--aranyaa-border);
}

.aranyaa-project-wrapper .map-frame-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.aranyaa-project-wrapper .editorial-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aranyaa-project-wrapper .acc-panel {
  background: #fdfdfd;
  border: 1px solid var(--aranyaa-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.aranyaa-project-wrapper .acc-toggle-header {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--aranyaa-secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.aranyaa-project-wrapper .acc-content-body {
  padding: 0 20px 16px;
  display: none;
}

.aranyaa-project-wrapper .acc-panel.is-open .acc-content-body {
  display: block;
}

/* Modern Location Item List Design */
.aranyaa-project-wrapper .location-items-list {
  display: flex;
  flex-direction: column;
}

.aranyaa-project-wrapper .loc-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid #f0f2f5;
}

.aranyaa-project-wrapper .loc-item-row:last-child {
  border-bottom: none;
}

.aranyaa-project-wrapper .loc-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--aranyaa-secondary);
  letter-spacing: 0.3px;
}

.aranyaa-project-wrapper .loc-item-badge {
  background-color: var(--aranyaa-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(161, 4, 17, 0.2);
}

/* -------MEDIA AND EVENT------ */
/* Scoped Variables & Styles */
.media-event-gallery-wrapper {
  --primary-red: #a10411;
  --navy-blue: #1d3557;
  --bg-white: #ffffff;
  --text-dark: #222222;
  --border-color: #d1d5db;

  font-family: sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.5;
  padding: 2rem;
}

.media-event-gallery-wrapper .meg-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Titles */
.media-event-gallery-wrapper .meg-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--primary-red);
  display: inline-block;
}

/* 3-Column Grid for Image Layout */
.media-event-gallery-wrapper .meg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.media-event-gallery-wrapper .meg-gallery-card {
  background-color: #f3f4f6;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 12 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-event-gallery-wrapper .meg-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Videos Section Styling */
.media-event-gallery-wrapper .meg-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 8rem;
}

.media-event-gallery-wrapper .meg-video-card {
  background-color: #f3f4f6;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 12;
}

.media-event-gallery-wrapper .meg-video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .media-event-gallery-wrapper .meg-gallery-grid,
  .media-event-gallery-wrapper .meg-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .media-event-gallery-wrapper .meg-gallery-grid,
  .media-event-gallery-wrapper .meg-video-grid {
    grid-template-columns: 1fr;
  }
  .media-event-gallery-wrapper {
    padding: 1rem;
  }
}
.blog-button-container {
  text-align: center;
  margin-top: 40px;
}

/* Explore More Blogs Button Style */
.explore-more-btn {
  display: inline-block;
  background-color: #1d3557;
  color: #ffffff;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.explore-more-btn:hover {
  background-color: #a10411;
  transform: translateY(-2px);
}

/* -----BLOG PAGE------*/

.mg-blog-section-wrapper {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  padding: 40px 20px;
  --heading-size: 2.5rem;
}

.mg-blog-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 100px;
}

.mg-blog-card-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Added transition property here for cleaner handling alongside JS */
  transition: transform 0.3s ease;
}

.mg-blog-image-wrapper {
  width: 100%;
  height: 200px;
  background-color: #e9ecef;
}

.mg-blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mg-blog-content-wrapper {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mg-blog-meta-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 12px;
}

.mg-blog-title-text {
  font-size: 18px;
  font-weight: bold;
  color: #1d3557;
  margin-bottom: 20px;
  line-height: 1.4;
  flex-grow: 1;
}

.mg-blog-explore-link {
  font-size: 14px;
  font-weight: bold;
  color: #a10411;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mg-blog-explore-link:hover {
  text-decoration: underline;
}

.mg-blog-header-container {
  text-align: center;
  margin-bottom: 30px;
  margin-top: 25px;
}

.mg-blog-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mg-red, #e53e3e);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.mg-blog-main-title {
  font-family: var(--font-heading, var(--font-display));
  font-size: var(--heading-size, 2.5rem);
  font-weight: 600;
  color: var(--mg-navy, #16202c);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.mg-blog-description {
  font-size: 1.05rem;
  color: var(--text-muted, #4a5568);
  line-height: 1.6;
  font-weight: 400;
}

/* ------MAIN PROJECT PAGE------- */
.rex-portfolio-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 20px;
  background-color: #ffffff;
  color: #1d3557;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  box-sizing: border-box;
}

.rex-portfolio-wrapper *,
.rex-portfolio-wrapper *::before,
.rex-portfolio-wrapper *::after {
  box-sizing: border-box;
}

/* Modern Filter Tabs */
.rex-filter-menu {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.rex-filter-tab {
  background-color: #1d3557;
  border: 1px solid #1d3557;
  color: #ffffff;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.15);
}

.rex-filter-tab:hover {
  background-color: #152842;
  border-color: #152842;
  transform: translateY(-2px);
}

.rex-filter-tab.rex-active {
  background-color: #a10411;
  border-color: #a10411;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(161, 4, 17, 0.3);
}

/* Projects Grid Layout */
.rex-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.rex-project-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 70px;
}

/* Image Wrapper */
.rex-img-box {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f1f5f9;
  box-shadow: 0 15px 35px rgba(29, 53, 87, 0.08);
  transition:
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.rex-project-item:hover .rex-img-box {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(29, 53, 87, 0.16);
}

.rex-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.rex-project-item:hover .rex-img-box img {
  transform: scale(1.06);
}

/* Cinematic Hover Overlay */
.rex-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(29, 53, 87, 0.9) 0%,
    rgba(161, 4, 17, 0.5) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 24px;
  text-align: center;
}

.rex-project-item:hover .rex-hover-overlay {
  opacity: 1;
}

.rex-overlay-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.rex-project-item:hover .rex-overlay-title {
  transform: translateY(0);
}

/* Project Details & Meta */
.rex-project-details {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rex-project-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rex-project-title-bottom {
  font-size: 17px;
  font-weight: 600;
  color: #1d3557;
  letter-spacing: -0.2px;
  transition: color 0.3s ease;
}

.rex-project-item:hover .rex-project-title-bottom {
  color: #a10411;
}

/* Status Indicators */
.rex-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

.rex-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.rex-status-ongoing .rex-status-dot {
  background-color: #a10411;
  box-shadow: 0 0 0 3px rgba(161, 4, 17, 0.12);
}

.rex-status-completed .rex-status-dot {
  background-color: #1d3557;
  box-shadow: 0 0 0 3px rgba(29, 53, 87, 0.12);
}

/* Know More Button */
.rex-know-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 0;
  background-color: transparent;
  border: 1.5px solid #1d3557;
  color: #1d3557;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.rex-know-more-btn:hover {
  background-color: #a10411;
  border-color: #a10411;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(161, 4, 17, 0.2);
}

/* Animations */
@keyframes rexFadeSlide {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.rex-project-item {
  animation: rexFadeSlide 0.4s ease forwards;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .rex-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rex-projects-grid {
    grid-template-columns: 1fr;
  }
  .mg-blog-main-title {
    font-size: 32px;
  }
  .rex-img-box {
    height: 280px;
  }
}

/* ------BLOG DETAIL PAGE ----- */
:root {
  --aranyaa-primary-color: #a10411;
  --aranyaa-secondary-color: #1d3557;
  --aranyaa-bg-color: #ffffff;
  --aranyaa-text-color: #2c3e50;
  --aranyaa-border-color: #e2e8f0;
}

.aranyaa-blog-wrapper-scope {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  background-color: var(--aranyaa-bg-color);
  color: var(--aranyaa-text-color);
  line-height: 1.8;
  margin: 0;
  padding: 40px 20px;
}

.aranyaa-blog-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(29, 53, 87, 0.06);
  margin-bottom: 100px;
}

.aranyaa-blog-title {
  color: var(--aranyaa-secondary-color);
  font-size: 2.4rem;
  margin-bottom: 35px;
  font-weight: 600;
  position: relative;
  padding-bottom: 20px;
}

.aranyaa-blog-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90px;
  height: 4px;
  background-color: var(--aranyaa-primary-color);
  border-radius: 2px;
}

.aranyaa-blog-content-wrapper {
  overflow: hidden;
}

.aranyaa-image-share-container {
  float: left;
  width: 650px;
  margin-right: 45px;
  margin-bottom: 25px;
}

.aranyaa-blog-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.aranyaa-blog-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.aranyaa-blog-image-wrapper:hover .aranyaa-blog-image {
  transform: scale(1.03);
}

.aranyaa-share-section {
  margin-top: 18px;
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid var(--aranyaa-border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aranyaa-share-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--aranyaa-secondary-color);
}

.aranyaa-share-icons {
  display: flex;
  gap: 10px;
}

.aranyaa-share-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: var(--aranyaa-secondary-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.aranyaa-share-icon:hover {
  background-color: var(--aranyaa-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.aranyaa-section-heading {
  font-size: 1.4rem;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

.aranyaa-section-heading:first-of-type {
  margin-top: 0;
}

.aranyaa-section-heading:nth-of-type(odd) {
  color: var(--aranyaa-primary-color);
}

.aranyaa-section-heading:nth-of-type(even) {
  color: var(--aranyaa-secondary-color);
}

.aranyaa-sub-heading {
  font-size: 1.2rem;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--aranyaa-secondary-color);
}

.aranyaa-blog-text p {
  margin-bottom: 18px;
  text-align: justify;
  color: #4a5568;
  font-size: 1.05rem;
}

.aranyaa-blog-text ul {
  margin-bottom: 25px;
  padding-left: 20px;
  color: #4a5568;
}

.aranyaa-blog-text li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.aranyaa-contact-box {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border-left: 5px solid var(--aranyaa-primary-color);
  padding: 25px 30px;
  margin-top: 45px;
  border-radius: 0 12px 12px 0;
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  border: 1px solid var(--aranyaa-border-color);
  border-left-width: 5px;
}

.aranyaa-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--aranyaa-secondary-color);
  font-size: 0.95rem;
}

.aranyaa-contact-item i {
  color: var(--aranyaa-primary-color);
  font-size: 1.1rem;
  background: rgba(161, 4, 17, 0.1);
  padding: 10px;
  border-radius: 8px;
}

@media (max-width: 1100px) {
  .aranyaa-image-share-container {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }
  .aranyaa-blog-image {
    height: auto;
  }
}

@media (max-width: 768px) {
  .aranyaa-blog-container {
    padding: 25px;
  }
  .aranyaa-blog-title {
    font-size: 1.8rem;
  }
}

/* ------MARKEPLACE PAGE------ */
.cat-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 20px;
  background: #f4f4f4;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 150px;
  margin-top: 50px;
}

.cat-row {
  display: flex;
  gap: 14px;
  width: 100%;
}

.cat-top-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
}

.cat-small-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
}

@media (max-width: 1024px) {
  .cat-small-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cat-top-wrap,
  .cat-small-wrap {
    grid-template-columns: 1fr;
  }
}

.cat-btn {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  background-size: 200% 100%;
  background-position: left;
  transition:
    background-position 0.5s ease,
    color 0.4s ease,
    box-shadow 0.3s ease;
}

.cat-btn.top-btn {
  width: 100%;
  color: #f1e7db;
  background-image: linear-gradient(
    90deg,
    #a10411 0%,
    #a10411 40%,
    #faf5ea 100%
  );
}
.cat-btn.top-btn:hover {
  background-position: right;
  color: #a10411;
  box-shadow: 0 4px 12px rgba(161, 4, 17, 0.3);
}

/* 2. MIDDLE BIG BUTTONS (India / State) - #1d3557 */
.cat-btn.full {
  width: 100%;
  color: #f1e7db;
  background-image: linear-gradient(
    90deg,
    #1d3557 0%,
    #1d3557 40%,
    #faf5ea 100%
  );
}
.cat-btn.full:hover {
  background-position: right;
  color: #1d3557;
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.3);
}

.cat-btn.small {
  width: 100%;
  color: #f1e7db;
  background-image: linear-gradient(
    90deg,
    #a10411 0%,
    #a10411 40%,
    #faf5ea 100%
  );
}
.cat-btn.small:hover {
  background-position: right;
  color: #a10411;
  box-shadow: 0 4px 12px rgba(161, 4, 17, 0.3);
}
/* ============================================================
   RESPONSIVE LAYER — append this whole block to the END of your
   existing style.css (after the marketplace / .cat-btn rules).

   Breakpoints used:
     1440px  – large desktop / wide monitors
     1200px  – small desktop / laptop
     1024px  – tablet landscape
     900px   – tablet portrait
     768px   – large phone / small tablet
     600px   – phone
     480px   – small phone
     375px   – very small phone (iPhone SE etc.)

   This layer does NOT remove or override your existing
   @media (max-width: 768px) block — it works alongside it and
   fills in every section that block doesn't touch, plus adds the
   in-between tablet/laptop sizes your file currently skips.
   ============================================================ */

/* ---------------------------------------------------------
   0. FLUID TYPE + LAYOUT SAFETY NET (applies at every size)
   --------------------------------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
}
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}
.container {
  padding: 0 20px;
}

/* Fluid clamp for the shared heading system used across sections
   (.section-heading, .projects-heading, .testimonial-section-title,
   .section-heading (contact), .values-header .title-text, etc.) */
:root {
  --heading-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.75rem);
}

/* ---------------------------------------------------------
   1. LARGE DESKTOP (≤1440px) — tighten max-widths slightly
   --------------------------------------------------------- */
@media (max-width: 1440px) {
  .container,
  .best-projects-section,
  .testimonials-section .testimonial-section,
  .footer-main,
  .footer-bottom,
  .rex-portfolio-wrapper,
  .mg-gallery-wrapper .gallery-section,
  .leadership-section {
    max-width: 1200px;
  }
  .contact-us-section .contact-container {
    width: 100%;
    max-width: 1100px;
  }
}

/* ---------------------------------------------------------
   2. LAPTOP / SMALL DESKTOP (≤1200px)
   --------------------------------------------------------- */
@media (max-width: 1200px) {
  .ns-heading p,
  .ns-copy p,
  .ns-copy a {
    font-size: clamp(13px, 1.9vw, 19px);
  }
  .rex-projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 24px;
  }
  .best-projects-section .project-image {
    height: 320px;
  }
  .why-choose-us-wrapper .values-grid {
    gap: 16px;
  }
  .cta-banner-content {
    padding: 40px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
    gap: 28px;
  }
}

/* ---------------------------------------------------------
   3. TABLET LANDSCAPE (≤1024px)
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  /* Header / nav */
  .nav-menu {
    gap: 22px;
  }
  .nav-menu a {
    font-size: 0.92rem;
  }

  /* Hero */
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-desc {
    font-size: 0.98rem;
  }

  /* Best projects */
  .best-projects-section .project-content .project-heading {
    font-size: 1.7rem;
  }
  .best-projects-section .project-image {
    height: 280px;
  }

  /* Rex portfolio grid */
  .rex-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Media/event grid */
  .media-event-gallery-wrapper .meg-gallery-grid,
  .media-event-gallery-wrapper .meg-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Marketplace small buttons */
  .cat-small-wrap {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Aranyaa project detail */
  .aranyaa-project-wrapper .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact form */
  .contact-us-section .contact-container {
    height: auto;
  }

  /* Testimonial cards slightly narrower */
  .testimonials-section .testimonial-card {
    width: 400px;
    height: 340px;
  }
}

/* ---------------------------------------------------------
   4. TABLET PORTRAIT (≤900px)
   --------------------------------------------------------- */
@media (max-width: 900px) {
  /* Corporate about already float-stacks at 850px in base file;
     this reinforces the same breakpoint band for spacing */
  .corporate-about-section {
    padding: 20px 16px 8px;
  }

  /* Leadership + Aranyaa project + location grids already break at
     900px in the base file — add supporting spacing fixes */
  .leadership-section {
    padding: 60px 20px;
  }
  .leader-content-wrapper {
    padding: 34px;
  }
  .leader-name {
    font-size: 1.8rem;
  }

  .quote-banner {
    padding: 32px;
  }
  .quote-text {
    font-size: 1.1rem;
  }

  /* Dual bg cards */
  .dual-bg-section .content-container {
    padding: 60px 6%;
    gap: 30px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter-container {
    top: -60px;
  }
}

/* ---------------------------------------------------------
   5. LARGE PHONE / SMALL TABLET (≤768px)
   Supplements — not a replacement for — your existing
   @media (max-width: 768px) block.
   --------------------------------------------------------- */
@media (max-width: 768px) {
  /* ---- Corporate About: force stacked, centered ---- */
  .corporate-about-section {
    padding: 16px 16px 4px;
  }
  .corp-img-box {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  }

  /* ---- Dual background section ---- */
  .dual-bg-section .card img {
    height: 200px;
  }
  .dual-bg-section .card {
    padding: 28px 20px;
  }

  /* ---- Best projects ---- */
  .best-projects-section {
    padding: 24px 16px;
  }
  .best-projects-section .projects-title .projects-heading {
    font-size: 1.9rem;
  }
  .best-projects-section .project-content .project-heading {
    font-size: 1.5rem;
  }
  .best-projects-section .project-meta {
    gap: 8px;
  }
  .best-projects-section .know-more-btn,
  .best-projects-section .view-all-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* ---- Testimonials ---- */
  .testimonials-section {
    padding: 24px 12px;
  }
  .testimonials-section .testimonial-section-title,
  .testimonials-section .testimonial-title-wrapper .testimonial-section-title {
    font-size: 1.7rem;
  }
  .testimonials-section .testimonial-card {
    width: min(88vw, 340px);
    height: auto;
    min-height: 300px;
    padding: 28px 22px;
  }

  /* ---- Contact form ---- */
  .contact-us-section {
    padding: 32px 16px 70px;
  }
  .contact-us-section .section-heading-wrapper .section-heading {
    font-size: 1.9rem;
  }
  .contact-us-section .form-section {
    padding: 32px 20px 24px;
  }
  .contact-us-section .info-section {
    padding: 24px 20px;
  }

  /* ---- Footer ---- */
  .cta-banner-content {
    padding: 32px 20px;
  }
  .cta-banner-title {
    font-size: 1.4rem;
  }
  .cta-banner-desc {
    font-size: 0.95rem;
  }
  .footer-main {
    padding: 30px 16px;
  }
  .newsletter-container {
    padding: 0 16px;
    top: -50px;
    margin-bottom: -30px;
  }

  /* ---- Why choose us ---- */
  .why-choose-us-wrapper .values-header .title-text {
    font-size: 1.9rem;
  }
  .why-choose-us-wrapper .value-card {
    height: 230px;
  }

  /* ---- Leadership page ---- */
  .breadcrumb-section {
    height: 340px;
  }
  .breadcrumb-title {
    font-size: 2rem;
  }
  .leadership-section {
    padding: 44px 16px;
  }
  .leadership-section .section-title {
    font-size: 1.9rem;
  }
  .leader-image-wrapper {
    min-height: 260px;
  }
  .leader-content-wrapper {
    padding: 26px 20px;
  }
  .leader-name {
    font-size: 1.5rem;
  }
  .leader-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .quote-banner {
    padding: 26px 20px;
  }
  .quote-text {
    font-size: 1rem;
  }
  .quote-author {
    font-size: 2rem;
  }

  /* ---- Gallery (mg-gallery-wrapper) ---- */
  .mg-gallery-wrapper .gallery-section {
    padding: 44px 5%;
  }
  .mg-gallery-wrapper .gallery-header .gallery-title {
    font-size: 1.8rem !important;
  }
  .mg-gallery-wrapper .gallery-nav-buttons {
    gap: 10px;
    margin-bottom: 36px;
  }
  .mg-gallery-wrapper .nav-btn {
    padding: 10px 18px;
    font-size: 0.82rem;
  }
  .mg-gallery-wrapper .category-title {
    font-size: 1.5rem;
  }

  /* ---- Aranyaa project detail page ---- */
  .aranyaa-project-wrapper {
    padding: 24px 16px;
  }
  .aranyaa-project-wrapper .section-main-title {
    font-size: 1.8rem;
  }
  .aranyaa-project-wrapper .content-card-box {
    padding: 24px;
  }
  .aranyaa-project-wrapper .site-wrapper {
    gap: 40px;
  }
  .aranyaa-project-wrapper .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aranyaa-project-wrapper .filter-buttons-group {
    gap: 8px;
    flex-wrap: wrap;
  }
  .aranyaa-project-wrapper .filter-tab {
    padding: 9px 18px;
    font-size: 0.8rem;
  }
  .aranyaa-project-wrapper .plans-download-row {
    flex-direction: column;
    align-items: stretch;
  }
  .aranyaa-project-wrapper .doc-btn {
    text-align: center;
  }
  .aranyaa-project-wrapper .map-frame-box {
    height: 260px;
  }

  /* ---- Media & Events ---- */
  .media-event-gallery-wrapper {
    padding: 1.25rem;
  }
  .media-event-gallery-wrapper .meg-section-title {
    font-size: 1.25rem;
  }

  /* ---- Blog list ---- */
  .mg-blog-section-wrapper {
    padding: 28px 16px;
  }
  .mg-blog-main-title {
    font-size: 1.8rem !important;
  }
  .mg-blog-grid-container {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }

  /* ---- Main portfolio / Rex grid ---- */
  .rex-portfolio-wrapper {
    padding: 44px 16px;
  }
  .rex-filter-menu {
    gap: 10px;
    flex-wrap: wrap;
  }
  .rex-filter-tab {
    padding: 10px 18px;
    font-size: 13px;
  }
  .rex-projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .rex-img-box {
    height: 240px;
  }

  /* ---- Blog detail ---- */
  .aranyaa-blog-wrapper-scope {
    padding: 24px 16px;
  }
  .aranyaa-blog-container {
    padding: 26px 20px;
    margin-bottom: 60px;
  }
  .aranyaa-blog-title {
    font-size: 1.6rem;
  }
  .aranyaa-image-share-container {
    width: 100%;
  }
  .aranyaa-share-section {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* ---- Marketplace ---- */
  .cat-section {
    padding: 8px 16px;
    margin-bottom: 80px;
    margin-top: 30px;
  }
  .cat-btn {
    padding: 15px 16px;
    font-size: 13px;
    white-space: normal;
  }

  /* ---- Modal ---- */
  .modal-box {
    padding: 32px 24px;
    max-width: 92vw;
  }

  /* ---- Floating social + scroll-top don't overlap on small screens ---- */
  #scrollTopBtn {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

/* ---------------------------------------------------------
   6. PHONE (≤600px)
   --------------------------------------------------------- */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  /* Corporate about */
  .corporate-heading {
    font-size: 22px;
  }
  .content-text {
    text-align: left; /* justify reads poorly at narrow widths */
    hyphens: none;
  }

  /* NextSpace intro copy */
  .ns-wrapper {
    padding: 16px 0 8px;
  }
  .ns-heading p,
  .ns-copy p,
  .ns-copy a {
    font-size: 15px;
  }

  /* Dual bg */
  .dual-bg-section .content-container {
    padding: 40px 5%;
  }
  .dual-bg-section .card .card-heading {
    font-size: 1.1rem;
  }

  /* Best projects */
  .best-projects-section .project-card,
  .best-projects-section .project-card.reverse {
    padding: 16px;
  }
  .best-projects-section .meta-badge {
    font-size: 0.7rem;
    padding: 7px 12px;
  }

  /* Testimonials */
  .testimonials-section .testimonial-card {
    width: 88vw;
    padding: 24px 18px;
  }
  .testimonials-section .client-img {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  /* Contact */
  .contact-us-section .contact-container::before,
  .contact-us-section .contact-container::after {
    display: none;
  }
  .contact-us-section .form-header .form-title {
    font-size: 20px;
  }
  .contact-us-section .info-section .info-title {
    font-size: 18px;
  }

  /* Why choose us */
  .why-choose-us-wrapper .values-section {
    padding: 40px 4%;
  }
  .why-choose-us-wrapper .value-card {
    height: 200px;
  }
  .why-choose-us-wrapper .card-title {
    font-size: 1.15rem;
  }

  /* Leadership */
  .breadcrumb-section {
    height: 280px;
  }
  .breadcrumb-title {
    font-size: 1.6rem;
  }
  .leader-stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }

  /* Gallery grid */
  .mg-gallery-wrapper .gallery-grid {
    grid-template-columns: 1fr;
  }
  .mg-gallery-wrapper .gallery-item {
    height: 200px;
  }
  .mg-gallery-wrapper .close-lightbox {
    top: 16px;
    right: 16px;
    font-size: 2rem;
  }

  /* Aranyaa project detail */
  .aranyaa-project-wrapper .highlights-grid {
    grid-template-columns: 1fr 1fr;
  }
  .aranyaa-project-wrapper .amenities-showcase,
  .aranyaa-project-wrapper .gallery-photo-grid {
    grid-template-columns: 1fr;
  }
  .aranyaa-project-wrapper .slider-frame {
    height: 240px;
  }
  .aranyaa-project-wrapper .video-player-box {
    padding-top: 62%;
  }

  /* Media/event grid single column */
  .media-event-gallery-wrapper .meg-gallery-grid,
  .media-event-gallery-wrapper .meg-video-grid {
    grid-template-columns: 1fr;
  }
  .media-event-gallery-wrapper .meg-video-card {
    aspect-ratio: 16/10;
  }

  /* Marketplace buttons */
  .cat-small-wrap {
    grid-template-columns: 1fr 1fr;
  }
  .cat-top-wrap {
    grid-template-columns: 1fr;
  }

  /* Floating social + scroll-top stack cleanly on narrow screens */
  .floating-social-stack {
    left: 12px;
    bottom: 16px;
  }
}

/* ---------------------------------------------------------
   7. SMALL PHONE (≤480px)
   --------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }
  .btn-secondary-outline {
    padding: 10px 18px;
    font-size: 0.7rem;
  }

  .best-projects-section .projects-title .projects-heading {
    font-size: 1.6rem;
  }
  .best-projects-section .project-content .project-heading {
    font-size: 1.3rem;
  }
  .best-projects-section .project-image {
    height: 220px;
  }

  .testimonials-section .testimonial-text {
    font-size: 0.88rem;
  }

  .contact-us-section .contact-container {
    box-shadow: none;
  }

  .cta-banner-title {
    font-size: 1.2rem;
  }
  .cta-banner-btn {
    padding: 12px 22px;
    font-size: 0.82rem;
  }
  .footer-bottom-content {
    font-size: 12.5px;
  }

  .why-choose-us-wrapper .values-header .title-text {
    font-size: 1.5rem;
  }
  .why-choose-us-wrapper .value-card {
    height: auto;
    min-height: 170px;
    padding: 16px;
  }
  .why-choose-us-wrapper .card-title {
    font-size: 1rem;
  }
  .why-choose-us-wrapper .card-description {
    font-size: 0.82rem;
  }

  .leader-name {
    font-size: 1.3rem;
  }
  .leader-role {
    font-size: 0.95rem;
  }
  .leader-bio {
    font-size: 0.88rem;
  }
  .quote-text {
    font-size: 0.92rem;
  }
  .quote-author {
    font-size: 1.7rem;
  }

  .aranyaa-project-wrapper .highlights-grid {
    grid-template-columns: 1fr;
  }
  .aranyaa-project-wrapper .highlight-box .box-val {
    font-size: 1rem;
  }

  .mg-blog-title-text {
    font-size: 16px;
  }
  .rex-overlay-title {
    font-size: 19px;
  }
  .rex-project-title-bottom {
    font-size: 15px;
  }

  .aranyaa-blog-title {
    font-size: 1.35rem;
  }
  .aranyaa-blog-text p,
  .aranyaa-blog-text li {
    font-size: 0.95rem;
    text-align: left;
  }

  .cat-btn {
    font-size: 12.5px;
    padding: 13px 14px;
  }

  .float-social-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* ---------------------------------------------------------
   8. VERY SMALL PHONE (≤375px)
   --------------------------------------------------------- */
@media (max-width: 375px) {
  .brand-logo-img {
    height: 36px !important;
  }
  .hero-title {
    font-size: 1.45rem;
  }
  .nav-sidebar-drawer {
    padding: 36px 22px;
    max-width: 100%;
  }
  .sidebar-nav-links a {
    font-size: 1.25rem;
  }
  .testimonials-section .testimonial-card {
    width: 92vw;
    padding: 20px 16px;
  }
  .contact-us-section .form-section {
    padding: 26px 16px 20px;
  }
  .contact-us-section .info-section {
    padding: 20px 16px;
  }
  .leader-content-wrapper {
    padding: 20px 16px;
  }
  .aranyaa-project-wrapper .content-card-box {
    padding: 18px;
  }
  .cat-small-wrap,
  .cat-top-wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   9. LANDSCAPE PHONE / SHORT VIEWPORTS
   --------------------------------------------------------- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-video-section {
    height: auto;
    min-height: 100vh;
  }
  .breadcrumb-section {
    height: auto;
    min-height: 260px;
    padding: 40px 0;
  }
  .modal-box {
    max-height: 90vh;
    overflow-y: auto;
  }
  .nav-sidebar-drawer {
    overflow-y: auto;
  }
}

@media (hover: none) {
  .rex-hover-overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(29, 53, 87, 0.75) 0%,
      rgba(161, 4, 17, 0.35) 100%
    );
  }
  .mg-gallery-wrapper .gallery-overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(36, 37, 39, 0.75) 0%,
      transparent 60%
    );
  }
  .best-projects-section .project-image img,
  .aranyaa-project-wrapper .amenity-card-item img,
  .aranyaa-project-wrapper .gallery-photo-box img {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 34px;
  }
}

/* 2. Keep the 2-column footer only for the tablet band (641–900px)
      where there's actually room for it. */
@media (min-width: 641px) and (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.site-footer {
  position: relative;
  z-index: 1001;
}

@media (max-width: 480px) {
  .contact-list {
    padding-left: 4px;
  }
  .floating-social-stack {
    left: 12px;
    bottom: 14px;
  }
}