/**
 * PCS-2S Property Solutions - Main Stylesheet
 * Premium Dubai Real Estate Website
 * Developed by Vedatricks Technologies Pvt Ltd
 */

/* ============================================
   CSS Custom Properties (Variables)
   ============================================ */
:root {
    /* Brand Colors - Based on PCS-2S Logo */
    --primary-color: #1a7a8a;
    --primary-dark: #0d5a67;
    --primary-light: #2ca3b5;
    --secondary-color: #c9a962;
    --secondary-dark: #a88b43;
    --secondary-light: #dfc77f;

    /* Neutral Colors */
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-700: #495057;
    --gray-600: #6c757d;
    --gray-500: #adb5bd;
    --gray-400: #ced4da;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;
    --white: #ffffff;

    /* Accent Colors */
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Font Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --fs-6xl: 3.75rem;

    /* Spacing */
    --section-padding: 100px;
    --section-padding-sm: 60px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-offcanvas: 1045;
    --z-modal: 1055;
    --z-popover: 1070;
    --z-tooltip: 1080;
}

/* ============================================
   Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, var(--fs-6xl)); }
h2 { font-size: clamp(2rem, 4vw, var(--fs-5xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--fs-4xl)); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

p {
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    line-height: 1.7;
}

.lead {
    font-family: var(--font-primary);
    font-size: var(--fs-lg);
    font-weight: 400;
    line-height: 1.8;
    color: var(--gray-700);
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Preloader
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo img {
    width: 180px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--dark);
    padding: 10px 0;
    font-size: var(--fs-sm);
}

.top-bar a {
    color: var(--gray-400);
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--primary-light);
}

.top-bar .list-inline-item:not(:last-child) {
    margin-right: 1.5rem;
}

.top-bar .social-links a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    margin-left: 5px;
}

.top-bar .social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.top-bar .whatsapp-link:hover {
    background: #25D366;
}

/* ============================================
   Main Header / Navigation
   ============================================ */
.main-header {
    position: relative;
    width: 100%;
    background: var(--white);
    z-index: var(--z-sticky);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    clear: both;
}

.main-header.scrolled {
    position: fixed;
    top: 0;
    box-shadow: var(--shadow-md);
}

.main-header .navbar {
    padding: 15px 0;
}

.main-header .navbar-brand {
    padding: 0;
}

.main-header .navbar-brand img {
    height: 50px;
    width: auto;
    max-width: 180px;
    transition: var(--transition);
    object-fit: contain;
}

.main-header .logo-dark {
    display: block;
}

.main-header .logo-light {
    display: none;
}

/* Hero Page Transparent Header */
.hero-header .main-header {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    box-shadow: none;
}

.hero-header .main-header .navbar-brand img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.hero-header .main-header .logo-light {
    display: block;
}

.hero-header .main-header .logo-dark {
    display: none;
}

.hero-header .main-header .nav-link {
    color: var(--white);
    background: transparent;
}

.hero-header .main-header .nav-link:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

.hero-header .main-header .nav-link.active {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
}

.hero-header .main-header .navbar-toggler {
    background: rgba(255, 255, 255, 0.2);
}

.hero-header .main-header .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.hero-header .main-header.scrolled {
    position: fixed;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.hero-header .main-header.scrolled .navbar-brand img {
    height: 50px;
    filter: none;
}

.hero-header .main-header.scrolled .logo-light {
    display: none;
}

.hero-header .main-header.scrolled .logo-dark {
    display: block;
}

.hero-header .main-header.scrolled .nav-link {
    color: var(--gray-800);
    background: transparent;
}

.hero-header .main-header.scrolled .nav-link:hover {
    color: var(--primary-color);
    background: rgba(26, 122, 138, 0.08);
}

.hero-header .main-header.scrolled .nav-link.active {
    color: var(--primary-color);
    background: rgba(26, 122, 138, 0.1);
}

.hero-header .main-header.scrolled .navbar-toggler {
    background: var(--gray-100);
}

.hero-header .main-header.scrolled .navbar-toggler-icon {
    filter: none;
}

/* Navigation Links */
.navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--gray-800);
    padding: 12px 20px;
    position: relative;
    font-size: 15px;
    text-transform: none;
    letter-spacing: 0.3px;
    border-radius: var(--radius);
    margin: 0 2px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    display: none;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(26, 122, 138, 0.08);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: rgba(26, 122, 138, 0.1);
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 15px 0;
    min-width: 220px;
    animation: fadeInDown 0.3s ease;
}

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

.dropdown-item {
    padding: 10px 25px;
    font-size: var(--fs-sm);
    color: var(--gray-700);
    transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--gray-100);
    color: var(--primary-color);
    padding-left: 30px;
}

/* Nav Button */
.btn-nav {
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(26, 122, 138, 0.3);
}

.btn-nav:hover {
    box-shadow: 0 6px 20px rgba(26, 122, 138, 0.4);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--gray-100);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
}

/* Mobile Menu */
.offcanvas {
    width: 320px;
}

.offcanvas-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--gray-200);
}

.offcanvas-body {
    padding: 25px;
}

.mobile-nav .nav-link {
    padding: 12px 0;
    font-size: var(--fs-base);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav .nav-link::after {
    display: none;
}

.mobile-menu-footer .contact-info {
    font-size: var(--fs-sm);
    color: var(--gray-600);
}

.mobile-menu-footer .contact-info a {
    color: var(--gray-700);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

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

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

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

.btn-secondary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    border-color: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
}

.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
}

.btn-dark:hover {
    background: var(--dark-light);
    border-color: var(--dark-light);
}

.btn-lg {
    padding: 18px 40px;
    font-size: var(--fs-base);
}

.btn-sm {
    padding: 10px 20px;
    font-size: var(--fs-xs);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100vh;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.swiper-slide-active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(26, 122, 138, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 100px;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--secondary-color);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-description {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    font-size: var(--fs-4xl);
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
    line-height: 1;
}

.hero-stat-number span {
    color: var(--secondary-color);
}

.hero-stat-label {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-scroll .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    margin-top: 10px;
    position: relative;
}

.hero-scroll .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Hero Slider Navigation */
.hero-slider-nav {
    position: absolute;
    bottom: 40px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-slider-nav .swiper-button-prev,
.hero-slider-nav .swiper-button-next {
    position: static;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: var(--white);
    margin: 0;
    transition: var(--transition);
}

.hero-slider-nav .swiper-button-prev::after,
.hero-slider-nav .swiper-button-next::after {
    font-size: 16px;
}

.hero-slider-nav .swiper-button-prev:hover,
.hero-slider-nav .swiper-button-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================
   Events Banner (Hero Overlay)
   ============================================ */
.events-banner {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    z-index: 10;
    width: 350px;
    max-width: calc(100% - 100px);
}

.events-banner-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 30px;
    color: var(--white);
}

.events-banner-title {
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.events-banner-title i {
    color: var(--secondary-color);
}

.event-mini-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 15px;
    margin-bottom: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.event-mini-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.event-mini-card:last-child {
    margin-bottom: 0;
}

.event-mini-date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.event-mini-date .date-box {
    background: var(--primary-color);
    padding: 8px 12px;
    border-radius: var(--radius);
    text-align: center;
    line-height: 1.2;
}

.event-mini-date .day {
    font-size: var(--fs-xl);
    font-weight: 700;
    display: block;
}

.event-mini-date .month {
    font-size: var(--fs-xs);
    text-transform: uppercase;
}

.event-mini-date .event-poster {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.event-mini-date .event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-poster-single {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 10px;
}

.event-poster-single img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.event-poster-single:hover img {
    transform: scale(1.05);
}

.event-poster-single {
    position: relative;
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius);
}

.event-poster-single:hover .event-overlay {
    opacity: 1;
}

.event-overlay i {
    color: white;
    font-size: 24px;
}

.events-banner-header {
    margin-bottom: 10px;
}

.events-badge {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a1a1a;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 5px;
}

.events-badge i {
    margin-right: 4px;
}

.event-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.event-date-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 8px 10px;
    border-radius: var(--radius);
    min-width: 55px;
}

.event-date-highlight .event-month {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.event-date-highlight .event-day {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
}

.event-date-highlight .event-year {
    font-size: 10px;
    font-weight: 600;
}

.event-details h5 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--white);
}

.event-details p {
    font-size: 12px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.event-details p i {
    margin-right: 4px;
    color: var(--secondary-color);
}

.event-tagline {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin: 10px 0 0 0;
    text-align: center;
    font-style: italic;
}

.event-poster-card {
    cursor: pointer;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-poster-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-poster-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.event-mini-title {
    font-size: var(--fs-sm);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.event-mini-venue {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

.section-sm {
    padding: var(--section-padding-sm) 0;
}

.section-gray {
    background: var(--gray-100);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-subtitle::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.section-title {
    font-size: clamp(1.875rem, 4vw, var(--fs-5xl));
    margin-bottom: 20px;
}

.section-description {
    font-size: var(--fs-lg);
    color: var(--gray-600);
}

/* ============================================
   Property Cards
   ============================================ */
.property-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.property-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.property-card:hover .property-card-image img {
    transform: scale(1.1);
}

.property-card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-badge {
    padding: 6px 14px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius);
    letter-spacing: 0.5px;
}

.property-badge.sale {
    background: var(--primary-color);
    color: var(--white);
}

.property-badge.rent {
    background: var(--secondary-color);
    color: var(--dark);
}

.property-badge.off-plan {
    background: var(--dark);
    color: var(--white);
}

.property-badge.featured {
    background: var(--warning);
    color: var(--dark);
}

.property-card-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.property-card:hover .property-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.property-card-actions button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--white);
    border-radius: var(--radius);
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-card-actions button:hover {
    background: var(--primary-color);
    color: var(--white);
}

.property-card-content {
    padding: 25px;
}

.property-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--fs-sm);
    color: var(--gray-600);
    margin-bottom: 10px;
}

.property-card-location i {
    color: var(--primary-color);
}

.property-card-title {
    font-size: var(--fs-xl);
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.property-card-title a {
    color: var(--dark);
}

.property-card-title a:hover {
    color: var(--primary-color);
}

.property-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 15px;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-sm);
    color: var(--gray-600);
}

.property-feature i {
    color: var(--primary-color);
    font-size: var(--fs-base);
}

.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-price {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary-color);
}

.property-price small {
    font-size: var(--fs-sm);
    font-weight: 400;
    color: var(--gray-600);
}

.property-developer {
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--primary-color);
}

.property-developer i {
    color: var(--gray-500);
}

/* ============================================
   Services Section
   ============================================ */
/* Scroll offset for anchor links to account for sticky header */
[id^="property-"], [id^="investment-"], [id^="off-plan-"], [id^="real-estate-"] {
    scroll-margin-top: 120px;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-title {
    font-size: var(--fs-xl);
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: var(--fs-sm);
    letter-spacing: 0.5px;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ============================================
   Events Section
   ============================================ */
.event-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.event-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.event-card:hover .event-card-image img {
    transform: scale(1.1);
}

.event-date-badge {
    position: absolute;
    bottom: -20px;
    left: 25px;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    line-height: 1.2;
    box-shadow: var(--shadow-md);
}

.event-date-badge .day {
    font-size: var(--fs-3xl);
    font-weight: 700;
    display: block;
}

.event-date-badge .month {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card-content {
    padding: 40px 25px 25px;
}

.event-type-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    background: var(--gray-100);
    color: var(--primary-color);
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.event-card-title {
    font-size: var(--fs-xl);
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.event-card-title a {
    color: var(--dark);
}

.event-card-title a:hover {
    color: var(--primary-color);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-sm);
    color: var(--gray-600);
}

.event-meta-item i {
    color: var(--primary-color);
    width: 16px;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 60px;
    color: var(--secondary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.testimonial-initials {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 3px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}

.testimonial-author-name {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.testimonial-author-title {
    font-size: var(--fs-sm);
    color: var(--secondary-color);
}

.testimonial-rating {
    color: var(--secondary-color);
    margin-top: 10px;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: var(--primary-color);
    padding: 80px 0;
}

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

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
}

.stat-number {
    font-size: var(--fs-5xl);
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(26, 122, 138, 0.85) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-lg);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: var(--dark);
    color: var(--gray-400);
}

.footer-top {
    padding: 80px 0 60px;
}

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

.footer-logo img {
    height: 80px;
    width: auto;
    max-width: 100%;
}

.footer-about {
    font-size: var(--fs-sm);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.widget-title {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
    font-family: var(--font-primary);
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--gray-400);
    font-size: var(--fs-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--primary-color);
    margin-right: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 10px;
}

.footer-links a:hover::before {
    width: 15px;
    margin-right: 8px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: var(--fs-sm);
}

.footer-contact li i {
    color: var(--primary-color);
    font-size: var(--fs-base);
    margin-top: 3px;
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--primary-light);
}

.newsletter-form h5 {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0;
    font-family: var(--font-primary);
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 14px 18px;
    font-size: var(--fs-sm);
}

.newsletter-form .form-control::placeholder {
    color: var(--gray-500);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .btn {
    padding: 14px 20px;
    border-radius: 0;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: var(--fs-sm);
}

.developer-credit {
    font-size: var(--fs-sm);
}

.developer-credit a {
    color: var(--primary-light);
}

.developer-credit a:hover {
    color: var(--secondary-color);
}

.developer-credit img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.developer-credit a:hover img {
    opacity: 1;
}

/* Partner Logo Styles */
.partner-logo {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.partner-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover .partner-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   WhatsApp Float & Back to Top
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

.whatsapp-float .tooltip-text {
    position: absolute;
    right: 75px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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

/* ============================================
   Page Header / Banner
   ============================================ */
.page-header {
    position: relative;
    padding: 120px 0 60px;
    background-size: cover;
    background-position: center;
    background-color: var(--dark);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(26, 122, 138, 0.85) 100%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-title {
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb-item {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form-section {
    background: var(--gray-100);
}

.contact-info-card {
    background: var(--primary-color);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    color: var(--white);
    height: 100%;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-list .icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-list h5 {
    color: var(--white);
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    margin-bottom: 5px;
}

.contact-info-list p,
.contact-info-list a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: var(--fs-sm);
}

.contact-info-list a:hover {
    color: var(--white);
}

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

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: var(--fs-sm);
}

.form-control,
.form-select {
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 122, 138, 0.1);
}

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

/* ============================================
   About Page
   ============================================ */
.about-image-grid {
    position: relative;
}

.about-image-grid .main-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-grid .secondary-image {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.about-experience-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .number {
    font-size: var(--fs-4xl);
    font-weight: 700;
    line-height: 1;
    display: block;
}

.about-experience-badge span {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-features {
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.about-feature-item .icon {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.about-feature-item h5 {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    margin-bottom: 5px;
}

.about-feature-item p {
    font-size: var(--fs-sm);
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   Property Filters
   ============================================ */
.property-filters {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

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

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group label {
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--dark);
    margin-bottom: 10px;
    display: block;
}

.btn-filter {
    padding: 10px 20px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-size: var(--fs-sm);
    margin-right: 8px;
    margin-bottom: 8px;
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Pagination
   ============================================ */
.pagination-wrapper {
    margin-top: 50px;
}

.pagination {
    gap: 8px;
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================
   Property Detail Page
   ============================================ */
.property-gallery {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.property-main-image {
    height: 500px;
}

.property-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-thumbnails {
    margin-top: 15px;
}

.property-thumb {
    height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.property-thumb:hover,
.property-thumb.active {
    opacity: 1;
}

.property-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-detail-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow);
}

.property-detail-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-200);
}

.property-detail-title {
    font-size: var(--fs-3xl);
    margin-bottom: 10px;
}

.property-detail-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.property-detail-location i {
    color: var(--primary-color);
}

.property-detail-price {
    font-size: var(--fs-4xl);
    font-weight: 700;
    color: var(--primary-color);
}

.property-detail-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.property-detail-feature {
    text-align: center;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.property-detail-feature i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.property-detail-feature .value {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--dark);
    display: block;
}

.property-detail-feature .label {
    font-size: var(--fs-sm);
    color: var(--gray-600);
}

.property-sidebar {
    position: sticky;
    top: 100px;
}

.inquiry-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow);
}

.inquiry-form-card h4 {
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

/* ============================================
   Animations
   ============================================ */
[data-aos] {
    pointer-events: auto !important;
}

/* Custom Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ============================================
   Responsive Styles
   ============================================ */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .events-banner {
        display: none;
    }

    .hero-slider-nav {
        right: 30px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 70px;
    }

    .hero-section {
        min-height: 80vh;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .hero-stats {
        gap: 30px;
    }

    .property-detail-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-image-grid .secondary-image {
        width: 150px;
        right: -15px;
        bottom: -15px;
    }

    .about-experience-badge {
        left: -10px;
        padding: 20px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    :root {
        --section-padding: 50px;
    }

    /* Prevent horizontal overflow */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Ensure containers have proper padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }

    h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
    h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

    .hero-section {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-content {
        text-align: center;
        padding-top: 80px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-slider-nav {
        display: none;
    }

    .hero-scroll {
        bottom: 20px;
    }

    .section-header {
        margin-bottom: 40px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .property-card-image {
        height: 200px;
    }

    .footer-top {
        padding: 50px 0 40px;
    }

    .footer-widget {
        margin-bottom: 30px;
    }

    .footer-logo img {
        height: 60px;
    }

    .footer-about {
        font-size: 0.85rem;
    }

    .page-header {
        padding: 100px 0 50px;
    }

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

    .property-detail-content {
        padding: 25px;
    }

    .property-detail-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .property-main-image {
        height: 300px;
    }

    .about-image-grid .secondary-image {
        display: none;
    }

    .about-experience-badge {
        position: relative;
        top: 0;
        left: 0;
        display: inline-block;
        margin-bottom: 20px;
    }

    /* Founders section tablet */
    .founders-image-wrapper {
        margin-bottom: 30px;
    }

    .founders-contact-box {
        padding: 25px;
        flex-direction: column;
        text-align: center;
    }

    /* Top bar mobile */
    .top-bar {
        display: none;
    }

    /* Trust badges mobile */
    .trust-badge-item {
        padding: 12px;
        margin-bottom: 15px;
    }

    .trust-badge-icon {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }

    .trust-badge-icon i {
        font-size: 20px;
    }

    .whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .back-to-top {
        right: 15px;
        bottom: 25px;
        width: 45px;
        height: 45px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Prevent horizontal overflow */
    html, body {
        overflow-x: hidden;
    }

    /* Ensure containers have proper padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: var(--fs-xs);
    }

    .btn-lg {
        padding: 14px 30px;
        font-size: var(--fs-sm);
    }

    .hero-stat-number {
        font-size: var(--fs-3xl);
    }

    .stat-number {
        font-size: var(--fs-4xl);
    }

    .testimonial-card {
        padding: 25px;
    }

    .property-filters {
        padding: 20px;
    }

    .event-card-content {
        padding: 30px 20px 20px;
    }

    /* Section padding adjustments */
    .section {
        padding: 40px 0;
    }

    /* Footer mobile fixes */
    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-widget {
        margin-bottom: 30px;
        text-align: center;
    }

    .widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .footer-links a::before {
        display: none;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

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

    .footer-contact li {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

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

    .footer-bottom {
        padding: 20px 0;
    }

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

    .footer-bottom .col-md-6 {
        margin-bottom: 15px;
    }

    .footer-bottom .col-md-6:last-child {
        margin-bottom: 0;
    }

    .copyright,
    .developer-credit {
        text-align: center !important;
        display: block;
        width: 100%;
    }

    .developer-credit {
        margin-top: 10px;
    }

    /* Newsletter form mobile */
    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-form .form-control {
        border-radius: var(--radius);
        margin-bottom: 10px;
    }

    .newsletter-form .btn {
        border-radius: var(--radius);
        width: 100%;
    }

    /* Hero section mobile adjustments */
    .hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-stat-item {
        flex: 1 1 40%;
        min-width: 120px;
    }

    /* Page header mobile */
    .page-header {
        padding: 80px 0 40px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    /* Contact info card mobile */
    .contact-info-card {
        padding: 25px 20px;
    }

    .contact-form-card {
        padding: 25px 20px;
    }

    /* Partner logos mobile */
    .partner-logo {
        height: 80px;
        margin-bottom: 15px;
    }

    .partner-img {
        max-height: 45px;
    }

    /* Founders section mobile */
    .founders-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .founder-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .founders-contact-box {
        padding: 20px;
        text-align: center;
    }

    .founders-contact-box .d-flex {
        flex-direction: column;
        gap: 15px;
    }

    /* Service card mobile */
    .service-card {
        padding: 25px 20px;
    }

    /* Testimonial mobile */
    .testimonial-quote {
        font-size: 40px;
        top: 15px;
        left: 15px;
    }

    /* Stats section mobile */
    .stats-section {
        padding: 50px 0;
    }

    .stat-item {
        padding: 15px 10px;
    }

    /* Policy content mobile (Privacy & Terms pages) */
    .policy-content {
        padding: 0 5px;
    }

    .policy-content h3 {
        font-size: 1.25rem;
    }

    .policy-content ul {
        padding-left: 20px;
    }

    .contact-box {
        padding: 20px !important;
    }

    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Fix any absolute positioned elements */
    .back-to-top {
        right: 15px;
        bottom: 85px;
        width: 40px;
        height: 40px;
    }

    .whatsapp-widget {
        bottom: 20px;
        right: 15px;
    }

    .whatsapp-widget-btn {
        width: 50px;
        height: 50px;
    }

    .whatsapp-widget-btn i {
        font-size: 24px;
    }

    .whatsapp-widget-popup {
        width: calc(100vw - 30px);
        right: 0;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }

.mb-section { margin-bottom: var(--section-padding); }
.mt-section { margin-top: var(--section-padding); }

.rounded-xl { border-radius: var(--radius-xl); }

.shadow-custom { box-shadow: var(--shadow-lg); }

/* Hide scrollbar but keep functionality */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Aspect Ratios */
.aspect-16-9 { aspect-ratio: 16/9; }
.aspect-4-3 { aspect-ratio: 4/3; }
.aspect-1-1 { aspect-ratio: 1/1; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* ============================================
   Blog Styles
   ============================================ */
.blog-section {
    background: var(--gray-100);
    padding-top: 60px;
    padding-bottom: 80px;
}

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

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-card-image .blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 15px;
    border-radius: var(--radius);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: var(--fs-sm);
    color: var(--gray-600);
}

.blog-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.blog-title {
    font-size: var(--fs-xl);
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--dark);
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--gray-600);
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: var(--fs-sm);
    letter-spacing: 0.5px;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Blog Post Page */
.page-header-blog {
    min-height: auto;
    padding: 120px 0 60px;
}

.page-header-blog .page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-sm);
}

.blog-post-meta i {
    margin-right: 8px;
}

.blog-post-content {
    font-size: var(--fs-lg);
    line-height: 1.9;
    color: var(--gray-700);
}

.blog-post-content h2 {
    font-size: var(--fs-3xl);
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--dark);
}

.blog-post-content h3 {
    font-size: var(--fs-2xl);
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark);
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-post-content strong {
    color: var(--dark);
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.blog-share span {
    font-weight: 600;
    color: var(--dark);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--white);
    transition: var(--transition);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

.share-btn:hover {
    transform: translateY(-3px);
    color: var(--white);
    opacity: 0.9;
}

.blog-cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    margin-top: 50px;
}

.blog-cta-box h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.blog-cta-box p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.blog-cta-box .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.blog-cta-box .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--dark);
}

.related-posts-section {
    background: var(--gray-100);
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background: var(--dark);
}

.newsletter-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-box h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.newsletter-box p {
    color: var(--gray-400);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 15px 20px;
}

.newsletter-form .form-control::placeholder {
    color: var(--gray-500);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

/* ============================================
   Trust Badge Styles
   ============================================ */
.trust-badge-item {
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.trust-badge-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.trust-badge-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.trust-badge-icon i {
    font-size: 24px;
    color: white;
}

/* ============================================
   Founders Section Styles
   ============================================ */
.founders-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.founders-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.founders-image-wrapper img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.founder-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.founder-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.founder-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.founder-expertise {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.founder-expertise i {
    font-size: 0.8rem;
    opacity: 0.5;
}

.founder-contact {
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.founder-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.founder-email:hover {
    color: var(--primary-dark);
}

.founder-email i {
    font-size: 1rem;
}

.founders-contact-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 30px 40px;
    color: white;
}

.founders-contact-box h5 {
    color: white;
    font-weight: 600;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* ============================================
   WhatsApp Widget Styles
   ============================================ */
.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.whatsapp-widget-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.whatsapp-widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-widget-btn i {
    font-size: 30px;
    color: white;
}

.whatsapp-widget-popup {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.whatsapp-widget-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-popup-header {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.whatsapp-popup-header h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.whatsapp-popup-header p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.whatsapp-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.8;
}

.whatsapp-popup-close:hover {
    opacity: 1;
}

.whatsapp-popup-body {
    padding: 20px;
}

.whatsapp-popup-body .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    margin-bottom: 12px;
    font-size: 14px;
}

.whatsapp-popup-body .form-control:focus {
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.whatsapp-popup-body textarea {
    resize: none;
    min-height: 80px;
}

.whatsapp-start-chat {
    width: 100%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.whatsapp-start-chat:hover {
    background: linear-gradient(135deg, #22c55e, #0f7a6b);
    transform: translateY(-2px);
}
