/* Estilos específicos para bienesraices.html */

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 80px;
}

html {
    scroll-behavior: smooth;
}

main {
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.nav {
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav__container {
    width: min(90%, 1200px);
    margin: 0 auto;
    align-items: center;
    display: flex;
    align-content: center;
    justify-content: space-between;
    height: 80px;
    --icon-toggle-menu: url("./assets/menu.svg");
    --transform-menu-show: translate(-100%);
}

.nav__container:has(.nav__input:checked) {
    --icon-toggle-menu: url("./assets/close.svg");
    --transform-menu-show: translate(0);
}

.nav__figure {
    z-index: 10;
}

.nav__figure img {
    height: 50px;
}

.nav__toggle {
    width: 40px;
    height: 40px;
    background-image: var(--icon-toggle-menu);
    filter: invert(1); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: background-image .5s;
    cursor: pointer;
    z-index: 10;
    border: none;
    background-color: transparent;
}

.nav__list {
    transform: var(--transform-menu-show);
    list-style: none;
    background-color: black;
    position: fixed;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 2.5rem;
    text-align: center;
    transition: .5s transform;
    margin: 0;
    padding: 0;
    z-index: 9;
}

.nav__input {
    height: 40px;
    width: 40px;
    display: none;
}

.nav__link {
    color: aliceblue;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav__link:hover {
    color: #1a4d7a;
}

/* Desktop Navigation */
@media (width > 756px) {
    .nav__toggle {
        display: none;
    }
    
    .nav__list {
        position: static;
        transform: translate(0);
        background-color: transparent;
        display: flex;
        gap: 2rem;
        align-items: center;
        justify-content: flex-end;
    }
    
    .nav__link {
        color: #4A90E2;
        font-size: 1rem;
        transition: color 0.3s;
    }
    
    .nav__link:hover {
        color: #357ABD;
    }
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 3rem 20px 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: #4A90E2;
    font-weight: 700;
}

/* Responsive Typography for Listings */
.property-listings .property-info h3 {
    font-size: clamp(1rem, 3.8vw, 1.15rem);
}
.property-listings .property-location {
    font-size: clamp(0.9rem, 3.2vw, 1rem);
}
.property-listings .property-features span {
    font-size: clamp(0.85rem, 2.8vw, 0.95rem);
}
.property-listings .property-price {
    font-size: clamp(1rem, 4vw, 1.2rem);
}
.property-listings .property-btn {
    font-size: clamp(0.85rem, 2.6vw, 0.95rem);
}

@media (max-width: 768px) {
    .search-filter-container { gap: 0.75rem; }
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #4A90E2;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    background-color: #357ABD;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* Real Estate Hero Section */
.real-estate-hero {
    position: relative;
    background-image: url('assets/FondoBN.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.7), rgba(74, 144, 226, 0.3));
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
}

.hero-content-wrapper h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content-wrapper p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-primary {
    background-color: #4A90E2;
    color: #fff;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
}

.btn-hero-primary:hover {
    background-color: #357ABD;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.6);
}

.btn-hero-secondary {
    background-color: transparent;
    color: #fff;
    border: 3px solid #fff;
}

.btn-hero-secondary:hover {
    background-color: #fff;
    color: #4A90E2;
    transform: translateY(-3px);
}

/* About Agent Section */
.about-agent {
    background-color: #fff;
    padding: 100px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: relative;
}

.agent-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 5px solid #4A90E2;
}

.about-text h2 {
    font-size: 2.8rem;
    color: #4A90E2;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.about-text h3 {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Canoa Description Section */
.canoa-description {
    background-color: #fff;
    padding: 100px 20px;
}

.canoa-description .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #4A90E2;
    margin-bottom: 4rem;
    font-weight: 800;
}

.description-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    align-items: start;
}

.description-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.description-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.desc-image-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #4A90E2;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.desc-image-placeholder:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #357ABD;
}

.desc-image-placeholder.main-image {
    height: 400px;
}

.desc-image-placeholder p {
    margin: 10px 0 0 0;
    color: #4A90E2;
    font-weight: 600;
    font-size: 1rem;
}

.desc-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.desc-image-grid .desc-image-placeholder {
    height: 195px;
    padding: 20px;
}

.desc-image-grid .desc-image-placeholder p {
    font-size: 0.9rem;
}

.description-text-full {
    max-width: 1200px;
    margin: 0 auto;
}

.description-text-full p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Property Services Section */
.property-services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 20px;
}

.services-grid-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    background-color: #fff;
    padding: 3rem 2.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 5px solid #4A90E2;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.25);
}

.service-box h3 {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.checklist li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.05rem;
    color: #555;
    display: flex;
    align-items: center;
}

.checklist li:last-child {
    border-bottom: none;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #4A90E2;
    color: #fff;
    border-radius: 50%;
    margin-right: 12px;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.btn-service {
    display: inline-block;
    background-color: #4A90E2;
    color: #fff;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-service:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Property Listings Section */
.property-listings {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 20px;
}

/* Search and Filter Container */
.search-filter-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 1.05rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Times New Roman', Times, serif;
}

.search-input:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-btn i {
    color: #fff;
    font-size: 1.2rem;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Times New Roman', Times, serif;
    color: #555;
}

.filter-btn:hover {
    background: #e9ecef;
    border-color: #4A90E2;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    border-color: #4A90E2;
}

.location-filter {
    margin-bottom: 1.5rem;
}

.location-select {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.05rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Times New Roman', Times, serif;
}

.location-select:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.results-count {
    text-align: center;
    font-size: 1.1rem;
    color: #4A90E2;
    font-weight: 700;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(53, 122, 189, 0.05) 100%);
    border-radius: 8px;
}

.results-count span {
    font-size: 1.5rem;
    font-weight: 800;
}

/* Property Grid */

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.property-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(74, 144, 226, 0.1);
    position: relative;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A90E2 0%, #357ABD 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.property-card:hover::before {
    transform: scaleX(1);
}

.property-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(74, 144, 226, 0.2);
    border-color: rgba(74, 144, 226, 0.3);
}

.property-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03) 0%, rgba(255, 255, 255, 0.8) 100%);
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
    border-radius: 50%;
    z-index: 0;
}

.image-placeholder svg {
    position: relative;
    z-index: 1;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.property-card:hover .image-placeholder svg {
    opacity: 0.7;
    transform: scale(1.1);
}

.image-placeholder p {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #4A90E2;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.property-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.property-status.sale {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

.property-status.sold {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #fff;
}

.property-status.rent {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
}

.property-info {
    padding: 2rem;
    background: #fff;
}

.property-info h3 {
    font-size: 1.35rem;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.5;
    min-height: 3.2rem;
    transition: color 0.3s ease;
}

.property-card:hover .property-info h3 {
    color: #4A90E2;
}

.property-location {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.property-location::before {
    content: "📍";
    margin-right: 8px;
    font-size: 1.1rem;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 2px solid #f8f9fa;
    border-bottom: 2px solid #f8f9fa;
    margin-bottom: 1.5rem;
}

.property-features span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.property-features span i {
    color: #4A90E2;
    font-size: 1.25rem;
}

.property-features span:hover {
    background-color: rgba(74, 144, 226, 0.05);
    color: #4A90E2;
}

.property-price-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-price {
    font-size: 2rem;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.price-period {
    font-size: 1.05rem;
    color: #666;
    font-weight: 600;
}

.property-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
    color: #4A90E2;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.property-btn:hover {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    border-color: #4A90E2;
}

/* Testimonials Real Estate Section */
.testimonials-real-estate {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    padding: 100px 20px;
    color: #fff;
}

.testimonials-real-estate .section-title {
    color: #fff;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-item h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

.testimonial-item p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #fff;
}

.testimonial-author span {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 100px 20px;
    text-align: center;
    color: #fff;
}

.contact-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 800;
}

.contact-cta p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #ddd;
    line-height: 1.8;
}

.btn-primary-large {
    display: inline-block;
    background-color: #4A90E2;
    color: #fff;
    padding: 20px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.btn-primary-large:hover {
    background-color: #357ABD;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.6);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content-wrapper h1 {
        font-size: 2.5rem;
    }

    .hero-content-wrapper p {
        font-size: 1.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text {
        text-align: center;
    }

    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .description-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .desc-image-placeholder.main-image {
        height: 300px;
    }
    
    .search-filter-container {
        padding: 2rem;
    }
    
    .filter-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .search-box {
        gap: 0.5rem;
    }

    .search-input {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .search-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-width: 40px;
        flex-shrink: 0;
    }

    .search-filter-container {
        padding: 1.5rem;
    }

    .filter-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .real-estate-hero {
        min-height: 70vh;
        background-attachment: scroll;
    }

    .hero-content-wrapper h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
    }

    .services-grid-checklist,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .contact-cta h2 {
        font-size: 2.2rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .description-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .real-estate-hero,
    .about-agent,
    .property-services,
    .canoa-description,
    .property-listings,
    .testimonials-real-estate,
    .contact-cta {
        padding: 60px 20px;
    }

    .hero-content-wrapper h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-box {
        padding: 2rem 1.5rem;
    }

    .testimonial-item {
        padding: 2rem;
    }

    .property-info h3 {
        font-size: 1.1rem;
    }

    .property-features {
        gap: 0.5rem;
    }
    
    .search-filter-container {
        padding: 1.5rem;
    }
    
    .filter-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}
