/* ==================================================
   DESIGN TOKENS
================================================== */
:root {

  /* ======================
     FONT SYSTEM
  ====================== */
  --font-primary: "Ntepika", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Font sizes */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 36px;

  /* Font weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Line heights */
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-loose: 1.75;

  /* ======================
     COLOR SYSTEM
  ====================== */
  --color-primary: #082423;
  --color-secondary: #c4a67d;
  --color-accent: #f5a623;

  --color-white: #ffffff;
  --color-black: #000000;

  --color-text: #222222;
  --color-text-muted: #777777;
  --color-border: #e5e5e5;
  --color-bg-light: #f9f9f9;

  /* ======================
     SPACING SYSTEM
  ====================== */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* ======================
     BORDER RADIUS
  ====================== */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* ======================
     SHADOWS
  ====================== */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 15px 40px rgba(0,0,0,0.15);

  /* ======================
     TRANSITIONS
  ====================== */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}
/* ==================================================
   BASE RESET
================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-white);
}


body {
  font-family: var(--font-primary);
}
h1, h2, h3, h4, h5 {
    font-weight: 500;
}
/* ==================================================
   TYPOGRAPHY
================================================== */
h1 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
}

h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
}

p {
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}
section {
    padding: 90px 0;
}
a {
    cursor: pointer;
}

.rehsa-desktop-header, .responsive-hide{
    display:block;
}
.resha-mobile-header{
   display: none;
}
.rehsa-desktop-header .sticky-nav{
    display:block;
}
.card-redirect {
    text-decoration: none;
    color: var(--color-primary);
}
.text-muted {
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

/* ==================================================
   BUTTONS
================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
  text-decoration: none;
  background: var(--color-primary);
   color: var(--color-white);
}
.btn:hover {
  
  background: var(--color-secondary);
   color: var(--color-white);
}

.hero-video-slide .btn{
   color: var(--color-white);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

/* ==================================================
   CARDS
================================================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-base);
  border: none;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: var(--space-xs);
}

.card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--color-text-muted);
  font-family: lato, sans-serif;
}


.rehsa-header {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Top bar */
.rehsa-header .top-bar .top-link {
    color: #062021;
    font-size: 15px;
    text-decoration: none;
}

.rehsa-header .top-bar .divider {
    opacity: 0.8;
    color: #062021;
}

/* Logo */
.rehsa-header .logo h2 {
  font-size: 44px;
  color: var(--color-secondary);
  letter-spacing: 4px;
}


/* Menu */
.rehsa-header .main-menu .nav-link {
    color: white;
    font-size: 17px;
}

.dropdown-menu .nav-link {
    color: var(--color-black) !important;
    font-size: 14px !important;
}

.rehsa-header .main-menu .nav-link i {
    font-size: 12px;
}

/* Right side */
.rehsa-header .search-icon {
    font-size: 22px;
    cursor: pointer;
}

.rehsa-header .view-listing {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

/* Remove Bootstrap hover underline */
.rehsa-header .nav-link:hover,
.rehsa-header .view-listing:hover,
.rehsa-header .top-link:hover {
    opacity: 0.7;
}
/* Sticky container */
.rehsa-header .main-nav {
    position: relative;
    transition: all 0.4s ease;
}

/* When sticky */
.rehsa-header .main-nav.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #082423;
    padding-top: 10px;
    padding-bottom: 10px;
    z-index: 999;
    transform: translateY(-100%);
    animation: slideDown 0.4s forwards ease;
}

/* Smooth sliding animation */
@keyframes slideDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

.hero-video-banner .hero-video-slide {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
}

.hero-video-banner .hero-video-slide video {
    object-fit: cover;
}

.hero-video-banner .hero-overlay {
    z-index: 10;
    max-width: 700px;
}

/* dark gradient for readability */
.hero-video-banner .hero-video-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
    z-index: 5;
}

.hero-video-banner .swiper-button-next,
.hero-video-banner .swiper-button-prev {
    color: #fff;
}

.hero-video-banner .swiper-pagination-bullet-active {
    background: #fff !important;
}
.hero-card-section .hero-card-container {
    position: relative;
}

.hero-card-section .hero-card-image {
    position: absolute;
    top: 50%;
    right: 0; 
    transform: translateY(-50%);
    max-width: 40%;
    border-radius: 0.5rem;
    z-index: 2;
}

.hero-card-section .hero-card-text,.hero-card-section .hero-card-text-inverse {
    position: relative;
    z-index: 1;
}
.hero-card-section .text-wrap-hero , .hero-card-section  .text-wrap-hero-inverse{
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



/* Grid row for cards */
.rehsa-cards-row {
    display: flex;
    flex-wrap: wrap;
}

/* Grid column */
.rehsa-card-col {
    flex: 1 1 300px; /* responsive column width */
    max-width: 350px;
}

/* Card styling */
.rehsa-card {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.rehsa-card:hover {
    transform: translateY(-5px);
}

.wpcf7-form{
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px !important;
}

.wpcf7{
    background-color: #eee;
}

/* Image */
.rehsa-card-img {
    width: 100%;
    display: block;
    height: 300px;
    object-fit: cover;
}

/* Body */
.rehsa-card-body {
    padding: 1rem;
    flex: 1;
}

.rehsa-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.rehsa-card-title a {
    color: #333;
    text-decoration: none;
}


.rehsa-card-title a:hover {
    color: #897151;
}

.rehsa-card-text {
    font-size: 0.95rem;
    color: #555;
    font-family: lato, sans-serif;
}

/* Footer */
.rehsa-card-footer {
    padding: 0.75rem 1rem 1rem;
}
footer.rehsa-footer{
    background: var(--color-primary);
    padding: 90px;
}
.rehsa-footer .main-nav {
    padding: 90px 0;
}
.footer-wrap-left .img-wrap img {
    width: 150px;
    height: 50px;
    object-fit: cover;
}
.rehsa-card-btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.rehsa-card-btn:hover {
    background-color: var(--color-secondary);
}
/* Single Property Layout */
.rehsa-single {
    max-width: 1000px;
    margin: 0 auto;
}

/* Image */
.rehsa-single-image img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

/* Card */
.rehsa-single-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Title */
.rehsa-single-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

 /*• Location:
 • Plot Size: 
 • Planning: 2 + 4 Bedrooms
 • Orientation: 
 • Surroundings:
 • Lifestyle 
 • Estate Age: 
 • Accessibility: */
/* Content */
.rehsa-single-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.rehsa-gallery-image {
  border-radius: 10px;
  height: 600px;
  object-fit: cover;
}
.rehsa-gallery-swiper .img-wrap {
    display: flex;
    justify-content: center;
}
/* Right 2x2 grid */
.rehsa-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr; /* make all rows equal height */
    gap: 0.5rem;
}

.rehsa-gallery-grid-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rehsa-gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* ensures same height without stretching */
    display: block;
    border-radius: 0.5rem;
}
.rehsa-gallery-grid-item {
    aspect-ratio: 1 / 1; /* makes all grid items square */
}

.box-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}
.bio-property {
    padding: 20px 0;
}

.bio-property .property-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.bio-property .property-price {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 25px;
}

.bio-property .property-meta {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
}

.bio-property .property-meta li strong {
    display: block;
    font-size: 20px;
}

.bio-property .property-meta li span {
    font-size: 14px;
    color: #777;
}

/* Agent Card */
.bio-property .agent-card {
    border: 1px solid #eee;
    padding: 0px 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
}

.bio-property .agent-photo {
    width: 100%;
    max-width: 160px;
    border-radius: 4px;
}

.bio-property .agent-info h4 {
    margin-bottom: 15px;
}

.bio-property .agent-actions .btn {
    width: 100%;
}
.agent-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.property-header {
    padding: 0px 20px;
}
.property-header::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #082423;
    margin-top: 60px;
    opacity: 0.6;
}
.wordpress-content .section-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.wordpress-content .section-content {
    font-size: 1rem;
    line-height: 1.6;
}
/* Form Container */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    /*background-color: #f9f9f9;*/
    border-radius: 12px;
    /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);*/
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Labels */
form label {
    display: block;
    font-weight: 600;
    color: #082423;
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Input Fields */
.contact-wrap form input[type="text"],
.contact-wrap form input[type="email"],
.contact-wrap form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Input Focus Effect */
.contact-wrap form input[type="text"]:focus,
.contact-wrap form input[type="email"]:focus,
.contact-wrap form textarea:focus {
    border-color: #c9ac77;
    box-shadow: 0 0 5px rgba(201, 172, 119, 0.5);
    outline: none;
}

/* Textarea */
.contact-wrap form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button */
.contact-wrap form input[type="submit"] {
    background-color: #c9ac77;
    color: #fff;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Button Hover */
.contact-wrap form input[type="submit"]:hover {
    background-color: #a88556;
    transform: translateY(-2px);
}
.property-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
}
.property-card {
    transition: all 0.3s ease;
}
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15), 0 0 10px rgba(0,123,255,0.3);
}
.footer-wrap-left {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0px;
}
.rehsa-footer p{
  color: #fff;
  font-size: 18px;
}
.footer-wrap-left p {
    font-family: lato, sans-serif !important;
    margin: 18px 0;
    padding: 0px;
    width: 80%;
}
.uper p {
    text-transform: uppercase;
    font-size: 28px;
    color: var(--color-secondary);
}
.social-icons .fa-brands {
  color: #fff;
  font-size: 30px;
}
.social-icons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 20px;
}
.footer-nav {
    position: relative;
    padding: 20px 0; 
}

.footer-nav::before,
.footer-nav::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
}

.footer-nav::before {
    top: 0;
}
.footer-nav::after {
    bottom: 0;
}
.main-nav .nav-link {
    color: var(--color-secondary);
}
.property-search-filter {
    padding: 90px 0px !important;
}
.property-search-filter {
    font-family: inherit;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.property-search-filter .btn {
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.property-search-filter .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.property-search-filter .tab-btn.active {
    background-color: var(--color-primary);
    color: white;
    border-color: #0d6efd;
}

.property-search-filter .form-select,
.property-search-filter .form-control {
    border-radius: 30px;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.property-search-filter .form-select:focus,
.property-search-filter .form-control:focus {
    box-shadow: 0 0 6px rgba(13,110,253,0.2);
    border-color: #0d6efd;
    outline: none;
}

.property-search-filter a {
    color: #0d6efd;
    transition: color 0.3s ease;
}

.property-search-filter a:hover {
    color: #0a58ca;
}
.property-search-filter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.search-filter {
    width: 70%;
}
.section-content-wrapper {
    position: relative;
}

.section-content {
    max-height: 200px; /* Height before showing Read More */
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.section-content.expanded {
    max-height: 2000px; /* Adjust as needed */
}

.section-content-wrapper .read-more-btn {
    margin: 10px 0px;
    color: var(--color-black);
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 6px;

}

.read-more-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.hero-card-image-wrap-inverse {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
     max-width: 40%; 
    z-index: 2;
}
.hero-card-section .text-wrap-hero-inverse {
    padding-left: 100px;
}

.hero-card-section .text-wrap-hero-inverse p {
    font-family: lato, sans-serif;
}
/* Sidebar Styling */
.property-filter-sidebar h3 {
    font-size: 20px;
}
.filter-group h5 {
    font-size: 16px;
    margin-bottom: 5px;
}
.filter-group li {
    margin-bottom: 5px;
}
.card-img-top {
    height: 300px;
    object-fit: cover;
}
.swiper-navigation .swiper-button-next,
.swiper-navigation .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
}

.swiper-navigation .swiper-button-next::after,
.swiper-navigation .swiper-button-prev::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Next button */
.swiper-navigation .swiper-button-next {
    right: 25px;
}

.swiper-navigation .swiper-button-next::after {
    border-width: 16px 0 16px 20px;
    border-color: transparent transparent transparent #062021;
    left: 100%;
}

/* Prev button */
.swiper-navigation .swiper-button-prev {
    left: 25px;
}

.swiper-navigation .swiper-button-prev::after {
    border-width: 16px 20px 16px 0;
    border-color: transparent #062021 transparent transparent;
    right: 100%;
}

.rehsa-switch {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.rehsa-switch input {
    display: none;
}

.rehsa-slider {
    width: 46px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    position: relative;
    transition: background 0.3s ease;
}

.rehsa-slider::before {
    content: "";
    width: 18px;
    height: 18px;
    background: #fff;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.rehsa-switch input:checked + .rehsa-slider {
    background: var(--color-secondary); /* Bootstrap primary */
}

.rehsa-switch input:checked + .rehsa-slider::before {
    transform: translateX(22px);
}

.rehsa-label {
    font-weight: 500;
}

.rehsa-properties-archive {
    padding: 90px;
    background-color: #eee;
}
.rehsa-layout {
    position: relative;
}

/* Map container */
.rehsa-layout #map-column {
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 300px;
    display: none;
}

/* Map itself */
.rehsa-layout #osm-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* When map is visible, shrink content */
.rehsa-layout.map-visible #content-column {
    padding-right: 33.333%;
}
.section-property-listing-strip {
    background: #f4f5f7;
}
.property-card {
    transition: all 0.3s ease;
}
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15), 0 0 10px rgba(0,123,255,0.3);
}

/* Shahbaz CSS */


.text-wrap-chairman {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chairman-card-image img {
  /* max-height: 300px; */
  object-fit: cover;
}

.chairman-card-text {
  color: #333;
}
.member-image {
  
    /* max-width: 300px; */
    height: 370px;

}

.member-image img {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover; 
}
.read-more {
  font-weight: 600;
  text-decoration: none;
  color: #007bff;
}
.read-more:hover {
  text-decoration: underline;
  color: #0056b3;
}

.hero-card-desc {
    font-family: lato, sans-serif;
    /* color: #EAE3DA; */
}

.lato{
    font-family: lato, sans-serif;
}
.bod-desc{
    margin: auto auto 40px;
    max-width: 650px;
}
.hero-card-name{
    color: #897151;
    font-family: lato, sans-serif;
}

.clamp-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* show 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clamp-text.expanded {
  -webkit-line-clamp: unset;
}

.footer-wrap-left .logo h2 {
  font-size: 44px;
  color: var(--color-secondary);
  letter-spacing: 4px;
}

.rehsa-header .top-bar{
    background: #EAE3DA;
}



.swiper-v{
    height: 75vh;
    color: white;
}

.img-right-wrap {
    display: flex;
    justify-content: flex-end;  
}

h2{
    color: #062021;
}

.logo-head {
    justify-content: center;
    align-items: center;
    display: flex;
}