/* ============================================
   Own First Real-Estate - Frontend Stylesheet
   UAE Flag Colors: Green #009639, Red, Black
   Bilingual AR/EN with full RTL support
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --green: #009639;
    --green-dark: #007a2e;
    --green-light: #00b844;
    --red: #FF0000;
    --black: #1a1a1a;
    --white: #ffffff;
    --gray: #f5f5f5;
    --gray-light: #fafafa;
    --gray-mid: #e0e0e0;
    --dark-gray: #333333;
    --text-color: #444444;
    --text-light: #888888;
    --gold: #d4af37;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 4px 20px rgba(0, 150, 57, 0.3);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1200px;
    --header-height: 80px;
    --topbar-height: 42px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[dir="rtl"] body {
    font-family: 'Tajawal', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--black);
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-weight: 800;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- RTL Support ---------- */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .text-left {
    text-align: right;
}

[dir="rtl"] .text-right {
    text-align: left;
}

[dir="rtl"] .mr-auto {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .ml-auto {
    margin-left: 0;
    margin-right: auto;
}

/* ---------- Section Base ---------- */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--green);
    margin: 14px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[dir="rtl"] .fade-in-left {
    transform: translateX(40px);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[dir="rtl"] .fade-in-right {
    transform: translateX(-40px);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
    position: relative;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    font-size: 0.82rem;
    line-height: var(--topbar-height);
    height: var(--topbar-height);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-question {
    opacity: 0.8;
    font-weight: 400;
}

.topbar-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-weight: 500;
}

.topbar-phone i {
    color: var(--green-light);
    font-size: 0.75rem;
}

.topbar-phone:hover {
    color: var(--green-light);
}

.topbar-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topbar-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--white) !important;
    font-size: 0.82rem;
    border-radius: 50%;
    transition: var(--transition);
}

.topbar-social:hover {
    color: var(--green-light) !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-rera {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    opacity: 0.8;
}

.topbar-rera i {
    color: var(--gold);
    font-size: 0.72rem;
}

/* ============================================
   MAIN HEADER
   ============================================ */
.main-header {
    position: relative;
    z-index: 100;
    background: rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.main-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.main-header.scrolled .topbar-companion {
    display: none;
}

.main-header.scrolled .header-inner {
    height: 64px;
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    height: var(--header-height);
    gap: 20px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding: 6px 14px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
}

[dir="rtl"] .logo-text {
    align-items: flex-end;
}

.logo-main {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 3px;
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--green-light);
    letter-spacing: 5px;
    line-height: 1;
    margin-top: 2px;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
    min-width: 100px;
    text-align: center;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition);
    white-space: nowrap;
}

/* Vertical line dividers between nav items */
.nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

[dir="rtl"] .nav-item:not(:last-child)::after {
    right: auto;
    left: -1px;
}

/* Active / Home state: green line above */
.nav-item.active::before,
.nav-item.home-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--green);
    border-radius: 0 0 3px 3px;
}

.nav-item.active .nav-link,
.nav-item.home-active .nav-link {
    color: var(--green-light);
}

.nav-link:hover {
    color: var(--green-light);
}

/* Language toggle button */
.nav-lang-item::after {
    display: none !important;
}

.nav-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--green);
    color: var(--white) !important;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
}

.nav-lang-btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-green);
}

.nav-lang-btn i {
    font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 9999;
    padding: 4px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, var(--black) 0%, #0d3320 50%, var(--black) 100%);
}

/* Spacer to prevent hero content from hiding behind topbar/header */
.hero-spacer {
    height: calc(var(--topbar-height) + var(--header-height));
    width: 100%;
    position: relative;
    z-index: 50;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
}

/* Dark overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.28);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
}

.hero-slide-content {
    display: none;
    animation: heroFadeIn 0.8s ease forwards;
}

.hero-slide-content.active {
    display: block;
}

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

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .hero-title {
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    line-height: 1.6;
    font-weight: 300;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--green);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid var(--green);
}

.hero-btn:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 150, 57, 0.4);
}

.hero-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(4px);
}

[dir="rtl"] .hero-btn:hover i {
    transform: translateX(-4px);
}

/* Hero Dots / Indicators */
.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--green);
    border-color: var(--green);
    transform: scale(1.15);
}

/* ============================================
   PAGE HERO (for inner pages)
   ============================================ */
.page-hero {
    position: relative;
    min-height: 40vh;
    overflow: hidden;
    background: linear-gradient(135deg, var(--black) 0%, #0d3320 50%, var(--black) 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.page-hero .topbar,
.page-hero .main-header {
    position: relative;
    z-index: 100;
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 5;
    padding-top: calc(var(--topbar-height) + var(--header-height) + 20px);
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(40vh - var(--topbar-height) - var(--header-height));
}

.page-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.page-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.page-hero-breadcrumb a:hover {
    color: var(--green-light);
}

.page-hero-breadcrumb .sep {
    font-size: 0.7rem;
}

/* ============================================
   WHY CHOOSE US / SERVICES
   ============================================ */
.services-section {
    padding: 90px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-mid);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 150, 57, 0.1);
    color: var(--green);
    font-size: 1.6rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--green);
    color: var(--white);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}

.service-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.stats-section {
    padding: 80px 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 150, 57, 0.15) 0%, transparent 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--green-light);
    line-height: 1;
    margin-bottom: 8px;
    display: inline-block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

.stat-number .stat-plus {
    font-size: 2rem;
    color: var(--green-light);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    padding: 90px 0;
    background: var(--gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--gray-mid);
}

.team-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card-img {
    transform: scale(1.08);
}

.team-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green) 0%, #0d3320 100%);
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
}

.team-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.team-card:hover .team-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.team-card-overlay a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 0.85rem;
    transition: var(--transition);
}

.team-card-overlay a:hover {
    background: var(--white);
    color: var(--green);
}

.team-card-info {
    padding: 20px;
    text-align: center;
}

.team-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
}

.team-card-position {
    font-size: 0.88rem;
    color: var(--green);
    font-weight: 500;
}

/* ============================================
   ABOUT SECTION (Homepage)
   ============================================ */
.about-section {
    padding: 90px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-image-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--green) 0%, #0d3320 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
}

.about-content-tag {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(0, 150, 57, 0.1);
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.about-content-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-content-text p {
    margin-bottom: 14px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--green);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--green);
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: transparent;
    color: var(--green);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   CTA / NEWSLETTER SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--green) 0%, #005e24 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    line-height: 1.7;
}

.cta-contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
}

.cta-contact-item i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.cta-contact-item a {
    color: var(--white);
}

.cta-contact-item a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--white);
    color: var(--green);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.footer-logo-img {
    max-height: 45px;
    width: auto;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5px 12px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

[dir="rtl"] .footer-logo-text {
    align-items: flex-end;
}

.footer-logo-main {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1.1;
}

.footer-logo-sub {
    font-size: 0.55rem;
    font-weight: 400;
    color: var(--green-light);
    letter-spacing: 4px;
    line-height: 1;
    margin-top: 2px;
}

.footer-about-text {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.footer-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green-light);
    font-size: 0.88rem;
    font-weight: 600;
}

.footer-read-more:hover {
    color: var(--white);
    gap: 10px;
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--green);
}

[dir="rtl"] .footer-heading::after {
    left: auto;
    right: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--green-light);
}

[dir="ltr"] .footer-links li a:hover {
    padding-left: 6px;
}

[dir="rtl"] .footer-links li a:hover {
    padding-right: 6px;
}

.footer-links li a i {
    font-size: 0.6rem;
    color: var(--green);
    transition: var(--transition);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-list li i {
    color: var(--green);
    font-size: 0.9rem;
    margin-top: 4px;
    min-width: 16px;
    text-align: center;
}

.footer-contact-list li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-list li a:hover {
    color: var(--green-light);
}

.footer-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white) !important;
    transform: translateY(-3px);
}

.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #25d366;
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-whatsapp-btn:hover {
    background: #1da851;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-bottom-inner {
    text-align: center;
}

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 9998;
    box-shadow: var(--shadow-green);
}

[dir="rtl"] .back-to-top {
    right: auto;
    left: 30px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 90px 0;
    background: var(--gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.contact-form-subtitle {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-mid);
    border-radius: 6px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text-color);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 150, 57, 0.12);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.form-error {
    font-size: 0.78rem;
    color: var(--red);
    margin-top: 4px;
    display: none;
}

.form-error.show {
    display: block;
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--green);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.form-submit:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.form-submit:active {
    transform: translateY(0);
}

/* Contact Info Sidebar */
.contact-info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-info-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--black);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(0, 150, 57, 0.1);
    color: var(--green);
    font-size: 1rem;
}

.contact-info-detail h5 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
}

.contact-info-detail p,
.contact-info-detail a {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-info-detail a:hover {
    color: var(--green);
}

.contact-social-links {
    display: flex;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-mid);
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-mid);
    color: var(--text-light) !important;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-social-link:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Contact Map */
.contact-map {
    margin-top: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

/* Success / Error Messages */
.alert {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(0, 150, 57, 0.1);
    color: var(--green-dark);
    border: 1px solid rgba(0, 150, 57, 0.2);
}

.alert-error {
    background: rgba(255, 0, 0, 0.08);
    color: #cc0000;
    border: 1px solid rgba(255, 0, 0, 0.15);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-content-section {
    padding: 80px 0;
    background: var(--white);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
}

.page-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    margin-top: 28px;
}

.page-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-color);
    margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
    margin-bottom: 16px;
}

[dir="ltr"] .page-content ul,
[dir="ltr"] .page-content ol {
    padding-left: 24px;
}

[dir="rtl"] .page-content ul,
[dir="rtl"] .page-content ol {
    padding-right: 24px;
}

.page-content li {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.7;
}

.page-content a {
    color: var(--green);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--green-dark);
}

/* ============================================
   TENANTS PAGE
   ============================================ */
.tenants-intro-section {
    padding: 70px 0;
    background: var(--white);
}

.tenants-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tenants-intro-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
}

.tenants-intro-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Steps Section */
.steps-section {
    padding: 90px 0;
    background: var(--gray);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.step-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-mid);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green);
}

.step-number-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.step-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 14px;
}

.step-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 18px;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.step-link:hover {
    color: var(--green-dark);
    gap: 10px;
}

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

/* ============================================
   LANDLORDS PAGE
   ============================================ */
.landlord-intro-section {
    padding: 70px 0;
    background: var(--white);
}

.landlord-intro-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.landlord-intro-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
}

.landlord-intro-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.landlord-intro-highlight {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--green);
    line-height: 1.7;
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 150, 57, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--green);
}

[dir="rtl"] .landlord-intro-highlight {
    border-left: none;
    border-right: 4px solid var(--green);
}

/* Landlord Services */
.landlord-services-section {
    padding: 90px 0;
    background: var(--gray);
}

.landlord-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.landlord-service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    transition: var(--transition);
    border: 1px solid var(--gray-mid);
    border-top: 4px solid transparent;
}

.landlord-service-card:hover {
    border-top-color: var(--green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.landlord-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 150, 57, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.landlord-service-icon i {
    font-size: 1.5rem;
    color: var(--green);
}

.landlord-service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.landlord-service-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Listing Form Section */
.listing-form-section {
    padding: 90px 0;
    background: var(--white);
}

.listing-form-wrap {
    max-width: 650px;
    margin: 0 auto;
    background: var(--gray-light);
    border-radius: 12px;
    padding: 40px 35px;
    border: 1px solid var(--gray-mid);
}

.listing-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.listing-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.listing-form-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

[dir="rtl"] .form-select {
    background-position: left 14px center;
    padding-right: 14px;
    padding-left: 36px;
}

/* ============================================
   RESPONSIVE - Tenants & Landlords
   ============================================ */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .landlord-services-grid {
        grid-template-columns: 1fr;
    }

    .listing-form-wrap {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .tenants-intro-title,
    .landlord-intro-title {
        font-size: 1.6rem;
    }

    .listing-form-title {
        font-size: 1.4rem;
    }

    .step-card {
        padding: 30px 20px;
    }
}

/* ============================================
   RESPONSIVE - 1200px
   ============================================ */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-social-col {
        grid-column: 1 / -1;
    }
}

/* ============================================
   RESPONSIVE - 992px
   ============================================ */
@media (max-width: 992px) {
    .section {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap img,
    .about-image-placeholder {
        height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* ============================================
   RESPONSIVE - 900px (Mobile Navigation)
   ============================================ */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1005;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .nav-item {
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    /* Remove vertical dividers on mobile */
    .nav-item:not(:last-child)::after {
        display: none;
    }

    /* Remove active line above on mobile */
    .nav-item.active::before,
    .nav-item.home-active::before {
        display: none;
    }

    .nav-item.active .nav-link,
    .nav-item.home-active .nav-link {
        color: var(--green-light);
    }

    .nav-link {
        font-size: 1.15rem;
        padding: 16px 30px;
        width: 100%;
    }

    .nav-lang-item {
        margin-top: 16px;
    }

    .topbar-center {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-hero-title {
        font-size: 2.2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-contact-info {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================================
   RESPONSIVE - 768px
   ============================================ */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    [dir="rtl"] .footer-heading::after {
        right: 50%;
        left: auto;
        transform: translateX(50%);
    }

    .footer-links li a {
        justify-content: center;
    }

    .footer-contact-list li {
        justify-content: center;
    }

    .footer-social-grid {
        justify-content: center;
    }

    .footer-logo-text {
        align-items: center !important;
    }

    .logo-text {
        align-items: center !important;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 28px;
    }

    .contact-info-list {
        gap: 18px;
    }

    .page-content-section {
        padding: 50px 0;
    }

    .page-hero {
        min-height: 35vh;
    }

    .page-hero-title {
        font-size: 1.8rem;
    }
}

/* ============================================
   RESPONSIVE - 576px
   ============================================ */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .topbar {
        font-size: 0.75rem;
    }

    .topbar-question {
        display: none;
    }

    .header-inner {
        grid-template-columns: auto 1fr;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .about-content-title {
        font-size: 1.5rem;
    }

    .btn-primary, .btn-outline, .btn-white {
        padding: 11px 24px;
        font-size: 0.88rem;
    }

    .page-hero {
        min-height: 30vh;
    }

    .page-hero-title {
        font-size: 1.5rem;
    }

    .page-hero-breadcrumb {
        font-size: 0.82rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: var(--white); }
.text-green { color: var(--green); }
.bg-gray { background: var(--gray); }
.bg-white { background: var(--white); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }
