:root {
    --primary-color: #2F3D7E;
    --secondary-color: #F6F8FF;
    --text-color: #646262;
    --white-color: #ffffff;
    --dark-color: #333333;
    --accent-color: #ED7D3A;
    --divider-color: #DDE4FF;
    --gray-divider: #DDDBDB;
    --overlay-color: #2F3D7E80;
    --dark-overlay-color: #2F3D7Eaa;
    --error-color: rgb(230, 87, 87);
    --accent-font: 'Sora', sans-serif;
    --default-font: 'Inter', sans-serif;
}

body {
    font-family: var(--default-font);
    color: var(--text-color);
    background-color: var(--secondary-color);
}
a{
    text-decoration: none;
}
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
        border-bottom-right-radius: 50%;
}

.hero .row {
    min-height: 100vh;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: white;
}

.hero-text {
    max-width: 700px;
    text-align: left;
}

.hero h1 {
    font-family: var(--accent-font);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--text-color);
    line-height: 1.6;
}

.hero-buttons {
}

/* Dodajemy klasy animate.css do elementów HTML */

/* Animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 5px rgba(26, 32, 44, 0.3));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(26, 32, 44, 0.6));
    }
}

/* Dodatkowe animacje dla przycisków */
.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons .btn::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: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(237, 125, 58, 0.4);
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image {
    background-image: url('../img/slider-new.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
    width: 100%;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 61, 126, 0.1) 0%, rgba(237, 125, 58, 0.1) 100%);
}

/* Responsywność */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
.hero {
    min-height: 65vh;
    border-bottom-right-radius: 0%;
}
.hero::after {
    border-bottom-right-radius: 0%;
}
.hero-text{
    text-align: center;
}
    .hero-content {
        padding: 2rem 1rem;
    }

    .hero .row {
        min-height: auto;
    }

    .hero-image {
        min-height: 50vh;
    }
}

.search-container {
    background-color: rgba(255, 255, 255, 0.45);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-family: var(--accent-font);
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-family: var(--accent-font);
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.property-card {
    background-color: var(--white-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.property-image {
    position: relative;
    padding-bottom: 66.67%;
    overflow: hidden;
}

.property-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.property-type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-family: var(--accent-font);
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: capitalize;
}

.property-location {
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.feature-badge {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.regions {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease;
    background-color: var(--primary-color);
}

.regions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.regions .section-title,
.regions .section-subtitle {
    color: #fff;
}

.regions .section-title {
    font-size: 2.5rem;
}

.regions>.container {
    position: relative;
    z-index: 1;
}

.city-card {
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.city-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    background-color: #fff;
}

.city-card:hover {
    transform: translateY(-5px);
}

.city-card img {
    height: 150px;
    object-fit: cover;
}

.city-card .card-body {
    padding: 1rem;
    text-align: center;
}

.city-card h4 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(to right, rgba(255, 107, 1, 1) 0%, rgba(246, 82, 34, 1) 100%);
    border-color: #fff;
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--dark-overlay-color);
    border-color: var(--dark-overlay-color);
    transform: translateY(-2px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.help-section {
    background-color: var(--white-color);
    padding: 4rem 0;
}

.help-section .card {
    text-align: center;
    padding: 2rem;
}

.help-section .card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.help-section .card h3 {
    font-family: var(--accent-font);
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-title {
    font-weight: 700;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.location-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.location-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.location-body {
    padding: 15px;
}

.location-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.location-count {
    color: #7f8c8d;
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    font-weight: 600;
    color: #34495e;
    padding: 12px 25px;
    border: none;
    border-bottom: 3px solid transparent;
}

.nav-tabs .nav-link.active {
    color: #2980b9;
    background-color: transparent;
    border-bottom: 3px solid #2980b9;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-content {
    padding: 0 15px;
}

.location-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.help-section {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 80px 0;
}

.help-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.help-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.help-overlay {
    position: absolute;
    z-index: 0;
    content: '';
    width: 100%;
    top: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.help-title {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: white;
    font-weight: 700;
    position: relative;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.help-item {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.help-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.help-icon {
    margin: 0 auto 15px;
    max-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-icon img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.help-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
}

.help-item p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsywność */
@media (max-width: 992px) {
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .help-overlay {
        padding: 40px 20px;
    }

    .help-title {
        font-size: 28px;
    }
}