/* ====================================
   Anuda Realty - Advanced AI Website
   Theme: Red, White, Black
   ==================================== */

/* CSS Variables */
:root {
    --primary-color: #DC143C;
    --primary-dark: #B00020;
    --primary-light: #FF4458;
    --secondary-color: #000000;
    --accent-color: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0a0a0a;
    --gradient-primary: linear-gradient(135deg, #DC143C 0%, #FF4458 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--accent-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: var(--text-white);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0;
}

.logo img {
    height: 48px;
    transition: var(--transition);
}

.logo-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    box-shadow: none;
    transition: var(--transition);
    margin-right: 45px;
}

.logo-container:hover {
    transform: none;
    box-shadow: none;
}

.logo img:hover {
    transform: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    line-height: 1.4;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-chat-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.cta-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 12px 28px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(220, 20, 60, 0.35);
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(220, 20, 60, 0.5);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(220, 20, 60, 0.1), transparent 70%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(2) {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(220, 20, 60, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-white);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--text-white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 20% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

.scroll-indicator p {
    font-size: 12px;
    color: var(--text-white);
    opacity: 0.7;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--accent-color);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(220, 20, 60, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.03), transparent);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.15);
    border-color: rgba(220, 20, 60, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card.featured {
    background: var(--gradient-dark);
    color: var(--text-white);
    transform: scale(1.05);
}

.service-card.featured .service-icon {
    background: var(--gradient-primary);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: var(--text-white);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 36px;
    color: var(--text-white);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--primary-color);
    font-size: 14px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.why-choose {
    margin: 40px 0;
}

.why-choose h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: var(--text-white);
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-light);
    font-size: 14px;
}

.about-cta {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.about-media {
    position: relative;
}

.media-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge h3 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
}

.experience-badge p {
    font-size: 14px;
    font-weight: 600;
}

.brands-trust {
    margin-top: 30px;
    text-align: center;
}

.brands-trust h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.brands-slider {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.brands-slider img {
    height: 40px;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
}

.brands-slider img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Projects Section */
.projects {
    background: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--accent-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(220, 20, 60, 0.05);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
    border-color: rgba(220, 20, 60, 0.2);
}

.project-images {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-img.after {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.project-card:hover .project-img.after {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.img-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.project-img.after .img-label {
    left: auto;
    right: 15px;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.project-info p {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-info i {
    color: var(--primary-color);
}

/* Properties Section */
.property-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    background: var(--accent-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(220, 20, 60, 0.05);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
    border-color: rgba(220, 20, 60, 0.2);
}

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: var(--transition);
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: scale(1.1);
}

.property-content {
    padding: 25px;
}

.property-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.property-location {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-location i {
    color: var(--primary-color);
}

.property-details {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.property-details span {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-details i {
    color: var(--primary-color);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-light);
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--accent-color);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(220, 20, 60, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(220, 20, 60, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.15);
    border-color: rgba(220, 20, 60, 0.2);
}

.rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.rating i {
    color: #FFD700;
    font-size: 18px;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    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;
    border: 3px solid var(--primary-color);
}

.testimonial-author h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--text-dark);
}

.testimonial-author p {
    font-size: 13px;
    color: var(--text-light);
}

.google-reviews {
    margin-top: 60px;
    padding: 40px;
    background: var(--accent-color);
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.google-reviews h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.google-reviews i {
    color: #4285F4;
    margin-right: 10px;
}

.review-stats {
    display: flex;
    justify-content: center;
}

.rating-display {
    text-align: center;
}

.rating-number {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.rating-display .stars {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 10px;
}

.rating-display .stars i {
    color: #FFD700;
    font-size: 24px;
}

.rating-display p {
    color: var(--text-light);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 22px;
    color: var(--text-white);
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition);
    background: var(--accent-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-container {
    background: var(--accent-color);
    padding: 15px 25px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.2);
}

.footer-logo {
    height: 50px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a i {
    color: var(--primary-color);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
    transform: translateX(3px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.contact-list i {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* AI Chatbot */
.ai-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    height: 550px;
    background: var(--accent-color);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: none;
    flex-direction: column;
    animation: slideInUp 0.3s ease-out;
}

.ai-chatbot.active {
    display: flex;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chatbot-header {
    background: var(--gradient-primary);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-logo {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.chatbot-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-white);
}

.chatbot-title i {
    font-size: 24px;
}

.chatbot-title h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 3px;
}

.chatbot-title .status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.chat-message {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-avatar img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.message-avatar i {
    color: var(--primary-color);
    font-size: 18px;
}

.message-content {
    flex: 1;
}

.message-content p {
    background: var(--bg-light);
    padding: 12px 18px;
    border-radius: 18px;
    line-height: 1.6;
    color: var(--text-dark);
}

.bot-message .message-content p {
    background: var(--bg-light);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content p {
    background: var(--gradient-primary);
    color: var(--text-white);
    text-align: right;
}

.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.quick-replies button {
    padding: 10px 15px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    text-align: left;
}

.quick-replies button:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.chatbot-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

#chatInput {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: 14px;
}

#chatInput:focus {
    outline: none;
    border-color: var(--primary-color);
}

.send-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
}

.send-btn:hover {
    transform: scale(1.1);
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.fab-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.fab-btn.whatsapp {
    background: #25D366;
}

.fab-btn.phone {
    background: var(--gradient-primary);
}

.fab-btn.scroll-top {
    background: var(--gradient-dark);
    opacity: 0;
    visibility: hidden;
}

.fab-btn.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--accent-color);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-modal {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 30px;
}

.cost-result {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
}

.cost-result h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.cost-breakdown {
    margin-bottom: 15px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.cost-item.total {
    border-bottom: none;
    border-top: 2px solid var(--primary-color);
    font-size: 18px;
    padding-top: 15px;
}

.cost-item strong {
    color: var(--primary-color);
}

.disclaimer {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid,
    .projects-grid,
    .properties-grid,
    .testimonials-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .hero-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 999;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        left: 0;
    }

    /* Override link colors on dark mobile menu */
    .nav-links .nav-link {
        color: var(--text-white);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .mobile-menu-toggle.active span {
        background: var(--text-white);
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .projects-grid,
    .properties-grid,
    .testimonials-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ai-chatbot {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        height: 500px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 30px 25px;
    }
    
    .nav-actions {
        gap: 10px;
    }
    
    .ai-chat-btn,
    .cta-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .logo-container {
        padding: 6px 12px;
    }
    
    .logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .service-card,
    .project-card,
    .property-card,
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .about-cta {
        flex-direction: column;
    }
    
    .property-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .nav-actions .cta-btn {
        display: none;
    }
    
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .fab-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
