/* Global Styles */
:root {
    /* Modern Color Palette - PsykoLink */
    --primary-green: #10B981;
    --primary-blue: #3B82F6;
    --accent-purple: #6C63FF;
    --success-green: #22C55E;
    --warning-orange: #F59E0B;
    --gradient-blue-green: linear-gradient(135deg, #27AE60, #3498DB);
    --soft-gray: #F9FAFB;
    --dark-navy: #0C0F1A;
    --text-black: #1F2937;
    --text-light-gray: #9CA3AF;
    --white: #FFFFFF;
    --surface: rgba(255, 255, 255, 0.6);
    --border: rgba(59, 130, 246, 0.3);
    --shadow: 0 25px 60px -30px rgba(14, 22, 40, 0.6);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    
    /* Legacy support */
    --primary-color: #3B82F6;
    --secondary-color: #0C0F1A;
    --accent-color: #6C63FF;
    --light-color: #F9FAFB;
    --dark-color: #1F2937;
    --input-text-color: #1F2937;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-black);
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--soft-gray);
    text-decoration: none;
}



/* Content Wrapper for Sticky Footer */
.content-wrapper {
    flex: 1 0 auto;
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="time"],
textarea {
    color: var(--input-text-color);
    caret-color: var(--primary-blue);
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

input, textarea {
    caret-color: var(--primary-blue);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Placeholder Styles */
::placeholder {
    color: #999;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #999;
}

::-ms-input-placeholder {
    color: #999;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-blue) !important;
    font-size: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.04em;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--primary-green) !important;
}

.navbar-brand i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover i {
    animation: brainPulse 1s ease-in-out;
}

@keyframes brainPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
        color: var(--primary-green);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.nav-link {
    color: var(--text-black) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue-green);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.nav-link:hover::after {
    width: 100%;
}



/* Mobile Menu */
@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
        border: none;
        background: transparent;
        padding: 0.5rem;
        cursor: pointer;
    }

    .navbar-toggler-icon {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--dark-color);
        position: relative;
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--dark-color);
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon::before {
        top: -8px;
    }

    .navbar-toggler-icon::after {
        bottom: -8px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 1rem 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .nav-item {
        text-align: center;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        display: block;
    }

    /* Animate hamburger menu */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-color: transparent;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08), transparent 60%),
                radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.08), transparent 55%),
                var(--soft-gray);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(59,130,246,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-navy);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-black);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons .btn {
    margin-right: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.hero-buttons .btn-primary {
    background: var(--gradient-blue-green);
    border: none;
    color: white;
    box-shadow: 0 18px 36px -24px rgba(16, 185, 129, 0.75);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 40px -22px rgba(16, 185, 129, 0.9);
}

.hero-buttons .btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.hero-buttons .btn-outline-primary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

/* Small Hero Section for inner pages */
.small-hero {
    min-height: 25vh;
    padding-top: 150px;
    padding-bottom: 50px;
    background: var(--gradient-blue-green);
    color: white;
    text-align: center;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-navy);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.5rem);
}

/* Services Section */
.services {
    background: var(--white);
}

.service-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px -30px rgba(59, 130, 246, 0.4);
}

.service-card:hover i {
    color: var(--primary-blue);
    transform: scale(1.2) rotate(5deg);
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    color: var(--primary-green);
}

.service-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: 0.5s;
}

.service-card:hover:before {
    left: 100%;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-navy);
    font-weight: 600;
}

.service-card p {
    color: var(--text-black);
    line-height: 1.7;
}

/* App Promo Card Styles */
.app-promo-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.app-promo-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.app-promo-card i {
    color: white;
    font-size: 3rem;
    animation: pulse 2s ease-in-out infinite;
}

.app-promo-card:hover i {
    color: white;
    transform: scale(1.3) rotate(5deg);
    animation: none;
}

.app-promo-card h3 {
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.app-promo-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.6;
}

.app-promo-card:before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
}

.new-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Forms */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-blue);
    outline: none;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-blue-green);
    color: white;
    padding: 0.85rem 2rem;
    box-shadow: 0 18px 36px -24px rgba(16, 185, 129, 0.75);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 40px -22px rgba(16, 185, 129, 0.9);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 0.75rem 2rem;
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

/* Donation Section */
.donation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.donation-amount {
    flex: 1;
    min-width: 100px;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.donation-amount.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.custom-amount {
    flex: 1 1 100%;
    margin-top: 1rem;
}

.custom-amount input {
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
}

/* Donation Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-header {
    padding: 1.5rem 2rem;
    background-color: var(--light-color);
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
}

.donation-form {
    max-width: 800px;
    margin: 0 auto;
}

.donation-amount-display {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.donation-amount-display h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.card-details, .address-details {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #1a1f35 100%);
    color: white;
    padding: 4rem 0 2rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer h3, .footer h4 {
    font-family: 'Poppins', sans-serif;
    color: white;
    margin-bottom: 1.5rem;
}

.footer h3 {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer h3:hover {
    transform: scale(1.05);
    color: var(--primary-blue);
}

.footer h3:hover i {
    animation: footerBrainPulse 1.2s ease-in-out;
}

@keyframes footerBrainPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2) rotate(-5deg);
        color: var(--primary-green);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 1.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: white;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Program Hero Styles */
.program-hero, .therapy-hero, .education-hero {
    background: linear-gradient(135deg, #f6f9fc 0%, #e9f2f9 100%);
    padding: 8rem 0 5rem;
}

/* Program Details Styles */
.program-details {
    padding: 5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.stats-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Testimonials Styles */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    height: 100%;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: #666;
    font-size: 0.9rem;
}

/* Therapy Types Styles */
.therapy-types {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.therapy-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.therapy-card:hover {
    transform: translateY(-5px);
}

.therapy-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.therapy-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.therapy-details {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.therapy-details h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    margin-top: 20px;
}

.therapy-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.therapy-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.therapy-details ul li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.therapy-details ul li:before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.therapy-card .btn {
    margin-top: 20px;
    width: 100%;
}

/* Price Cards */
.price-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border: 2px solid var(--primary-color);
}

.price-card .price {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 1rem 0;
    font-weight: bold;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.price-card ul li {
    margin-bottom: 0.5rem;
    color: #666;
}

.price-card ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Course Cards */
.course-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.course-image {
    position: relative;
}

.course-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.course-content {
    padding: 1.5rem;
}

.course-content ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    color: #666;
}

.course-content .course-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.course-price .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Category Cards */
.category-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-top: 3rem;
}

.cta h2 {
    margin-bottom: 1.5rem;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.cta .btn-primary:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

/* Program Description Styles */
.program-description {
    margin-bottom: 2rem;
}

.program-description h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.program-description p {
    margin-bottom: 1rem;
    color: #666;
}

/* Feature List Styles */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #666;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 1rem;
}

/* Process Steps Styles */
.process-steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    margin: 0;
}

/* Expert Therapists Styles */
.expert-therapists {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.therapist-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.therapist-card:hover {
    transform: translateY(-5px);
}

.therapist-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.therapist-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.therapist-card .specialty {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.therapist-card .experience {
    color: #666;
    margin-bottom: 1rem;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: center;
}

.expertise-list li {
    color: #666;
    margin-bottom: 0.5rem;
}

.education {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

/* Impact Section Styles */
.our-impact {
    padding: 5rem 0;
}

.impact-text {
    text-align: justify;
}

.impact-text h3 {
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
}

.impact-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.impact-quote {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 0 10px 10px 0;
}

.impact-quote p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.impact-quote footer {
    color: #666;
    font-size: 1rem;
}

/* Lead Text Style */
.lead {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Therapist Modal Styles */
.therapist-list {
    max-height: 70vh;
    overflow-y: auto;
    padding: 1rem;
}

.therapist-card-modal {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.therapist-card-modal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.therapist-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.therapist-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.therapist-info h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.4rem;
}

.therapist-info p {
    color: var(--secondary-color);
    margin: 0.5rem 0;
}

.expertise-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.expertise-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.education-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.education-list li {
    padding: 0.5rem 0;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.session-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.session-option {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.session-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.session-option.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.session-option h5 {
    margin: 0;
    color: inherit;
}

.session-option .price {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0.5rem 0;
    color: inherit;
}

.session-option .duration {
    font-size: 0.9rem;
    color: inherit;
}

.therapist-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* News Section Styles */
.news-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f6f9fc 0%, #e9f2f9 100%);
}

.news-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.news-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 2rem;
    padding: 1rem;
    scrollbar-width: none;
}

.news-slider::-webkit-scrollbar {
    display: none;
}

.news-card {
    flex: 0 0 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(33, 150, 243, 0.2);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.news-content {
    padding: 1.5rem;
}

.news-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-date {
    color: #999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 0.5rem;
}

/* Enhanced News Modal Styles */
.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.news-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.news-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.news-modal-header {
    position: relative;
}

.news-modal-header img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.news-modal-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    margin: 0;
    font-size: 1.8rem;
}

.news-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.news-modal-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.news-modal-body {
    padding: 30px;
}

.news-modal-metadata {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

.news-modal-tag {
    background-color: #007bff;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.news-modal-text {
    line-height: 1.6;
    color: #333;
}

.news-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.news-modal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.news-stat-item {
    text-align: center;
}

.news-stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.news-stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Therapy Notes Card Styles */
.therapy-notes-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.therapy-notes-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.therapy-notes-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 2rem;
}

.therapy-notes-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.therapy-notes-icon {
    font-size: 2.5rem;
    color: #007bff;
    transition: all 0.3s ease;
}

.therapy-notes-card:hover .therapy-notes-icon {
    transform: scale(1.1);
}

.therapy-notes-title {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
    flex-grow: 1;
}

.therapy-notes-arrow {
    font-size: 1.5rem;
    color: #007bff;
    transition: transform 0.3s ease;
}

.therapy-notes-card:hover .therapy-notes-arrow {
    transform: translateX(10px);
}

/* Therapy Notes Page Styles */
.therapy-notes-page {
    background-color: #f8f9fa;
    padding-top: 80px;
}

.therapy-notes-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.notes-main-title {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.notes-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-section {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-header:hover {
    background: #f8f9fa;
}

.category-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-icon {
    font-size: 1.5rem;
    color: #007bff;
}

.category-header h2 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.category-arrow {
    font-size: 1rem;
    color: #666;
    transition: transform 0.3s ease;
}

.category-content {
    display: none;
    border-top: 1px solid #eee;
}

.category-content.show {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategory-list li {
    border-bottom: 1px solid #eee;
}

.subcategory-list li:last-child {
    border-bottom: none;
}

.subcategory-trigger {
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    background: none;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.subcategory-trigger:hover {
    background: #f8f9fa;
    color: #007bff;
}

.subcategory-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 90%;
    width: 500px;
    opacity: 0;
    transition: all 0.3s ease;
}

.subcategory-popup.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.popup-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #dc3545;
}

.construction-badge {
    background-color: #ffc107;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State Styles */
.subcategory-loading {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.loading-placeholder {
    animation: loading-pulse 1.5s infinite;
    background: linear-gradient(
        90deg,
        rgba(74, 144, 226, 0.1) 25%,
        rgba(74, 144, 226, 0.2) 50%,
        rgba(74, 144, 226, 0.1) 75%
    );
    background-size: 200% 100%;
    border-radius: 4px;
}

.loading-line {
    height: 16px;
    margin: 12px 0;
}

.loading-line.short { width: 60%; }
.loading-line.medium { width: 80%; }
.loading-line.long { width: 100%; }

@keyframes loading-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Popup Animation Updates */
.subcategory-popup {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.subcategory-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.popup-content {
    transition: all 0.3s ease;
}

/* Error State */
.popup-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
}

/* ========== ALIŞTIRMALAR (EXERCISES) SECTION STYLES ========== */

/* Exercise Accordion Container */
#exercisesAccordion {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

#exercisesAccordion .accordion-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
}

#exercisesAccordion .accordion-item:last-child {
    border-bottom: none;
}

/* Exercise Accordion Headers */
#exercisesAccordion .accordion-button {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    min-height: 60px;
    position: relative;
}

#exercisesAccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5ba0f2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

#exercisesAccordion .accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.25);
    outline: none;
}

#exercisesAccordion .accordion-button:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-1px);
}

#exercisesAccordion .accordion-button:not(.collapsed):hover {
    background: linear-gradient(135deg, #5ba0f2 0%, var(--primary-color) 100%);
}

/* Exercise Content Area */
#exercisesAccordion .accordion-body {
    padding: 2rem 1.5rem;
    background: #ffffff;
    line-height: 1.7;
}

/* Exercise Block Styling */
.exercise-block {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.exercise-block:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.exercise-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.exercise-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.exercise-content {
    background: #f8f9fa;
    border-radius: 0 0 10px 10px;
}

.exercise-content h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Technique Boxes */
.technique-box {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.technique-box:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.technique-box h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.technique-box ol {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.technique-box ol li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #495057;
}

/* Benefits List Styling */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
    color: #495057;
}

.benefits-list li:last-child {
    border-bottom: none;
}

/* Source List Styling */
.source-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.source-list li {
    margin-bottom: 0.75rem;
}

.source-list a {
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 6px;
    display: inline-block;
}

.source-list a:hover {
    background: rgba(74, 144, 226, 0.1);
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Alert Customizations */
.alert-info {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
    border-color: rgba(74, 144, 226, 0.3);
}

.alert-info h5 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Smooth Animations */
.accordion-collapse {
    transition: all 0.3s ease-in-out;
}

/* Focus States for Accessibility */
.accordion-button:focus,
.technique-box:focus-within,
.source-list a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #exercisesAccordion .accordion-button {
        font-size: 1rem;
        padding: 1rem;
        min-height: 50px;
    }
    
    #exercisesAccordion .accordion-body {
        padding: 1.5rem 1rem;
    }
    
    .exercise-header {
        padding: 0.75rem 1rem;
    }
    
    .exercise-header h4 {
        font-size: 1.1rem;
    }
    
    .technique-box {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .exercise-content.bg-light {
        padding: 1.5rem 1rem !important;
    }
}

@media (max-width: 576px) {
    #exercisesAccordion .accordion-button {
        font-size: 0.95rem;
        padding: 0.75rem;
    }
    
    .exercise-header h4 {
        font-size: 1rem;
    }
    
    .technique-box h6 {
        font-size: 0.95rem;
    }
    
    .technique-box ol li {
        font-size: 0.9rem;
    }
}

/* Nefes Egzersizleri için Aydınlık Tema */
.exercise-content.bg-light {
    background: #f8f9fa !important;
    color: #212529;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.technique-box {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    color: #495057;
}

.exercise-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
}

/* Print Styles */
@media print {
    .exercise-block {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .accordion-button {
        background: #f8f9fa !important;
        color: #000 !important;
    }
    
    .accordion-collapse {
        display: block !important;
    }
}

/* Table Cards in BilisselTerapi.html */
.table-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.125);
}

.table-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.table-card .card-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.custom-table-card {
    background-color: #f8f9fa;
    border: 2px dashed #4a90e2;
}

.custom-table-card:hover {
    border: 2px dashed #2c3e50;
}

/* Table Editor Styles */
.table-editor-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.table-controls {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.table-preview {
    overflow-x: auto;
    margin-bottom: 20px;
}

.table-preview table {
    width: 100%;
    border-collapse: collapse;
}

.table-preview th, 
.table-preview td {
    border: 1px solid #dee2e6;
    padding: 8px 12px;
}

.table-preview th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.table-preview td input,
.table-preview th input {
    width: 100%;
    padding: 6px;
    border: 1px solid transparent;
    background: transparent;
}

.table-preview td input:focus,
.table-preview th input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.export-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.table-templates-container {
    margin-top: 30px;
}

.template-card {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.template-card:hover {
    transform: scale(1.02);
}

/* Dark Mode for Table Editor */
.dark-mode .table-editor-container {
    background: #2c3e50;
    color: #fff;
}

.dark-mode .table-controls {
    background: #34495e;
}

.dark-mode .table-preview th {
    background-color: #34495e;
    color: #ecf0f1;
}

.dark-mode .table-preview td,
.dark-mode .table-preview th {
    border-color: #4a5568;
}

.dark-mode .table-preview td input,
.dark-mode .table-preview th input {
    color: #ecf0f1;
}

.dark-mode .table-preview td input:focus,
.dark-mode .table-preview th input:focus {
    background: #34495e;
}

/* Cookie Notice for Tables */
.cookie-notice {
    background: rgba(74, 144, 226, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Saved Tables Mini Preview */
.table-preview-mini {
    margin-top: 15px;
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

.table-preview-overflow {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.table-preview-overflow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.9));
}

.dark-mode .table-preview-overflow::after {
    background: linear-gradient(to bottom, rgba(44,62,80,0), rgba(44,62,80,0.9));
}

.saved-table-card {
    transition: transform 0.3s ease;
}

.saved-table-card:hover {
    transform: translateY(-5px);
}

/* Tablo.html Hero Section */
.therapy-hero {
    background: linear-gradient(to right, var(--primary-color), #6c5ce7);
    color: white;
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
}

/* Sticky Footer Setup */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0 20px;
}

/* Meditasyon Kartları ve Stil Tanımları */
.meditation-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.meditation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.meditation-header-blue {
    background: linear-gradient(135deg, #4a90e2 0%, #1565c0 100%);
    color: white;
    padding: 1rem;
}

.meditation-header-green {
    background: linear-gradient(135deg, #43a047 0%, #1b5e20 100%);
    color: white;
    padding: 1rem;
}

.meditation-header-purple {
    background: linear-gradient(135deg, #9c27b0 0%, #6a1b9a 100%);
    color: white;
    padding: 1rem;
}

.meditation-header-orange {
    background: linear-gradient(135deg, #ff9800 0%, #e65100 100%);
    color: white;
    padding: 1rem;
}

.meditation-header-indigo {
    background: linear-gradient(135deg, #3f51b5 0%, #1a237e 100%);
    color: white;
    padding: 1rem;
}

.border-dashed {
    border: 2px dashed #ddd;
    background-color: rgba(248, 249, 250, 0.5);
}

/* Meditation Filters */
.meditation-filters {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Meditasyon sayfa stilleri */
.meditation-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.meditation-player {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.meditation-header {
    padding: 2rem;
    color: #fff;
    position: relative;
    z-index: 10;
}

.meditation-content {
    padding: 2rem;
}

.meditation-controls {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: -2rem;
    position: relative;
    z-index: 20;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.breathing-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.8) 0%, rgba(74, 144, 226, 0.1) 70%);
    margin: 0 auto;
    animation: breathe 8s infinite ease-in-out;
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.4);
}

.meditation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    transition: opacity 1s ease;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.audio-controls .btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.progress-container {
    flex-grow: 1;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4a90e2 0%, #1565c0 100%);
    width: 0%;
    transition: width 0.1s linear;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.time-display {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
}

/* Meditasyon Uygulama Rehberi Stilleri */
.practice-guide h5 .badge {
    font-size: 0.9rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.practice-guide ul.small li {
    margin-bottom: 8px;
}

.science-section .card {
    border-left: 4px solid var(--primary-color);
}

.science-section ul {
    color: #666;
    font-style: italic;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(0.8);
        box-shadow: 0 0 0 rgba(74, 144, 226, 0.4);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(74, 144, 226, 0.6);
    }
}

/* Dark Mode Styles */
body.dark-mode .meditation-player {
    background-color: #1a1a2e;
    color: #f0f0f0;
}

body.dark-mode .meditation-controls {
    background-color: rgba(26, 26, 46, 0.95);
}

body.dark-mode .progress-container {
    background-color: #333344;
}

body.dark-mode .time-display {
    color: #aaa;
}

body.dark-mode .card {
    background-color: #1a1a2e;
    border-color: #333344;
    color: #f0f0f0;
}

body.dark-mode .card-header {
    border-bottom-color: #333344;
}

body.dark-mode .badge.bg-secondary {
    background-color: #444460 !important;
}

body.dark-mode .text-muted {
    color: #aaaacc !important;
}

body.dark-mode .btn-light {
    background-color: #2c2c40;
    border-color: #333344;
    color: #f0f0f0;
}

body.dark-mode .btn-light:hover {
    background-color: #3c3c50;
}

body.dark-mode .science-section ul {
    color: #aaa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .meditation-container {
        padding: 1rem;
    }
    
    .meditation-header {
        padding: 1.5rem;
    }
    
    .meditation-controls {
        padding: 1rem;
    }
    
    .breathing-circle {
        width: 120px;
        height: 120px;
    }
    
    .audio-controls {
        flex-wrap: wrap;
    }
    
    .audio-controls .btn {
        width: 42px;
        height: 42px;
    }
}

/* ============================================
   MODERN CONTACT & INFO SECTIONS
   ============================================ */

/* Contact Section */
.contact {
    background: var(--white);
    padding: 5rem 0;
}

.contact-info {
    background: linear-gradient(135deg, var(--soft-gray) 0%, #e5e7eb 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-item p {
    margin: 0;
    color: var(--text-black);
    font-weight: 500;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form .form-control {
    border-radius: var(--radius-sm);
    border: 1px solid #e5e7eb;
    padding: 0.85rem 1rem;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
}

/* Info Items Enhancement */
.info-item {
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-blue-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-item:hover::before {
    transform: scaleY(1);
}

/* Modern Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

p, li, a, span, input, textarea, button {
    font-family: 'Inter', sans-serif;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary-blue);
    color: white;
}

::-moz-selection {
    background: var(--primary-blue);
    color: white;
}

