/* ====== HERO SECTION STYLES ====== */
.hero-section {
    position: relative;
    height: 100vh;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #F8EEEF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #F8EEEF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    display: inline-block;
    background-color: #D7B263;
    color: #862220;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn:hover {
    background-color: #862220;
    color: #F8EEEF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slider-prev, .slider-next {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: rgba(255, 255, 255, 0.7);
    color: #862220;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #D7B263;
}

/* ====== SERVICES SECTION STYLES ====== */
.services-section {
    padding: 80px 50px;
    background-color: #F8EEEF;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(215, 178, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 30px;
    color: #D7B263;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: 555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: #D7B263;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.service-link:hover {
    color: #862220;
}

.service-link:hover i {
    transform: translateX(5px);
}

.services-cta {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.services-cta p {
    font-size: 1.2rem;
    color: #862220;
    margin-bottom: 25px;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


/* WhatsApp Button Styles */
.whatsapp-cta {
    background-color: #25D366 !important;
    color: white !important;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.whatsapp-cta:hover {
    background-color: #128C7E !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
}

/* Optional: Add WhatsApp icon */
.whatsapp-cta::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.465 3.488'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.whatsapp-cta:hover::before {
    transform: scale(1.1);
}

/* Pulse animation (optional) */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-cta.pulse {
    animation: pulse 2s infinite;
}

/* For the phone button (optional styling) */
.phone-cta {
    background-color: #862220;
    color: white;
    transition: all 0.3s ease;
}

.phone-cta:hover {
    background-color: #6a1b1a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(134, 34, 32, 0.4);
}



/* ====== FEATURED PROPERTIES STYLES ====== */
.featured-properties {
    padding: 80px 0;
    background-color: white;
}

.properties-container {
    margin-bottom: 40px;
    margin: 50px;
}

.properties-fallback {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.property-image {
    position: relative;
    height: 280px;
    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-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #D7B263;
    color: #862220;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-details {
    padding: 20px;
}

.property-details h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.property-location {
    display: flex;
    align-items: center;
    color: #555;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.property-location i {
    margin-right: 5px;
    color: #D7B263;
}

.property-features {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.property-features span {
    background-color: #F8EEEF;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #862220;
}

.property-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: bold;
    color: #862220;
    font-size: 1.2rem;
}

.property-btn {
    background-color: #D7B263;
    color: #862220;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.property-btn:hover {
    background-color: #862220;
    color: #F8EEEF;
}

.properties-cta {
    text-align: center;
    padding: 30px;
    background-color: #F8EEEF;
    border-radius: 8px;
}

.properties-cta p {
    margin-bottom: 15px;
    color: #862220;
    font-size: 1.1rem;
}

.properties-cta .cta-btn {
    display: inline-block;
    background-color: #862220;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.properties-cta .cta-btn:hover {
    background-color: #6a1b1a;
}


/* ====== ABOUT SECTION STYLES ====== */
.about-section {
    padding: 10px 0;
    background-color: #F8EEEF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 10px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #862220;
}

.about-text p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.about-features {
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    background-color: rgba(215, 178, 99, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: #D7B263;
}

.feature-content h4 {
    color: #862220;
    margin-bottom: 5px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.feature-content p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-cta-btn {
    display: inline-block;
    background-color: #862220;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-cta-btn:hover {
    background-color: #6a1b1a;
    transform: translateY(-3px);
}

.image-gallery-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-controls {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.gallery-prev, .gallery-next {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    color: #862220;
    font-size: 18px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.gallery-prev:hover, .gallery-next:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.gallery-dots {
    display: flex;
    gap: 8px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gallery-dot.active {
    background-color: #D7B263;
}

.experience-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #D7B263, #b89442);
    color: #862220;
    padding: 15px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 5px;
}

/* ====== MOBILE RESPONSIVE STYLES ====== */
@media (max-width: 992px) {
    .about-content {
        gap: 40px;
    }
    
    .image-gallery-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr !important; /* Force single column */
        gap: 40px;
        margin-bottom: 50px;
    }
    
    .about-image {
        order: -1; /* Move image above text on mobile */
    }
    
    .about-text h3 {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .about-text p {
        text-align: center;
    }
    
    .about-features {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
        width: 100%;
        max-width: 300px;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
        margin-top: 0;
    }
    
    .feature-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .feature-content h4 {
        text-align: center;
    }
    
    .feature-content p {
        text-align: center;
    }
    
    .about-cta-btn {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    
    .image-gallery-container {
        height: 300px;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        top: 15px;
        right: 15px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .experience-badge .text {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 50px 0;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
    }
    
    .feature {
        margin-bottom: 25px;
        max-width: 100%;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
    
    .image-gallery-container {
        height: 250px;
    }
    
    .experience-badge {
        width: 70px;
        height: 70px;
        padding: 10px;
    }
    
    .experience-badge .years {
        font-size: 1.3rem;
    }
    
    .experience-badge .text {
        font-size: 0.55rem;
    }
    
    .gallery-prev, .gallery-next {
        padding: 6px 10px;
        font-size: 16px;
    }
}

       /* ====== TEAM SECTION STYLES ====== */
        .team-section {
            padding: 80px 0;
            background-color: #F8EEEF;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 10px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .team-member {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .team-member:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .member-image {
            position: relative;
            aspect-ratio: 3/4;
            overflow: hidden;
            flex-grow: 1;
            cursor: pointer;
        }

        .member-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
        }

        /* Social Icons Container */
        .member-social {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(134, 34, 32, 0.9));
            padding: 15px 10px 10px;
            display: flex;
            justify-content: center;
            gap: 12px;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 2;
        }

        /* Show on hover for desktop */
        .team-member:hover .member-social {
            opacity: 1;
        }

        /* Show when active (mobile) */
        .member-social.active {
            opacity: 1 !important;
        }

        /* Social icon styles */
        .member-social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .social-linkedin {
            background-color: #0077B5;
            color: white;
        }

        .social-whatsapp {
            background-color: #25D366;
            color: white;
        }

        .social-phone {
            background-color: #862220;
            color: white;
        }

        .member-social a:hover {
            transform: scale(1.1);
        }

        .member-social i {
            font-size: 16px;
        }

        .member-info {
            padding: 20px;
            text-align: center;
            flex-grow: 0;
        }

        .member-info h3 {
            margin-bottom: 5px;
            font-size: 1.2rem;
            color: #862220;
        }

        .position {
            color: #D7B263;
            font-weight: 600;
            margin-bottom: 12px;
            font-size: 0.85rem;
        }

        .bio {
            color: #555;
            line-height: 1.5;
            font-size: 0.9rem;
        }

        .team-cta {
            text-align: center;
            margin-top: 50px;
            padding: 20px;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 10px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-btn {
            display: inline-block;
            background-color: #862220;
            color: white;
            padding: 12px 25px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .cta-btn:hover {
            background-color: #6a1b1a;
            transform: translateY(-3px);
        }

        /* ====== MOBILE STYLES ====== */
        @media (max-width: 768px) {
            .team-grid {
                grid-template-columns: 1fr;
                max-width: 400px;
            }
            
            .member-image {
                aspect-ratio: 4/5;
            }
            
            /* Social icons visible by default on mobile */
            .member-social {
                opacity: 0;
                background: rgba(134, 34, 32, 0.85);
                padding: 12px 10px 8px;
            }
            
            /* Show social icons when active */
            .member-social.active {
                opacity: 1 !important;
            }
            
            /* Hide social icons on hover for mobile */
            .team-member:hover .member-social:not(.active) {
                opacity: 0;
            }
            
            .member-info {
                padding: 15px;
            }
            
            .team-cta {
                max-width: 90%;
            }
        }

        @media (max-width: 480px) {
            .team-grid {
                max-width: 300px;
            }
            
            .member-info {
                padding: 12px;
            }
            
            .member-social a {
                width: 32px;
                height: 32px;
            }
            
            .member-social i {
                font-size: 14px;
            }
            
            .team-cta {
                padding: 15px;
            }
        }


.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background-color: #F8EEEF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: -15px;
    width: 50px;
    height: 50px;
    background-color: #862220;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.quote-icon i {
    color: #D7B263;
    font-size: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
    margin-left: 30px;
    padding-top: 5px;
    flex-grow: 1;
}

.testimonial-author {
    border-top: 1px solid rgba(134, 34, 32, 0.2);
    padding-top: 20px;
    margin-top: auto;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: #D7B263;
    font-weight: 500;
    margin: 0;
    font-size: 0.9rem;
}

.testimonials-cta {
    text-align: center;
    padding: 30px;
    background-color: #F8EEEF;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-cta p {
    margin-bottom: 15px;
    color: #862220;
    font-size: 1.2rem;
    font-weight: 500;
}

.testimonials-cta .cta-btn {
    display: inline-block;
    background-color: #862220;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.testimonials-cta .cta-btn:hover {
    background-color: #6a1b1a;
}

/* ====== ICON STYLES ====== */
/* Base icon styling */
i {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    visibility: visible !important;
}

/* Service icons */
.service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* Feature icons */
.feature-icon i {
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon i {
    transform: scale(1.1);
}

/* Quote icons */
.quote-icon i {
    transition: transform 0.3s ease;
}

.testimonial-card:hover .quote-icon i {
    transform: scale(1.1);
}

/* ====== RESPONSIVE STYLES ====== */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .slide-content h2 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .services-cta {
        padding: 30px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .properties-fallback {
        grid-template-columns: 1fr;
    }
    
    .property-image {
        height: 240px;
    }
    
    .property-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .property-btn {
        width: 100%;
        text-align: center;
    }
    
    .image-gallery-container {
        height: 350px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .member-image {
        aspect-ratio: 4/5;
    }
    
    /* Mobile-specific social icon styles */
    .member-social {
        opacity: 0;
        background: rgba(134, 34, 32, 0.85);
        padding: 12px 10px 8px;
    }
    
    /* Show social icons when active on mobile */
    .member-social.active {
        opacity: 1 !important;
    }
    
    /* Hide social icons on hover for mobile */
    .team-member:hover .member-social:not(.active) {
        opacity: 0;
    }
    
    .member-info {
        padding: 15px;
    }
    
    .team-cta {
        max-width: 90%;
    }
    
    .team-cta .cta-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .quote-icon {
        top: -18px;
        left: -12px;
        width: 45px;
        height: 45px;
    }
    
    .quote-icon i {
        font-size: 18px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        margin-left: 25px;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .hero-section {
        height: 80vh;
    }
    
    .property-image {
        height: 220px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
    
    .quote-icon {
        width: 40px;
        height: 40px;
    }
    
    .quote-icon i {
        font-size: 16px;
    }
    
    .team-grid {
        max-width: 300px;
    }
    
    .member-info {
        padding: 12px;
    }
    
    .member-social a {
        width: 32px;
        height: 32px;
    }
    
    .member-social i {
        font-size: 14px;
    }
    
    .team-cta {
        padding: 15px;
    }
    
    .team-cta .cta-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        margin-left: 20px;
    }
    
    .testimonials-cta {
        padding: 20px 15px;
    }
    
    .testimonials-cta p {
        font-size: 1.1rem;
    }
}