:root {
    --primary-gradient: linear-gradient(135deg, #0066cc 0%, #00a8ff 100%);
    --rainbow-gradient: linear-gradient(90deg, #003366, #0066cc, #0099ff, #00a8ff, #66d9ff, #b3ecff);
    --dark: #001a33;
    --light: #f0f8ff;
    --accent: #0066cc;
    --success: #10b981;
    --shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 102, 204, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #f0f8ff;
    color: var(--dark);
    padding-top: 100px; /* Navbar height */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}











.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s ease;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    background: linear-gradient(45deg, #FFD700, #0066cc, #228B22, #0066cc, #FFD700);
    background-size: 300% 300%;
    animation: logoGlow 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Fallback for browsers that don't support background-clip: text */
    color: #0066cc;
}

.logo-text .logo-text-content {
    background: linear-gradient(45deg, #FFD700, #0066cc, #228B22, #0066cc, #FFD700);
    background-size: 300% 300%;
    animation: logoGlow 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Fallback for browsers that don't support background-clip: text */
    color: #0066cc;
}

/* Ensure text is visible even if background-clip is not supported */
@supports not (-webkit-background-clip: text) {
    .logo-text,
    .logo-text .logo-text-content {
        background: none;
        color: #0066cc;
        text-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
    }
}









/* Logo hover effect removed as requested */











.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    font-size: 1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rainbow-gradient);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 102, 204, 0.7)), url('images/villa-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.95;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.rainbow-text {
    background: var(--rainbow-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: grayscaleShift 4s ease infinite;
    background-size: 300% auto;
}

@keyframes rainbowShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes grayscaleShift {
    0% { background-position: 0% center; }
    50% { background-position: 50% center; }
    100% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Container */
.search-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1s ease 0.4s backwards;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.search-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.search-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    background: #f1f5f9;
    color: var(--dark);
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary-gradient);
    color: white;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-input {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input i {
    position: absolute;
    left: 1rem;
    color: #64748b;
}

.search-input input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
}

.search-input input:focus {
    outline: none;
    border-color: var(--accent);
}

.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.search-filters select,
.search-filters input {
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
}

.search-filters select:focus,
.search-filters input:focus {
    outline: none;
    border-color: var(--accent);
}

.search-btn {
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: white;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-item i {
    font-size: 3rem;
    background: linear-gradient(135deg, #0066cc, #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0.5rem 0;
}

.stat-item p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Properties Section */
.properties {
    padding: 5rem 0;
    background: #f0f8ff;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
}

/* 360° Rotation Animation for Virtual Tour */
.virtual-tour .section-title {
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out;
}

.virtual-tour .section-title:hover {
    animation: flip360 0.8s ease-in-out;
}

@keyframes flip360 {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.sahibinden-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    transition: all 0.3s;
    padding-bottom: 2px;
}

.sahibinden-link:hover {
    color: #003d80;
    border-bottom-color: #003d80;
    transform: translateY(-1px);
}

.sahibinden-embed {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.4);
    background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
}

.view-all-btn i {
    font-size: 1.1rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--dark);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    min-height: 200px;
    visibility: visible;
}

/* Properties Grid */

.property-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    visibility: visible;
    opacity: 1;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Property Badge */
.property-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    width: fit-content;
}

.property-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.property-location {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.property-features {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
}

.feature i {
    font-size: 0.9rem;
}

.feature span {
    font-size: 0.9rem;
}

.view-property-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
    align-self: flex-start;
}

.view-property-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 102, 0, 0.3);
}

/* Virtual Tour */
.virtual-tour {
    padding: 5rem 0;
    background: white;
}

.tour-container {
    margin-top: 3rem;
}

.tour-viewer {
    background: #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tour-placeholder {
    text-align: center;
    color: #64748b;
}

.tour-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.tour-btn {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tour-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.tour-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.tour-3d-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    overflow: hidden;
}

.tour-3d-model {
    width: 80%;
    height: 80%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
    cursor: grab;
    transform: rotateX(0deg) rotateY(0deg);
}

.tour-3d-model:active {
    cursor: grabbing;
}

.tour-3d-model img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.tour-navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary-gradient);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-btn:hover {
    transform: scale(1.1);
}

.room-indicator {
    font-weight: 600;
    color: var(--dark);
}

.tour-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.tour-control-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tour-control-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Services */
.services {
    padding: 5rem 0;
    background: #e6f3ff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.service-card:hover .service-icon::before {
    transform: rotate(60deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Special styling for Drone Shooting */
.service-card:nth-child(1) {
    animation: float 3s ease-in-out infinite;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    animation: pulse 2s infinite;
    position: relative;
}

.service-card:nth-child(1) .service-icon i {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Special styling for Market Analysis */
.service-card:nth-child(2) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #0066cc 0%, #00a8ff 100%);
    animation: pulse 2s infinite;
}

.service-card:nth-child(2) .service-icon i {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Special styling for Secure Transaction */
.service-card:nth-child(3) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1s;
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #0066cc 0%, #00a8ff 100%);
    animation: pulse 2s infinite;
}

.service-card:nth-child(3) .service-icon i {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background: white;
    visibility: visible;
    display: block;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    visibility: visible;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: visible;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
    border: 2px solid transparent;
    visibility: visible;
    display: block;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.1);
}

.team-image {
    position: relative;
    height: 280px;
    overflow: visible;
    visibility: visible;
    display: block;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

/* team-placeholder style removed as we're using ui-avatars.com for all team members without photos */

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s;
    z-index: 15;
    background-color: rgba(0,0,0,0.7);
    visibility: visible;
    align-items: center;
    height: 70px;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(-30px);
}

.team-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    position: relative;
    z-index: 20;
    margin: 0 0.2rem;
    flex-shrink: 0;
}

.team-social a:hover {
    background: #25D366;
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.team-info {
    padding: 1.5rem 1.5rem 2.5rem;
    background: linear-gradient(to bottom, white, #f8fbff);
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-weight: 800;
}

.team-position {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.expertise-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 168, 255, 0.15));
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1.5px solid rgba(0, 102, 204, 0.2);
    transition: all 0.3s;
    white-space: nowrap;
}

.expertise-tag:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    border-color: transparent;
}

.team-phone {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: #f1f5f9;
    border-radius: 10px;
    margin: 0 auto 1.2rem;
    max-width: fit-content;
}

.team-phone i {
    color: var(--accent);
    font-size: 1.1rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #25D366 0%, #1da851 50%, #128C7E 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 0.8rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3),
                0 2px 6px rgba(37, 211, 102, 0.15);
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
    min-width: 45px;
    min-height: 45px;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.whatsapp-btn:hover::before {
    width: 300px;
    height: 300px;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4),
                0 4px 10px rgba(37, 211, 102, 0.25),
                0 0 0 3px rgba(37, 211, 102, 0.1);
    background: linear-gradient(135deg, #1da851 0%, #25D366 50%, #20BA5A 100%);
}

.whatsapp-btn:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn i {
    font-size: 1.1rem;
    animation: bounce-rotate 2.5s infinite;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
    position: relative;
    z-index: 1;
}

@keyframes bounce-rotate {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    10% {
        transform: scale(1.2) rotate(-10deg);
    }
    20% {
        transform: scale(1.1) rotate(10deg);
    }
    30% {
        transform: scale(1.15) rotate(-5deg);
    }
    40%, 60% {
        transform: scale(1) rotate(0deg);
    }
}

.whatsapp-btn span {
    position: relative;
    z-index: 1;
    letter-spacing: 0.2px;
}

.team-description {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.team-stat {
    text-align: center;
}

.team-stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.team-stat span {
    color: #64748b;
    font-size: 0.85rem;
}

/* AI Assistant */
.ai-assistant {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.ai-assistant-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
}

.ai-assistant-toggle:hover {
    transform: scale(1.1);
}

.ai-assistant-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    max-height: 500px;
}

.ai-assistant-panel.active {
    display: flex;
}

.ai-header {
    padding: 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.ai-chat {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.ai-message {
    padding: 1rem;
    border-radius: 18px;
    max-width: 85%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
}

.ai-message.bot {
    background: #ffffff;
    align-self: flex-start;
    border: 1px solid #e2e8f0;
}

.ai-message.user {
    background: var(--primary-gradient);
    color: white;
    align-self: flex-end;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* Typing Indicator */
.typing-indicator {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    border-radius: 18px;
    align-self: flex-start;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    display: inline-block;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-5px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-input-container {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.ai-input-container input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    margin-right: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.ai-input-container input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.ai-input-container button {
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-input-container button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Legal Pages */
.legal-page {
    padding: 5rem 0;
    background: var(--light-bg);
    animation: fadeIn 0.8s ease-out;
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--dark);
    animation: slideInDown 0.6s ease-out;
}

.legal-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.legal-tab {
    padding: 1rem 2rem;
    background: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    color: var(--dark);
}

.legal-tab:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.legal-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: var(--shadow-md);
}

.legal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.legal-content:hover::before {
    left: 100%;
}

.legal-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.legal-section.active {
    display: block;
}

.legal-content h2 {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.legal-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--rainbow-gradient);
    border-radius: 3px;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 1.3rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #333;
    animation: slideInLeft 0.4s ease-out;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
    position: relative;
    padding-left: 1.5rem;
}

.legal-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
    top: 2px;
}

.last-updated {
    margin-top: 2rem;
    font-style: italic;
    color: #666;
    text-align: right;
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out;
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-links a:hover {
    transform: translateY(-5px);
}

/* Social Media Colors */
.social-links a:nth-child(1) { /* Instagram */
    background: linear-gradient(45deg, #833ab4, #c13584, #e1306c);
}

.social-links a:nth-child(2) { /* WhatsApp */
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.social-links a:nth-child(3) { /* YouTube */
    background: linear-gradient(45deg, #ff0000, #cc0000);
}

.social-links a:nth-child(4) { /* Facebook */
    background: linear-gradient(45deg, #1877f2, #0d5cb6);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Quick Replies */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-reply-btn {
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 204, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-reply-btn:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes logoGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        font-size: 1.2rem;
        padding: 0.5rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        display: none;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .navbar .container {
        padding: 0.8rem 15px;
    }

    .logo-text {
        padding: 2px 6px;
        border-radius: 6px;
        transform: scale(1);
        font-size: 0.9rem;
        background: linear-gradient(45deg, #FFD700, #0066cc, #228B22, #0066cc, #FFD700);
        background-size: 300% 300%;
        animation: logoGlow 3s ease infinite;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        /* Fallback for browsers that don't support background-clip: text */
        color: #0066cc;
    }
    
    .logo-text .logo-text-content {
        background: linear-gradient(45deg, #FFD700, #0066cc, #228B22, #0066cc, #FFD700);
        background-size: 300% 300%;
        animation: logoGlow 3s ease infinite;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        /* Fallback for browsers that don't support background-clip: text */
        color: #0066cc;
        font-size: 0.9rem;
    }
    
    /* Ensure text is visible even if background-clip is not supported */
    @supports not (-webkit-background-clip: text) {
        .logo-text,
        .logo-text .logo-text-content {
            background: none;
            color: #0066cc;
            text-shadow: 0 0 8px rgba(0, 102, 204, 0.5);
        }
    }

    .logo-image {
        height: 25px;
    }





    .hero-title {
        font-size: 2.5rem;
    }

    .search-container {
        padding: 1.5rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .property-image {
        cursor: grab;
        user-select: none;
    }

    .property-image:active {
        cursor: grabbing;
    }

    .property-slider-nav {
        opacity: 0.7;
        visibility: visible;
    }

    .property-slider-nav.prev {
        left: 5px;
    }

    .property-slider-nav.next {
        right: 5px;
    }

    .property-slider-nav {
        width: 30px;
        height: 30px;
    }

    .property-slider-nav i {
        font-size: 0.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .ai-assistant-panel {
        width: 90vw;
        right: 50%;
        transform: translateX(50%);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Virtual Tour Mobile Styles */
    .tour-viewer {
        height: 400px;
    }

    .tour-navigation {
        padding: 0.3rem 1rem;
        gap: 0.5rem;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
    }

    .room-indicator {
        font-size: 0.9rem;
    }

    .tour-controls {
        flex-wrap: wrap;
    }

    .tour-control-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .tour-3d-model {
        width: 90%;
        height: 90%;
    }
}