:root {
    --blue: #B0C8DA;
    --blue-dark: #8FB0C6;
    --heading-blue: #6A9AB8;
    --text-gray: #555555;
    --text-dark: #333333;
    --white: #FFFFFF;
    --footer-bg: #2D4059;
    --shadow-soft: 0 2px 20px rgba(0,0,0,0.06);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 55px;
    transition: transform var(--transition);
}

.logo:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width var(--transition);
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── HERO SECTION ─── */
.hero {
    background: var(--blue) url('../images/hero-bg.jpg') center/cover no-repeat;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    color: var(--white);
    animation: fadeInRight 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-desc {
    font-size: 1rem;
    color: var(--white);
    line-height: 2;
    opacity: 0.92;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.hero-illustration svg {
    width: 100%;
    max-width: 450px;
    height: auto;
}

/* ─── ABOUT SECTION ─── */
.about {
    background: var(--blue);
    padding: 2rem 2rem 5rem;
    position: relative;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.about-image-wrapper {
    display: flex;
    justify-content: center;
}

.about-portrait {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border: 5px solid var(--white);
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.about-text-wrapper {
    color: var(--white);
}

.about-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.about-bio {
    font-size: 1.05rem;
    color: var(--white);
    line-height: 2;
    opacity: 0.92;
}

/* ─── CONTACT SECTION ─── */
.contact {
    padding: 5rem 2rem;
    background: var(--white) url('../images/contact-bg.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrapper {
    position: relative;
}

.contact-heading {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--heading-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    max-width: 500px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
    text-align: right;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--blue);
    border-radius: 20px;
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    direction: rtl;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--heading-blue);
    box-shadow: 0 0 0 3px rgba(106, 154, 184, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    border-radius: 12px;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.form-success {
    display: none;
    padding: 1.5rem;
    text-align: center;
    color: var(--heading-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-illustration svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--footer-bg);
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

/* ─── FAQ PAGE ─── */
.faq-page {
    padding: 6rem 2rem 4rem;
    min-height: 70vh;
}

.faq-page-inner {
    max-width: 750px;
    margin: 0 auto;
}

.faq-page-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--heading-blue);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Heebo', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: right;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--heading-blue);
}

.faq-question-text {
    flex: 1;
    text-align: right;
}

.faq-chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
    color: var(--text-gray);
    transition: transform var(--transition);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 0.5rem 1.3rem;
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.9;
    text-align: right;
    direction: rtl;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .hero-illustration {
        order: -1;
    }

    .hero-illustration svg {
        max-width: 280px;
    }

    .about-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .about-image-wrapper {
        order: -1;
    }

    .about-portrait {
        width: 250px;
        height: 250px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .contact-illustration {
        order: -1;
    }

    .contact-illustration svg {
        max-width: 250px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
        gap: 1.2rem;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

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

    .mobile-toggle {
        display: flex;
    }
}
