/* ════════════════════════════════════════════════════════════
   Ahmed Homeo Clinic — Main Stylesheet
   ════════════════════════════════════════════════════════════ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

/* ─── CSS Custom Properties ─── */
:root {
    --primary: #1a2e4a;
    --primary-light: #2a4a6b;
    --primary-dark: #0f1d30;
    --accent: #28a745;
    --accent-hover: #218838;
    --accent-light: #d4edda;
    --highlight: #e8192c;
    --highlight-light: #fce4ec;
    --gold: #d4a843;
    --gold-light: #fef3cd;
    --white: #ffffff;
    --off-white: #f5f6fa;
    --gray-50: #f8f9fa;
    --gray-100: #f0f1f5;
    --gray-200: #e2e5ea;
    --gray-300: #ced2d9;
    --gray-400: #adb2bb;
    --gray-500: #8a919c;
    --gray-600: #6c727d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --text: #222222;
    --text-light: #555555;
    --text-muted: #888888;
    --shadow-sm: 0 2px 8px rgba(26,46,74,0.06);
    --shadow-md: 0 4px 24px rgba(26,46,74,0.10);
    --shadow-lg: 0 8px 40px rgba(26,46,74,0.15);
    --shadow-xl: 0 20px 60px rgba(26,46,74,0.20);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-urdu: 'Noto Nastaliq Urdu', serif;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ─── Top Sticky Bar ─── */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.top-bar .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-call-top {
    background: var(--white);
    color: var(--primary);
    border: 2px solid rgba(255,255,255,0.3) !important;
}

.btn-call-top:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white) !important;
}

.btn-call-top i {
    font-size: 1rem;
    animation: ring 2s ease-in-out infinite;
}

.btn-consult-top {
    background: linear-gradient(135deg, var(--accent), #20c997);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(40,167,69,0.4);
}

.btn-consult-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.5);
}

@keyframes ring {
    0%, 100% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-5deg); }
    50% { transform: rotate(0); }
}

/* ─── Hero Section ─── */
.hero {
    margin-top: 56px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 40px 20px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(40,167,69,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--off-white), transparent);
    pointer-events: none;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-photo-wrapper {
    display: inline-block;
    position: relative;
}

.hero-photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
    display: block;
    margin: 0 auto;
}

.hero-placeholder {
    width: 300px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}

.hero-placeholder i {
    font-size: 6rem;
    color: rgba(255,255,255,0.2);
}

/* ─── Profile Card ─── */
.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 860px;
    margin: -20px auto 0;
    padding: 32px 36px 28px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.profile-card h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.profile-card .specialty {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 4px;
}

.profile-card .credentials {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 500;
}

.experience-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--highlight);
    border: 2px solid var(--highlight);
    border-radius: 50px;
    padding: 4px 18px;
    margin-top: 8px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232,25,44,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(232,25,44,0); }
}

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

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

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

.btn-book-action {
    background: linear-gradient(135deg, var(--accent), #20c997);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}

.btn-book-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.4);
}

.btn-consult-action {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(26,46,74,0.3);
}

.btn-consult-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,46,74,0.4);
}

/* ─── Page Wrapper ─── */
.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px 80px;
}

/* ─── Section Card ─── */
.section-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: 24px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.section-card:hover {
    box-shadow: var(--shadow-md);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--gray-100);
}

.section-header .icon-circle {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.icon-green { background: linear-gradient(135deg, var(--accent), #20c997); }
.icon-red { background: linear-gradient(135deg, var(--highlight), #ff4757); }
.icon-blue { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.icon-gold { background: linear-gradient(135deg, var(--gold), #f0c040); }
.icon-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-body {
    padding: 24px;
}

/* ─── About Section ─── */
.about-text {
    font-size: 0.94rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-text p {
    margin-bottom: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ─── Specialties Section ─── */
.specialty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.specialty-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.specialty-item:hover {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.specialty-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.specialty-content h3 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.specialty-content p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ─── Why Choose Us ─── */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.why-choose-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.why-choose-item:hover {
    background: var(--accent-light);
    border-color: var(--accent);
}

.why-choose-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.why-choose-item span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
}

/* ─── Mission Section ─── */
.mission-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-md);
    padding: 36px;
    text-align: center;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(40,167,69,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.mission-card .section-header {
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.mission-card .section-header h2 {
    color: var(--white);
}

.mission-card .icon-circle {
    background: linear-gradient(135deg, var(--accent), #20c997);
}

.mission-text {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ─── Booking Section ─── */
.booking-section {
    margin-top: 24px;
}

.calendar-container {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.calendar-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-nav button {
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.calendar-nav button:hover {
    background: rgba(255,255,255,0.3);
}

.calendar-grid {
    padding: 16px 24px 24px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 8px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.available {
    background: var(--accent-light);
    color: var(--accent);
}

.calendar-day.available:hover {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.calendar-day.partial {
    background: var(--gold-light);
    color: var(--gold);
}

.calendar-day.partial:hover {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.1);
}

.calendar-day.full,
.calendar-day.blocked,
.calendar-day.past,
.calendar-day.sunday {
    background: var(--gray-100);
    color: var(--gray-400);
    cursor: not-allowed;
}

.calendar-day.sunday {
    color: var(--highlight);
    opacity: 0.5;
}

.calendar-day.selected {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-color: var(--accent);
    transform: scale(1.1);
}

.calendar-day.today {
    border-color: var(--accent);
}

/* Time Slots */
.time-slots-panel {
    display: none;
    padding: 24px;
    border-top: 1px solid var(--gray-100);
    animation: slideDown 0.3s ease;
}

.time-slots-panel.active {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.time-slots-date {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.time-period-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    margin-top: 16px;
}

.time-period-label:first-child {
    margin-top: 0;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

.time-slot {
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.time-slot.available {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
}

.time-slot.available:hover {
    background: var(--accent);
    color: var(--white);
}

.time-slot.booked {
    background: var(--gray-100);
    color: var(--gray-400);
    cursor: not-allowed;
    text-decoration: line-through;
}

.time-slot.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Booking Form */
.booking-form {
    display: none;
    padding: 24px;
    border-top: 1px solid var(--gray-100);
    animation: slideDown 0.3s ease;
}

.booking-form.active {
    display: block;
}

.booking-summary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.booking-summary span {
    font-size: 0.88rem;
}

.booking-summary strong {
    font-family: var(--font-heading);
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(40,167,69,0.1);
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--accent), #20c997);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-submit.loading .spinner {
    display: block;
}

.btn-submit.loading span {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-dot.available { background: var(--accent-light); border: 1px solid var(--accent); }
.legend-dot.partial { background: var(--gold-light); border: 1px solid var(--gold); }
.legend-dot.full { background: var(--gray-200); }
.legend-dot.sunday { background: var(--highlight-light); border: 1px solid var(--highlight); }

/* ─── Contact Section ─── */
.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    font-size: 0.92rem;
    color: var(--text);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list li:hover {
    padding-left: 8px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ci-phone { background: #e8f5e9; color: #2e7d32; }
.ci-clock { background: #fff3e0; color: #ef6c00; }
.ci-map { background: #fce4ec; color: #e8192c; }
.ci-off { background: #fce4ec; color: #e8192c; }

.open-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 8px;
}

.open-dot {
    width: 8px;
    height: 8px;
    background: #2e7d32;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Map */
.map-container {
    line-height: 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 280px;
    border: 0;
}

/* ─── Book Appointment CTA ─── */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-md);
    padding: 36px;
    text-align: center;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(40,167,69,0.1) 0%, transparent 70%);
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-details {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.cta-details strong {
    color: var(--white);
}

.cta-specialties {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.cta-tag {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.15);
}

/* ─── Consultation Form Section ─── */
#consultation-form-section {
    scroll-margin-top: 70px;
}

.consultation-form-container {
    padding: 0;
}

.consultation-form-header {
    background: linear-gradient(135deg, var(--accent), #20c997);
    padding: 28px 24px;
    text-align: center;
    color: var(--white);
}

.consultation-form-header h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.consultation-form-header p {
    font-size: 0.88rem;
    opacity: 0.9;
}

.form-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 24px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.form-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-step.active {
    color: var(--accent);
}

.form-step.completed {
    color: var(--accent);
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--gray-200);
    color: var(--gray-500);
}

.form-step.active .step-number {
    background: var(--accent);
    color: var(--white);
}

.form-step.completed .step-number {
    background: var(--accent);
    color: var(--white);
}

.step-connector {
    width: 24px;
    height: 2px;
    background: var(--gray-200);
}

.form-step.completed ~ .step-connector,
.form-step.active ~ .step-connector {
    background: var(--accent);
}

.form-panel {
    display: none;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.form-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-100);
}

.form-group-bilingual label .urdu {
    font-family: var(--font-urdu);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 8px;
    font-weight: 400;
    direction: rtl;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-option,
.checkbox-option {
    position: relative;
}

.radio-option input,
.checkbox-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option label,
.checkbox-option label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-200);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0;
}

.radio-option input:checked + label,
.checkbox-option input:checked + label {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

.file-upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--gray-50);
}

.file-upload-area:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.file-upload-area i {
    font-size: 2rem;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.file-upload-area p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.file-upload-area .file-hint {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.file-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.file-preview-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: var(--text-light);
    border: 1px solid var(--gray-200);
}

.file-preview-item .remove-file {
    cursor: pointer;
    color: var(--highlight);
    font-weight: 700;
}

/* Payment Section in Form */
.payment-section {
    background: linear-gradient(135deg, #fffbeb, #fef3cd);
    border: 2px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}

.payment-section h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.payment-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 12px;
}

.payment-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.payment-accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.payment-account-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.payment-account-card .qr-image {
    max-width: 160px;
    height: auto;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.payment-account-card .bank-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.payment-account-card .account-title {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.payment-account-card .account-number {
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-light);
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 4px;
}

/* Form Navigation */
.form-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
    margin-top: 20px;
}

.btn-form-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-prev {
    background: var(--gray-100);
    color: var(--text-light);
}

.btn-prev:hover {
    background: var(--gray-200);
}

.btn-next {
    background: linear-gradient(135deg, var(--accent), #20c997);
    color: var(--white);
    margin-left: auto;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}

/* ─── Floating WhatsApp Button ─── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: whatsappBounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37,211,102,0.5);
}

@keyframes whatsappBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ─── Toast Notification ─── */
.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 2000;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 380px;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    background: linear-gradient(135deg, var(--accent), #20c997);
}

.toast-error {
    background: linear-gradient(135deg, var(--highlight), #ff4757);
}

.toast-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

/* ─── Success Modal ─── */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

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

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    padding: 40px;
    text-align: center;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.modal-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    background: var(--primary);
    color: var(--white);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-dark);
}

/* ─── Footer ─── */
.footer {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer a {
    color: var(--accent);
    font-weight: 600;
}

/* ─── Scroll Animations ─── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 12px;
        gap: 8px;
    }

    .top-bar .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .hero {
        padding: 30px 16px 0;
    }

    .profile-card {
        padding: 24px 20px 20px;
    }

    .profile-card h1 {
        font-size: 1.4rem;
    }

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

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .booking-summary {
        flex-direction: column;
        text-align: center;
    }

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

    .payment-accounts-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 28px 20px;
    }

    .mission-card {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .profile-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-action {
        justify-content: center;
    }

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

    .hero-photo {
        max-width: 100%;
    }

    .form-steps {
        gap: 4px;
        padding: 16px 12px;
    }

    .form-step span:not(.step-number) {
        display: none;
    }

    .step-connector {
        width: 16px;
    }
}
