﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    line-height: 1.6;
    color: #2d3748;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--theme-clr);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav-links a {
        text-decoration: none;
        color: #4a5568;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .nav-links a:hover {
            color: var(--theme-clr);
        }

.nav a:hover {
    color: var(--theme-clr) !important;
}
/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(to bottom right, #456da02e, rgb(0 173 255 / 0%)), url(/Content/images/home-bg.png) no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    margin-top: -10rem;
    z-index: 1;
}

.florida-hero-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 0px;
}

.florida-header {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: none !important;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 22px;
    margin: 12px 0;
    text-shadow: 1px 1px 4px rgb(0 0 0 / 77%);
    font-weight: bold;
}

.hero-button {
    padding: 12px 24px;
    font-size: 18px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

    .hero-button:hover {
        background: white;
        color: black;
    }

/*map section*/
.state-section {
    padding: 4rem 0;
    background: #f7fafc;
}

    .state-section .container {
        text-align: center;
    }

        .state-section .container .section-title {
            display: inline-block;
            margin-inline: auto;
            font-size: 2.5rem !important;
        }

        .state-section .container .section-subtitle {
            margin-bottom: 3rem;
        }

        .state-section .container .map-container {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin-bottom: 3rem;
        }

.search-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.search-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

    .search-tab.active {
        color: #2c5aa0;
    }

        .search-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background: #2c5aa0;
        }

.search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: end;
}

.search-input {
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

    .search-input:focus {
        outline: none;
        border-color: #2c5aa0;
    }

/*.search-btn {
    background: #2c5aa0;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

    .search-btn:hover {
        background: #1e3f73;
    }*/

/* Search Section */
.search-section {
    padding: 0rem 2rem 6rem;
    background: #f7fafc;
    box-shadow: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.search-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--theme-clr);
}

    .search-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

.search-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #68d391, var(--theme-clr));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.search-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.search-card p {
    color: #718096;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: var(--theme-clr);
    }

.search-btn {
    background: var(--button-clr);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

    .search-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(39, 92, 139, 0.4);
    }

/* Agent Section */
.agent-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #456da091 0%, #e6fffa 100%);
    text-align: center;
}

.agent-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 2rem auto;
}

.agent-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #68d391, var(--theme-clr));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    border-radius: 50%;
    overflow: hidden;
}

.cta-button {
    background: var(--button-clr);
    color: #38a169;
    padding: 0.6rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        background: #f7fafc;
    }

/* Info Section */
.info-section {
    padding: 4rem 2rem;
    background: #f7fafc;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-section h2 {
    color: #2d3748;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.info-section p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* States Grid */
.states-section {
    padding-inline: 2rem;
    background: #f7fafc;
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.state-link {
    background: white;
    border-radius: 8px;
    padding: 0.1rem;
    text-decoration: none;
    color: var(--theme-clr);
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .state-link:hover {
        background: var(--theme-clr-hover);
        border-color: var(--theme-clr);
        transform: translateY(-2px);
    }

/* Footer */
.footer {
    background: linear-gradient(135deg, #4a5568, #2d3748);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #4abc79;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

        .footer-section ul li a {
            color: #cbd5e0;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-section ul li a:hover {
                color: #48bb78;
            }

.footer-bottom {
    border-top: 1px solid #68d391;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #e2e8f0;
}

/* Popular Searches */
.popular-searches {
    padding: 3rem 2rem;
    background: #f7fafc;
    text-align: center;
}

.popular-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

    .popular-links a {
        color: var(--theme-clr);
        text-decoration: none;
        padding: 0.5rem 1rem;
        border: 2px solid var(--theme-clr);
        border-radius: 20px;
        transition: all 0.3s ease;
    }

        .popular-links a:hover {
            background: var(--theme-clr);
            color: white;
        }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .florida-header {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .search-grid {
        grid-template-columns: 1fr;
        margin-top: 2rem !important;
    }

    .form-row {
        flex-direction: column;
    }

    .hero-section {
        justify-content: center;
        padding: 10px;
        height: 50vh;
    }

    .hero-section .hero-content{
        margin-top:0 !important;
    }

    .hero-section .hero-title {
        font-size: 38px !important;
        line-height: 1.2;
    }

    .state-section {
        padding-block: 2rem !important;
    }

        .state-section .container .section-subtitle {
            margin-bottom: 1rem !important;
        }

        .state-section .container .map-container {
            margin-bottom: 0 !important;
        }

    .search-section {
        padding-inline: 0 !important;
    }

    .agent-section {
        padding: 1rem 0rem !important;
    }

    .info-section {
        padding: 2rem 1rem !important;
    }

    .states-section {
        padding-inline: 0 !important;
    }

    .popular-searches {
        padding: 2rem 1rem !important;
    }

    :is(.state-section, .search-section, .agent-section, .info-section, .states-section, .popular-searches) .container {
        padding: 0 1rem !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-card {
    animation: fadeInUp 0.6s ease forwards;
    display: flex;
    flex-direction: column;
}

    .search-card .card-form {
        flex: 1;
        justify-content: space-between;
    }

    .search-card p.powered-by-desc {
        position: absolute;
        margin: 0 !important;
        right: 2rem;
    }

    .search-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .search-card:nth-child(3) {
        animation-delay: 0.4s;
    }
