/* ====================================
   Global Styles & Reset
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #26391D;
    --secondary-color: #4A6741;
    --accent-color: #7A9D54;
    --light-bg: #F2F0EC;
    --cream: #FAF8F5;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #6B6B6B;
    --border-light: #E0DED9;
    
    /* Spacing */
    --section-padding: 80px 20px;
    --container-max-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Assistant', 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    direction: rtl;
    text-align: right;
}

/* ====================================
   Typography
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Heebo', 'Assistant', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ====================================
   Container & Layout
   ==================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    line-height: 1.2;
    height: 48px;
    box-sizing: border-box;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
}

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

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

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

.btn-full {
    width: 100%;
}

/* ====================================
   Header & Navigation
   ==================================== */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-bg) 100%);
    background-image: url('assets/images/zbe7fxzbe7fxzbe7.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(242, 240, 236, 0.85);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 100px 20px 50px;
}

.hero-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================
   Challenges Section
   ==================================== */
.challenges-section {
    background-color: var(--white);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.challenge-card {
    background-color: var(--cream);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.challenge-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.challenge-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.challenge-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.challenge-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* ====================================
   Therapy Section
   ==================================== */
.therapy-section {
    background-color: var(--light-bg);
}

.therapy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.therapy-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.therapy-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.therapy-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.therapy-content {
    padding: 2rem;
}

.therapy-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.therapy-content p {
    color: var(--text-gray);
    margin: 0;
}

/* ====================================
   About Section
   ==================================== */
.about-section {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    width: 100%;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.credentials {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--cream);
    border-radius: 8px;
}

.credential-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ====================================
   Services Section
   ==================================== */
.services-section {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    grid-auto-rows: 1fr;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card .btn {
    margin-top: auto;
    width: 100%;
}

/* ====================================
   Podcast Section
   ==================================== */
.podcast-section {
    background: linear-gradient(135deg, var(--light-bg), var(--cream));
}

.podcast-container {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

/* Podcast Main Card */
.podcast-main-card {
    display: flex;
    gap: 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.podcast-cover {
    position: relative;
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.podcast-cover-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.podcast-cover-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.podcast-cover-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.podcast-cover-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.podcast-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.podcast-details h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.podcast-details > p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.podcast-features {
    list-style: none;
    margin: 2rem 0;
}

.podcast-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.podcast-features i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.btn-podcast {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
}

.btn-podcast i {
    font-size: 1.25rem;
}

.podcast-help {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.podcast-help a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

.podcast-help a:hover {
    text-decoration: underline;
}

/* Demo Section */
.podcast-demo-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 3px dashed var(--accent-color);
}

.demo-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.demo-header i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.demo-header h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.demo-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.demo-language-note {
    margin-top: 0.75rem;
    font-size: 0.95rem !important;
    font-style: italic;
    color: var(--accent-color) !important;
}

.demo-player {
    max-width: 800px;
    margin: 0 auto;
}

.demo-episode-info {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.demo-episode-info i {
    font-size: 2.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.demo-episode-info h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.episode-description {
    color: var(--text-gray);
    line-height: 1.6;
}

.audio-player {
    width: 100%;
    height: 54px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    outline: none;
}

.audio-player:focus {
    outline: 2px solid var(--accent-color);
}

.demo-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--cream), var(--light-bg));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.demo-note i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

@media (max-width: 1024px) {
    .podcast-main-card {
        gap: 2rem;
        padding: 2rem;
    }
    
    .podcast-cover {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .podcast-main-card {
        flex-direction: column;
        text-align: center;
    }
    
    .podcast-cover {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .podcast-features li {
        justify-content: center;
    }
    
    .podcast-demo-section {
        padding: 2rem 1.5rem;
    }
    
    .demo-episode-info {
        flex-direction: column;
        text-align: center;
    }
}

/* ====================================
   Groups Section
   ==================================== */
.groups-section {
    background-color: var(--light-bg);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.group-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.group-card:hover {
    box-shadow: var(--shadow-lg);
}

.group-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.group-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.group-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
    margin: 0 auto;
}

.group-status.available {
    background-color: #D4EDDA;
    color: #155724;
}

.group-status.full {
    background-color: #F8D7DA;
    color: #721C24;
}

.group-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.group-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: center;
}

.group-info {
    background-color: var(--cream);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.info-item span {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ====================================
   Media Section
   ==================================== */
.media-section {
    background: linear-gradient(135deg, var(--white), var(--light-bg));
}

.media-grid {
    margin-top: 3rem;
}

.media-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.media-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.media-card:hover .media-image img {
    transform: scale(1.05);
}

.media-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.media-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.media-source i {
    font-size: 1.1rem;
}

.media-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.media-content > p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.media-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.media-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.media-meta i {
    color: var(--accent-color);
}

.media-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .media-card {
        grid-template-columns: 1fr;
    }
    
    .media-image {
        min-height: 250px;
    }
    
    .media-content {
        padding: 2rem 1.5rem;
    }
    
    .media-content h3 {
        font-size: 1.3rem;
    }
    
    .media-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ====================================
   Testimonials Section
   ==================================== */
.testimonials-section {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--cream), var(--light-bg));
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    position: relative;
    margin-bottom: 2rem;
}

.quote-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.2;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* ====================================
   Publications Section
   ==================================== */
.publications-section {
    background-color: var(--text-dark);
    color: var(--white);
}

.publications-section .section-title {
    color: var(--accent-color);
}

.publications-list {
    margin-top: 3rem;
}

.publication-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    text-align: left;
    direction: ltr;
}

.publication-item:hover {
    transform: translateX(-8px);
    box-shadow: var(--shadow-md);
}

.publication-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.publication-content {
    flex-grow: 1;
}

.publication-citation {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.publication-citation em {
    font-style: italic;
}

.publication-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.publication-link:hover {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.publication-link i {
    font-size: 0.85rem;
}

/* ====================================
   New Section
   ==================================== */
.new-section {
    background-color: var(--white);
}

.new-content {
    margin-top: 2rem;
    text-align: center;
}

.new-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ====================================
   Contact Section
   ==================================== */
.contact-section {
    background-color: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    height: fit-content;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--primary-color);
}

.contact-item p,
.contact-item a {
    margin: 0;
    color: var(--text-gray);
}

.contact-item a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ====================================
   Newsletter Section
   ==================================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form .btn {
    white-space: nowrap;
}

.newsletter-privacy {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--white);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-right: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-contact i {
    width: 20px;
    text-align: center;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--white);
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ====================================
   Modal
   ==================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.modal-content h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-form .form-group {
    margin-bottom: 1.5rem;
}

.modal-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* ====================================
   Utility Classes
   ==================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 40px 20px;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .challenges-grid,
    .therapy-grid,
    .services-grid,
    .groups-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   Print Styles
   ==================================== */
@media print {
    .header,
    .footer,
    .btn,
    .modal {
        display: none;
    }
}


