/* ===== CSS Variables ===== */
:root {
    --primary-color: #c9a96e;
    --primary-dark: #a58a4f;
    --secondary-color: #333;
    --text-color: #666;
    --light-bg: #f8f9fa;
    --white: #fff;
    --border-color: #ddd;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --font-family: 'Montserrat', sans-serif;
    --border-radius: 4px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section {
    position: relative;
}

.section-dark {
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-white:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-top {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.header-contact {
    display: flex;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.contact-item i {
    margin-right: 8px;
}

.header-social {
    display: flex;
    justify-content: flex-end;
}

.header-social a {
    color: var(--white);
    margin-left: 15px;
    transition: var(--transition);
}

.header-social a:hover {
    color: var(--primary-color);
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--secondary-color);
    margin-right: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.search-toggle:hover {
    color: var(--primary-color);
}

.language-selector select {
    background: none;
    border: none;
    font-weight: 600;
    color: var(--secondary-color);
    margin-right: 15px;
    cursor: pointer;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.search-bar {
    display: none;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
}

.search-form {
    display: flex;
    align-items: center;
}

.search-input {
    position: relative;
    flex: 1;
}

.search-input input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 16px;
}

.search-input button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 999;
    padding-top: 100px;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    display: block;
    padding: 10px 20px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary-color);
    background-color: var(--light-bg);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 0 15px;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.quick-search {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.hero:hover .quick-search {
    transform: translateY(0);
}

.search-form .search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.search-field {
    flex: 1;
    min-width: 180px;
}

.search-field select,
.search-field button {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
}

.search-field button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.search-field button:hover {
    background-color: var(--primary-dark);
}

/* ===== Page Header ===== */
.page-header {
    background-color: var(--light-bg);
    padding: 120px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-color);
}

.breadcrumb a {
    color: var(--text-color);
    margin: 0 5px;
}

.breadcrumb span {
    margin: 0 5px;
}

/* ===== Property Cards ===== */
.property-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.property-badge.featured {
    background-color: var(--primary-color);
    color: var(--white);
}

.property-badge.new {
    background-color: var(--success-color);
    color: var(--white);
}

.property-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.property-action {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
}

.property-card:hover .property-action {
    opacity: 1;
}

.property-action:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.property-action.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.property-content {
    padding: 25px;
}

.property-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.property-title {
    margin-bottom: 10px;
}

.property-title a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.property-title a:hover {
    color: var(--primary-color);
}

.property-location {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 14px;
}

.property-location i {
    margin-right: 8px;
    color: var(--primary-color);
}

.property-description {
    margin-bottom: 20px;
    color: var(--text-color);
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-color);
}

.feature i {
    margin-right: 5px;
    color: var(--primary-color);
}

.property-footer {
    text-align: center;
}

/* ===== Properties Grid ===== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.properties-grid.list-view {
    grid-template-columns: 1fr;
}

.properties-grid.list-view .property-card {
    display: flex;
    align-items: center;
}

.properties-grid.list-view .property-image {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
}

.properties-grid.list-view .property-content {
    flex: 1;
}

/* ===== Properties Section ===== */
.properties-layout {
    display: flex;
    gap: 30px;
}

.filters-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.properties-content {
    flex: 1;
}

.filter-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-header h3 {
    margin-bottom: 0;
}

.reset-filters {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.reset-filters:hover {
    color: var(--primary-dark);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
}

.price-range {
    display: flex;
    gap: 10px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.results-count p {
    margin-bottom: 0;
    font-weight: 600;
}

.view-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-toggle {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.view-btn {
    padding: 8px 12px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.view-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.sort-options select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 50px;
}

.page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.page-link:hover,
.page-link.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.page-dots {
    padding: 0 10px;
    color: var(--text-color);
}

/* ===== Property Detail ===== */
.property-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.property-images {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image-container {
    margin-bottom: 15px;
}

.propertySwiper {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

.propertySwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-container {
    margin-top: 15px;
}

.propertyThumbs .swiper-slide {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.propertyThumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.propertyThumbs img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.propertyThumbs .swiper-slide:hover img {
    transform: scale(1.05);
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.property-header .property-price {
    font-size: 32px;
    margin-bottom: 0;
}

.property-header .property-actions {
    position: static;
    flex-direction: row;
    opacity: 1;
}

.property-header .property-action {
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
}

.property-header .property-action:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.property-features .feature {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
}

.property-description {
    margin-bottom: 30px;
}

.description-tabs {
    margin-top: 20px;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-nav-item {
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab-nav-item.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.property-features-list {
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--primary-color);
}

.property-details {
    margin-bottom: 30px;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.details-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.details-table td:first-child {
    font-weight: 600;
    width: 30%;
}

.property-media {
    margin-bottom: 30px;
}

.video-container,
.tour-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 20px;
}

.video-container iframe,
.tour-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.property-map {
    margin-bottom: 30px;
}

#propertyMap {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.property-contact {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-options .btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
}

.image-3d-container {
    position: relative;
    perspective: 1000px;
}

.image-3d-container img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.image-3d-container:hover img {
    transform: rotateY(5deg) rotateX(-5deg);
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-title {
    margin-bottom: 15px;
}

/* ===== Testimonials Section ===== */
.testimonialSwiper {
    padding: 20px 0 50px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info span {
    color: var(--text-color);
    font-size: 14px;
}

/* ===== Newsletter Section ===== */
.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    margin-top: 30px;
}

.newsletter-form .form-group {
    display: flex;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
}

/* ===== Footer ===== */
.footer-top {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 50px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #aaa;
}

.contact-info .contact-item i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    border-top: 1px solid #333;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
}

/* ===== Contact Section ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    margin-top: 30px;
}

.contact-info {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 5px;
}

.social-links {
    margin-top: 40px;
}

.social-links h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.map-section {
    padding: 0;
}

.map-container {
    height: 400px;
}

#contactMap {
    height: 100%;
    width: 100%;
}

/* ===== FAQ Section ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-bg);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin-bottom: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 25px;
}

.viewing-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== Alert ===== */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    margin-top: 2px;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

/* ===== No Results ===== */
.no-results {
    text-align: center;
    padding: 60px 0;
    grid-column: 1 / -1;
}

.no-results h3 {
    margin-bottom: 15px;
}

/* ===== Search Summary ===== */
.search-summary {
    margin-bottom: 30px;
}

.search-summary h3 {
    margin-bottom: 15px;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-tag {
    background-color: var(--light-bg);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-tag.clear-all {
    background-color: var(--primary-color);
    color: var(--white);
    cursor: pointer;
}

/* ===== Map Toggle ===== */
.map-toggle-container {
    margin-top: 20px;
}

.map-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.properties-map {
    display: none;
    margin-top: 30px;
}

.properties-map.active {
    display: block;
}

.map-container {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

#map {
    height: 100%;
    width: 100%;
}

/* ===== Swiper Styles ===== */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: var(--text-color);
    grid-column: 1 / -1;
}

.loading-spinner i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: var(--danger-color);
    grid-column: 1 / -1;
}

/* ===== Custom Marker ===== */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

/* ===== Tooltip ===== */
.tooltip {
    position: absolute;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 14px;
    white-space: nowrap;
    z-index: 9999;
    pointer-events: none;
}

.tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--secondary-color) transparent transparent transparent;
}

/* ===== Sticky Header ===== */
.header.sticky {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== No Scroll ===== */
.no-scroll {
    overflow: hidden;
}

/* ===== Print Styles ===== */
@media print {

    .header,
    .footer,
    .property-actions,
    .property-contact,
    .similar-properties,
    .back-to-top,
    .mobile-menu-toggle,
    .search-toggle,
    .language-selector {
        display: none !important;
    }

    .property-detail-layout {
        display: block;
    }

    .property-images {
        position: static;
        margin-bottom: 30px;
    }

    .propertySwiper {
        height: auto;
    }

    .propertySwiper img {
        height: auto;
        max-height: 400px;
    }

    .thumbnail-container {
        display: none;
    }

    .section {
        padding: 20px 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .property-price {
        font-size: 18pt;
    }

    .property-title {
        font-size: 16pt;
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .property-detail-layout {
        grid-template-columns: 1fr;
    }

    .property-images {
        position: static;
    }
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .properties-layout {
        flex-direction: column;
    }

    .filters-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .quick-search .search-row {
        flex-direction: column;
    }

    .search-field {
        min-width: 100%;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-options {
        flex-direction: column;
    }

    .property-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .property-features {
        flex-direction: column;
        gap: 10px;
    }

    .about-stats {
        justify-content: space-around;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .container {
        padding: 0 10px;
    }

    .propertySwiper {
        height: 300px;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modal-content {
        width: 95%;
    }
}

/* ===== Additional Responsive Styles ===== */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ===== Landscape Orientation ===== */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-slide {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }

    .quick-search {
        position: static;
        transform: none;
        padding: 30px 0;
    }
}

/* ===== High DPI Displays ===== */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ===== Dark Mode Support ===== */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #111;
        color: #ddd;
    }

    .header {
        background-color: rgba(17, 17, 17, 0.95);
    }

    .main-nav a {
        color: #ddd;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: var(--primary-color);
    }

    .property-card {
        background-color: #222;
    }

    .filter-card {
        background-color: #222;
    }

    .service-card {
        background-color: #222;
    }

    .testimonial-card {
        background-color: #222;
    }

    .faq-item {
        background-color: #222;
    }

    .modal-content {
        background-color: #222;
        color: #ddd;
    }

    .form-group input,
    .form-group textarea {
        background-color: #333;
        border-color: #444;
        color: #ddd;
    }
}

/* ===== Simple Property Gallery ===== */
.property-images {
    margin-bottom: 30px;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail {
    width: 100px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 25px;
}

/* ===== Video Container ===== */
.video-container,
.tour-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 20px;
    border-radius: 8px;
}

.video-container iframe,
.tour-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Map Container ===== */
#propertyMap {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

/* ===== Tab Styles ===== */
.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-nav-item {
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-nav-item:hover {
    color: var(--primary-color);
}

.tab-nav-item.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    margin-top: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* ===== Responsive Gallery ===== */
@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }

    .thumbnail-container {
        justify-content: center;
    }

    .thumbnail {
        width: 80px;
        height: 60px;
    }

    #propertyMap {
        height: 300px;
    }
}
/* ===== Swiper Gallery ===== */
.property-images {
    margin-bottom: 30px;
}

.main-image-container {
    margin-bottom: 15px;
}

.propertySwiper {
    height: 500px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa;
    box-shadow: var(--box-shadow);
}

.propertySwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    overflow: hidden;
}

.propertySwiper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.propertySwiper img:hover {
    transform: scale(1.02);
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-pagination-fraction {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    bottom: 20px;
    left: 20px;
    right: auto;
}

.thumbnail-container {
    margin-top: 15px;
}

.propertyThumbs {
    height: 100px;
    width: 100%;
}

.propertyThumbs .swiper-slide {
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
}

.propertyThumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary-color);
}

.propertyThumbs .swiper-slide:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.propertyThumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* ===== Responsive Gallery ===== */
@media (max-width: 768px) {
    .propertySwiper {
        height: 300px;
    }

    .propertyThumbs {
        height: 80px;
    }

    .propertyThumbs .swiper-slide {
        width: 80px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        font-size: 28px;
        width: 30px;
        height: 30px;
    }
}
/* ===== About Page ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
}

.image-3d-container {
    position: relative;
    perspective: 1000px;
}

.image-3d-container img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.image-3d-container:hover img {
    transform: rotateY(5deg) rotateX(-5deg);
}

/* ===== Mission & Values ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary-color);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.value-card h3 {
    margin-bottom: 15px;
}

/* ===== Team Section ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-social {
    opacity: 1;
}

.member-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.member-info {
    padding: 30px;
    text-align: center;
}

.member-title {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 10px;
}

.member-bio {
    color: var(--text-color);
    margin-bottom: 20px;
}

.member-languages {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.language {
    background-color: var(--light-bg);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-color);
}

/* ===== Buyers Guide ===== */
.guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-intro {
    text-align: center;
    margin-bottom: 60px;
}

.guide-timeline {
    position: relative;
    padding: 20px 0;
}

.guide-timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
}

.timeline-content {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin: 0 20px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.checklist {
    list-style: none;
    margin-top: 20px;
}

.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.checklist li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ===== Costs Section ===== */
.costs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cost-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.cost-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cost-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.cost-card:hover .cost-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.cost-card h3 {
    text-align: center;
    margin-bottom: 20px;
}

.cost-details {
    margin-top: 20px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-label {
    font-weight: 600;
    color: var(--text-color);
}

.cost-value {
    font-weight: 700;
    color: var(--primary-color);
}

.cost-summary {
    margin-top: 50px;
}

.summary-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.summary-box h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.summary-text {
    margin-bottom: 20px;
}

.summary-example {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

/* ===== Tips Section ===== */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tip-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tip-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary-color);
    transition: var(--transition);
}

.tip-card:hover .tip-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.tip-card h3 {
    margin-bottom: 15px;
}

/* ===== FAQ Page ===== */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-bg);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-contact {
    margin-top: 60px;
    text-align: center;
}

.contact-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-box h3 {
    margin-bottom: 15px;
}

/* ===== Services Page ===== */
.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ===== Process Section ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
}

/* ===== Benefits Section ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary-color);
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== Testimonials Page ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info span {
    color: var(--text-color);
    font-size: 14px;
}

.rating {
    color: var(--warning-color);
    margin-top: 5px;
}

/* ===== Video Testimonials ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    height: 225px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(201, 169, 110, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
}

.video-card:hover .play-button {
    background-color: rgba(201, 169, 110, 1);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin-bottom: 10px;
}

/* ===== Stats Section ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== Sell Property Page ===== */
.sell-property-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.valuation-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.why-sell-container {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.sell-benefits {
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 20px;
}

.sell-process {
    margin-top: 40px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.process-step {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-size: 20px;
    font-weight: 700;
}

.process-step h4 {
    margin-bottom: 10px;
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ===== Video Modal ===== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.video-modal-close:hover {
    color: var(--primary-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* ===== Navigation Dropdown Styles ===== */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
    margin-left: 30px;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:after {
    display: none;
}

.nav-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin-top: 5px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    transition: var(--transition);
    position: relative;
    border-radius: 4px;
}

.dropdown-menu li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 2px 0 0 2px;
}

.dropdown-menu li a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-menu li a:hover:before {
    transform: scaleY(1);
}

/* Mega Menu Style for larger dropdowns */
.nav-item.mega-menu .dropdown-menu {
    min-width: 600px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
}

.nav-item.mega-menu:hover .dropdown-menu {
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 20px 30px;
}

.mega-menu-column h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.mega-menu-column ul {
    list-style: none;
}

.mega-menu-column li {
    margin-bottom: 10px;
}

.mega-menu-column li a {
    padding: 8px 0;
    font-size: 14px;
}

.mega-menu-column li a:before {
    display: none;
}

/* Mobile Menu Dropdown */
.mobile-menu .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.mobile-menu .nav-item {
    margin: 0 0 20px 0;
    width: 100%;
}

.mobile-menu .nav-link {
    padding: 15px 20px;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu .nav-arrow {
    transform: rotate(270deg);
}

.mobile-menu .nav-item.active .nav-arrow {
    transform: rotate(90deg);
}

.mobile-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: transparent;
    padding: 0;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu .nav-item.active .dropdown-menu {
    max-height: 500px;
    margin-top: 10px;
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 10px 0;
}

.mobile-menu .dropdown-menu li a {
    padding: 12px 30px;
    border-radius: 0;
}

/* Dropdown Animation Enhancements */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-item:hover .dropdown-menu {
    animation: dropdownFadeIn 0.3s ease forwards;
}

/* Active State Styling */
.nav-item.active > .nav-link {
    color: var(--primary-color);
}

.nav-item.active > .nav-link:after {
    width: 100%;
}

/* Special Dropdown Item Styles */
.dropdown-menu li.featured a {
    color: var(--primary-color);
    font-weight: 600;
}

.dropdown-menu li.featured a:before {
    content: '★';
    position: absolute;
    left: 20px;
    color: var(--warning-color);
}

/* Responsive Navigation */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
}

@media (min-width: 993px) {
    .mobile-menu .nav-menu {
        display: none;
    }
}

/* Dropdown Menu Scrollbar for long lists */
.dropdown-menu {
    max-height: 80vh;
    overflow-y: auto;
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: var(--light-bg);
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* Triangle Pointer */
.dropdown-menu:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--white);
    z-index: 1001;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .dropdown-menu {
        background-color: #222;
    }
    
    .dropdown-menu li a:hover {
        background-color: #333;
    }
    
    .dropdown-menu:before {
        border-bottom-color: #222;
    }
}