:root {
    --color-primary: #047857;
    /* Emerald Green */
    --color-secondary: #1e3a8a;
    /* Dark Blue */
    --color-accent: #fcd34d;
    /* Amber */
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #f9fafb;
}

.section-heading {
    color: var(--color-secondary);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-button {
    background-color: var(--color-primary);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Service Card Styling for clickability */
.service-card {
    cursor: pointer;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Custom styles for rendered markdown (Gemini Modal) */
#insight-result h3 {
    color: var(--color-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.25rem;
}

#insight-result p,
#insight-result ul {
    margin-bottom: 1rem;
    color: #4b5563;
}

#insight-result li {
    list-style-type: disc;
    margin-left: 1.5rem;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
