:root {
    --bg-color: #0f172a;
    --surface-color: #1e293b;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --animation-speed: 0.3s;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
}

/* Header */
.main-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.main-header h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Sections */
.section-container {
    margin-bottom: 2rem;
    animation: fadeInUp var(--animation-speed) ease-out;
}

.hidden {
    display: none;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-btn {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all var(--animation-speed);
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-btn:hover,
.service-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.service-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.service-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Professionals Section */
#professionals-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.professionals-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.prof-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--animation-speed);
}

.prof-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.prof-btn.active {
    background-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.no-profs {
    color: var(--text-secondary);
    text-align: center;
    width: 100%;
}



/* Footer */
.main-footer {
    margin-top: auto;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.admin-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.admin-link:hover {
    opacity: 1;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        padding: 1rem 0;
    }

    .iframe-wrapper {
        height: 70vh;
    }
}