/* /var/www/html/changingper/css/therapies.css */

:root {
    --primary-blue: #2c3e50;
    --soft-gold: #f39c12;
    --calm-teal: #16a085;
    --sage-bg: #dde2d5;
    --text-gray: #3e3e3e;
    --title-bg: #fdfbf7; 
    --container-width: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    background-color: var(--sage-bg);
    line-height: 1.5; /* Aligned with contact.css */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- THE HEAD: Exact match to Contact/Index --- */
.navbar-head {
    background: white;
    padding: 15px 45px;
    border-radius: 0 0 50px 50px;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.03);
}

.nav-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo img { height: 110px; width: auto; }

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
    align-items: center; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--primary-blue); 
    font-weight: 500; 
    font-size: 1rem; 
    position: relative;
    transition: color 0.3s ease;
}

.text-teal { color: var(--calm-teal) !important; font-weight: 600 !important; }
.text-gold { color: var(--soft-gold) !important; font-weight: 600 !important; }

/* Consistent Underline Styles */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -4px; left: 0;
    background-color: var(--soft-gold);
    transition: width 0.3s ease;
}

.nav-links a.text-teal::after { background-color: var(--calm-teal); }

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* --- THE TITLE PILL --- */
.title-pill {
    background-color: var(--title-bg);
    padding: 20px;
    border-radius: 100px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.title-pill h1 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    font-weight: 300;
}
.title-pill h1 span { font-weight: 700; }
.title-pill p { font-size: 0.95rem; color: #7a8a7c; font-style: italic; }

/* --- SERVICE BLOCKS --- */
.service-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 25px;
    padding: 35px;
    border-radius: 30px;
    background-color: white;
}
.service-row.reverse { flex-direction: row-reverse; }

.indiv-box { background-color: #f2ede4; }
.couples-box { background-color: #eee0d9; }
.family-box { background-color: #e5eadf; }
.telehealth-box { background-color: #e2e8ed; }

.service-image { flex: 1; height: 320px; }
.service-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }

.service-text { flex: 1.2; }
.service-text h2 { font-size: 1.9rem; color: var(--primary-blue); margin-bottom: 10px; }
.service-text p { font-size: 1.05rem; color: #4a4a4a; }

footer { padding: 40px 0; text-align: center; font-size: 0.8rem; color: #6a7a6c; }

/* --- ANIMATION --- */
.animate-slide {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 850px) {
    .nav-flex { flex-direction: column; gap: 15px; }
    .logo img { height: 80px; }
    .nav-links { gap: 15px; }
    .service-row { flex-direction: column; padding: 20px; gap: 20px; }
    .service-image { height: 250px; width: 100%; }
}