* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden !important;
}

:root {
  --primary-text: #111111;
  --secondary-text: #2C2F34;
  --border-color: #D5D5D0;
  --placeholder: #5E5E67;
  --light-grey: #ECEAE3;
  --white: #ffffff;
  --brand-dark-blue: #0E3B62;
  --brand-orange: #EE912D;
  --brand-blue: #2CA9E3;
  --success-green: #1BC47D;
}

body {
  font-family: 'Lexend', Arial, sans-serif;
  color: var(--primary-text);
  font-size: 16px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  background-color: var(--white);
}

/* Typography Utility Classes */
.text-xxs { font-size: 10px; line-height: 14px; }
.text-xs { font-size: 12px; line-height: 16px; }
.text-s { font-size: 14px; line-height: 18px; }
.text-m { font-size: 16px; line-height: 28px; }
.text-ml { font-size: 20px !important; line-height: 36px !important; }
.text-l { font-size: 24px; line-height: 36px; }
.text-xl { font-size: 40px; line-height: 50px; }
.text-xxl { font-size: 50px; line-height: 60px; }

.text-white { color: #fff !important; }
.text-success { color: var(--success-green) !important; }
.text-brand-blue { color: var(--brand-blue) !important; }
.text-dark-blue { color: var(--brand-dark-blue) !important; }
.text-primary { color: var(--primary-text) !important; }
.text-footer { color: var(--border-color) !important; }

h1, .section-header {
  font-family: 'Lexend', Arial, sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 50px;
  color: var(--primary-text);
}

h2, .section-subheader {
  font-family: 'Lexend', Arial, sans-serif;
  font-size: 24px;
  line-height: 36px;
  color: var(--primary-text);
}

.text-secondary {
  color: var(--secondary-text) !important;
}

.bg-light-grey {
  background-color: var(--light-grey) !important;
}

.bg-dark-section {
  background: #2C2F34 !important;
  color: #fff !important;
}

.border-custom {
  border-color: var(--border-color) !important;
}

/* Layout Utility Classes */
.h-660 { height: 660px !important; }
.h-250 { height: 250px !important; }
.h-380 { height: 380px !important; }
.h-480 { height: 480px !important; }
.h-500 { height: 500px !important; }
.h-80 { height: 80px !important; min-height: 80px !important; }
.h-50 { height: 50px !important; }

.w-241 { width: 241px !important; }
.w-410 { width: 410px !important; }
.w-520 { width: 520px !important; }
.w-60 { width: 60px !important; }
.w-80 { width: 80px !important; }

.min-w-180 { min-width: 180px !important; }
.min-w-200 { min-width: 200px !important; }
.min-w-320 { min-width: 320px !important; }

.max-w-700 { max-width: 700px !important; }
.max-w-900 { max-width: 900px !important; }

/* Spacing Utility Classes */
.pt-50 { padding-top: 50px !important; }
.pb-50 { padding-bottom: 50px !important; }
.pt-100 { padding-top: 100px !important; }
.pb-100 { padding-bottom: 100px !important; }
.px-32 { padding-left: 32px !important; padding-right: 32px !important; }
.py-12 { padding-top: 12px !important; padding-bottom: 12px !important; }
.py-32 { padding-top: 32px !important; padding-bottom: 32px !important; }

.mt-32 { margin-top: 32px !important; }
.mr-32 { margin-right: 32px !important; }
.mt-5px { margin-top: 5px !important; }

/* Image Utility Classes */
.img-cover { object-fit: cover !important; }
.img-contain { object-fit: contain !important; }
.img-fluid-custom { max-width: 100%; height: auto; }

/* Position Utility Classes */
.pos-absolute { position: absolute !important; }
.pos-relative { position: relative !important; }
.z-1 { z-index: 1 !important; }
.z-2 { z-index: 2 !important; }

/* Border Radius Utility Classes */
.radius-10 { border-radius: 10px !important; }
.radius-32 { border-radius: 32px !important; }
.radius-50 { border-radius: 50% !important; }
.radius-top-10 { border-radius: 10px 10px 0 0 !important; }
.radius-bottom-32 { border-radius: 0 0 32px 0 !important; }

/* Background Utility Classes */
.bg-orange { background: var(--brand-orange) !important; }
.bg-overlay { background: rgba(17,17,17,0.32) !important; }
.bg-cta { background: #ECEAE3 !important; }
.bg-lines { background-image: url('assets/imgs/cta-bg-lines.png'); background-size: cover; background-position: center; opacity: 0.18; pointer-events: none; }

/* Button Utility Classes */
.btn-orange {
  background: var(--brand-orange) !important;
  color: #fff !important;
  border-color: var(--brand-orange) !important;
  font-size: 16px !important;
  line-height: 28px !important;
  border-radius: 10px !important;
  padding: 12px 32px !important;
  font-weight: 600 !important;
}

.btn-outline-light-custom {
  border-width: 2px !important;
  font-size: 16px !important;
  line-height: 28px !important;
}

.btn-outline-warning-custom {
  border-width: 2px !important;
  color: var(--brand-orange) !important;
  font-size: 16px !important;
  line-height: 28px !important;
  min-width: 180px !important;
}

.btn-primary-orange {
  background: var(--brand-orange) !important;
  border-color: var(--brand-orange) !important;
  font-size: 16px !important;
  line-height: 28px !important;
  min-width: 200px !important;
}

/* Card Utility Classes */
.card-project {
  border-radius: 10px !important;
}

.card-img-project {
  border-radius: 10px 10px 0 0 !important;
  height: 250px !important;
  object-fit: cover !important;
}

.badge-verified {
  top: 12px !important;
  right: 12px !important;
  width: 60px !important;
  height: 80px !important;
}

/* List Utility Classes */
.list-check {
  font-size: 16px !important;
  line-height: 28px !important;
}

.check-icon {
  color: var(--success-green) !important;
  font-size: 22px !important;
}

.check-icon-blue {
  color: var(--brand-blue) !important;
  font-size: 22px !important;
}

/* Vision Mission Section */
.vision-mission-container {
  width: 520px !important;
  height: 500px !important;
}

.vision-img-1 {
  width: 410px !important;
  height: 480px !important;
  object-fit: cover !important;
  left: 0 !important;
  top: 0 !important;
  z-index: 2 !important;
  border-radius: 10px !important;
}

.vision-img-2 {
  width: 410px !important;
  height: 480px !important;
  object-fit: cover !important;
  left: 110px !important;
  top: 20px !important;
  z-index: 1 !important;
  border-radius: 10px !important;
}

/* CTA Section */
.cta-container {
  background: #ECEAE3 !important;
  border-radius: 32px !important;
  min-height: 400px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
}

.cta-content {
  z-index: 2 !important;
  min-width: 320px !important;
}

.cta-broker-img {
  height: 440px !important;
  width: auto !important;
  margin: 0 auto !important;
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
  right: 50px;
}

.bg-lines {
  background-image: url(assets/imgs/cta-bg-lines.png);
  background-size: cover !important;
  background-position: center !important;
  opacity: 1;
  pointer-events: none;
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  left: 0;
  top: 0;
  z-index: 1;
}

/* Text Truncate */
.text-truncate-custom {
  font-size: 14px !important;
}

::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.btn-primary, .btn-primary:focus, .btn-primary:active, .btn-primary:hover {
  background-color: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
  color: #fff !important;
  border-radius: 10px !important;
}

.btn-outline-primary, .btn-outline-primary:focus, .btn-outline-primary:active, .btn-outline-primary:hover {
  color: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
  background-color: #fff !important;
  border-radius: 10px !important;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #178fc2 !important; /* Slightly darker than brand blue */
  border-color: #178fc2 !important;
  color: #fff !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--brand-blue) !important;
  color: #fff !important;
  border-color: var(--brand-blue) !important;
}

.btn, .card {
  border-radius: 10px !important;
}

.btn:not(.navbar .btn),
.btn-primary:not(.navbar .btn),
.btn-outline-primary:not(.navbar .btn),
.btn-outline-light:not(.navbar .btn) {
  height: 48px !important;
  min-height: 48px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: inline-flex;
  align-items: center;
}

.navbar .nav-link {
  color: var(--primary-text) !important;
}

.navbar .nav-link.active, .navbar .nav-link:focus, .navbar .nav-link:hover {
  color: var(--brand-blue) !important;
}

.navbar .nav-item {
  margin-left: 5px;
  margin-right: 5px;
}

.navbar-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.navbar {
  transition: transform 0.3s ease;
}

.navbar.sticky-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1055 !important;
  background: #fff !important;
}

.cityscape-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  overflow: hidden;
  z-index: 1;
}
.cityscape-marquee-inner {
  display: flex;
  width: 200%;
  height: 100%;
  animation: cityscape-scroll 30s linear infinite;
}
.cityscape-marquee-inner img {
  height: 120px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
}
@keyframes cityscape-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
section.bg-light-grey {
  position: relative;
  padding-bottom: 100px;
}

.carousel-control-prev, .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  opacity: 1;
  z-index: 2;
}
.carousel-control-prev {
  left: 0 !important;
}
.carousel-control-next {
  right: 0 !important;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-image: none !important;
  color: #111111;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin-top: -6px !important;
}
.carousel-control-prev-icon::after {
  content: '\2039'; /* Unicode for left chevron */
  color: #111111;
  font-size: 2rem;
}
.carousel-control-next-icon::after {
  content: '\203A'; /* Unicode for right chevron */
  color: #111111;
  font-size: 2rem;
}
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #D5D5D0;
  margin: 0 6px;
  border: none;
  opacity: 1;
}
.carousel-indicators .active {
  background: #111111;
}
.carousel-indicators {
  margin-top: 40px !important;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 10px 10px 0 0;
  max-width: 100%;
  overflow: hidden;
}

.carousel-caption h5 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 28px;
  color: var(--primary-text);
}

.carousel-caption p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--secondary-text);
}

.btn-outline-warning {
  color: var(--brand-orange) !important;
  border-color: var(--brand-orange) !important;
  background: transparent !important;
  border-radius: 10px !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(238,145,45,0.08);
  padding: 0 32px !important;
  height: 48px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 28px;
  border-width: 2px !important;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-outline-warning span[aria-hidden] {
  margin-left: 8px;
  font-size: 1.2em;
  display: inline-block;
}
.btn-outline-warning:hover, .btn-outline-warning:focus {
  background: var(--brand-orange) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(238,145,45,0.16);
} 

.partners-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  background: transparent;
}
.partners-marquee-inner {
  display: flex;
  width: max-content;
  animation: partners-scroll 40s linear infinite;
}
@keyframes partners-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partners-marquee-inner img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.partners-marquee-inner img:hover {
  opacity: 1;
} 

.btn, .btn-primary, .btn-outline-primary, .btn-outline-warning, .btn-outline-light {
  font-weight: 500 !important;
} 

.navbar .btn {
  font-size: 14px !important;
}

#featuredProjectsCarousel .btn-outline-warning {
  font-size: 14px !important;
  padding: 0px !important;
} 

.cityscape-marquee,
.partners-marquee {
  width: 100vw !important;
  max-width: 100vw !important;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
  position: relative;
  overflow-x: hidden !important;
} 

.mt-custom-minus-200 { margin-top: -200px !important; }
.icon-l { font-size: 24px !important; } 

.leadership-img {
  /* width: 100%; */
  width: 150px;
  height: 220px;
  object-fit: cover;
  /* background: #ECEAE3; */
  margin-left: auto;
  margin-right: auto;
  display: block;
} 

.activity-img {
  width: 100%;
  max-width: 420px;
  height: 260px;
  object-fit: cover;
  background: #ECEAE3;
  margin-left: auto;
  margin-right: auto;
  display: block;
} 

.activity-img-230 { height: 230px !important; }
.activity-img-350 { height: 350px !important; }
.activity-img-600 { height: 600px !important; }

.gallery-img {
  width: 100%;
  max-width: 320px;
  height: 220px;
  object-fit: cover;
  background: #ECEAE3;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.member-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  background: #ECEAE3;
  display: block;
}

@media (min-width: 992px) {
  .custom-col-5 {
    flex: 0 0 25%;
    max-width: 25%;
  }
} 

/* Search Member Input Group */
.search-member-group .input-group-text {
  background: #fff !important;
  border-color: var(--border-color) !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
  height: 48px !important;
  display: flex;
  align-items: center;
  padding-right: 8px !important;
}
.search-member-input {
  height: 48px !important;
  font-size: 16px !important;
  line-height: 28px !important;
  border-color: var(--border-color) !important;
  border-left: 0 !important;
  border-radius: 0 10px 10px 0 !important;
  box-shadow: none !important;
}
.search-member-input:focus {
  border-color: var(--brand-blue) !important;
  box-shadow: 0 0 0 2px rgba(44, 169, 227, 0.15) !important;
}
.search-member-input::placeholder {
  color: var(--placeholder) !important;
  font-size: 16px !important;
  line-height: 28px !important;
} 

/* Utility for 40px height buttons */
.btn-h40 {
  height: 40px !important;
  min-height: 40px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: inline-flex;
  align-items: center;
} 

.btn-white-text {
  color: #fff !important;
} 

/* Universal Button Hover Animations for NAAR */
.btn, .btn-primary, .btn-outline-primary, .btn-orange, .btn-outline-warning, .btn-primary-orange, .btn-outline-light, .btn-outline-light-custom, .btn-outline-warning-custom {
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, filter 0.2s;
}

/* Filled Buttons (Primary, Orange, Primary-Orange) */
.btn-primary:hover, .btn-primary:focus,
.btn-orange:hover, .btn-orange:focus,
.btn-primary-orange:hover, .btn-primary-orange:focus {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(44,169,227,0.15); /* brand-blue shadow for .btn-primary */
  transform: translateY(-2px) scale(1.03);
}
.btn-orange:hover, .btn-orange:focus,
.btn-primary-orange:hover, .btn-primary-orange:focus {
  box-shadow: 0 4px 16px rgba(238,145,45,0.15); /* brand-orange shadow for orange buttons */
}

/* Outline Buttons (Primary, Warning, Light, Custom) */
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background: var(--brand-blue) !important;
  color: #fff !important;
  border-color: var(--brand-blue) !important;
  box-shadow: 0 4px 16px rgba(44,169,227,0.10);
  transform: translateY(-2px) scale(1.03);
}
.btn-outline-warning:hover, .btn-outline-warning:focus,
.btn-outline-warning-custom:hover, .btn-outline-warning-custom:focus {
  background: var(--brand-orange) !important;
  color: #fff !important;
  border-color: var(--brand-orange) !important;
  box-shadow: 0 4px 16px rgba(238,145,45,0.16);
  transform: translateY(-2px) scale(1.03);
}
.btn-outline-light:hover, .btn-outline-light:focus,
.btn-outline-light-custom:hover, .btn-outline-light-custom:focus {
  background: #fff !important;
  color: var(--brand-orange) !important;
  border-color: #fff !important;
  box-shadow: 0 4px 16px rgba(238,145,45,0.10);
  transform: translateY(-2px) scale(1.03);
} 

/* Page Loader Styles */
.page-loader {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}
.page-loader img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  animation: loader-rotate-pulse 2.4s linear infinite;
}
@keyframes loader-rotate-pulse {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.12);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
.page-loader--hidden {
  opacity: 0;
  pointer-events: none;
} 

@media (max-width: 991.98px) {
  /* Mobile Font Size Optimizations */
  .text-xxl {
    font-size: 32px !important;
    line-height: 40px !important;
  }
  
  .text-xl {
    font-size: 28px !important;
    line-height: 36px !important;
  }
  
  .text-l {
    font-size: 18px !important;
    line-height: 26px !important;
  }
  
  .text-ml {
    font-size: 18px !important;
    line-height: 26px !important;
  }
  
  /* Mobile text-m and text-s optimizations */
  .text-m {
    font-size: 16px !important;
    line-height: 28px !important;
  }
  
  .text-s, .top-orange-tag {
    font-size: 14px !important;
    line-height: 18px !important;
  }
  
  /* Mobile Header Optimizations */
  h1, .section-header {
    font-size: 28px !important;
    line-height: 36px !important;
  }
  
  h2, .section-subheader {
    font-size: 20px !important;
    line-height: 28px !important;
  }
  
  /* Mobile Icon Size Adjustment */
  .icon-l {
    font-size: 20px !important;
  }
  
  /* Mobile Button Text Adjustments */
  .btn-lg {
    font-size: 16px !important;
    line-height: 28px !important;
  }
  
  /* Mobile Search Input Adjustments */
  .search-member-input {
    font-size: 16px !important;
    line-height: 28px !important;
  }
  
  .search-member-input::placeholder {
    font-size: 16px !important;
    line-height: 28px !important;
  }
  
  /* Mobile Navbar Adjustments */
  .navbar-collapse.show, .navbar-collapse.collapsing {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 80px) !important;
    z-index: 1050 !important;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow-y: auto !important;
    padding: 32px 0 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding-bottom: 96px !important; /* space for action buttons */
  }
  .navbar-collapse .navbar-nav {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin: 0 !important;
  }
  .navbar-collapse .navbar-nav .nav-item {
    width: 100%;
  }
  .navbar-collapse .navbar-nav .nav-link {
    width: 100%;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }
  .mobile-menu-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1060;
    background: #fff;
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100vw;
    box-shadow: 0 -2px 16px rgba(44,47,52,0.06);
  }
  .mobile-menu-actions .btn {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding-left: 20px !important;
    padding-right: 20px !important;
    font-size: 16px !important;
    line-height: 28px !important;
    text-align: center !important;
    height: 48px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .navbar-toggler {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--primary-text) !important;
    outline: none !important;
    padding: 8px 12px !important;
    transition: color 0.2s;
  }
  .navbar-toggler:focus {
    box-shadow: none !important;
  }
  .navbar-toggler .navbar-toggler-icon {
    background-image: none !important;
    width: 28px;
    height: 28px;
    display: inline-block;
    position: relative;
    transition: opacity 0.2s, transform 0.3s cubic-bezier(.4,0,.2,1);
  }
  .navbar-toggler .navbar-close-icon {
    position: absolute;
    /* left: 0; */
    top: 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: var(--primary-text) !important;
    font-size: 28px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s, transform 0.3s cubic-bezier(.4,0,.2,1);
  }
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.7);
  }
  .navbar-toggler[aria-expanded="true"] .navbar-close-icon {
    opacity: 1;
    pointer-events: auto;
    transform: rotate(0deg) scale(1);
  }
} 
@media only screen and (max-width: 600px) {
  .text-xxl {
    font-size: 30px !important;
    line-height: 40px !important;
  }
  .mobileorangetags {
      font-size: 12px !important;
      line-height: 18px !important;
  }

  .vision-img-1 {
    width: 270px !important;
    height: 316px !important;
    object-fit: cover !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 2 !important;
    border-radius: 10px !important;
  }

  .vision-img-2 {
    width: 270px !important;
    height: 316px !important;
    object-fit: cover !important;
    left: 80px !important;
    top: 20px !important;
    z-index: 1 !important;
    border-radius: 10px !important;
  }
  .vision-mission-container {
    width: 520px !important;
    height: 500px !important;
}
  .vision-mission-container {
    width: 400px !important;
    height: 500px !important;
  }
}