:root {
    --primary-color: #2c3e50;
    --secondary-color: #7f8c8d;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
}

/* Hero Section */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(44, 62, 80, 0.65), rgba(52, 152, 219, 0.65)),
        url('/public/img/buncombe-mountains.jpg') center/cover no-repeat;
    color: white;
    padding: 80px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/public/img/pattern.svg') repeat;
    opacity: 0.1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(248, 249, 250, 0.3) 50%, 
        rgba(248, 249, 250, 0.8) 80%,
        #f8f9fa 100%);
    z-index: 1;
}

.hero-section .container-xl {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-stat i {
    font-size: 2rem;
    opacity: 0.9;
}

.hero-stat div {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-size: 1.1rem;
    display: block;
}

.hero-stat small {
    opacity: 0.9;
    font-size: 0.9rem;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Search Section */
.search-section {
    background-color: transparent;
    padding: 0 0 40px;
    margin-top: -100px;
    position: relative;
    z-index: 20;
}

.search-card {
    background: white;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);\n    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-card h2 {
    color: var(--primary-color);
    font-weight: 600;
}

.search-card .text-decoration-none {
    color: var(--accent-color);
    transition: all 0.2s ease;
}

.search-card .text-decoration-none:hover {
    color: #2980b9;
    text-decoration: underline !important;
}

.search-form .form-floating > .form-control {
    height: 50px;
    font-size: 1rem;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.search-form .form-floating > .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.search-form .form-floating > label {
    padding: 1rem 0.75rem;
    font-size: 1rem;
    color: var(--secondary-color);
}

.search-form .btn-primary {
    height: 59px;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--accent-color);
    border: none;
    transition: all 0.3s ease;
}

.search-form .btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

/* Info Cards Section */
.info-cards-section {
    padding: 80px 0;
    background: white;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.info-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.process-list {
    padding-left: 0;
    list-style: none;
    counter-reset: process-counter;
}

.process-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    counter-increment: process-counter;
}

.process-list li::before {
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
}

.date-item {
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.date-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.date-item span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: 3px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
}

.contact-item span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Benefits Section */
.benefits-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.benefits-section h2 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 2.5rem;
}

.benefit-item {
    padding: 30px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #2980b9);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 35px;
    color: white;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.4);
}

.benefit-item h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.benefit-item p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-section h2 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 2.5rem;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    padding: 20px;
    background: white;
}

.accordion-button:not(.collapsed) {
    background: var(--light-bg);
    color: var(--accent-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233498db'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Resources Section */
.resources-section {
    background: var(--light-bg);
    padding: 60px 0;
}

.resources-section h2 {
    color: var(--primary-color);
    font-weight: 600;
}

.resources-section .btn-outline-primary {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.resources-section .btn-outline-primary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0 120px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .search-section {
        margin-top: -80px;
        padding: 0 0 30px;
    }

    .search-card {
        padding: 20px 25px;
    }

    .search-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 100px;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .hero-section .col-lg-5 {
        margin-top: 2rem;
    }

    .hero-section .col-lg-5 .d-flex {
        flex-direction: row;
        gap: 1rem;
    }

    .hero-stat {
        flex: 1;
        min-width: 0;
    }

    .search-section {
        margin-top: -60px;
        padding: 0 0 30px;
    }

    .info-cards-section,
    .benefits-section,
    .faq-section {
        padding: 60px 0;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section .col-lg-5 .d-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stat {
        width: 100%;
        flex: none;
    }

    .search-form .form-floating > .form-control,
    .search-form .btn-primary {
        height: 50px;
        font-size: 1rem;
    }

    .info-card {
        padding: 20px;
    }

    .info-card-icon {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 15px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1,
.hero-section p,
.hero-stat {
    animation: fadeInUp 0.8s ease-out;
}

.hero-stat:nth-child(2) {
    animation-delay: 0.2s;
}

.info-card {
    animation: fadeInUp 0.8s ease-out;
}

.info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.info-card:nth-child(3) {
    animation-delay: 0.4s;
}