/* =========================
   Base Reset & Typography
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* Simple utility container for inner width */
.container {
    max-width: 960px;
    margin: 0 auto;
}

/* =========================
   Layout: Sidebar + Main
   ========================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 180px;
    height: 100vh;
    padding: 28px 20px;

    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Side nav links */

.side-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;

    margin-top: auto;
    margin-bottom: auto;
}

.side-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 140px;
    height: 42px;
    border-radius: 14px;

    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    color: #C86B6B;
    background: rgba(200, 107, 107, 0.12);

    transition: background 0.2s ease,
                transform 0.12s ease,
                box-shadow 0.2s ease;
}

.side-link:hover {
    background: rgba(200, 107, 107, 0.22);
    transform: translateX(4px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* Language toggle button */

.lang-btn {
    margin-top: 16px;

    border: none;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;

    background: #C86B6B;
    color: #ffffff;

    transition: transform 0.1s ease,
                box-shadow 0.2s ease,
                opacity 0.2s ease;
}

.lang-btn:hover {
    background: #B85A5A;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Main content area */

.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================
   Spiritual Top Section
   ========================= */

.spiritual-section {
    background: #faf5f5;
    /* background: #fceeee; */
    padding: 10px 0 10px;
    text-align: center;
}

.bismillah-block {
    margin-bottom: 15px;
}

.bismillah-ar {
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
    color: #5a2a2a;
    letter-spacing: 1px;
}

.bismillah {
    font-size: 0.95rem;
    text-align: center;
    color: #777;
    font-style: italic;
}

/* Verses */

.verses {
    max-width: 800px;
    margin: 10px auto 0;
    text-align: center;
}

.verse {
    display: none;
    margin-bottom: 12px;
}

.verse.active {
    display: block;
}

.verse-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 6px;
    position: relative;
    padding-left: 0;
}

/* Subtle centered highlighter line ABOVE text */
.verse-text::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: rgba(200, 107, 107, 0.6);
    margin: 0 auto 12px auto;
}

.verse-ref {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

/* =========================
   Sections & Hero
   ========================= */

.hero {
    /*background: #F6EAEA;*/
    padding: 64px 48px 56px;
    text-align: center;
}

.hero-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-intro h2 {
    margin-bottom: 4px;
    font-size: 2.1rem;
}

/* Degrees and experience – same strength, clean alignment */
.doctor-degrees,
.doctor-position {
    font-size: 1rem;
    color: #5a2a2a;
    font-weight: 500;
    margin-bottom: 2px;
}

.section {
    padding: 56px 48px;
    text-align: center;     /* center all section content */
}

/* .section.light {
    background: #f3e7e7;
} */

/* Headings & text */

h2 {
    font-size: 1.9rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.section p {
    font-size: 1rem;
    max-width: 720px;
    margin: 0 auto;         /* center paragraphs inside sections */
}

/* Services list */

.services-list {
    list-style: disc;
    margin-top: 16px;

    padding-left: 0;
    list-style-position: inside;
    display: inline-block;  /* center the whole list */
    text-align: left;       /* but keep bullets/text nicely aligned */
}

.services-list li {
    margin-bottom: 6px;
}

/* =========================
   Contact Section Enhancements
   ========================= */

.hours-block {
    margin-top: 20px;
}

.hours-block h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

/* narrower so left/right aren't too far apart */
.hours-list {
    max-width: 400px;
    margin: 0 auto;
}

.hours-row,.hours-row-second {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.95rem;
}
.hours-row-second {
    justify-content: space-around;
}

/* Highlighted appointment card: hours + note + phone */

.card {
    max-width: 650px;
    margin: 24px auto 20px;
    padding: 18px 22px 20px;
    background: #fceeee;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    border-top: 3px solid #C86B6B;
    text-align: center;
    font-weight: 700;
}

.contact-note {
    margin-top: 16px;
}

.contact-block {
    font-weight: 700;
    color: #5a2a2a;
}

/* .contact-note p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 6px;
} */

/* phone line inside the card – highlight it */
.contact-phone {
    padding-top:2%;
    font-size: 1rem;
    font-weight: 700;
    color: #5a2a2a;
}

/* =========================
   Footer
   ========================= */

.footer {
    background: transparent;
    color: #333;
    text-align: center;
    padding: 16px 24px;
    font-size: 0.85rem;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.section h2 {
    position: relative;
    display: inline-block;  /* so underline matches text width */
    padding-bottom: 8px;
}

.section h2::after {
    content: "";
    display: block;
    width: auto;                 /* short subtle line */
    height: 2px;
    background: #C86B6B;         /* soft red accent */
    margin: 6px auto 0;          /* center under text */
    opacity: 0.7;
}

/* =========================
   Responsive (Mobile / Tablet)
   ========================= */

@media (max-width: 768px) {
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 12px 16px;
        display: block;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .sidebar-inner {
        flex-direction: row;
        align-items: center;
        height: auto;
    }

    .side-nav {
        flex-direction: row;
        gap: 12px;
        margin: 0 12px;
    }

    .side-link {
        padding: 4px 6px;
        font-size: 0.85rem;
    }

    .lang-btn {
        width: auto;
        margin-top: 0;
        margin-left: auto;
        padding-inline: 12px;
        white-space: nowrap;
    }

    .hero,
    .section {
        padding: 40px 20px;
    }

    .services-list {
        display: block;
        margin-left: 0;
        text-align: left;
    }
}