:root {
    --primary-color: #897089; /* softer purple-grey */
    --secondary-color: #dcb3aa; /* peach/pinkish */
    --accent-color: #4f6356; /* greenish accent like in screenshot */
    --text-color: #333333;
    --light-bg: #fdfafb;
    --white: #ffffff;
    --border-color: #e5d8dc;
}

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

body {
    font-family: 'Assistant', 'Heebo', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

.bg-light {
    background-color: var(--light-bg);
}

.lead-text {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: #555;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    background-color: #faefe9;
    color: #c9886f;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.logo-text span {
    font-size: 0.9rem;
    color: #777;
}

.call-btn {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.call-btn:hover {
    background-color: #3a4a40;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    min-height: 80vh;
    background-image: url('clinic_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75); /* lighter overlay so form is visible */
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1.1;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 30px;
}

.hero-pills {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pill {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: #555;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pill i {
    color: var(--secondary-color);
}

/* Contact Form Card */
.hero-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    width: 400px;
    text-align: center;
}

.hero-form-card h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.hero-form-card p {
    color: #777;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: #f8f6f7;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.submit-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #d1a197;
    transform: translateY(-2px);
}

/* Global Headings */
h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 30px;
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.approach-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.approach-card:hover {
    transform: translateY(-10px);
}

.approach-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.approach-card p {
    font-size: 1.1rem;
}

/* Personal Note */
.personal-note {
    background: var(--white);
}

.note-box {
    background: #faefe9;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.note-box h2 {
    color: #c9886f;
}

.note-box p {
    font-size: 1.3rem;
    color: #555;
    font-style: italic;
}

/* Shidduchim Section */
.shidduchim {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shidduchim-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.shidduchim-box h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.shidduchim-box p {
    font-size: 1.3rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 600;
}

/* Specialties Section */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.specialty-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-bottom: 3px solid var(--secondary-color);
}

.specialty-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.specialty-card h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.specialty-card p {
    font-size: 0.95rem;
    color: #777;
}

/* Education Section */
.education-content {
    max-width: 800px;
    margin: 0 auto;
}

.education-list {
    list-style: none;
    text-align: right;
    display: inline-block;
}

.education-list li {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.education-list li i {
    color: var(--primary-color);
    margin-left: 15px;
    font-size: 1.5rem;
}

/* Footer / Contact */
.contact {
    background-color: var(--accent-color);
    color: var(--white);
    text-align: center;
}

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

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-item a, .contact-item span {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

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

.copyright {
    margin-top: 50px;
    font-size: 0.9rem;
    opacity: 0.7;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

/* Animations */
.scroll-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-anim.show {
    opacity: 1;
    transform: translateY(0);
}

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

.delay-1 {
    animation-delay: 0.3s;
    opacity: 0; /* starts hidden */
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-pills {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    .hero {
        padding: 40px 0;
        min-height: auto;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .hero .subtitle {
        font-size: 1.1rem;
    }
    .hero-form-card {
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
    }
    .contact-info {
        flex-direction: column;
        gap: 25px;
    }
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    h2 {
        font-size: 2rem;
    }
    .note-box {
        padding: 30px 20px;
    }
    .note-box p {
        font-size: 1.1rem;
    }
    .pill {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}
