/* ==========================================================================
   Kishoreganj Ruqyah Center — Public Frontend Design System
   Source of truth: homepage.html (colors, spacing, responsive preserved)
   ========================================================================== */

:root {
    --primary: #063b2c;
    --primary-dark: #02271d;
    --primary-light: #0a5640;
    --gold: #d4a62a;
    --gold-light: #f3cf66;
    --cream: #faf8f1;
    --white: #ffffff;
    --text: #1d2a25;
    --muted: #68756f;
    --border: #e8e4d8;
    --shadow: 0 15px 40px rgba(0, 0, 0, .08);
    --radius: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans Bengali", "SolaimanLipi", Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

::selection {
    background: var(--gold);
    color: var(--primary-dark);
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
}

/* =========================
   TOP BAR
========================== */
.topbar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-socials {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 27px;
    height: 27px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    transition: .3s;
}

.social-icon:hover {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
}

/* =========================
   HEADER
========================== */
.site-header {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo img {
    max-height: 54px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.brand-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-weight: 800;
    font-size: 20px;
}

.brand-text h1 {
    font-size: 18px;
    line-height: 1.25;
    color: var(--primary);
}

.brand-text span {
    color: var(--gold);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.desktop-nav a {
    color: #3f4d47;
    font-size: 15px;
    font-weight: 600;
    transition: .25s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--gold);
}

.header-appointment {
    border: 0;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #2c2205;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}

.menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 10px;
    font-size: 22px;
    color: var(--primary);
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid var(--border);
    padding: 12px 16px 20px;
}

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

.mobile-menu a {
    display: block;
    padding: 12px 5px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: var(--primary);
}

/* =========================
   HERO
========================== */
.hero {
    min-height: 430px;
    position: relative;
    background:
        linear-gradient(90deg, rgba(2, 39, 29, .98) 0%, rgba(4, 55, 41, .94) 48%, rgba(4, 55, 41, .40) 72%, rgba(4, 55, 41, .05) 100%),
        linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, var(--gold) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, var(--gold) 1px, transparent 1px);
    background-size: 42px 42px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 48px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    font-size: 14px;
    margin-bottom: 18px;
    font-weight: 700;
}

.hero-badge::before {
    content: "✦";
}

.hero h2 {
    color: white;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.25;
    margin-bottom: 18px;
    font-weight: 800;
}

.hero h2 span {
    color: var(--gold-light);
}

.hero p {
    color: rgba(255, 255, 255, .82);
    max-width: 600px;
    font-size: 17px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    min-height: 56px;
    padding: 12px 22px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    transition: .3s;
    border: 0;
    text-align: center;
}

.btn-whatsapp {
    background: #168a45;
    color: white;
}

.btn-call {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #352600;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

/* =========================
   COMMON SECTION
========================== */
section {
    padding: 85px 0;
}

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.section-heading .eyebrow {
    display: inline-block;
    color: var(--gold);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 10px;
}

.section-heading p {
    color: var(--muted);
    font-size: 15px;
}

.small-title {
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 8px;
}

/* =========================
   SERVICES
========================== */
.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    padding: 25px 18px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 30px rgba(6, 59, 44, .05);
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #edf5ef;
    color: var(--primary);
    margin: 0 auto 15px;
    display: grid;
    place-items: center;
    font-size: 25px;
}

.service-card h3 {
    color: var(--primary);
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* =========================
   VIDEO + ABOUT
========================== */
.intro-section {
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 55px;
    align-items: center;
}

.video-box {
    position: relative;
    min-height: 400px;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 30, 22, .4), rgba(0, 30, 22, .7)),
        linear-gradient(135deg, var(--primary), var(--primary-light));
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, .35);
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 28px;
    display: grid;
    place-items: center;
    padding-left: 5px;
}

.video-label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: white;
}

.video-label span {
    display: inline-block;
    background: rgba(0, 0, 0, .45);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    margin-bottom: 8px;
}

.video-label h3 {
    font-size: 24px;
}

.about-content .small-title {
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 8px;
}

.about-content h2 {
    color: var(--primary);
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.3;
    margin-bottom: 18px;
}

.about-content > p {
    color: #52615a;
    margin-bottom: 20px;
}

.feature-list {
    display: grid;
    gap: 13px;
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--primary);
}

.feature-check {
    width: 28px;
    height: 28px;
    background: #f9edc6;
    color: #89620a;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 14px;
}

/* =========================
   APPOINTMENT
========================== */
.appointment-section {
    background: white;
    position: relative;
}

.appointment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.appointment-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--cream);
    transition: .3s;
}

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

.appointment-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--primary);
    color: var(--gold-light);
    display: grid;
    place-items: center;
    font-size: 24px;
}

.appointment-card h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 5px;
}

.appointment-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.mini-btn {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 700;
}

/* =========================
   VIDEO GALLERY
========================== */
.gallery-section {
    background: var(--cream);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px;
}

.content-header h2 {
    color: var(--primary);
    font-size: 32px;
}

.view-all {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.media-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: .3s;
}

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

.media-thumb {
    height: 170px;
    position: relative;
    background: #123c2e center/cover;
}

.media-thumb.has-video {
    cursor: pointer;
}

.media-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .55));
}

.thumb-1 { background-image: url("assets/video-1.jpg"); }
.thumb-2 { background-image: url("assets/video-2.jpg"); }
.thumb-3 { background-image: url("assets/video-3.jpg"); }
.thumb-4 { background-image: url("assets/video-4.jpg"); }

.small-play {
    position: absolute;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--primary);
    display: grid;
    place-items: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.duration {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 8px;
    background: rgba(0, 0, 0, .75);
    color: white;
    padding: 3px 7px;
    font-size: 11px;
    border-radius: 5px;
}

.media-info {
    padding: 15px;
}

.media-info h3 {
    font-size: 16px;
    color: var(--primary);
    line-height: 1.45;
    margin-bottom: 7px;
}

.media-info p {
    color: var(--muted);
    font-size: 12px;
}

/* =========================
   BLOG
========================== */
.blog-section {
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.blog-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: white;
    transition: .3s;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.blog-image {
    height: 185px;
    background: #183d30 center/cover;
}

.blog-image-1 { background-image: url("assets/blog-1.jpg"); }
.blog-image-2 { background-image: url("assets/blog-2.jpg"); }
.blog-image-3 { background-image: url("assets/blog-3.jpg"); }
.blog-image-4 { background-image: url("assets/blog-4.jpg"); }

.blog-content {
    padding: 18px;
}

.blog-meta {
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 8px;
}

.blog-content h3 {
    color: var(--primary);
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.blog-content p {
    color: var(--muted);
    font-size: 13px;
}

/* =========================
   CTA
========================== */
.cta-section {
    padding: 0 0 85px;
    background: white;
}

.cta-box {
    background: linear-gradient(135deg, rgba(2, 39, 29, .98), rgba(8, 79, 59, .94));
    border-radius: 24px;
    padding: 45px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    position: relative;
}

.cta-box::before {
    content: "✦";
    position: absolute;
    right: 10%;
    top: -40px;
    color: rgba(212, 166, 42, .18);
    font-size: 180px;
}

.cta-text {
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.cta-text p {
    color: rgba(255, 255, 255, .75);
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* =========================
   FOOTER
========================== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, .72);
}

.footer-main {
    padding: 65px 0 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-brand-logo img {
    max-height: 54px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer h3 {
    color: var(--gold-light);
    font-size: 17px;
    margin-bottom: 17px;
}

.footer p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 18px 0;
    font-size: 13px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

/* =========================
   FLOATING BUTTONS
========================== */
.floating-buttons {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 10px;
    z-index: 998;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
    font-size: 21px;
}

.float-whatsapp {
    background: #20a65a;
}

.float-call {
    background: var(--gold);
    color: #332700;
}

/* =========================
   VIDEO MODAL
========================== */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: min(920px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: white;
    color: var(--primary-dark);
    font-size: 18px;
    display: grid;
    place-items: center;
}

/* =========================
   PAGE BANNER (inner pages)
========================== */
.page-banner {
    background:
        linear-gradient(90deg, rgba(2, 39, 29, .97), rgba(4, 55, 41, .85)),
        linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 70px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 10px;
}

.page-banner p {
    color: rgba(255, 255, 255, .78);
    max-width: 700px;
    margin: auto;
}

/* =========================
   RESPONSIVE
========================== */
@media (max-width: 1050px) {
    .desktop-nav {
        gap: 16px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .desktop-nav,
    .header-appointment {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        min-height: 480px;
        background:
            linear-gradient(rgba(2, 39, 29, .93), rgba(2, 39, 29, .90)),
            linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    }

    .hero-content {
        padding: 60px 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .topbar-inner {
        justify-content: center;
        padding: 8px 0;
        text-align: center;
    }

    .top-left {
        display: none;
    }

    .top-right {
        font-size: 11px;
    }

    .top-socials {
        display: none;
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-logo img {
        max-height: 44px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
    }

    .brand-text h1 {
        font-size: 15px;
    }

    .brand-text span {
        font-size: 10px;
    }

    section {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 34px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

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

    .service-card {
        text-align: left;
        display: grid;
        grid-template-columns: 58px 1fr;
        column-gap: 15px;
        align-items: center;
    }

    .service-icon {
        grid-row: span 2;
        margin: 0;
    }

    .service-card h3 {
        margin-bottom: 4px;
    }

    .video-box {
        min-height: 280px;
    }

    .about-content h2 {
        font-size: 29px;
    }

    .appointment-card {
        padding: 20px;
    }

    .content-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-header h2 {
        font-size: 27px;
    }

    .media-thumb {
        height: 220px;
    }

    .blog-image {
        height: 220px;
    }

    .cta-box {
        padding: 30px 22px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-text h2 {
        font-size: 27px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-inner {
        flex-direction: column;
    }

    .floating-buttons {
        right: 12px;
        bottom: 12px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
    }
}

/* =========================
   APPOINTMENT FORM
========================== */
.form-container {
    max-width: 760px;
}

.appointment-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 34px;
    box-shadow: var(--shadow);
}

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

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

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group .req {
    color: #c0392b;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    background: var(--cream);
    transition: .2s;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 166, 42, .12);
}

.form-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-option {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    background: var(--cream);
    transition: .2s;
}

.form-option:hover,
.form-option:has(input:checked) {
    border-color: var(--gold);
    background: #fbf3d9;
}

.form-option input {
    width: auto;
    background: none;
}

.form-error {
    color: #c0392b;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.form-alert {
    border-radius: 12px;
    padding: 15px 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-alert-success {
    background: #e6f6ec;
    color: #0c5c33;
    border: 1px solid #bfe7cf;
}

.form-alert-error {
    background: #fdecec;
    color: #a02a2a;
    border: 1px solid #f3c4c4;
}

.form-submit {
    width: 100%;
    justify-content: center;
    font-size: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .appointment-form {
        padding: 22px 18px;
    }
}

/* =========================
   TESTIMONIALS
========================== */
.testimonials-section {
    padding: 70px 0;
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 10px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 15px;
    letter-spacing: 2px;
}

.testimonial-message {
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.75;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 1050px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= APPOINTMENT CONFIRMATION ================= */
.confirm-container {
    text-align: center;
}

.confirm-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0a5640, #063b2c);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(6, 59, 44, .25);
}

.confirm-title {
    font-size: 26px;
    font-weight: 700;
    color: #063b2c;
    margin-bottom: 8px;
}

.confirm-text {
    color: #5b6b5f;
    font-size: 16px;
    margin-bottom: 24px;
}

.confirm-card {
    max-width: 480px;
    margin: 0 auto 28px;
    background: #faf8f1;
    border: 1px solid #e6e0cd;
    border-radius: 14px;
    padding: 20px 24px;
    text-align: left;
}

.confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed #e0d9c4;
}

.confirm-row:last-child {
    border-bottom: 0;
}

.confirm-row span {
    color: #6b7a6f;
    font-size: 14px;
}

.confirm-row strong {
    color: #063b2c;
    font-size: 15px;
    text-align: right;
}

.confirm-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ================= SPECIALTY ================= */
.specialty-section {
    background: #faf8f1;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 15px;
    color: #1d2a25;
}

.specialty-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ================= STEPS ================= */
.steps-section {
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 30px;
}

.step-card {
    text-align: center;
    background: #faf8f1;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 30px 22px;
}

.step-number {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--gold-light);
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    color: var(--primary);
    font-size: 17px;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ================= DISCLAIMER ================= */
.disclaimer-section {
    background: #faf8f1;
}

.disclaimer-box {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 1px solid #e8e4d8;
    border-left: 5px solid var(--gold);
    border-radius: 14px;
    padding: 34px 30px;
}

.disclaimer-icon {
    font-size: 34px;
    margin-bottom: 10px;
}

.disclaimer-box h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 12px;
}

.disclaimer-box p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

/* ================= CONTACT ================= */
.contact-section {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 30px;
    align-items: stretch;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-section .contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #faf8f1;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
}

.contact-section .contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-section .contact-item h4 {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-section .contact-item p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.contact-map {
    border-radius: 14px;
    overflow: hidden;
    min-height: 300px;
    border: 1px solid var(--border);
}

/* Blog card image as link */
.blog-image {
    display: block;
    text-decoration: none;
}

.blog-content h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: var(--primary-light);
}

@media (max-width: 850px) {
    .specialty-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
