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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f8fafc;
    min-height: 100vh;
}

header {
    background: #ffffff;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.header-text {
    text-align: center;
}

.weather-display {
    margin-top: 1.25rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.weather-temp {
    font-size: 1.125rem;
    font-weight: 700;
}

.weather-desc {
    font-size: 0.8125rem;
    opacity: 0.9;
    text-transform: capitalize;
}

.weather-location {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-left: auto;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.weather-loading {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8125rem;
}

.weather-error {
    color: #fef2f2;
    font-size: 0.8125rem;
}

.logo {
    height: 80px;
    width: auto;
}

header h1 {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

main {
    max-width: 98%;
    margin: 3rem auto;
    padding: 0 0.5rem;
    text-align: left;
}

@media (min-width: 768px) {
    main {
        max-width: 96%;
        padding: 0 1rem;
    }
}

@media (min-width: 1200px) {
    main {
        max-width: 94%;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1600px) {
    main {
        max-width: 92%;
        padding: 0 2rem;
    }
}

section {
    background: #ffffff;
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    section {
        padding: 2rem;
    }
}

@media (min-width: 1200px) {
    section {
        padding: 2.5rem;
    }
}

h2 {
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
}

h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.links-grid, .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .links-grid, .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .links-grid, .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

.link-card, .tool-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #374151;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    min-height: 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.link-card::before, .tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-card:hover::before, .tool-card:hover::before {
    left: 100%;
}

.link-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px -3px rgba(59, 130, 246, 0.15), 0 4px 6px -2px rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.link-title, .tool-title {
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    color: inherit;
    transition: color 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.link-card:hover .link-title {
    color: #1e40af;
}

.tools-grid .tool-card:hover .tool-title {
    color: #047857;
}

.collapsible-section {
    margin: 1rem 0;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    text-align: left;
    width: 100%;
}

/* Added style to center align content within collapsible sections */
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    text-align: center; /* Center align content */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left 0.5s ease;
}

.section-header:hover::before {
    left: 100%;
}

.section-header:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: translateY(-1px);
}

.toggle-icon {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.toggle-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.15);
}

.toggle-icon.rotated {
    transform: rotate(45deg) scale(1.1);
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.collapsible-content.expanded {
    max-height: 80vh;
    overflow-y: auto;
    padding: 1rem 0.75rem 1.25rem;
    background: #ffffff;
}

@media (min-width: 768px) {
    .collapsible-content.expanded {
        padding: 1.25rem 1rem 1.5rem;
    }
}

@media (min-width: 1200px) {
    .collapsible-content.expanded {
        padding: 1.5rem 1.5rem 2rem;
    }
}

iframe {
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    min-width: 100%;
    width: 100%;
    max-width: none;
}

.cancellation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: #ffffff;
}

.cancellation-table thead {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
}

.cancellation-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 2px solid #1e40af;
}

.cancellation-table td {
    padding: 0.875rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    color: #374151;
    font-weight: 500;
}

.cancellation-table tbody tr {
    transition: background-color 0.15s ease;
}

.cancellation-table tbody tr:hover {
    background-color: #f8fafc;
}

.cancellation-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.cancellation-table tbody tr:nth-child(even):hover {
    background-color: #f1f5f9;
}

.cancellation-table td:first-child {
    font-weight: 600;
    color: #1f2937;
}

.cancellation-table td:not(:first-child) {
    font-family: 'Courier New', monospace;
    font-size: 0.8125rem;
    color: #059669;
}

.cancellation-table td:empty::after {
    content: "—";
    color: #9ca3af;
}

/* Address Book Card Layout */
.address-book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .address-book-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1200px) {
    .address-book-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 1.5rem;
    }
}

.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px -3px rgba(59, 130, 246, 0.15), 0 4px 6px -2px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.contact-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.featured-contact {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.featured-contact:hover {
    border-color: #d97706;
    background: linear-gradient(135deg, #fffbeb 0%, #fed7aa 100%);
    box-shadow: 0 8px 25px -3px rgba(245, 158, 11, 0.15), 0 4px 6px -2px rgba(245, 158, 11, 0.1);
}

.featured-contact::before {
    background: linear-gradient(90deg, #f59e0b, #d97706, #92400e);
    opacity: 1;
}

.featured-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #92400e;
    background: linear-gradient(135deg, #fed7aa, #fdba74);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-link {
    color: #0369a1;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
    word-break: break-word;
}

.email-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .address-book-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .contact-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .contact-item {
        gap: 0.5rem;
    }
}

.number-with-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.phone-icon {
    text-decoration: none;
    font-size: 0.875rem;
    color: #059669;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    background: transparent;
}

.phone-icon:hover {
    background: #d1fae5;
    transform: scale(1.1);
}

.copy-button {
    background: #f4f4f4;
    border: 1px solid #d1d5db;
    cursor: pointer;
    color: #374151;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    min-width: auto;
    height: auto;
}

.copy-button::before {
    content: 'Copy';
    font-size: 0.875rem;
}

.copy-button:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #111827;
}

.copy-button:active {
    background: #d1d5db;
    transform: scale(0.98);
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 0;
    }

    .header-top {
        flex-direction: column;
        gap: 1rem;
    }

    .weather-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .weather-location {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding-top: 0.5rem;
    }

    .logo {
        height: 50px;
    }

    header h1 {
        font-size: 1.75rem;
    }

    .links-grid, .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    main {
        padding: 0 0.75rem;
        margin: 1.5rem auto;
    }

    section {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .section-header {
        padding: 0.75rem 1rem;
    }

    .collapsible-content.expanded {
        padding: 1rem 0.75rem 1.25rem;
    }
}

/* Tool card specific overrides - must come after shared styles */
.tools-grid .tool-card {
    border-color: #e2e8f0;
    min-height: 35px !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.tools-grid .tool-card::before {
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.1), transparent);
}

.tools-grid .tool-card:hover {
    border-color: #059669;
    box-shadow: 0 8px 20px -3px rgba(5, 150, 105, 0.15), 0 4px 6px -2px rgba(5, 150, 105, 0.1);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

/* County Assessors Section - Elegant Design */
.assessors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .assessors-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .assessors-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

.assessor-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #374151;
    text-decoration: none;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.assessor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.assessor-card:hover::before {
    opacity: 1;
}

.assessor-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
}

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

.assessor-county {
    font-size: 0.875rem;
    font-weight: 700;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #f3e8ff, #e0e7ff);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid #c4b5fd;
}

.assessor-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: #059669;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    border: 1px solid #a7f3d0;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.assessor-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.assessor-card:hover .assessor-title {
    color: #111827;
}

.assessor-card:hover .assessor-county {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff;
    border-color: #7c3aed;
}

.assessor-card:hover .assessor-badge {
    background: linear-gradient(135deg, #059669, #047857);
    color: #ffffff;
    border-color: #047857;
}

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

    .assessor-card {
        padding: 1.25rem;
    }

    .assessor-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Permit Searches Section - Similar to Assessors */
.permits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .permits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .permits-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

.permit-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #374151;
    text-decoration: none;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.permit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ef4444, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.permit-card:hover::before {
    opacity: 1;
}

.permit-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
}

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

.permit-county {
    font-size: 0.875rem;
    font-weight: 700;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid #fbbf24;
}

.permit-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: #dc2626;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    border: 1px solid #fca5a5;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.permit-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.permit-card:hover .permit-title {
    color: #111827;
}

.permit-card:hover .permit-county {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border-color: #d97706;
}

.permit-card:hover .permit-badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    border-color: #b91c1c;
}

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

    .permit-card {
        padding: 1.25rem;
    }

    .permit-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Footer Styles - Mac Dock Style */
footer {
    background: transparent;
    padding: 1rem 0;
    text-align: center;
    border: none;
    margin-top: 3rem;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Footer Button Styles */
.footer-buttons {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.footer-button-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
    text-align: center;
    opacity: 0.8;
}

.footer-button-link {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-button-link:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.footer-button-image {
    width: 45px;
    height: 45px;
    display: block;
    border-radius: 12px;
    background-color: #f3f4f6;
    border: none !important;
    outline: none !important;
    object-fit: contain;
}

.footer-button-image:not([src]), .footer-button-image[src=""], .footer-button-image[src*="data:"], .footer-button-image[alt]:after {
    content: attr(alt);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    border-radius: 12px;
}

/* Modal Form Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-button {
    color: #9ca3af;
    float: right;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
    z-index: 1001;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-button:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.lead-form {
    padding: 2rem;
    padding-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
    background-color: #ffffff;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-helper {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.file-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background-color: #f9fafb;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.file-upload-area:hover {
    border-color: #3b82f6;
    background-color: #f0f9ff;
}

.file-upload-area.dragover {
    border-color: #3b82f6;
    background-color: #dbeafe;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.upload-text {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.upload-subtext {
    font-size: 0.875rem;
    color: #6b7280;
}

.file-list {
    margin-top: 0.75rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background-color: #f3f4f6;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.file-name {
    color: #374151;
    font-weight: 500;
}

.file-remove {
    color: #ef4444;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.file-remove:hover {
    background-color: #fee2e2;
}

.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: #ffffff;
    min-width: 80px;
    justify-content: center;
}

.radio-option:hover {
    border-color: #3b82f6;
    background-color: #f0f9ff;
}

.radio-option input[type="radio"] {
    margin-right: 0.5rem;
    accent-color: #3b82f6;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: #1e40af;
    font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: #3b82f6;
    background-color: #dbeafe;
}

.radio-label {
    font-size: 0.875rem;
    color: #374151;
    transition: color 0.2s ease;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .modal-content {
        margin: 2% auto;
        width: 95%;
    }

    .lead-form {
        padding: 1.5rem;
        padding-top: 2.5rem;
    }

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