/* Shared styles for all pages */

:root {
    --primary-color: #6B7F8F;
    --secondary-color: #F8F6F0;
    --accent-color: #E8A87C;
    --warm-accent: #FFB6A5;
    --deep-blue: #4A5F7A;
    --soft-green: #C4D5C4;
    --text-dark: #2C3E50;
    --text-light: #F8F6F0;
    --text-muted: #6B7F8F;
    --white: #ffffff;
    --shadow-soft: 0 4px 20px rgba(107, 127, 143, 0.08);
    --shadow-medium: 0 8px 30px rgba(107, 127, 143, 0.12);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--deep-blue);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--warm-accent) 100%);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(232, 168, 124, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 168, 124, 0.4);
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Header */
header {
    background: linear-gradient(135deg, rgba(248, 246, 240, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    height: 100%;
}

.logo-img {
    height: 85%;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-blue);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--warm-accent));
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--deep-blue);
    padding: 5px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #fff 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    padding-top: 0;
    padding-bottom: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 168, 124, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(250, 250, 250, 0.92) 0%, rgba(255, 255, 255, 0.82) 55%, rgba(250, 250, 250, 0.92) 100%),
        url('assets/background.jpg'),
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='1200'%20height='700'%20viewBox='0%200%201200%20700'%3E%3Crect%20width='1200'%20height='700'%20fill='none'/%3E%3Cg%20fill='none'%20stroke='%236b7f8f'%20stroke-width='3'%20stroke-linecap='round'%20opacity='0.22'%3E%3Cpath%20d='M0%20210%20C%20200%20145%20400%20275%20600%20210%20C%20800%20145%201000%20275%201200%20210'/%3E%3Cpath%20d='M0%20310%20C%20200%20245%20400%20375%20600%20310%20C%20800%20245%201000%20375%201200%20310'/%3E%3Cpath%20d='M0%20410%20C%20200%20345%20400%20475%20600%20410%20C%20800%20345%201000%20475%201200%20410'/%3E%3Cpath%20d='M0%20510%20C%20200%20445%20400%20575%20600%20510%20C%20800%20445%201000%20575%201200%20510'/%3E%3C/g%3E%3Cg%20fill='%23e8a87c'%20opacity='0.10'%3E%3Ccircle%20cx='180'%20cy='170'%20r='10'/%3E%3Ccircle%20cx='980'%20cy='250'%20r='12'/%3E%3Ccircle%20cx='520'%20cy='520'%20r='9'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center, center, center;
    background-size: cover, contain, 1200px 700px;
    filter: saturate(0.9) contrast(1.05);
    pointer-events: none;
    z-index: 0;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 35px auto;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.8;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
    background: #fff;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(107, 127, 143, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--warm-accent));
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.team-photo-placeholder {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--soft-green) 100%);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 4px solid rgba(232, 168, 124, 0.2);
    box-shadow: 0 4px 15px rgba(107, 127, 143, 0.1);
    position: relative;
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.team-role {
    display: block;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 18px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.team-desc {
    text-align: left;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Services */
.services {
    background: linear-gradient(180deg, #fafafa 0%, var(--secondary-color) 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid rgba(107, 127, 143, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(232, 168, 124, 0.1), rgba(255, 182, 165, 0.1));
    border-radius: 15px;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* Desktop: keep title top, paragraph bottom */
@media (min-width: 1201px) {
    .service-card {
        display: flex;
        flex-direction: column;
    }

    .service-card p {
        margin-top: auto;
    }
}

/* Pricing */
.price-list {
    max-width: 750px;
    margin: 50px auto 0;
    border: 1px solid rgba(107, 127, 143, 0.15);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 35px;
    border-bottom: 1px solid rgba(107, 127, 143, 0.1);
    transition: all 0.3s ease;
}

.price-item:hover {
    background: var(--secondary-color);
    padding-left: 40px;
}

.price-item:last-child {
    border-bottom: none;
}

.price-name {
    font-weight: 600;
    color: var(--deep-blue);
    font-size: 1.05rem;
}

.price-cost {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.3rem;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    position: relative;
}

.contact::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"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.contact h2 {
    color: var(--text-light);
}

.contact h3 {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.contact > .container {
    position: relative;
    z-index: 1;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contact-details {
    flex: 1;
    min-width: 300px;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #ddd;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-item {
    margin-bottom: 20px;
}

.fb-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    color: #fff;
    background-color: #3b5998;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.fb-link:hover {
    background-color: #2d4373;
}

/* Form */
.contact-form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(232, 168, 124, 0.2);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

/* FAQ */
.faq-item {
    background: #fff;
    padding: 28px 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(107, 127, 143, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    padding: 5px 0;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.8;
    display: none;
    font-size: 1rem;
}

.faq-answer.show {
    display: block;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(107, 127, 143, 0.1);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--accent-color);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 4rem;
    color: rgba(232, 168, 124, 0.2);
    font-family: serif;
    line-height: 1;
}

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

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--deep-blue);
    font-size: 0.95rem;
}

footer {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #2d3b42 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 35px 0;
    font-size: 0.9rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

/* Psychologist pages */
.psychologist-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #fff 100%);
    padding: 60px 0;
}

.psychologist-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
}

.psychologist-photo {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--soft-green) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    border: 4px solid rgba(232, 168, 124, 0.2);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.psychologist-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.psychologist-info h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.psychologist-role {
    display: block;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.psychologist-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.detail-section {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
    border: 1px solid rgba(107, 127, 143, 0.1);
}

.detail-section h2 {
    color: var(--deep-blue);
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.detail-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.detail-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.detail-section ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.detail-section li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text-dark);
}

.specializations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.specialization-card {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
}

.specialization-card h4 {
    color: var(--deep-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.specialization-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.contact-cta {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    text-align: center;
    padding: 60px 0;
}

.contact-cta h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 85%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero::after {
        background-image:
            linear-gradient(135deg, rgba(250, 250, 250, 0.92) 0%, rgba(255, 255, 255, 0.82) 55%, rgba(250, 250, 250, 0.92) 100%),
            url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='80'%20height='80'%20viewBox='0%200%2080%2080'%3E%3Crect%20width='80'%20height='80'%20fill='none'/%3E%3Cg%20fill='%236b7f8f'%20opacity='0.18'%3E%3Ccircle%20cx='10'%20cy='10'%20r='2.0'/%3E%3Ccircle%20cx='40'%20cy='20'%20r='1.8'/%3E%3Ccircle%20cx='70'%20cy='12'%20r='1.9'/%3E%3Ccircle%20cx='20'%20cy='45'%20r='1.9'/%3E%3Ccircle%20cx='55'%20cy='55'%20r='2.0'/%3E%3Ccircle%20cx='72'%20cy='68'%20r='1.8'/%3E%3Ccircle%20cx='12'%20cy='70'%20r='1.8'/%3E%3Ccircle%20cx='35'%20cy='68'%20r='1.9'/%3E%3Ccircle%20cx='62'%20cy='35'%20r='1.8'/%3E%3C/g%3E%3C/svg%3E");
        background-repeat: no-repeat, repeat;
        background-position: center, center;
        background-size: cover, 60px 60px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-map {
        height: 300px;
    }

    .contact-form {
        padding: 20px;
    }

    .psychologist-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .psychologist-photo {
        margin: 0 auto;
    }

    .detail-section {
        padding: 30px 20px;
    }

    .nav-links {
        display: none;
    }
}
