/* =========================
   ROOT BRAND COLORS
========================= */
:root {
    /* Brand palette (derived from logo golds) */
    --brand: #C8A75B;
    --brand-strong: #B9892E;
    --brand-dark: #8C6F2E;
    --brand-soft: #FBF6EA;

    --ink: #141414;
    --muted: #585858;
    --surface: #ffffff;
    --border: rgba(20, 20, 20, 0.10);

    --shadow-sm: 0 6px 18px rgba(20, 20, 20, 0.08);
    --shadow-md: 0 16px 40px rgba(20, 20, 20, 0.12);

    /* Back-compat */
    --gold: var(--brand);
    --gold-dark: var(--brand-dark);
    --bg-light: var(--brand-soft);
    --text-dark: var(--ink);
    --white: var(--surface);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   HEADER
========================= */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

/* NAV */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.logo-img {
    height: 54px;
    width: auto;
    display: block;
}

/* MOBILE TOGGLE — stacked horizontal bars (classic hamburger) */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
}

.nav-toggle-bar {
    width: 20px;
    height: 2px;
    background: var(--brand-dark);
    border-radius: 999px;
    display: block;
    flex-shrink: 0;
}

/* MENU LINKS */
.nav-menu a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    transition: 0.3s;
}

/* HOVER */
.nav-menu a:hover {
    color: var(--brand-strong);
}

/* CTA BUTTON (LIKE REFERENCE) */
.btn-cta {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 30px;
    margin-left: 25px;
    font-weight: 500;
    transition: 0.3s;
    box-shadow: 0 10px 18px rgba(200, 167, 91, 0.22);
}

/* HOVER EFFECT */
.btn-cta:hover {
    background: linear-gradient(135deg, var(--brand-strong), var(--brand-dark));
    box-shadow: 0 14px 24px rgba(200,167,91,0.28);
    transform: translateY(-2px);
}

/* MOBILE NAV */
@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        left: 5%;
        right: 5%;
        top: calc(100% + 10px);
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow-md);
        padding: 10px;
        display: none;
        flex-direction: column;
        gap: 4px;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        margin-left: 0;
        padding: 12px 12px;
        border-radius: 12px;
    }

    .nav-menu a:hover {
        background: var(--brand-soft);
    }

    .btn-cta {
        margin-left: 0;
        text-align: center;
    }
}

/* =========================
   HERO SECTION
========================= */
.hero {
    height: 85vh;
    background: linear-gradient(120deg, rgba(20, 20, 20, 0.68), rgba(20, 20, 20, 0.45)),
                url('images/header-bg.jpg') center/cover;
    
    display: flex;
    align-items: center;
    justify-content: center; /* CENTER horizontally */
    text-align: center;      /* CENTER text */
    color: #fff;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 42px;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
}

/* BUTTON */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s;
    box-shadow: 0 14px 24px rgba(200, 167, 91, 0.22);
}

.btn:hover {
    background: linear-gradient(135deg, var(--brand-strong), var(--brand-dark));
    transform: translateY(-2px);
}

/* =========================
   SECTIONS
========================= */
.section {
    padding: 70px 0;
}

.bg-light {
    background: var(--bg-light);
}

.center {
    text-align: center;
    margin-bottom: 40px;
}

.section h2 {
    color: var(--brand-strong);
    font-size: 32px;
    letter-spacing: -0.01em;
}

/* =========================
   GRID
========================= */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Slightly nicer mobile spacing */
@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hero {
        height: auto;
        padding: 84px 0;
    }

    .hero h1 {
        font-size: 28px;
    }
}

/* FULL SECTION WHITE */
.doctor-section {
    background: #ffffff;
}

/* CENTERED CONTENT */
.doctor-full {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

/* NAME */
.doctor-name {
    font-size: 34px;
    color: var(--gold);
    margin-bottom: 10px;
}

/* QUALIFICATION */
.doctor-qualification {
    font-weight: 500;
    margin-bottom: 20px;
}

.doctor-qualification span {
    color: #777;
    font-size: 14px;
}

/* DESCRIPTION */
.doctor-desc {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}

/* EXPERTISE TITLE */
.expertise-title {
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--gold);
}

/* EXPERTISE GRID */
.expertise-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

/* TAG STYLE */
.expertise-list span {
    background: #F8F5EF;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

/* RESPONSIVE */
@media(max-width:768px){
    .expertise-list {
        grid-template-columns: 1fr;
    }

    .doctor-name {
        font-size: 26px;
    }
}


/* =========================
   CARDS
========================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 25px;
}

.card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: 0.3s;
    border: 1px solid var(--border);
    border-top: 4px solid var(--brand);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

/* =========================
   IMAGE BOX
========================= */
.image-box {
    height: 450px;
    background: url('images/about.jpg') center/cover;
    border-radius: 12px;
}

.doctor-img {
    height: 350px;
    background: url('images/doctor.jpg') center/cover;
    border-radius: 12px;
}

/* =========================
   CONTACT FORM
========================= */
.form input,
.form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.form input:focus,
.form textarea:focus {
    border-color: var(--gold);
    outline: none;
}

/* TITLE */
/* TITLE */
.section-title {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 8px;   /* reduce gap below title */
}

/* SUBTEXT */
.section-sub {
    color: #555;
    margin-top: 0;
    margin-bottom: 12px;  /* control gap before line */
}

/* DIVIDER LINE */
.divider {
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 30px;  /* remove top gap, keep bottom */
}

/* GRID */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

/* CARD */
.condition-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border-top: 3px solid transparent;
}

/* ICON */
.condition-card i {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 15px;
}

/* TITLE */
.condition-card h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

/* TEXT */
.condition-card p {
    font-size: 14px;
    color: #666;
}

/* HOVER EFFECT */
.condition-card:hover {
    transform: translateY(-8px);
    border-top: 3px solid var(--gold);
}

/* RESPONSIVE */
@media(max-width:768px){
    .conditions-grid {
        grid-template-columns: 1fr;
    }
}


/* CONTACT SECTION */
.contact {
    background: var(--brand-soft);
}

/* LEFT SIDE */
.contact-info h2 {
    color: var(--brand-strong);
    margin-bottom: 15px;
}

.contact-text {
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-item {
    margin-bottom: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ICON STYLE */
.contact-item i {
    color: var(--gold);
    font-size: 16px;
}

/* PHONE LINK */
.contact-item a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--brand-strong);
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Honeypot (leave hidden) */
.contact-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.form-feedback {
    margin: 0 0 4px 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid var(--border);
}

.form-feedback.is-success {
    background: #ecf8ef;
    border-color: #b8dfc4;
    color: #1a5c2e;
}

.form-feedback.is-error {
    background: #fff4f2;
    border-color: #f0c4bc;
    color: #6b1f1a;
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 15px;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.78);
}

/* FOCUS EFFECT */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,167,91,0.15);
    outline: none;
}

/* BUTTON (Like reference image) */
.btn-submit {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    padding: 14px;
    border-radius: 30px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 14px 24px rgba(200, 167, 91, 0.22);
}

/* HOVER EFFECT */
.btn-submit:hover {
    background: linear-gradient(135deg, var(--brand-strong), var(--brand-dark));
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(200,167,91,0.28);
}

/* =========================
   FOOTER
========================= */
/* FOOTER BOTTOM */
.footer-bottom {
    background: #0F0F10;
    color: #fff;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* FLEX LAYOUT */
.footer-bottom-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* TEXT */
.footer-bottom p {
    font-size: 14px;
}

/* SOCIAL ICONS */
.social-icons a {
    margin: 0 8px;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

/* HOVER GOLD */
.social-icons a:hover {
    color: var(--brand);
}

/* DESIGN LINK */
.designed a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

.designed a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media(max-width:768px){
    .footer-bottom-wrap {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 28px;
    }
}