/* ===================================================================
 * Base Styles & Variables
 * =================================================================== */
:root {
    --color-primary: #2563EB; /* blue-600 */
    --color-primary-hover: #1D4ED8; /* blue-700 */
    --color-text-dark: #1F2937; /* gray-800 */
    --color-text-medium: #4B5563; /* gray-600 */
    --color-text-light: #6B7280; /* gray-500 */
    --color-border: #E5E7EB; /* gray-200 */
    --color-bg-light: #F8F9FA;
    --color-bg-white: #FFFFFF;
    --color-bg-dark: #111827; /* gray-900 */
    --color-blue: #3B82F6;
    --color-teal: #14B8A6;
    --color-indigo: #6366F1;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    margin: 0;
    background-image: url('pix/bg2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center top;
    line-height: 1.7;
}

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ===================================================================
 * Header & Navigation
 * =================================================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    width: 45px;
    height: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.main-nav {
    display: none; /* Hidden on mobile */
}

/* Apply styles to nav links that are NOT buttons */
.main-nav a:not(.btn) {
    color: var(--color-text-medium);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.main-nav a:not(.btn):hover {
    color: var(--color-primary);
}

.mobile-nav-button {
    display: block; /* Shown on mobile */
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 0 1.5rem 1rem;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    color: var(--color-text-medium);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a.btn-primary {
    color: var(--color-bg-white);
}

.mobile-nav.is-open {
    display: block;
}

/* ===================================================================
 * Buttons
 * =================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
}

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

.btn-secondary {
    background-color: var(--color-bg-white);
    color: var(--color-text-medium);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: #F3F4F6; /* gray-100 */
    transform: scale(1.05);
}

.btn-outline {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: #EFF6FF; /* blue-50 */
    color: var(--color-primary-hover);
}


/* ===================================================================
 * Hero Section
 * =================================================================== */
.hero {
    text-align: center;
    padding: 5rem 0 4.5rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.hero-title .text-gradient {
    background-image: linear-gradient(to right, var(--color-primary), var(--color-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin-top: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    color: var(--color-text-medium);
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ===================================================================
 * General Section Styling
 * =================================================================== */
.section {
    padding: 3rem 0;
}

.section-highlight {
    background-color: var(--color-bg-white);
    border-radius: 1rem;
    padding: 5rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.section-subtitle {
    margin-top: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-medium);
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ===================================================================
 * Grid Layout
 * =================================================================== */
.grid-3-col {
    display: grid;
    gap: 2rem;
}

/* ===================================================================
 * Card Styles (Services, Ventures, Insights)
 * =================================================================== */
.service-card {
    display: block;
    background-color: var(--color-bg-white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

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

.service-card-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-card-icon-wrapper.bg-blue { background-color: #DBEAFE; color: #2563EB; }
.service-card-icon-wrapper.bg-teal { background-color: #CCFBF1; color: #0D9488; }
.service-card-icon-wrapper.bg-indigo { background-color: #E0E7FF; color: #4F46E5; }

.service-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.service-card-text {
    color: var(--color-text-medium);
}

.venture-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.venture-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: var(--color-primary);
}

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

.venture-card-logo-wrapper {
    flex-shrink: 0;
    height: 3rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venture-card-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.venture-card-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-text-dark);
}

.venture-card-text {
    font-size: 0.875rem;
    color: var(--color-text-medium);
    flex-grow: 1;
}

.venture-card-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--color-border);
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: #F9FAFB; /* gray-50 */
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    font-weight: 600;
    color: var(--color-text-medium);
}

.venture-card-view-all:hover {
    border-color: var(--color-primary);
    background-color: #EFF6FF; /* blue-50 */
    color: var(--color-primary-hover);
}

.insight-card {
    background-color: var(--color-bg-white);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.insight-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.insight-card-category {
    font-size: 0.875rem;
    font-weight: 600;
}
.insight-card-category.text-blue { color: var(--color-blue); }
.insight-card-category.text-teal { color: var(--color-teal); }
.insight-card-category.text-indigo { color: var(--color-indigo); }

.insight-card-title {
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--color-text-dark);
}

.insight-card-footer {
    padding: 0 1.5rem 1.5rem;
}


/* ===================================================================
 * Footer
 * =================================================================== */
.site-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-bg-white);
}

.footer-container {
    padding: 3rem 1.5rem;
    display: grid;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-tagline {
    margin-top: 0.5rem;
    color: #9CA3AF; /* gray-400 */
}

.footer-copyright {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

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

.footer-heading {
    font-weight: 600;
    color: var(--color-bg-white);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.footer-links li + li {
    margin-top: 0.5rem;
}

.footer-links a, .footer-links p {
    color: #9CA3AF; /* gray-400 */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
    color: var(--color-bg-white);
}

/* ===================================================================
 * Animations & Media Queries
 * =================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-section {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

/* Tablet and larger */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .mobile-nav-button {
        display: none;
    }
    .hero-title {
        font-size: 3.75rem;
    }
    .hero-title br {
        display: block;
    }
    .section-title {
        font-size: 2.25rem;
    }
    .grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}





/* ===================================================================
 * Styles for Services Page (services.html)
 * =================================================================== */

/* Page Header */
.page-header {
    padding-top: 4rem;
    padding-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    margin-top: -4rem;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: -1rem;
}

.page-subtitle {
    margin-top: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    color: var(--color-text-medium);
    margin-bottom: -1rem;
}

/* Quick Navigation */
.quick-nav {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.quick-nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: #E5E7EB; /* gray-200 */
    color: #374151; /* gray-700 */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.quick-nav-link:hover {
    background-color: #DBEAFE; /* blue-100 */
    color: #1E40AF; /* blue-700 */
}

/* Service Section Layout */
.service-section {
    padding: 5rem 0;
}

.service-content {
    max-width: 48rem; /* 3xl */
    margin-left: auto;
    margin-right: auto;
}

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

.service-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.service-icon-wrapper.bg-blue { background-color: #DBEAFE; color: #2563EB; }
.service-icon-wrapper.bg-teal { background-color: #CCFBF1; color: #0D9488; }
.service-icon-wrapper.bg-indigo { background-color: #E0E7FF; color: #4F46E5; }

.service-title {
    font-size: 1.875rem; /* 3xl */
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0;
}

.service-motto {
    font-size: 1.5rem; /* 2xl */
    font-weight: 600;
    color: var(--color-text-dark);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.service-content p {
    color: var(--color-text-medium);
    margin-bottom: 9px;
}

.highlight-box {
    padding: 1rem;
    border-left-width: 4px;

    border-radius: 0 0.5rem 0.5rem 0;
    margin: 1.5rem 0;
    color: var(--color-text-medium);
}
.highlight-box.bg-blue {
    background-color: #EFF6FF; /* blue-50 */
    border-color: var(--color-primary);
        border-left-style: solid;
}

.service-subtitle {
    font-size: 1.5rem; /* 2xl */
    font-weight: 600;
    color: var(--color-text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.service-list-item {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 1rem;
    border-left-width: 4px;
}
.service-list-item.border-blue { border-color: var(--color-primary); }
.service-list-item.border-teal { border-color: var(--color-teal); }
.service-list-item.border-indigo { border-color: var(--color-indigo); }
.service-list-item.bg-light { background-color: #F9FAFB; } /* gray-50 */
.service-list-item strong { color: var(--color-text-dark); }
.phases-container { display: grid; gap: 2rem; }
.phase-title { font-size: 1.125rem; font-weight: 700; }
.phase-title.text-blue { color: #1E40AF; }
.phase-list { list-style-type: disc; padding-left: 1.25rem; margin-top: 0.75rem; color: var(--color-text-medium); }
.phase-list li + li { margin-top: 0.5rem; }
.final-paragraph { margin-top: 2rem; }
.service-button { margin-top: 2rem; }

/* Responsive adjustments for services page */
@media (min-width: 768px) {
    .page-header { padding-top: 6rem; padding-bottom: 3rem; }
    .page-title { font-size: 3rem; }
    .service-section { padding: 6rem 0; }
}



/* ===================================================================
 * Styles for Ventures Page (ventures.html)
 * =================================================================== */

.ventures-header { padding-bottom: 2.5rem; padding-top: 4rem; }
.ventures-intro { padding-bottom: 2rem; border-bottom: 1px solid var(--color-border); }
.ventures-intro-content { max-width: 48rem; margin-left: auto; margin-right: auto; text-align: left; }
.ventures-intro-content p { margin-bottom: 1rem; }
.highlight-box.bg-gray { background-color: var(--color-bg-white); border-left-color: var(--color-border); }
.ventures-grid-section { padding-top: 2.5rem; padding-bottom: 5rem; }

.venture-card-large {
    background-color: var(--color-bg-white);
    border-radius: 0.5rem;
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.venture-card-large-logo { width: 6rem; height: 6rem; border-radius: 0.5rem; margin-left: auto; margin-right: auto; margin-bottom: 1rem; object-fit: contain; }
.venture-card-large-title { font-size: 1.25rem; font-weight: 700; color: var(--color-text-dark); }
.venture-card-large-text { color: var(--color-text-medium); margin-top: 0.5rem; flex-grow: 1; }
.venture-card-large .btn { margin-top: 1.5rem; }

/* Responsive adjustments for ventures page */
@media (min-width: 768px) {
    .ventures-header { padding-top: 6rem; padding-bottom: 4rem; }
    .ventures-intro { padding-bottom: 3rem; }
    .ventures-grid-section { padding-top: 3rem; padding-bottom: 6rem; }
}

/* ===================================================================
 * Styles for About Page (about.html)
 * =================================================================== */

.about-section { padding-bottom: 3rem; }
.about-details { padding-top: 3rem; padding-bottom: 4rem; }
.about-content { max-width: 48rem; margin-left: auto; margin-right: auto; text-align: left; }
.about-title { font-size: 1.875rem; font-weight: 700; color: var(--color-text-dark); margin-bottom: 1.5rem; margin-top: 3rem; }
.about-content p { margin-bottom: -1rem; color: var(--color-text-medium); }

.details-grid-container {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 2rem;
    display: grid;
    gap: 2rem;
}

.details-item-title { font-weight: 600; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.details-item-text { margin-top: -1rem; font-size: 1.125rem; color: var(--color-text-dark); }

/* Responsive adjustments for about page */
@media (min-width: 768px) {
    .about-section { padding-bottom: 4rem; }
    .about-details { padding-top: 4rem; padding-bottom: 6rem; }
    .details-grid-container { grid-template-columns: repeat(2, 1fr); }
    .details-item-full { grid-column: span 2 / span 2; }
}

/* ===================================================================
 * Styles for Insights Page (insights.html)
 * =================================================================== */

.article-card {
    background-color: var(--color-bg-white);
    border-radius: 0.5rem;
    border: 1px solid var(--color-border);
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: box-shadow 0.2s ease-in-out;
}

.article-card:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.article-card-thumbnail { width: 100%; height: 12rem; object-fit: cover; }
.article-card-content { padding: 1.5rem; }
.article-card-date { font-size: 0.875rem; color: var(--color-text-light); margin-bottom: 0.5rem; }
.article-card-title { font-size: 1.25rem; font-weight: 700; color: var(--color-text-dark); transition: color 0.2s ease-in-out; }
.article-card:hover .article-card-title { color: var(--color-primary); }
.article-card-subtitle { color: var(--color-text-medium); margin-top: 0.5rem; }
.article-card-link { margin-top: 1rem; display: inline-block; font-weight: 600; color: var(--color-primary); }
.pagination { margin-top: 4rem; margin-bottom: 4rem; display: flex; justify-content: center; align-items: center; gap: 1rem; }

.pagination-button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-white);
    cursor: pointer;
}

.pagination-button:disabled { opacity: 0.5; cursor: not-allowed; }

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

.error-message { color: #EF4444; text-align: center; }

/* This is needed for the grid layout on the insights page */
@media (min-width: 768px) {
    #articles-grid.grid-3-col { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    #articles-grid.grid-3-col { grid-template-columns: repeat(3, 1fr); }
}

/* ===================================================================
 * Styles for Article Template Page (article-template.html)
 * =================================================================== */

main .article-container {
    padding-top: 4rem;
    padding-bottom: 6rem;
    max-width: 48rem; /* 3xl */
    margin-left: auto;
    margin-right: auto;
}

.article-back-link { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.article-back-link:hover { text-decoration: underline; }
.article-header { margin-top: 2rem; }
.article-date { color: var(--color-text-light); }

.article-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-top: 0.5rem;
    line-height: 1.2;
}

.article-subtitle { margin-top: 1rem; font-size: 1.25rem; color: var(--color-text-medium); }
.article-divider { margin-top: 2rem; margin-bottom: 2rem; border-color: var(--color-border); }

/* Typography and elements within the loaded article HTML */
.article-body h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body p {
    font-size: 1.125rem;
    color: var(--color-text-medium);
    margin-bottom: 1rem;
    line-height: 1.75;
}

.article-body ul {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--color-text-medium);
}

.article-body li { margin-bottom: 0.75rem; line-height: 1.75; }
.article-body figure { margin: 2rem 0; }
.article-body img { width: 100%; height: auto; border-radius: 0.5rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.article-body figcaption { margin-top: 0.5rem; font-size: 0.875rem; text-align: center; color: var(--color-text-light); }

/* Styles for responsive video embed */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    margin: 2rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments for article template */
@media (min-width: 768px) {
    .article-title { font-size: 3rem; }
}


/* ===================================================================
 * Styles for Contact Page (contact.html)
 * =================================================================== */

.contact-section {
    max-width: 64rem; /* 5xl */
    margin-left: auto;
    margin-right: auto;
    background-color: var(--color-bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--color-border);
}

.contact-grid { display: grid; gap: 3rem; }
.contact-info-title { font-size: 1.5rem; font-weight: 700; color: var(--color-text-dark); }
.contact-info p { margin-top: 1rem; color: var(--color-text-medium); }
.contact-info-details { margin-top: 2rem; }
.contact-info-item { display: flex; align-items: center; gap: 1rem; }
.contact-info-item svg { color: var(--color-primary); }
.contact-info-item a { color: var(--color-text-medium); text-decoration: none; transition: color 0.2s ease-in-out; }
.contact-info-item a:hover { color: var(--color-primary); }

.form-fields-wrapper { display: grid; gap: 1.5rem; }

.form-input {
    width: 100%; padding: 0.75rem 1rem;
    background-color: #F9FAFB; /* gray-50 */
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    font-size: 1rem;
}

.form-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }

select.form-input:invalid { color: #9CA3AF; }

.honeypot-field { position: absolute; left: -5000px; visibility: hidden; }
.btn.full-width { width: 100%; }

.form-status { margin-top: 1rem; text-align: center; }
.form-status.error { color: #EF4444; }

/* Modal Styles */
.modal-overlay {
    position: fixed; inset: 0;
    background-color: rgba(17, 24, 39, 0.5); /* gray-900 with 50% opacity */
    display: flex; align-items: center; justify-content: center; padding: 1rem;
    z-index: 50; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible { opacity: 1; visibility: visible; }

.modal-content {
    background-color: var(--color-bg-white);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 2rem; max-width: 24rem; width: 100%;
    text-align: center; transform: scale(0.95); transition: transform 0.3s ease;
}

.modal-overlay.visible .modal-content { transform: scale(1); }

.modal-icon-wrapper {
    margin-left: auto; margin-right: auto;
    display: flex; align-items: center; justify-content: center;
    height: 3rem; width: 3rem; border-radius: 9999px;
    background-color: #D1FAE5; /* green-100 */
}

.modal-icon { height: 1.5rem; width: 1.5rem; color: #059669; /* green-600 */ }
.modal-title { font-size: 1.125rem; line-height: 1.5rem; font-weight: 500; color: var(--color-text-dark); margin-top: 1rem; }
.modal-body { margin-top: 0.5rem; }
.modal-body p { font-size: 0.875rem; color: var(--color-text-light); }
.modal-footer { margin-top: 1.5rem; }


/* Responsive adjustments for contact page */
@media (min-width: 768px) {
    .contact-section {
        padding: 3rem;
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
