.header-section {
    position: relative;
    height: var(--header-height);
    width: 100%;
    margin-top: 4.5rem;
    overflow: hidden;
    background-color: #f8fafc;
}

.header-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
    z-index: 2;
}

.header-text {
    flex: 1;
    max-width: 600px;
}

.header-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin-top: 2rem;
}

.search-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    padding-left: 3.5rem;
    padding-right: 7rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    font-size: 1.1rem;
    background-color: white;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px var(--shadow-color);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px -2px rgba(37, 99, 235, 0.15);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    font-size: 1.5rem;
}

.header-image {
    flex: 1;
    position: relative;
    height: 100%;
    max-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-image img {
    max-width: 100%;
    height: auto;
    width: 600px;
    max-height: 450px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-section {
        margin-top: -5px;
    }
    .header-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: auto;
    }

    .header-content {
        flex-direction: column;
        padding: 3rem 1.5rem;
        padding-top: 130px;
        padding-bottom: 190px;
        text-align: center;
    }

    .header-title {
        font-size: 2.5rem;
    }

    .header-image {
        order: -1;
        margin-bottom: 2rem;
        display: none;
    }

    .header-image img {
        max-width: 80%;
    }

    .search-container {
        margin: 2rem auto 0;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 2rem;
    }

    .search-input {
        padding: 1rem 1.25rem 1rem 3rem;
        font-size: 1rem;
    }

    .search-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        min-width: 120px;
    }
    
    .search-input {
        padding-right: 130px;
    }

    .search-button span {
        display: inline-flex;
    }
}


/* Add these styles to your header.css file */
.search-container {
    position: relative;
    max-width: 500px;
    margin-top: 2rem;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background-color: var(--background-color);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px var(--shadow-color),
                0 4px 6px -2px var(--shadow-color);
    border: 1px solid var(--border-color);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.suggestion-item:hover {
    background-color: var(--hover-color);
    color: var(--primary-color);
}

/* Scrollbar styling */
.search-suggestions::-webkit-scrollbar {
    width: 8px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-container {
        position: relative;
        z-index: 100;
    }
    .suggestion-item {
        text-align: left;   
    }

    .search-suggestions {
        position: absolute;
        max-height: 200px;
        width: 100%;
        top: 100%;
        left: 0;
        margin-top: 0.5rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .header-image {
        z-index: 1; /* Ensure image stays behind suggestions */
    }
}

/* Add these styles for the search button */
.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 1rem 1rem 0;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.search-button:hover {
    background-color: #1d4ed8;
}

.search-button svg {
    width: auto;
    height: auto;
}

/* Trust Bar Section */
.trust-bar {
    background-color: white;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.trust-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.trust-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Trust Bar Responsive Design */
@media (max-width: 768px) {
    .trust-container {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .trust-item {
        flex: 0 0 calc(50% - 1rem);
    }

    .trust-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .trust-bar {
        padding: 2rem 1rem;
    }

    .trust-container {
        flex-direction: column;
        gap: 2rem;
    }

    .trust-item {
        flex: 0 0 100%;
    }

    .trust-number {
        font-size: 1.75rem;
    }
}

/* Bento Grid Section */
.bento-section {
    padding: 5rem 2rem;
    background-color: #f8fafc;
}

.bento-container {
    max-width: 1200px;
    margin: 0 auto;
}

.bento-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 3rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.bento-item {
    background-color: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--border-color);
    align-items: flex-start;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

.bento-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.bento-item p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.5;
}

/* Grid Layout Patterns */
.bento-item:nth-child(1) {
    grid-column: span 2;
}

.bento-item:nth-child(2) {
    grid-column: span 2;
}

.bento-item:nth-child(3) {
    grid-column: span 2;
}

.bento-item:nth-child(4) {
    grid-column: span 3;
}

.bento-item:nth-child(5) {
    grid-column: span 3;
}

.bento-item:nth-child(6) {
    grid-column: span 4;
}

.bento-item:nth-child(7) {
    grid-column: span 2;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-item:nth-child(n) {
        grid-column: auto;
    }
}

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

/* Update icon styles */
.material-symbols-rounded {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

.bento-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.dropdown-icon {
    font-size: 1.25rem;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Remove old SVG-specific styles */
.search-icon {
    width: auto;
    height: auto;
}

.search-button svg {
    width: auto;
    height: auto;
}

.bento-icon {
    width: auto;
    height: auto;
    stroke-width: initial;
}

.dropdown-icon {
    width: auto;
    height: auto;
    stroke-width: initial;
}

/* Steps Section */
.steps-section {
    padding: 5rem 2rem;
    background-color: white;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.steps-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.steps-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-item {
    position: relative;
    padding: 2rem;
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-height: 320px; /* Ensure consistent height */
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

.step-number {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    border: 3px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.step-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.step-item p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.5;
}

.step-button {
    margin-top: auto; /* Push button to bottom */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.step-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.step-button.outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.step-button.outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.success-badge {
    margin-top: auto; /* Push badge to bottom */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #dcfce7;
    color: #166534;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.success-badge .material-symbols-rounded {
    font-size: 1.25rem;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .step-item {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
    
    .step-button, 
    .success-badge {
        width: 100%;
        justify-content: center;
    }
}

.steps-cta {
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.cta-button .material-symbols-rounded {
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .steps-title {
        font-size: 2rem;
    }

    .step-item {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .steps-section {
        padding: 4rem 1.5rem;
    }

    .steps-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Statistics Section */
.stats-section {
    padding: 6rem 2rem;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
}

.stats-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.stats-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stats-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

.stats-card.highlight {
    background-color: var(--primary-color);
    color: white;
}

.stats-value {
    margin-bottom: 1rem;
    line-height: 1;
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stats-unit {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stats-card.highlight .stats-number,
.stats-card.highlight .stats-unit {
    color: white;
}

.stats-label {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.5;
}

.stats-card.highlight .stats-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design for Stats */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .stats-section {
        padding: 4rem 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-header h2 {
        font-size: 2rem;
    }

    .stats-number {
        font-size: 3rem;
    }

    .stats-unit {
        font-size: 1.75rem;
    }
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background-color: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-badge {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background-color: #e0e7ff;
    color: var(--primary-color);
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.875rem;
    width: fit-content;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.about-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item .material-symbols-rounded {
    font-size: 1.75rem;
    color: var(--primary-color);
    background-color: #e0e7ff;
    padding: 0.75rem;
    border-radius: 0.75rem;
}

.feature-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: #64748b;
}

.about-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    display: block;
}

.image-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: white;
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.image-badge .material-symbols-rounded {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-text strong {
    font-size: 1.1rem;
    color: #1e293b;
}

.badge-text span {
    font-size: 0.875rem;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        gap: 3rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text {
        text-align: left;
        align-items: flex-start;
    }

    .about-features {
        align-items: flex-start;
        text-align: left;
    }

    .image-badge {
        bottom: 1.5rem;
        left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-text h2 {
        font-size: 1.75rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .feature-item .material-symbols-rounded {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
}

/* Story Section */
.story-section {
    padding: 6rem 2rem;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
}

.story-container {
    max-width: 1000px;
    margin: 0 auto;
}

.story-content {
    background-color: white;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.story-badge {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background-color: #e0e7ff;
    color: var(--primary-color);
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.story-quote {
    position: relative;
    margin-bottom: 2rem;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.story-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.story-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.story-person {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.story-person img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
}

.person-info {
    display: flex;
    flex-direction: column;
}

.person-info strong {
    font-size: 1.1rem;
    color: #1e293b;
}

.person-info span {
    font-size: 0.95rem;
    color: #64748b;
}

.story-metrics {
    display: flex;
    gap: 2rem;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-section {
        padding: 4rem 1.5rem;
    }

    .story-content {
        padding: 2rem;
    }

    blockquote {
        font-size: 1.25rem;
    }

    .story-details {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .story-metrics {
        width: 100%;
        justify-content: center;
    }

    .story-person {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .story-content {
        padding: 1.5rem;
    }

    blockquote {
        font-size: 1.1rem;
    }

    .quote-icon {
        font-size: 2.5rem;
    }

    .story-description {
        font-size: 1rem;
    }

    .metric-value {
        font-size: 1.25rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background-color: white;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-badge {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background-color: #e0e7ff;
    color: var(--primary-color);
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.faq-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    background-color: white;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1e293b;
    text-align: left;
}

.faq-question .material-symbols-rounded {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #64748b;
    line-height: 1.6;
}

/* Active states */
.faq-item.active {
    background-color: #f8fafc;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .material-symbols-rounded {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 1.5rem;
    }

    .faq-header h2 {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 1.75rem;
    }

    .faq-header p {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.contact-badge {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background-color: #e0e7ff;
    color: var(--primary-color);
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.contact-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background-color: white;
    padding: 0.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
}

.tab-button:hover {
    color: var(--primary-color);
    background-color: #f8fafc;
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
}

.contact-forms {
    position: relative;
}

.contact-form {
    display: none;
    background-color: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.contact-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

input, select, textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #f8fafc;
    color: #1e293b;
}

input:hover, select:hover, textarea:hover {
    border-color: #cbd5e1;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .contact-header h2 {
        font-size: 2rem;
    }

    .contact-tabs {
        flex-direction: column;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .tab-button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-header h2 {
        font-size: 1.75rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Footer Section */
.footer {
    background-color: white;
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
}

.footer-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background-color: #f8fafc;
    color: #64748b;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-group h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.25rem;
}

.footer-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-group ul a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-group ul a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

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

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 4rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-group {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-brand {
        text-align: center;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 32rem;
    background-color: white;
    border-radius: 1.25rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    z-index: 1000;
    display: none;
    animation: slideUp 0.3s ease;
}

.cookie-content {
    padding: 1.5rem;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-header span {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.cookie-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.cookie-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background-color: #f8fafc;
}

.option-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.option-text span {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.95rem;
}

.option-text small {
    color: #64748b;
    font-size: 0.85rem;
}

/* Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    transition: 0.2s;
    border-radius: 1rem;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 1.25rem;
    width: 1.25rem;
    left: 0.125rem;
    bottom: 0.125rem;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(1.5rem);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-button {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid var(--primary-color);
}

.cookie-button.outline {
    background-color: transparent;
    color: var(--primary-color);
}

.cookie-button:not(.outline) {
    background-color: var(--primary-color);
    color: white;
}

.cookie-button:hover {
    transform: translateY(-1px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 1rem);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .cookie-banner {
        bottom: 0;
        width: 100%;
        max-width: none;
        border-radius: 1.25rem 1.25rem 0 0;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .cookie-button {
        width: 100%;
    }
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Search Header Styles */
.search-header {
    background-color: #f8fafc;
    padding: 6rem 2rem 3rem;
    border-bottom: 1px solid var(--border-color);
    margin-top: 4.5rem;
}

.search-header-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.search-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 2rem;
}

.search-location {
    color: var(--primary-color);
}

/* Listings Section Styles */
.listings-section {
    padding: 3rem 2rem;
}

.listings-container {
    max-width: 1200px;
    margin: 0 auto;
}

.listings-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
}

.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 0.95rem;
    color: #1e293b;
    background-color: white;
}

.listings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.listing-card {
    background-color: white;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    width: 100%;
}

@media (min-width: 1024px) {
    .listings-container {
        display: flex;
        gap: 2rem;
    }

    .listings-filters {
        flex: 0 0 250px;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 0;
        position: sticky;
        top: 7.5rem;
        align-self: flex-start;
    }

    .listings-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .listings-grid {
        flex: 1;
    }
}

.listing-image {
    position: relative;
    width: 100%;
    height: 300px;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-badges {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.listing-content {
    padding: 1.5rem;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.listing-title h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.listing-subtitle {
    font-size: 0.95rem;
}

.listing-rating-group {
    text-align: right;
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #eab308;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.rating-count {
    color: #64748b;
    font-size: 0.9rem;
}

.listing-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.info-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.info-group .material-symbols-rounded {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.info-text label {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.info-text p {
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
}

.listing-description {
    margin-top: .5rem;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: #64748b;
    line-height: 1.6;
}

.listing-services {
    margin-bottom: 1rem;
}

.listing-services h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-tag {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    background-color: #f8fafc;
    color: #64748b;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
}

/* Remove scrollbar styles */
.listing-content::-webkit-scrollbar {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .listings-filters {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .listings-filters {
        flex-direction: column;
    }
}

/* Listing Button Styles */
.listing-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.listing-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.listing-button.primary {
    background-color: var(--primary-color);
    color: white;
}

.listing-button.primary:hover {
    background-color: #1d4ed8;
}

.listing-button-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.listing-button.secondary {
    background-color: #f8fafc;
    color: #64748b;
    font-size: 0.85rem;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.listing-button.secondary:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Pagination Styles */
.listings-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.pagination-button {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background-color: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Additional Responsive Adjustments */
@media (max-width: 768px) {
    .listing-button-group {
        grid-template-columns: 1fr;
    }
    
    .listing-button.secondary {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .pagination-button {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
    }
}

/* Error page styles */
.error-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-container {
    text-align: center;
    max-width: 600px;
}

.error-icon {
    font-size: 4rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.error-container h1 {
    color: #334155;
    margin-bottom: 1rem;
}

.error-container p {
    color: #64748b;
    margin-bottom: 2rem;
}

/* Review Section Styles */
.reviews-section {
    margin: 2rem 0;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.reviews-stats {
    margin-bottom: 2rem;
    text-align: center;
}

.average-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.rating-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2563eb;
}

.rating-input {
    padding: 0.5rem 0;
}

.stars-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.stars-container input {
    display: none;
}

.stars-container label {
    cursor: pointer;
    font-size: 2rem;
    color: #d1d5db;
    transition: color 0.2s ease;
}

/* The hover and checked states will now work left-to-right */
.stars-container label:hover,
.stars-container label:hover ~ label,
.stars-container input:checked ~ label {
    color: #fbbf24;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4b5563;
    font-weight: 500;
}

.review-item {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.review-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.review-rating {
    color: #fbbf24;
}

.review-response {
    margin-top: 1rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 4px;
}

.write-review {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.write-review form {
    max-width: 600px;
    margin: 0 auto;
}

.review-error-message {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
}

.review-error-message .material-symbols-rounded {
    font-size: 20px;
}

.review-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.review-success-message {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #16a34a;
}

.review-success-message .material-symbols-rounded {
    font-size: 20px;
}

/* Legal Pages Styles */
.legal-page {
    padding: 60px 0;
    margin-top: 70px; /* Add margin to account for fixed header */
    min-height: calc(100vh - 350px); /* Ensure page takes up minimum height */
}

.legal-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.legal-page h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-section h3 {
    font-size: 20px;
    margin: 20px 0 15px;
    color: #555;
}

.legal-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.company-info, .contact-info, .legal-info {
    margin-bottom: 20px;
}

.company-info p, .contact-info p, .legal-info p {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .legal-page .container {
        padding: 25px;
    }
    
    .legal-page h1 {
        font-size: 28px;
    }
    
    .legal-section h2 {
        font-size: 22px;
    }
}