/* =====================================================================
   سامانه نوبت‌دهی پزشکی - استایل اصلی
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #d1fae5;
    --text: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(16,185,129,0.08);
    --shadow-md: 0 8px 24px rgba(16,185,129,0.12);
    --radius: 14px;
    --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--text);
    background: #f9fafb;
    line-height: 1.7;
    font-size: 15px;
}

a { color: inherit; text-decoration: none; transition: .25s; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ HEADER ============ */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--primary-dark);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 12px;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(16,185,129,0.3);
    flex-shrink: 0;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
}

.main-nav { display: flex; gap: 28px; align-items: center; }

.main-nav a {
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 6px 0;
}

.main-nav a:hover { color: var(--primary); }

.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 100%; height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.header-actions { display: flex; gap: 10px; align-items: center; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    transition: .25s;
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 6px 16px rgba(16,185,129,0.3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16,185,129,0.4); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover { background: var(--primary); color: var(--white); }

/* ============ HERO (دسکتاپ) ============ */
.hero {
    position: relative;
    padding: 90px 20px 110px;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 0;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-content {
    max-width: 660px;
    width: 100%;
    margin: 0 auto 0 0;
    position: relative;
    z-index: 2;
    text-align: right;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.4;
}

.hero-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 550px;
}

/* ============ MAIN ============ */
main.container { padding: 50px 20px; min-height: 300px; }

main h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin: 30px 0 20px;
    position: relative;
    padding-right: 16px;
}

main h2::before {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 26px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 3px;
}

.specialties-grid,
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* ============ ALERTS ============ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 14px;
}

.alert-error { background: #fee2e2; color: #991b1b; border-right: 4px solid #dc2626; }
.alert-success { background: var(--primary-light); color: #065f46; border-right: 4px solid var(--primary); }

/* ============ FOOTER ============ */
.site-footer {
    position: relative;
    margin-top: 60px;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 50px 20px;
    position: relative;
    z-index: 2;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.9;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid rgba(16,185,129,0.2);
    padding: 18px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* ============================================================
   منوی موبایل + سایدبار
   ============================================================ */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border-radius: 10px;
    transition: background .25s;
    flex-shrink: 0;
}

.menu-toggle:hover { background: var(--primary-light); }

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: .3s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.mobile-overlay.active { opacity: 1; visibility: visible; }

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--white);
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    z-index: 999;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    transition: right .35s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
}

.mobile-sidebar.active { right: 0; }

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    position: relative;
}

.sidebar-close {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: none;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
    cursor: pointer;
}

.sidebar-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) rotate(90deg);
}

.sidebar-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.sidebar-nav a {
    padding: 13px 16px;
    border-radius: 12px;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: .25s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-nav a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: translateX(-4px);
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.sidebar-actions .btn { width: 100%; padding: 13px; }

body.no-scroll { overflow: hidden; }

/* ============================================================
   فرم جستجوی حرفه‌ای
   ============================================================ */

.hero-search {
    position: relative;
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 10px;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(16,185,129,0.15), 0 2px 8px rgba(0,0,0,0.05);
    max-width: 820px;
    flex-wrap: wrap;
    border: 1px solid rgba(16,185,129,0.08);
}

/* فیلد پایه */
.search-field {
    position: relative;
    flex: 1;
    min-width: 130px;
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 0 14px;
    transition: .25s;
}

.search-field:focus-within {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.12);
}

.search-field .field-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 8px;
    transition: .25s;
}

.search-field:focus-within .field-icon { color: var(--primary); }

.search-field input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 4px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    outline: none;
    width: 100%;
    min-width: 0;
}

.search-field input[type="text"]::placeholder { color: var(--text-muted); }

.search-input-wrap { flex: 1.5; }

/* ============================================================
   Custom Select (جایگزین select نیتیو)
   ============================================================ */

.custom-select { padding: 0 14px; }

.custom-select-trigger {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 14px 0 !important;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    text-align: right;
    width: 100%;
    min-width: 0;
    height: auto !important;
    border-radius: 0 !important;
}

.custom-select-trigger:hover { background: transparent !important; }

.custom-select-value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
    font-weight: 500;
}

.custom-select-value.placeholder { color: var(--text-muted); font-weight: 400; }

.custom-select-chev {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.custom-select.open .custom-select-chev {
    transform: rotate(180deg);
    color: var(--primary);
}

.custom-select.open {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.12);
}

/* منوی کشویی */
.custom-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(16,185,129,0.18), 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(16,185,129,0.1);
    padding: 8px;
    z-index: 600;
    max-height: 340px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top center;
    transition: opacity .2s ease, transform .2s cubic-bezier(.4, 0, .2, 1), visibility .2s;
}

.custom-select.open .custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.custom-select-menu::-webkit-scrollbar { width: 6px; }
.custom-select-menu::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }
.custom-select-menu::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.custom-select-search {
    padding: 4px 4px 10px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 6px;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 2;
}

.custom-select-search input {
    width: 100%;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: .2s;
    color: var(--text);
}

.custom-select-search input:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}

.custom-select-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.custom-select-option {
    padding: 11px 14px 11px 36px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    color: var(--text);
    transition: .15s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: relative;
}

.custom-select-option::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform .2s cubic-bezier(.4, 0, .2, 1);
}

.custom-select-option:hover {
    background: rgba(16,185,129,0.08);
    color: var(--primary-dark);
}

.custom-select-option.selected {
    background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.04));
    color: var(--primary-dark);
    font-weight: 700;
}

.custom-select-option.selected::before {
    transform: translateY(-50%) scale(1);
}

/* ============================================================
   دکمه جستجو (فقط submit)
   ============================================================ */
.hero-search button[type="submit"] {
    padding: 0 30px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .25s;
    box-shadow: 0 8px 20px rgba(16,185,129,0.35);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-search button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(16,185,129,0.45);
}

.hero-search button[type="submit"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s;
}

.hero-search button[type="submit"]:hover::before {
    transform: translateX(100%);
}

/* ============================================================
   پنل Autocomplete
   ============================================================ */

.suggest-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(16,185,129,0.18), 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(16,185,129,0.1);
    overflow: hidden;
    z-index: 500;
    max-height: 420px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: opacity .18s ease, transform .18s ease;
}

.suggest-panel.open { opacity: 1; transform: translateY(0) scale(1); }

.suggest-panel::-webkit-scrollbar { width: 6px; }
.suggest-panel::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }
.suggest-panel::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.suggest-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

.suggest-section { padding: 6px 0; }
.suggest-section + .suggest-section { border-top: 1px solid #f1f5f9; }

.suggest-head {
    padding: 10px 20px 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggest-head::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    color: var(--text);
    position: relative;
}

.suggest-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: var(--primary);
    border-radius: 3px;
    transition: transform .2s;
}

.suggest-item:hover,
.suggest-item.active {
    background: linear-gradient(90deg, rgba(16,185,129,0.06), rgba(16,185,129,0.02));
}

.suggest-item:hover::before,
.suggest-item.active::before {
    transform: translateY(-50%) scaleY(1);
}

.suggest-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), #a7f3d0);
    color: var(--primary-dark);
    border-radius: 10px;
    flex-shrink: 0;
}

.suggest-avatar {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(16,185,129,0.3);
}

.suggest-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }

.suggest-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggest-title mark {
    background: linear-gradient(180deg, transparent 60%, rgba(16,185,129,0.35) 60%);
    color: var(--primary-dark);
    font-weight: 800;
    padding: 0 1px;
    border-radius: 2px;
}

.suggest-sub {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggest-arrow {
    color: var(--text-muted);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-6px);
    transition: .2s;
    flex-shrink: 0;
}

.suggest-item:hover .suggest-arrow { opacity: 1; transform: translateX(0); }

.suggest-rating {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.suggest-empty { padding: 35px 20px; text-align: center; color: var(--text-muted); }
.suggest-empty p { font-weight: 600; margin: 12px 0 4px; color: var(--text); font-size: 14px; }
.suggest-empty span { font-size: 12px; }

/* ============================================================
   Hero موبایل با انیمیشن
   ============================================================ */
@media (max-width: 900px) {
    .main-nav { display: none; }
    .header-actions { display: none; }
    .menu-toggle { display: flex; }

    .hero {
        min-height: 460px;
        padding: 70px 20px 80px;
        background: linear-gradient(135deg,
            #34d399 0%,
            #10b981 25%,
            #059669 50%,
            #047857 75%,
            #065f46 100%);
        background-size: 300% 300%;
        animation: heroGradientShift 12s ease infinite;
        overflow: hidden;
        position: relative;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: -100px; right: -100px;
        width: 280px; height: 280px;
        background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        z-index: 1;
        animation: floatBlob1 8s ease-in-out infinite;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -120px; left: -120px;
        width: 320px; height: 320px;
        background: radial-gradient(circle, rgba(4,120,87,0.55) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        z-index: 1;
        animation: floatBlob2 10s ease-in-out infinite;
    }

    .hero-bg { display: none !important; }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 3;
        animation: fadeInUp 0.9s ease both;
    }

    .hero-content h1 {
        color: #ffffff;
        font-size: 26px;
        line-height: 1.45;
        text-shadow: 0 2px 14px rgba(0,0,0,0.2);
    }

    .hero-content p {
        color: rgba(255,255,255,0.95);
        font-size: 15px;
        text-shadow: 0 1px 8px rgba(0,0,0,0.15);
    }

    .hero-search {
        flex-direction: column;
        padding: 14px;
        gap: 12px;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    }

    .search-field,
    .search-input-wrap {
        width: 100%;
        flex: none;
        min-width: 0;
    }

    .hero-search button[type="submit"] {
        width: 100%;
        height: 52px;
        margin-top: 4px;
    }

    .custom-select-menu {
        min-width: 100%;
        border-radius: 14px;
    }
}

/* ============================================================
   انیمیشن‌ها
   ============================================================ */
@keyframes heroGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-30px, 30px) scale(1.15); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(30px, -30px) scale(1.1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero,
    .hero::before,
    .hero::after,
    .hero-content,
    .hero-content h1,
    .hero-content p,
    .hero-search {
        animation: none !important;
    }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 22px; }
}









/* ═══════════════════════════════════════════════════════════
   FOOTER CREDIT
   ═══════════════════════════════════════════════════════════ */
.footer-credit {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 16px 20px;
    margin-top: 24px;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.footer-credit p {
    font-size: 13.5px;
    color: #047857;
    margin: 0;
    line-height: 1.9;
    font-weight: 600;
}

.footer-credit strong {
    color: #064e3b;
    font-weight: 800;
}

.footer-credit-sep {
    display: inline-block;
    margin: 0 10px;
    color: #10b981;
    font-weight: 400;
}

.footer-credit a {
    color: #059669;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.2s;
    border-bottom: 1.5px dashed #10b981;
    padding-bottom: 1px;
}

.footer-credit a:hover {
    color: #064e3b;
    border-bottom-style: solid;
    border-bottom-color: #064e3b;
}