/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #f4fcff;
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Color Variables */
:root {
    --coral-50: #97deff;
    --coral-100: #fee9e2;
    --coral-500: #43b8f3;
    --coral-600: #97deff;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

/* Utility Classes */
.text-coral {
    color: var(--coral-500);
}

.icon {
    width: 16px;
    height: 16px;
}

/* Buttons */
.btn-primary {
    background-color: var(--coral-500);
    color: white;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 30px;
}
.btn-primary i {
    font-size: 10px;
}

.btn-primary:hover {
    background-color: var(--coral-600);
}

.btn-outline {
    background-color: transparent;
    color: var(--coral-500);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: var(--coral-50);
    color: #ffffff;
}

/* Header */
.header {
    padding: 16px 0;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 50;
    animation: slideDown 0.5s ease-out;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 15vh;
}

.nav {
    display: none;
    align-items: center;
    gap: 32px;
}


.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--coral-500);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--coral-500);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hero Section */
.hero {
    padding: 48px 0 80px;
    margin-left: 50px;
}

.hero-content {
    display: grid;
    gap: 48px;
    align-items: center;
}



.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-top: -30vh;
    animation: fadeIn 1s ease-out;
}


.hero-description {
    color: var(--gray-600);
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.7;
    animation: fadeIn 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    margin-bottom: 32px;
    animation: fadeIn 1s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-image {
    position: relative;
    animation: fadeIn 1s ease-out 0.4s forwards, float 6s ease-in-out infinite;
    opacity: 0;
}

.placeholder-image {
    background: transparent;
    border-radius: 16px;
    height: 564px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    margin-top: -5vh;
}

.placeholder-image:hover {
    transform: scale(1.02);
}

.placeholder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
    transition: transform 0.5s ease;
}

.placeholder-image:hover img {
    transform: scale(1.1);
}

.floating-card {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 240px;
    animation: pulse 2s infinite;
}

.card-icon {
    width: 40px;
    height: 40px;
    background-color: var(--coral-100);
    border-radius: 8px;
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--coral-500);
    border-radius: 4px;
}

.card-title {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 14px;
}

.card-price {
    color: var(--gray-600);
    font-size: 12px;
}
.tab-toggle {
    display: flex;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 4px;
    gap: 0;
    width: fit-content;
    border: 1px solid #dce4e7;
    margin-top: -25vh;
}

.tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.tab:hover {
    background-color: var(--coral-500);
    color: #fff;
}

.tab.active {
    background-color: #43b8f3;
    color: #fff;
}

/* Add this new rule */
.tab-toggle:hover .tab.active:not(:hover) {
    background-color: transparent;
    color: #374151;
}
.search-bar {
    display: flex;
    margin-top: 44px;
    max-width: 400px;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-left: 40px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    outline: none;
    color: #374151;
    
}

.search-bar input::placeholder {
    color: #9ca3af;
}

.search-btn {
    background-color: #43b8f3;
    color: white;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 0 8px 8px 0;
}

.search-btn:hover {
    background-color: #36a8e2;
}
.wholeSearchBar {
    height: 20vh;
    margin-top: 10vh;
    border: 1px solid #dce4e7;
    background-color: #ffffff;
}
/* Circular Icon Buttons */
.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Makes it perfectly circular */
    background-color: var(--coral-500);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background-color: var(--coral-600);
    transform: scale(1.1);
}

.btn-icon i {
    font-size: 16px;
}
/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: #f4fcff;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    padding: 20px;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.category-count {
    color: var(--coral-500);
    font-weight: 500;
}

/* Featured Properties Section */
.featured {
    padding: 80px 0;
    background-color: #ffffff;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.featured-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
}

.view-all {
    color: var(--coral-500);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--coral-600);
    transform: translateX(5px);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.property-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--coral-500);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.property-content {
    padding: 20px;
}

.property-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.property-address {
    color: var(--gray-600);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-address i {
    color: var(--coral-500);
}

.property-details {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.property-detail {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gray-600);
    font-size: 14px;
}

.property-detail i {
    color: var(--coral-500);
}

.property-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-actions .btn-primary {
    padding: 8px 16px;
    font-size: 14px;
}

.property-favorite {
    background: none;
    border: none;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.property-favorite:hover {
    color: #ff4757;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 16px;
}

.testimonial-text {
    color: #4b5563;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--coral-500);
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta .btn-primary {
    background-color: white;
    color: var(--coral-500);
    padding: 16px 32px;
    font-size: 18px;
    border-radius: 8px;
}

/* Blog/News Section */
.blog {
    padding: 80px 0;
    background-color: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    color: var(--coral-500);
    font-size: 14px;
    font-weight: 500;
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.read-more {
    color: var(--coral-500);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.view-all-container {
    text-align: center;
    margin-top: 48px;
}

/* Footer Section */
footer {
    background-color: #111827;
    color: white;
    padding: 64px 0 0;
    height: 90vh;
}

footer .container > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

footer .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

footer .logo img {
    height: 40px;
}

footer .logo span {
    font-weight: 700;
    font-size: 20px;
}

footer p {
    color: #9ca3af;
    margin-bottom: 24px;
    line-height: 1.7;
}

footer .social-links {
    display: flex;
    gap: 16px;
}

footer .social-links a {
    color: white;
    background-color: #374151;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

footer h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 12px;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

footer .contact-info i {
    color: var(--coral-500);
    margin-top: 4px;
}

footer .contact-info span {
    color: #9ca3af;
}

footer form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

footer input {
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    background-color: #1f2937;
    color: white;
    outline: none;
}

footer button[type="submit"] {
    background-color: var(--coral-500);
    color: white;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

footer .copyright {
    border-top: 1px solid #374151;
    padding-top: 32px;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

footer .copyright p {
    color: #9ca3af;
    margin-bottom: 0;
}

footer .copyright-links {
    display: flex;
    gap: 24px;
}




/* General hover effect for cards and interactive elements */
.category-card:hover,
.property-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.nav-link:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-icon:hover,
.social-links a:hover,
.read-more:hover,
.view-all:hover,
.property-favorite:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Specifically for the property cards to enhance the effect */
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* For the category cards */
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* For buttons to make them pop more */
.btn-primary:hover,
.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* For social links in footer */
.social-links a:hover {
    transform: translateY(-3px);
    background-color: var(--coral-500);
}

/* For navigation links */
.nav-link:hover {
    transform: translateY(-2px);
}

/* For the search button */
.search-btn:hover {
    transform: translateY(-2px);
}

/* For the tabs in hero section */
.tab:hover {
    transform: translateY(-3px);
}

/* For the view all links */
.view-all:hover,
.read-more:hover {
    transform: translateY(-2px);
}

/* For the favorite heart icon */
.property-favorite:hover {
    transform: translateY(-2px) scale(1.1);
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
}