/* Modern Mental Health Platform Styles */

:root {
    /* Primary Colors - Calming blues and greens */
    --primary-color: #2c5aa0;
    --primary-light: #4a7bc8;
    --primary-dark: #1e3d6f;

    /* Secondary Colors - Warm and welcoming */
    --secondary-color: #6c9bd1;
    --accent-color: #52b788;
    --accent-light: #74c69d;

    /* Neutral Colors */
    --light-bg: #f8fafe;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Status Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --hero-gradient: linear-gradient(135deg, rgba(44, 90, 160, 0.9) 0%, rgba(108, 155, 209, 0.8) 100%);
    --card-gradient: linear-gradient(145deg, #ffffff 0%, #f8fafe 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--light-bg);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
}

/* Navigation */
.navbar {
    background: var(--white) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-600) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: var(--gray-100);
}

/* Hero Section */
.hero-section {
    background: var(--hero-gradient);
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/mental-health-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn {
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(82, 183, 136, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(82, 183, 136, 0.4);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

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

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    background: var(--card-gradient);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dashboard-card {
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.dashboard-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.1);
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.feature-icon.bg-success {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    box-shadow: 0 8px 25px rgba(82, 183, 136, 0.3);
}

.feature-icon.bg-info {
    background: linear-gradient(135deg, var(--info-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Forms */
.form-control {
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.15);
    background-color: var(--white);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--info-color);
}

/* Sections */
.section-padding {
    padding: 5rem 0;
}

.bg-light-custom {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

/* Therapist Cards */
.therapist-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.therapist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.specialization-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* Profile */
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background: var(--gray-800);
    color: var(--gray-300);
    margin-top: auto;
}

footer h5 {
    color: var(--white);
}

footer a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        text-align: center;
    }

    .hero-section .display-4 {
        font-size: 2.5rem;
    }

    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }

    .card {
        margin-bottom: 1.5rem;
    }
}

/* Custom utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background: var(--primary-gradient) !important;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.rounded-custom {
    border-radius: 20px !important;
}

.btn-secondary-custom {
    background: var(--gray-500) !important;
    border-color: var(--gray-500) !important;
    color: var(--white) !important;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}