/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal scrolling issues on live servers */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}



/* Text Alignment Improvements */
p, li, span, div, article, section {
    text-align: left;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    text-align: left;
    margin-bottom: 1rem; 
}

/* Property content alignment */
.property-content p,
.property-description p,
.description-text,
.feature-category ul,
.contact-info p {
    text-align: left;
}

/* Service content alignment */
.service-content p,
.service-content ul {
    text-align: left;
}

/* About page content alignment */
.mvv-item p,
.value-item p {
    text-align: left;
}

/* Responsive Images and Media */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shifts and ensure consistent rendering */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Fix viewport issues on mobile browsers */
@viewport {
    width: device-width;
    zoom: 1.0;
}

/* Mobile Safari viewport fix */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-text-size-adjust: 100%;
        -webkit-overflow-scrolling: touch;
    }
}

/* Ensure containers don't exceed viewport width */
.container, .nav-container, .footer-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* Responsive Tables */
table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}

@media (max-width: 768px) {
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 8px 4px;
    }
}

@media (max-width: 480px) {
    table {
        font-size: 0.8rem;
    }
    
    th, td {
        padding: 6px 2px;
    }
}

/* Extra Small Mobile - Tables and Forms */
@media (max-width: 375px) {
    table {
        font-size: 0.75rem;
    }
    
    th, td {
        padding: 4px 1px;
    }
    
    /* Form improvements */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 0.85rem;
        padding: 8px;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 320px) {
    table {
        font-size: 0.7rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    th, td {
        padding: 3px 1px;
        font-size: 0.7rem;
    }
    
    /* Form improvements for ultra small screens */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 0.8rem;
        padding: 6px;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    textarea {
        min-height: 80px;
    }
}

/* Utility classes */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-justify {
    text-align: justify !important;
}

/* Form and input alignment */
.form-group label,
.contact-form label,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    text-align: left;
}

/* Button text alignment */
.btn-primary,
.btn-secondary,
.btn-tertiary,
button {
    text-align: center;
}

/* Navigation text alignment */
.nav-menu a,
.nav-link {
    text-align: left;
}

/* Footer content alignment */
.footer-section p,
.footer-section ul,
.footer-section li {
    text-align: left;
}

/* Card content alignment */
.property-card p,
.service-card p,
.stat-card p {
    text-align: left;
}

/* List and table alignment */
ul, ol {
    text-align: left;
}

ul li, ol li {
    text-align: left;
}

table, td, th {
    text-align: left;
}

/* Specific content areas */
.features-list,
.features-list li,
.property-features li,
.amenities-list li {
    text-align: left;
}

/* Contact and address information */
.contact-info,
.address-info,
.property-location {
    text-align: left;
}

/* Modern Typography for Main Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1.2;
}

h3 {
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.3;
}

/* Responsive Typography */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Extra Small Mobile Devices (320px-375px) */
@media (max-width: 375px) {
    h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    h4 {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.6rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    h4 {
        font-size: 0.95rem;
    }
    
    p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Small Laptop and Large Tablet Screens */
@media (max-width: 1366px) {
    .container {
        max-width: 1140px;
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.8rem;
    }
    
    .properties-horizontal {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.8rem;
    }
}

/* Large Desktop Screens */
@media (max-width: 1350px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .nav-menu {
        gap: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
        gap: 1.8rem;
    }
}

/* Medium Laptop Screens */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
        padding: 0 18px;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.3rem;
    }
    
    .hero-text h1 {
        font-size: 3.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
        gap: 1.6rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
}

/* Small Laptop and Large Tablet Transition */
@media (max-width: 1000px) {
    .container {
        max-width: 900px;
        padding: 0 16px;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.4rem;
    }
}

/* Tablet Landscape */
@media (max-width: 900px) {
    .container {
        max-width: 800px;
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .whatsapp-link span {
        display: none;
    }
    
    .whatsapp-link {
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
}

/* Tablet Portrait and Small Laptop */
@media (max-width: 800px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .header-contact {
        margin-right: 15px;
    }
}

/* Critical Breakpoint - Navigation Switch */
@media (max-width: 700px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #002147;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 80px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        justify-content: flex-start;
        flex: none;
        z-index: 999;
        overflow-y: auto;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
        margin-right: 15px;
    }
    
    .header-contact {
        position: absolute;
        right: 60px;
        margin-right: 0;
    }
    
    .whatsapp-link {
        padding: 0.4rem;
        width: 35px;
        height: 35px;
        justify-content: center;
    }
    
    .whatsapp-link span {
        display: none;
    }
    
    .whatsapp-link i {
        font-size: 1rem;
    }
}

/* Small Mobile - Prevent WhatsApp overlap with logo */
@media (max-width: 600px) {
    .header-contact {
        position: absolute;
        right: 50px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .nav-logo, .header-logo {
        max-width: calc(100% - 100px);
        overflow: hidden;
    }
    
    .site-header-logo,
    header img.logo,
    .site-header img,
    .header-logo img {
        max-height: 160px !important;
    }
}

/* Extra Small Mobile - Further adjustments */
@media (max-width: 480px) {
    .header-contact {
        right: 45px;
    }
    
    .nav-logo, .header-logo {
        max-width: calc(100% - 90px);
    }
    
    .hamburger {
        margin-right: 10px;
    }
}



/* Center header contents on 1024px – 700px widths */
@media (max-width: 1024px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .container {
        max-width: 960px;
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    /* Ensure header elements don't overlap */
    .nav-container {
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .header-contact {
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Adjust section padding for mobile */
    section {
        padding: 40px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 30px 0;
    }
    
    .hero-content {
        padding: 0 10px;
    }
}

/* Extra Small Mobile Devices - Container and Spacing */
@media (max-width: 375px) {
    .container {
        padding: 0 8px;
    }
    
    section {
        padding: 25px 0;
    }
    
    .hero-content {
        padding: 0 8px;
    }
    
    /* Reduce gaps and margins for very small screens */
    .split-layout {
        gap: 1.5rem;
    }
    
    .services-grid {
        gap: 1rem;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 6px;
    }
    
    section {
        padding: 20px 0;
    }
    
    .hero-content {
        padding: 0 6px;
    }
    
    /* Further reduce spacing for smallest screens */
    .split-layout {
        gap: 1rem;
    }
    
    .services-grid {
        gap: 0.75rem;
    }
    
    /* Adjust card padding */
    .service-card {
        padding: 1rem;
    }
    
    .property-card-horizontal .property-content {
        padding: 0.75rem;
    }
}

/* ===== RESPONSIVE HEADER STYLES ===== */

/* Header Container */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    background-color: #002147;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header Container - Three Section Layout */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 20px;
    position: relative;
    box-sizing: border-box;
}

/* Left Section - Logo (Fixed to left corner) */
.header-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 200px;
    height: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: white;
    height: 100%;
    width: auto;
}
/* Logo styling with updated responsive sizes */
.logo-img {
    max-height: 315px; /* Desktop: 315px */
    width: auto;
    transition: all 0.3s ease;
}

/* Responsive logo sizes */
@media (max-width: 1024px) {
    .logo-img {
        max-height: 270px; /* Tablet: 270px */
    }
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 225px; /* Mobile: 225px */
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-height: 180px; /* Small mobile: 180px */
    }
}

.logo-text {
    display: none;
}

/* Middle Section - Spacer (creates the large gap) */
.header-middle {
    flex: 1 1 auto;
    min-width: 100px;
    height: 100%;
}

/* Right Section - Navigation + Controls (aligned to right corner) */
.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    height: 100%;
    min-width: 300px;
}

/* Navigation Menu */
.main-navigation {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
    align-items: center;
    height: 100%;
}

.nav-item {
    position: relative;
    height: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: auto;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link i {
    display: none;
}

.nav-link span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header Controls - Contact + Toggle */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

/* WhatsApp Contact - Icon Only */
.whatsapp-contact {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    width: 45px;
    height: 45px;
    background-color: #25D366;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.whatsapp-link:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-link i {
    font-size: 22px;
    margin: 0;
}

.whatsapp-number {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    flex-shrink: 0;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Responsive Design - Logo Sizes as specified */

/* Desktop: max-height: 315px (default above) */

/* Tablet (≤1024px): max-height: 270px */
@media (max-width: 1024px) {
    .logo-img {
        max-height: 270px;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .header-left {
        min-width: 180px;
    }
    
    .header-right {
        min-width: 280px;
    }
}

/* Mobile (≤768px): max-height: 225px */
@media (max-width: 768px) {
    .logo-img {
        max-height: 225px;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .header-left {
        min-width: 150px;
    }
    
    .header-right {
        min-width: 120px;
        gap: 15px;
    }
    
    .header-middle {
        min-width: 50px;
    }
}

/* Small mobile (≤480px): max-height: 180px */
@media (max-width: 480px) {
    .logo-img {
        max-height: 180px;
    }
    
    .header-container {
        padding: 0 10px;
    }
    
    .header-left {
        min-width: 120px;
    }
    
    .header-right {
        min-width: 100px;
        gap: 10px;
    }
    
    .whatsapp-link {
        width: 40px;
        height: 40px;
    }
    
    .whatsapp-link i {
        font-size: 18px;
    }
    
    .header-middle {
        min-width: 30px;
    }
}

/* Extra small screens (≤320px) */
@media (max-width: 320px) {
    .header-container {
        padding: 0 8px;
    }
    
    .header-left {
        min-width: 100px;
    }
    
    .header-right {
        min-width: 80px;
        gap: 8px;
    }
    
    .whatsapp-link {
        width: 35px;
        height: 35px;
    }
    
    .whatsapp-link i {
        font-size: 16px;
    }
}

/* Ensure responsiveness from 100px width onward */
/* Extra small screens (≤375px) */
@media (max-width: 375px) {
    .logo-img {
        max-height: 180px;
    }
}

@media (max-width: 100px) {
    .header-container {
        padding: 0 5px;
        min-width: 100px;
    }
    
    .header-left {
        min-width: 60px;
    }
    
    .header-right {
        min-width: 35px;
    }
    
    .header-middle {
        min-width: 5px;
    }
}

/* Body padding to account for fixed header */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    text-align: left;
    padding-top: 80px;
    position: relative;
    margin: 0;
}

/* Clear any conflicting styles */
* {
    box-sizing: border-box;
}

/* Legacy compatibility */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0;
}

.nav-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    padding: 0 10px;
    margin: 0;
    overflow: visible !important;
}

.logo {
    margin-left: -15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    max-height: 315px;
    width: auto;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    filter: brightness(1.1);
}

.main-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-menu ul li {
    margin: 0;
}

.main-menu ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    line-height: 80px;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-menu ul li a:hover {
    color: #fbbf24;
}

.main-menu ul li a.active {
    color: #fbbf24;
}

.whatsapp {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.whatsapp img {
    height: 32px;
    width: 32px;
    display: block;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.whatsapp img:hover {
    transform: scale(1.1);
}

.header-contact {
    display: flex;
    align-items: center;
    margin-right: 15px;
    margin-left: 0.5rem;
}

.nav-logo h2 {
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-logo,
.header-logo,
.site-header-logo,
header img.logo,
header .logo img {
    height: 180px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
    display: block !important;
    object-fit: contain;
    background: transparent;
    border: none;
    outline: none;
}

.nav-logo,
.header-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 -15px !important;
    padding: 0 20px 0 0 !important;
    overflow: visible !important;
}

.header-logo img {
    max-height: 315px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    overflow: visible !important;
}

/* FOOTER CONTAINER - EXPANDED TO ACCOMMODATE CONTENT */
.footer, .site-footer {
    min-height: 200px; /* increased height for content */
    background-color: #002147;
    color: white;
    padding: 3rem 0 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible; /* let logo stick out */
}

/* FOOTER LOGO REMOVED - HIDE ALL LOGO ELEMENTS */
.footer-logo {
    display: none !important;
}

.site-footer-logo,
footer img.logo,
.site-footer img,
.footer-logo img {
    display: none !important;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Responsive Logo Sizing */
@media (max-width: 1024px) {
    .logo-img {
        max-height: 270px;
    }
    
    /* Legacy compatibility */
    .logo img {
        max-height: 270px;
    }
    
    .main-menu ul {
        gap: 20px;
    }
    
    .main-menu ul li a {
        font-size: 15px;
    }
    
    .nav-logo,
    .header-logo,
    .site-header-logo,
    header img.logo,
    header .logo img {
        height: 150px !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .logo-img {
        max-height: 50px;
    }
    
    /* Legacy compatibility */
    .logo img {
        max-height: 225px;
    }
    
    .main-menu ul {
        gap: 15px;
    }
    
    .main-menu ul li a {
        font-size: 14px;
    }
    
    .whatsapp {
        margin-left: 10px;
    }
    
    .nav-logo,
    .header-logo,
    .site-header-logo,
    header img.logo,
    header .logo img {
        height: 120px !important;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }
    
    .logo-img {
        max-height: 180px;
    }
    
    .whatsapp-link {
        width: 40px;
        height: 40px;
    }
    
    .whatsapp-link i {
        font-size: 18px;
    }
    
    /* Legacy compatibility */
    .logo img {
        max-height: 180px;
    }
    
    .main-menu ul {
        gap: 10px;
    }
    
    .main-menu ul li a {
        font-size: 12px;
    }
    
    .whatsapp {
        margin-left: 8px;
    }
    
    .whatsapp img {
        height: 28px;
        width: 28px;
    }
    
    .nav-logo,
    .header-logo,
    .site-header-logo,
    header img.logo,
    header .logo img {
        height: 100px !important;
    }
}

@media (max-width: 100px) {
    .header-container {
        padding: 0 5px;
    }
    
    .logo-img {
        max-height: 180px;
    }
}

/* Mobile menu animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Prevent logo-menu overlap between 700px and 1300px */
@media (min-width: 700px) and (max-width: 1300px) {
    .header-container {
        justify-content: space-between;
        gap: 20px; /* Ensure minimum gap between logo and menu */
    }
    
    .logo {
        max-width: 40%; /* Limit logo width to prevent overlap */
        margin-right: 20px; /* Add right margin to logo */
    }
    
    .main-menu {
        flex-shrink: 1; /* Allow menu to shrink if needed */
    }
    
    .main-menu ul {
        gap: 15px; /* Reduce menu item spacing in this range */
    }
}

/* Additional safety for very wide logos */
@media (max-width: 900px) {
    .logo {
        max-width: 35%;
    }
}

@media (max-width: 700px) {
    .logo {
        max-width: 30%;
    }
}

/* Extra Small Mobile Navigation (375px and below) */
@media (max-width: 375px) {
    .header, .site-header {
        padding: 0 8px;
        height: 70px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .navbar, .nav-container {
        height: 70px;
    }
    
    .nav-menu {
        top: 70px !important;
        padding: 1.5rem 0;
    }
    
    .whatsapp-link {
        padding: 0.4rem;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .hamburger {
        margin-right: 8px;
    }
    
    .bar {
        width: 20px;
        height: 2px;
    }
    
    /* Legacy compatibility */
    .nav-logo,
    .header-logo,
    .site-header-logo,
    header img.logo,
    header .logo img {
        height: 80px !important;
    }
}

/* Ultra Small Mobile Navigation (320px and below) */
@media (max-width: 320px) {
    .header, .site-header {
        padding: 0;
        height: 65px;
    }
    
    body {
        padding-top: 65px;
    }
    
    .navbar, .nav-container {
        height: 65px;
    }
    
    .nav-menu {
        top: 65px !important;
        padding: 1rem 0;
    }
    
    .whatsapp-link {
        padding: 0.3rem;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .hamburger {
        margin-right: 6px;
    }
    
    .bar {
        width: 18px;
        height: 2px;
        margin: 2px 0;
    }
    
    .nav-link {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }
}

.footer-logo-img {
    height: 650px;
    width: 1000px;
    object-fit: cover;
    object-position: top;
    background: transparent;
    max-height: 80px;
    max-width: 150px;
    border: none;
    outline: none;
}

/* Menu styling already defined above - removing duplicate */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    align-items: center; /* Ensure perfect vertical alignment */
    margin-right: 1rem; /* Move menu slightly right */
    height: 100%; /* Full height for alignment */
}

.nav-item {
    display: flex;
    align-items: center; /* Perfect vertical alignment for each item */
    height: 100%;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: flex;
    align-items: center; /* Ensure text is vertically centered */
    height: 100%;
    line-height: 1; /* Consistent line height */
}

.nav-link:hover,
.nav-link.active {
    color: #f5f5f5;
    border-bottom: 2px solid #f5f5f5;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Split Layout Styles */
.split-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 2rem 0;
}

.image-side {
    flex: 1;
}

.content-side {
    flex: 1;
}

.about-image, .landlord-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.15);
    transition: transform 0.3s ease;
}

.about-image:hover, .landlord-image:hover {
    transform: translateY(-5px);
}

/* Motion Effects */
.fade-in-slide {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInSlide 1s ease-out forwards;
}

@keyframes fadeInSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Split Layout */
@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .image-side {
        order: 1;
    }
    
    .content-side {
        order: 2;
    }
}

/* Extra Small Mobile - Split Layout */
@media (max-width: 375px) {
    .split-layout {
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-visual {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mvv-item {
        padding: 2rem;
    }
}

@media (max-width: 320px) {
    .split-layout {
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .content-grid {
        gap: 1.5rem;
    }
    
    .stats-visual {
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1.2rem;
    }
    
    .stat-card h3 {
        font-size: 1.6rem;
    }
    
    .mvv-grid {
        gap: 1.5rem;
    }
    
    .mvv-item {
        padding: 1.5rem;
    }
    
    .mvv-item h3 {
        font-size: 1.2rem;
    }
}

.hero-banner { 
    background-color: #333;
    background-image: url('./frontpage_image/mine.jpeg?v=6');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 60vh; 
    width: 100%; 
    margin-top: 40px;
    position: relative;
    /* Force reload and cross-browser compatibility */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    /* Fallback for older browsers */
    background: #333 url('./frontpage_image/mine.jpeg?v=6') center center/cover no-repeat;
}

.hero-banner .hero-content {
    display: none;
}

/* Hero content styles removed - content is hidden */

/* Hero Banner Responsive */
@media (max-width: 1024px) {
    .hero-banner {
        min-height: 50vh;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 40vh;
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 35vh;
        margin-top: 20px;
    }
}

@media (max-width: 375px) {
    .hero-banner {
        margin-top: 18px;
    }
}

@media (max-width: 320px) {
    .hero-banner {
        margin-top: 15px;
    }
}



.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    min-width: 120px;
}

/* Button Responsive Design */
@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-width: 80px;
        width: 100%;
        max-width: 200px;
    }
}

/* Extra Small Mobile - Buttons */
@media (max-width: 375px) {
    .btn {
        padding: 7px 14px;
        font-size: 0.8rem;
        min-width: 70px;
        max-width: 180px;
    }
    
    .page-header {
        padding: 80px 0 40px;
        margin-top: 20px;
    }
}

@media (max-width: 320px) {
    .btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        min-width: 60px;
        max-width: 160px;
    }
    
    .page-header {
        padding: 70px 0 35px;
        margin-top: 15px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
}

.btn-primary {
    background-color: white;
    color: #002147;
}

.btn-primary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: #002147;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #002147;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Services Preview */
.services-preview {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Responsive Services Grid */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card i {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}

.service-card {
    background: #e9ecef;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: #002147;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #002147;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #8b3a42;
}

/* Why Choose Us */
.why-choose-us {
    padding: 60px 0;
    background-color: white;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-choose-us h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.why-choose-us p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    display: inline-block;
}

.features-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.features-list i {
    color: #002147;
    margin-right: 0.5rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #002147 0%, #1e3a8a 100%);
    color: white;
    padding: 100px 0 60px; /* Restored proper padding */
    margin-top: 40px; /* Restored moderate gap */
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Content */
.about-content {
    padding: 80px 0;
    background-color: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1rem;
}

.stats-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: #e9ecef;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #002147;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #002147;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #666;
    font-weight: 500;
}

/* Mission Vision Values */
.mission-vision {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.mvv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mvv-item {
    background: #f5f5f5;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mvv-item i {
    font-size: 3rem;
    color: #002147;
    margin-bottom: 1.5rem;
}

.mvv-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.mvv-item p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Values */
.values {
    padding: 80px 0;
    background-color: white;
}

.values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item i {
    font-size: 2.5rem;
    color: #002147;
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.stats-section .stats-visual {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.stats-section .stat-card {
    flex: 1;
    min-width: 150px;
    max-width: 180px;
}

/* No Fee Policy Section */
.no-fee-policy {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.no-fee-policy .highlight-box {
    max-width: 600px;
    margin: 0 auto;
}

/* Culture */
.culture {
    padding: 80px 0;
    background-color: #f5f5f5;
    color: #000000;
    text-align: center;
}

.culture-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #000000;
}

.culture-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #000000;
}

.privacy-section {
    padding: 80px 0;
    background-color: white;
    color: #000000;
}

.privacy-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
    text-align: center;
}

.privacy-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

/* Responsive adjustments for About page */
@media screen and (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-visual {
        grid-template-columns: 1fr;
    }
    
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

/* First footer section with logo integration */
.footer-section:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #000000;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #000000;
    color: #ffffff;
}

.social-links a i {
    color: #000000;
}

.social-links a:hover i {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #d3d3d3;
    color: #ffffff;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown .nav-link i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background-color: #002147;
    color: white;
}

/* Mobile dropdown adjustments */
@media screen and (max-width: 768px) {
    .header {
        padding: 0 15px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #8b3a42;
        margin-top: 0.5rem;
        border-radius: 0;
    }
    
    .dropdown-menu a {
        color: white;
        padding: 0.5rem 2rem;
    }
    
    .dropdown-menu a:hover,
    .dropdown-menu a.active {
        background-color: rgba(255,255,255,0.1);
    }
    
    .dropdown .nav-link i {
        display: none;
    }

    /* Mobile WhatsApp adjustments */
    .header-contact {
        display: flex;
    }

    .nav-container {
        flex-wrap: nowrap;
    }

    .whatsapp-link span {
        display: none;
    }

    .whatsapp-link {
        padding: 0.5rem;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
}

/* Extra Small Mobile - Navigation Adjustments */
@media screen and (max-width: 375px) {
    .header {
        padding: 0 8px;
    }
    
    .nav-menu {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }
    
    .nav-link {
        padding: 0.6rem 0;
    }
    
    .dropdown-menu a {
        padding: 0.4rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 320px) {
    .header {
        padding: 0 6px;
    }
    
    .nav-menu {
        padding: 1rem 0;
        font-size: 0.85rem;
    }
    
    .nav-link {
        padding: 0.5rem 0;
    }
    
    .dropdown-menu a {
        padding: 0.3rem 1rem;
        font-size: 0.8rem;
    }
    
    .nav-container {
        justify-content: space-between;
        align-items: center;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Navigation handled by 700px breakpoint */
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Enhanced Property Mobile Styles */
    .property-swiper-enhanced {
        height: 400px;
    }

    .property-info-enhanced {
        margin: 1rem;
        padding: 1.5rem;
    }

    .property-header h1 {
        font-size: 1.8rem;
    }

    .location-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .property-features-quick {
        gap: 0.5rem;
    }

    .feature-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .thumbnail-grid {
        gap: 8px;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }

    .image-overlay {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .comment-item {
        flex-direction: column;
        text-align: center;
    }

    .comment-header {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .comment-date {
        margin-left: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .star-rating {
        justify-content: center;
    }

}

/* Tablet footer layout */
@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding-top: 80px; /* Updated for header height */
    }
    
    .nav-menu {
        top: 80px !important;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Services Detail Page */
.services-detail {
    padding: 80px 0;
    background-color: white;
}

.intro-text {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.intro-text p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: #e9ecef;
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 4px solid #002147;
}

.service-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #002147;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #002147;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: #f5f5f5;
    color: #000000;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #000000;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Landlord Services Page */
.landlord-intro {
    padding: 80px 0;
    background-color: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.intro-content p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: #e9ecef;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #002147;
    margin-top: 2rem;
}

.highlight-box h3 {
    color: #002147;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.highlight-box p {
    color: #666;
    margin: 0;
}

.letting-services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.letting-services h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    text-align: center;
}

.services-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.checklist-item i {
    color: #002147;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.checklist-item span {
    color: #333;
    font-weight: 500;
}

.why-choose {
    padding: 80px 0;
    background-color: white;
}

.why-choose h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1rem;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    color: #002147;
    margin-bottom: 1rem;
}

.benefit-icon {
    font-size: 3rem;
    color: #002147;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-item p {
    color: #666;
    line-height: 1.4;
}

.ready-to-let {
    padding: 80px 0;
    background-color: #f5f5f5;
    color: #000000;
    text-align: center;
}

.ready-to-let h2 {
    color: #000000;
}

.ready-to-let p {
    color: #000000;
}

/* Tenants Page */
.tenant-intro {
    padding: 80px 0;
    background-color: white;
}

.tenant-help {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.tenant-help h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    text-align: center;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.help-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.help-item i {
    font-size: 2.5rem;
    color: #002147;
    margin-bottom: 1rem;
}

.help-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.help-item p {
    color: #666;
    line-height: 1.6;
}

.tenant-journey {
    padding: 80px 0;
    background-color: white;
}

.tenant-journey h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    text-align: center;
}

.journey-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-2px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #002147;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.why-rent-with-us {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.why-rent-with-us h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    text-align: center;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.reason-item {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.reason-item i {
    font-size: 2.5rem;
    color: #002147;
    margin-bottom: 1rem;
}

.reason-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.reason-item p {
    color: #666;
    line-height: 1.4;
}

/* Contact Page */
.contact-content {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #002147;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #002147;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.social-contact {
    margin-top: 2rem;
}

.social-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.map-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.map-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Design for New Pages */
@media screen and (max-width: 768px) {
    .service-detail-card {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .journey-steps {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Form responsive improvements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .contact-form {
        gap: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .services-checklist {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .info-item i {
        margin-top: 0;
    }
    
    .services-checklist {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .service-detail-card {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Properties Page Styles */
.properties-listing {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.property-card {
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-content {
    padding: 1.5rem;
}

.property-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.property-location {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
}

.property-location i {
    color: #002147;
    margin-right: 0.5rem;
}

.property-price {
    margin-bottom: 1rem;
}

.property-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #002147;
}

.property-description {
    margin-bottom: 1rem;
}

.property-description p {
    color: #666;
    line-height: 1.4;
    font-size: 0.95rem;
}

.property-contact {
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.property-contact p {
    color: #002147;
    font-weight: 500;
    margin: 0;
}

/* Property Button Styling */
.property-button {
    margin-top: 1rem;
    text-align: center;
}

.property-button .btn-primary {
    display: inline-block;
    background-color: #002147;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.property-button .btn-primary:hover {
    background-color: #5a252a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(114, 47, 55, 0.3);
}

/* Responsive adjustments for properties */
@media screen and (max-width: 1024px) {
    .property-card {
        margin-bottom: 1.5rem;
    }
    
    .property-image {
        height: 220px;
    }
    
    .property-content {
        padding: 1.25rem;
    }
}

@media screen and (max-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .property-content {
        padding: 1rem;
    }
    
    .property-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .property-price .price {
        font-size: 1.3rem;
    }
    
    .property-description p {
        font-size: 0.9rem;
    }
    
    .property-button .btn-primary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .properties-listing {
        padding: 40px 0;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-content {
        padding: 0.75rem;
    }
    
    .property-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .property-price .price {
        font-size: 1.2rem;
    }
    
    .property-description p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .property-button .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
        width: 100%;
    }
}

/* Property Detail Page Styles */
.property-detail {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.back-link {
    margin-bottom: 2rem;
}

.back-link a {
    color: #002147;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link a:hover {
    color: #5a252a;
}

.property-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.property-gallery {
    position: relative;
}

.property-swiper {
    width: 100%;
    height: 500px;
}

.property-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #f0f0f0;
}

.swiper-slide {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swiper-slide img {
    transition: none;
    opacity: 1;
}

.property-swiper {
    --swiper-theme-color: #002147;
}

.swiper-button-next,
.swiper-button-prev {
    color: #002147;
}

.swiper-pagination-bullet-active {
    background-color: #002147;
}

.property-info {
    padding: 2rem;
}

.property-info h1 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.property-meta .property-location {
    display: flex;
    align-items: center;
    color: #666;
}

.property-meta .property-location i {
    color: #002147;
    margin-right: 0.5rem;
}

.property-meta .property-price .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #002147;
    display: block;
}

.property-meta .bills-note {
    font-size: 0.9rem;
    color: #666;
}

.property-description h3,
.property-description h4 {
    color: #333;
    margin-bottom: 1rem;
}

.property-description h3 {
    font-size: 1.3rem;
    border-bottom: 2px solid #002147;
    padding-bottom: 0.5rem;
}

.property-description h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.property-description ul {
    list-style: none;
    padding: 0;
}

.property-description li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.property-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #002147;
    font-weight: bold;
}

.contact-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-section h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-secondary {
    background-color: white;
    color: #002147;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: #1da851;
}

/* Comments Section */
.comments-section {
    padding: 60px 0;
    background-color: white;
}

.comments-section h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.comment-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #002147;
}

/* Enhanced Property Detail Styles */
.property-hero {
    background: white;
    padding: 2rem 0;
}

.property-gallery-enhanced {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.property-swiper-enhanced {
    width: 100%;
    height: 600px;
    position: relative;
}

.property-swiper-enhanced img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
}

.gallery-thumbnails {
    padding: 20px;
    background: #f8f9fa;
}

.thumbnail-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #722f37;
    opacity: 1;
}

.property-info-enhanced {
    max-width: 1000px;
    margin: 2rem auto;
    background: #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.property-header h1 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.property-meta-enhanced {
    margin-bottom: 2rem;
}

.location-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.property-features-quick {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: #e9ecef;
    color: #002147;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.feature-badge i {
    margin-right: 5px;
}

.property-description-enhanced {
    margin-top: 2rem;
}

.description-section h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #666;
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-category h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-section-enhanced {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.contact-section-enhanced h3 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-tertiary {
    background-color: #6c757d;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-tertiary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* Enhanced Comments Section */
.comments-section-enhanced {
    padding: 60px 0;
    background: #f8f9fa;
}

.comments-header {
    text-align: center;
    margin-bottom: 3rem;
}

.comments-header h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.comments-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.existing-comments {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.comment-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 1rem;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar i {
    font-size: 3rem;
    color: #002147;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.comment-header h4 {
    color: #333;
    margin: 0;
    font-size: 1.1rem;
}

.comment-rating {
    color: #ffc107;
}

.comment-date {
    color: #999;
    font-size: 0.9rem;
    margin-left: auto;
}

.comment-text {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.comment-form-section {
    max-width: 600px;
    margin: 0 auto;
    background: #e9ecef;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.comment-form-section h4 {
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-input {
    margin-bottom: 1.5rem;
}

.rating-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffc107;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.comment-form-enhanced .form-group {
    margin-bottom: 1.5rem;
}

.comment-form-enhanced .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.comment-form-enhanced input,
.comment-form-enhanced textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form-enhanced input:focus,
.comment-form-enhanced textarea:focus {
    outline: none;
    border-color: #722f37;
}

.comment-form-enhanced button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Featured Properties Section */
.featured-properties {
    padding: 80px 0;
    background-color: white;
}

.featured-properties h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.properties-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card-horizontal {
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.property-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.property-card-horizontal .property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-card-horizontal .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card-horizontal:hover .property-image img {
    transform: scale(1.05);
}

.property-card-horizontal .property-content {
    padding: 1.5rem;
}

.property-card-horizontal .property-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.property-card-horizontal .property-location {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.property-card-horizontal .property-location i {
    color: #002147;
    margin-right: 0.5rem;
}

.property-card-horizontal .property-price {
    margin-bottom: 1.5rem;
}

.property-card-horizontal .property-price .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #002147;
}

.property-card-horizontal .property-button .btn-primary {
    display: inline-block;
    background-color: #002147;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.property-card-horizontal .property-button .btn-primary:hover {
    background-color: #5a252a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(114, 47, 55, 0.3);
}

.view-all-properties {
    text-align: center;
}

.view-all-properties .btn {
    display: inline-block;
    background-color: #002147;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.view-all-properties .btn:hover {
    background-color: #5a252a;
    transform: translateY(-2px);
}

/* Responsive Design for Featured Properties */
@media screen and (max-width: 768px) {
    .properties-horizontal {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .property-card-horizontal .property-content {
        padding: 1rem;
    }
    
    .property-card-horizontal .property-content h3 {
        font-size: 1rem;
    }
    
    .property-card-horizontal .property-price .price {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .properties-horizontal {
        grid-template-columns: 1fr;
    }
    
    .featured-properties {
        padding: 60px 0;
    }
    
    .featured-properties h2 {
        font-size: 2rem;
    }
}

/* Extra Small Mobile - Property Cards and Grids */
@media (max-width: 375px) {
    .properties-horizontal {
        gap: 1rem;
    }
    
    .property-card-horizontal {
        margin-bottom: 1rem;
    }
    
    .property-card-horizontal .property-image {
        height: 180px;
    }
    
    .property-card-horizontal .property-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .property-card-horizontal .property-location {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .property-card-horizontal .property-price .price {
        font-size: 1.1rem;
    }
    
    .property-card-horizontal .property-button .btn-primary {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .featured-properties {
        padding: 40px 0;
    }
    
    .featured-properties h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 320px) {
    .properties-horizontal {
        gap: 0.75rem;
    }
    
    .property-card-horizontal {
        margin-bottom: 0.75rem;
    }
    
    .property-card-horizontal .property-image {
        height: 160px;
    }
    
    .property-card-horizontal .property-content {
        padding: 0.75rem;
    }
    
    .property-card-horizontal .property-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }
    
    .property-card-horizontal .property-location {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
    }
    
    .property-card-horizontal .property-price .price {
        font-size: 1rem;
    }
    
    .property-card-horizontal .property-button .btn-primary {
        padding: 6px 12px;
        font-size: 0.75rem;
        width: 100%;
    }
    
    .featured-properties {
        padding: 30px 0;
    }
    
    .featured-properties h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    .view-all-properties .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Responsive Design for Property Detail */
@media screen and (max-width: 768px) {
    .property-detail-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .property-swiper {
        height: 300px;
    }
    
    .property-info {
        padding: 1.5rem;
    }
    
    .property-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
}

/* Customer Reviews & Ratings Section */
.reviews-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.reviews-section .section-header {
    margin-bottom: 3rem;
}

.reviews-section .section-header h2 {
    color: #002147;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.reviews-section .section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Average Rating Display */
.average-rating-container {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #002147;
    line-height: 1;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .star {
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.3s ease;
}

.rating-stars .star.filled {
    color: #ffc107;
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Review Form */
.review-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.review-form-container h3 {
    color: #002147;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.review-form .form-group {
    margin-bottom: 1.5rem;
}

.review-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.review-form input[type="text"]:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #002147;
}

.review-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Star Rating Input */
.star-rating {
    display: flex;
    gap: 5px;
    margin: 0.5rem 0;
}

.star-rating .star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    user-select: none;
}

.star-rating .star:hover {
    transform: scale(1.1);
}

.star-rating .star.active,
.star-rating .star.hover {
    color: #ffc107;
}

/* Reviews Display */
.reviews-container {
    margin-top: 3rem;
}

.reviews-container h3 {
    color: #002147;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.reviews-list {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: #002147;
    font-size: 1.1rem;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating .star {
    font-size: 1rem;
    color: #ffc107;
}

.review-comment {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-date {
    color: #999;
    font-size: 0.85rem;
    text-align: right;
}

/* Loading and Empty States */
.reviews-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.reviews-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.reviews-empty h4 {
    color: #002147;
    margin-bottom: 0.5rem;
}

.reviews-empty p {
    color: #666;
}

/* Success Message */
.review-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    border: 1px solid #c3e6cb;
}

/* Error Message */
.review-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }
    
    .reviews-section .section-header h2 {
        font-size: 2rem;
    }
    
    .average-rating-container,
    .review-form-container {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 1.5rem;
    }
    
    .rating-number {
        font-size: 2.5rem;
    }
    
    .star-rating .star {
        font-size: 1.8rem;
    }
    
    .review-card {
        margin: 0 1rem;
        padding: 1.2rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

@media screen and (max-width: 480px) {
    .average-rating-container,
    .review-form-container {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        padding: 1rem;
    }
    
    .review-card {
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    .star-rating .star {
        font-size: 1.5rem;
        gap: 3px;
    }
}

/* Hero Section Styles */
.hero-section {
    background: url('final/last.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4A90E2;
    color: white;
}

.btn-primary:hover {
    background-color: #3a7bc8;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}