/*!
Theme Name: bidyarthi
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bidyarthi
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

bidyarthi is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.post,
.page {
    margin: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8f9fa;
    color: #2c2c2c;
    line-height: 1.4;
    flex-direction: column;
    display: flex;
    align-items: center;
    overflow-x: hidden;
}

.g_border_radius {
    border-radius: 12px;
    overflow: hidden;
}

/* NAVBAR BASE */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    background-color: white;
    border-bottom: 1px solid #e2e8f0;
    transition: width 0.5s ease, top 0.5s ease, left 0.5s ease,
        transform 0.5s ease, border-radius 0.5s ease, box-shadow 0.5s ease,
        background-color 0.5s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 1920px;
    padding: 15px 32px;
    transition: padding 0.5s ease;
}

.navbar.floating {
    width: 84%;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.navbar.floating .navbar-container {
    padding: 16px 28px;
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    font-size: 18px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.06);
}

.nav-button {
    background: #2c2c2c;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.nav-button:hover {
    background: #f8f9fa;
    color: #2c2c2c;
    border: 1px solid #2c2c2c;
}

.container {
    width: 85vw;
    margin: 0 auto;
    padding: 20px;
}

.header h1,
h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 7.5px;
}

.filters {
    background: white;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.filter-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    padding: 15px;
    flex-wrap: wrap;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
    flex: 1;
}

.price-filter-item {
    min-width: 300px;
    flex: 1.5;
}

.filter-label {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 5px;
}

.filter-select {
    padding: 12px 16px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    color: #2c2c2c;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.filter-select:focus {
    outline: none;
    border-color: #2c2c2c;
    box-shadow: 0 0 0 3px rgba(44, 44, 44, 0.1);
}

.price-range-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 16px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
}

.price-input {
    width: 50px;
    border: none;
    outline: none;
    text-align: center;
    font-size: 0.9rem;
    color: #2c2c2c;
    background: transparent;
    font-weight: 500;
}

.price-separator {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.price-slider {
    width: 140px;
    height: 4px;
    background: #e0e6ed;
    border-radius: 2px;
    outline: none;
    /* -webkit-appearance: none; */
    cursor: pointer;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #2c2c2c;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44, 44, 44, 0.3);
}

.price-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #2c2c2c;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(44, 44, 44, 0.3);
}

.currency {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 500;
}

.search-btn {
    background: #2c2c2c;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    height: 44px;
    align-self: flex-end;
}

.search-btn:hover {
    background: #404040;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 44, 44, 0.2);
}

.sort-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.sort-btn {
    padding: 10px 18px;
    border: 1px solid #e0e6ed;
    background: white;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    color: #7f8c8d;
    transition: all 0.2s;
    font-weight: 500;
}

.sort-btn:hover {
    border-color: #2c2c2c;
    color: #2c2c2c;
}

.sort-btn.active {
    background: #2c2c2c;
    color: white;
    border-color: #2c2c2c;
}

.clear-filters-btn {
    padding: 10px 18px;
    border: 1px solid #e0e6ed;
    background: white;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    color: #7f8c8d;
    transition: all 0.2s;
    font-weight: 500;
    margin-left: auto;
}

.clear-filters-btn:hover {
    border-color: #2c2c2c;
    color: #2c2c2c;
}

.properties-container {
    display: grid;
    gap: 25px;
    margin-bottom: 35px;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 420px;
    height: 320px;
    transition: all 0.3s;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.property-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-badge {
    display: inline-block;
    background: #2c2c2c;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.property-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.property-subtitle {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.property-description {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.property-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #7f8c8d;
    flex-wrap: wrap;
}

.property-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
}

.property-completion {
    color: #7f8c8d;
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 500;
}

.property-image {
    background-size: cover;
    background-position: center;
    position: relative;
}

.small-properties {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.small-property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s;
}

.small-property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.small-property-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.small-property-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(44, 44, 44, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.small-property-info {
    padding: 20px;
}

.small-property-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.small-property-subtitle {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.small-property-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
}

.view-all-btn {
    display: block;
    margin: 40px auto 0;
    padding: 14px 35px;
    background: #2c2c2c;
    border: 1px solid #e0e6ed;
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
    text-align: center;
}

.view-all-btn:hover {
    background: #d5e5e6;
    color: black;
    border-color: #2c2c2c;
    transform: translateY(-1px);
}

.footer {
    background: #1a1a1a;
    color: white;
    position: relative;
}

.footer-container {
    width: 100vw;
    padding: 50px 9vw;
    display: flex;
    flex-direction: column;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.footer-tagline {
    color: #999;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.contact-item {
    color: #ccc;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item:hover {
    color: white;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ccc;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: white;
    color: #1a1a1a;
}

.social-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    color: #777;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #777;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #ccc;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-container {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        font-size: 1.6rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 1024px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .filter-item {
        min-width: auto;
    }

    .price-filter-item {
        min-width: auto;
    }

    .search-btn {
        align-self: stretch;
        height: auto;
    }

    .property-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .property-image {
        height: 250px;
        order: -1;
    }

    .small-properties {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 16px;
    }

    .navbar-container {
        padding: 14px 20px;
    }

    .navbar.floating .navbar-container {
        gap: 20px;
    }

    .container {
        padding: 15px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .filter-row {
        padding: 20px;
    }

    .sort-filters {
        flex-wrap: wrap;
        gap: 8px;
    }

    .clear-filters-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    .property-info {
        padding: 25px;
    }

    .property-title {
        font-size: 1.3rem;
    }

    .property-specs {
        flex-direction: column;
        gap: 8px;
    }

    .small-properties {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .small-property-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .property-card {
        height: auto;
    }

    .property-image {
        height: 200px;
    }

    .property-info {
        padding: 20px;
    }

    .property-title {
        font-size: 1.2rem;
    }

    .property-specs {
        font-size: 0.8rem;
    }

    .property-price {
        font-size: 1.2rem;
    }

    .small-property-info {
        padding: 15px;
    }

    .small-property-title {
        font-size: 1rem;
    }

    .small-property-subtitle {
        font-size: 0.8rem;
    }
}

/* NAVBAR BASE */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    background-color: white;
    border-bottom: 1px solid #e2e8f0;
    transition: width 0.5s ease, top 0.5s ease, left 0.5s ease,
        transform 0.5s ease, border-radius 0.5s ease, box-shadow 0.5s ease,
        background-color 0.5s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 1920px;
    padding: 15px 32px;
    transition: padding 0.5s ease;
}

.navbar.floating {
    width: 84%;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.navbar.floating .navbar-container {
    padding: 16px 28px;
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    font-size: 18px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.06);
}

.nav-button {
    background: #2c2c2c;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.nav-button:hover {
    background: #f8f9fa;
    color: #2c2c2c;
    border: 1px solid #2c2c2c;
}

.container {
    width: 85vw;
    margin: 0 auto;
    padding: 20px;
}

.header h1,
h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 7.5px;
}

.hero {
    background-image: url("images/sky.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100vw;
    object-fit: contain;
    position: relative;
}

.img-layer {
    background-image: url("images/building.png");
    height: 100vh;
    width: 100vw;
    position: absolute;
    background-size: cover;
    /* background-color: #1f2937; */
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.text-layer {
    height: 100vh;
    width: 100vw;
    position: absolute;
    text-align: center;
}

.text-layer h1 {
    font-size: 10vw;
    margin-top: 12vh;
    color: #fff;
}

.img-layer-content {
    color: #fff;
    height: 35%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.img-layer-content-card {
    width: 31%;
    height: 100%;
    max-height: 275px;
    background: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
    border-radius: 20px;
    border: white solid 2px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
}

.img-layer-content-card h2 {
    font-size: 1.75vw;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c2c2c;
}

.img-layer-content-card p {
    font-size: 1.125vw;
    color: #555;
}

.cards-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 20px 20px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-left: 2px solid #2c3e50;
}

.cards-wrapper::-webkit-scrollbar {
    display: none;
}

.card {
    flex: 0 0 420px;
    height: 460px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
    background: #fff;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    /* box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); */
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.8) 100%);
}

.cycle-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.cycle-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cycle-button::after {
    content: "▶";
    font-size: 14px;
    color: #2c3e50;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: white;
    z-index: 5;
}

.project-name {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.project-type {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.project-stats {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Carousel navigation dots */
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Card image indicators - vertical layout below cycle button */
.image-indicators {
    position: absolute;
    top: 75px;
    right: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.image-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.image-dot.active {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
    .card {
        flex: 0 0 280px;
        height: 380px;
    }

    .project-name {
        font-size: 24px;
    }

    .project-type {
        font-size: 14px;
    }

    .cycle-button {
        width: 36px;
        height: 36px;
    }

    .stat-item {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: slideIn 0.6s ease-out;
}

.card:nth-child(1) {
    animation-delay: 0s;
}

.card:nth-child(2) {
    animation-delay: 0.1s;
}

.card:nth-child(3) {
    animation-delay: 0.2s;
}

.card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Image transition */
.card-image.fade-out {
    opacity: 0;
    transform: scale(1.1);
}

.card-image.fade-in {
    opacity: 1;
    transform: scale(1);
}

.marquee-container {
    width: 100%;
    background: white;
    padding: 30px 0;
    margin: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.marquee-line {
    overflow: hidden;
    white-space: nowrap;
    margin: 30px 0;
    position: relative;
}

.marquee-content {
    display: flex;
    will-change: transform;
}

/* .text-marquee,
.boxes-marquee {
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

.text-marquee {
    animation-name: scroll-left;
} */

.boxes-marquee {
    /* animation-name: scroll-right; */
    gap: 40px;
}

.text-item {
    font-size: 1.8rem;
    font-weight: 300;
    color: #333;
    margin-right: 120px;
    flex-shrink: 0;
}

.box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    min-width: 260px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.box-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    font-weight: normal;
}

.box:nth-child(odd) .box-icon {
    background: #1f2937;
}

.box:nth-child(even) .box-icon {
    background: #374151;
}

.box-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

.box-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    font-weight: 300;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.marquee-line:hover .marquee-content {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .text-item {
        font-size: 2rem;
        margin-right: 50px;
    }

    .box {
        min-width: 220px;
        padding: 20px;
    }

    .marquee-container {
        margin: 10px;
        padding: 30px 0;
    }
}

.about-section {
    max-width: 1920px;
    width: 83.5%;
    background: #131313;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 30px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    align-items: center;
}

.content-side {
    padding: 60px 50px;
    color: white;
    position: relative;
    z-index: 2;
}

.content-side h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    opacity: 0;
    color: #e0e0e0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.content-side p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.features-list {
    list-style: none;
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.8s ease-out forwards;
}

.features-list li:nth-child(1) {
    animation-delay: 0.9s;
}

.features-list li:nth-child(2) {
    animation-delay: 1.1s;
}

.features-list li:nth-child(3) {
    animation-delay: 1.3s;
}

.features-list li::before {
    content: "✓";
    background: #fff;
    color: #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
    font-size: 14px;
}

.image-side {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.house-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.8s ease-out;
}

.house-image.animate {
    transform: scale(1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(45, 45, 45, 0.2) 0%,
            transparent 70%);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.floating-dot:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-dot:nth-child(2) {
    top: 60%;
    left: 15%;
    animation-delay: 1s;
}

.floating-dot:nth-child(3) {
    top: 80%;
    left: 25%;
    animation-delay: 2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .content-side {
        padding: 40px 30px;
    }

    .content-side h2 {
        font-size: 2rem;
    }

    .image-side {
        min-height: 300px;
    }
}

.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}