
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Header Styles */
header {
    width: 100%;
    height: 80px;
    background-color: #3b3b3b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: fixed;
    display: flex;
    padding: 0 5%;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    color: #f7c948;
    font-size: 1.8rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.logo span {
    color: white;
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    gap: 30px;
}

.navbar ul li {
    padding: 10px 0;
    position: relative;
}

.navbar ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f7c948;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.navbar ul li:hover::after {
    width: 100%;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #f7c948;
}

.navbar button {
    padding: 10px 25px;
    background-color: #f7c948;
    color: #1a1a1a;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.navbar button:hover {
    background-color: #e6b732;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 201, 72, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #f7c948;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
    animation: zoomIn 20s infinite alternate;
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
    -webkit-text-stroke: #3b3b3b 1px;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    to {
        text-shadow: 0 0 15px rgba(247, 201, 72, 0.8), 0 0 20px rgba(247, 201, 72, 0.6);
    }
}

.hero-content h1 span {
    color: #f7c948;
}

.hero-content p {
    color: #e0e0e0;
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-weight: 400;
    animation: fadeIn 2s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Search Badge */
.search-badge {
    position: relative;
    background: white;
    width: 90%;
    max-width: 900px;
    margin: -60px auto 0;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.search-badge h3 {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.search-form input,
.search-form select {
    border: 1px solid #e0e0e0;
    background-color: white;
    padding: 12px 15px;
    border-radius: 6px;
    flex: 1;
    min-width: 150px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.search-form input:focus,
.search-form select:focus {
    border-color: #f7c948;
    outline: none;
    box-shadow: 0 0 0 2px rgba(247, 201, 72, 0.2);
    transform: translateY(-2px);
}

.search-form button {
    padding: 12px 25px;
    background-color: #0F172A;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.search-form button:hover::before {
    left: 100%;
}

.search-form button:hover {
    background-color: #f7c948;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Properties Section */
.section-title {
    text-align: center;
    margin: 100px 0 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #f7c948;
    border-radius: 2px;
}

.section-title h1 span {
    color: #f7c948;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 5% 80px;
}

.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.property-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.property-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    height: 200px;
    width: 100%;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.property-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
}
.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.property-card:hover .property-image::before {
    animation: shine 1.5s ease;
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

.property-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f7c948;
    color: #1a1a1a;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

.property-details {
    padding: 20px;
}

.property-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.property-location {
    display: flex;
    align-items: center;
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.property-location i {
    margin-right: 5px;
    color: #f7c948;
}

.property-features {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.feature {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.feature i {
    margin-right: 5px;
    color: #f7c948;
}

.property-card button {
    width: 100%;
    padding: 12px;
    background-color: #0F172A;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.property-card button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.property-card button:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.property-card button:hover {
    background-color: #f7c948;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* New About Section */
.about-section {
    background-color: white;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    min-width: 300px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #f7c948;
    border-radius: 2px;
}

.about-text h2 span {
    color: #f7c948;
}

.about-text p {
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    flex: 1;
    background: white;
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(247, 201, 72, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stat-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(247, 201, 72, 0.3);
}

.stat-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: #f7c948;
}

.stat-card .icon i {
    font-size: 2.5rem;
}

.stat-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f7c948;
    margin-bottom: 8px;
}

.stat-card p {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.stat-wide {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(247, 201, 72, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.3s;
}

.stat-wide.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-wide:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(247, 201, 72, 0.3);
}

.stat-wide .icon {
    font-size: 3rem;
    color: #f7c948;
}

.stat-wide .icon i {
    font-size: 3rem;
}

.stat-wide h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f7c948;
    margin-bottom: 5px;
}

.stat-wide p {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.about-image {
    flex: 1;
    min-width: 300px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.2s;
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Contact Section */
.contact {
    padding: 80px 5%;
    background-color: #0F172A;
    color: white;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.contact.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.contact-info.animate {
    opacity: 1;
    transform: translateX(0);
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info h2 span {
    color: #f7c948;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.contact-method i {
    font-size: 1.5rem;
    color: #f7c948;
    width: 40px;
}

.contact-method div h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-method div p {
    color: #ccc;
    margin: 0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: #1E293B;
    padding: 30px;
    border-radius: 10px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.2s;
}

.contact-form.animate {
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #f7c948;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444;
    background: #0F172A;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #f7c948;
    outline: none;
    box-shadow: 0 0 0 2px rgba(247, 201, 72, 0.2);
    transform: translateY(-2px);
}

.contact-form button {
    width: 100%;
    padding: 14px;
    background-color: #f7c948;
    color: #1a1a1a;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.contact-form button:hover::after {
    animation: ripple 1s ease-out;
}

.contact-form button:hover {
    background-color: #e6b732;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #111;
    color: #999;
    text-align: center;
    padding: 30px 5%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

footer.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays for Stats */
.stat-card:nth-child(1) { transition-delay: 0.1s; }
.stat-card:nth-child(2) { transition-delay: 0.2s; }
.stat-card:nth-child(3) { transition-delay: 0.3s; }

/* Animation Delays for Property Cards */
.property-card:nth-child(1) { transition-delay: 0.1s; }
.property-card:nth-child(2) { transition-delay: 0.2s; }
.property-card:nth-child(3) { transition-delay: 0.3s; }
.property-card:nth-child(4) { transition-delay: 0.4s; }
.property-card:nth-child(5) { transition-delay: 0.5s; }
.property-card:nth-child(6) { transition-delay: 0.6s; }

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 20px;
        height: 70px;
    }
    
    .navbar ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #3b3b3b;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .navbar ul.active {
        display: flex;
    }
    
    .navbar ul li {
        padding: 15px 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        height: 70vh;
        padding-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .search-badge {
        margin: -40px auto 0;
        padding: 20px;
    }
    
    .search-form input,
    .search-form select {
        flex: 1 1 100%;
    }
    
    .section-title {
        margin: 80px 0 40px;
    }
    
    .section-title h1 {
        font-size: 2.2rem;
    }
    
    .about-container,
    .contact-content {
        flex-direction: column;
        gap: 50px;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-card h3 {
        font-size: 1.8rem;
    }
    
    .stat-wide {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .stat-wide h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .search-badge {
        margin: -30px auto 0;
        padding: 15px;
    }
    
    .section-title h1 {
        font-size: 1.8rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text h2,
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .stat-wide h3 {
        font-size: 1.8rem;
    }
}
