@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Manrope:wght@400;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #fef2f2;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --border-light: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

/* ========================================================= */
/* HEADER                                                     */
/* ========================================================= */
.hdr-mobcon {
    display: none;
    background: var(--secondary);
    color: #fff;
    text-align: center;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .4px;
}
.hdr-mobcon a { color: #fff; text-decoration: none; }

.hdr-main {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.09);
    position: relative;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.hdr-nav { width: 100%; }

/* Outer wrapper: LEFT logo | RIGHT panel */
.hdr-wrapper {
    display: flex;
    align-items: stretch;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- LEFT: logo ---- */
.hdr-left {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 0;
    flex-shrink: 0;
}
.hdr-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}
.hdr-logo-img-tag {
    height: 75px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    display: block;
}
.hdr-logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--secondary);
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-transform: uppercase;
}

/* ---- RIGHT panel ---- */
.hdr-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-left: 16px;
}

/* TOP row */
.hdr-top {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Heart + Register */
.hdr-register {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.hdr-register-icon {
    width: 44px;
    height: 44px;
    background: #ecfdf5;
    border-radius: 50% 50% 50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transform: rotate(5deg);
}
.hdr-register-icon i {
    color: #10b981;
    font-size: 1.1rem;
}
.hdr-register-link {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: #10b981;
    text-decoration: none;
    line-height: 1.1;
    display: inline-block;
}
.hdr-register-link span {
    color: #059669;
    text-decoration: underline;
    margin-left: 3px;
}

/* Contact list */
.hdr-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 18px;
    flex: 1;
    align-items: center;
}
.hdr-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hdr-ci {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #10b981;
    flex-shrink: 0;
    font-size: 0.95rem;
}
.hdr-ct p {
    font-size: .7rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.2;
}
.hdr-ct h5 {
    font-size: .78rem;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.3;
}
.hdr-ct h5 a { color: #222; text-decoration: none; }
.hdr-ct h5 a:hover { color: var(--primary); }

/* Social icons */
.hdr-social {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    align-items: center;
}
.hdr-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    text-decoration: none;
    font-weight: 700;
    transition: background .2s, transform .2s;
}
.hdr-social a:hover { background: #059669; transform: translateY(-2px); }

/* BOTTOM row */
.hdr-bottom {
    background: var(--secondary);
    border-radius: 35px;
    overflow: visible;
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 0 0 20px;
    margin-top: 6px;
    margin-bottom: 6px;
}

/* Nav menu */
.hdr-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
}
.hdr-menu > li {
    display: flex;
    align-items: stretch;
    position: relative;
}
.hdr-menu > li > a,
.hdr-menu > li > button {
    display: flex;
    align-items: center;
    padding: 14px 12px;
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.3px;
}
.hdr-menu > li > a:hover,
.hdr-menu > li > button:hover { color: #38bdf8; }

/* Dropdown */
.hdr-has-child { position: relative; }
.hdr-has-child > a::after { content: " ▾"; font-size: .65rem; margin-left: 5px; }
.hdr-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 8px 8px;
    z-index: 99999;
}
.hdr-has-child:hover > .hdr-submenu,
.hdr-has-child:focus-within > .hdr-submenu {
    display: block !important;
}
.hdr-submenu li a {
    display: block;
    padding: 10px 20px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: background .15s, color .15s;
    text-align: left;
}
.hdr-submenu li a:hover { background: var(--primary-light); color: var(--primary); }

/* Actions area: Donate + Login + Hamburger */
.hdr-actions {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-shrink: 0;
    border-radius: 0 35px 35px 0;
    overflow: hidden;
}
.hdr-donate-btn {
    background: #dc2626;
    color: #fff !important;
    padding: 0 22px;
    display: flex;
    align-items: center;
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.5px;
}
.hdr-donate-btn:hover { background: #b91c1c; color: #fff !important; }

.hdr-login-btn {
    background: #10b981;
    color: #fff !important;
    padding: 0 25px;
    display: flex;
    align-items: center;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
    font-family: 'Manrope', sans-serif;
    border-radius: 0;
    letter-spacing: 0.5px;
}
.hdr-login-btn:hover { background: #059669; color: #fff !important; }

.hdr-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hdr-hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all .3s;
}

.hdr-mobile-only { display: none !important; }

/* ========================================================= */
/* MOBILE DRAWER                                              */
/* ========================================================= */
.hdr-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1100;
}
.hdr-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 290px;
    height: 100%;
    background: #fff;
    z-index: 1200;
    overflow-y: auto;
    transition: left .3s ease;
    padding: 1.2rem;
    box-shadow: 4px 0 20px rgba(0,0,0,.15);
}
.hdr-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: .75rem;
    margin-bottom: .75rem;
    border-bottom: 1px solid #eee;
    font-size: .92rem;
}
.hdr-drawer-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
}
.hdr-drawer-contact {
    font-size: .78rem;
    color: #777;
    margin-bottom: .9rem;
    line-height: 1.9;
}
.hdr-drawer-contact a { color: var(--primary); font-weight: 600; text-decoration: none; }

.hdr-drawer-nav { display: flex; flex-direction: column; }
.hdr-dl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem .25rem;
    font-size: .88rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f2f2f2;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: color .2s;
}
.hdr-dl:hover { color: var(--primary); }

.hdr-dacc-panel {
    display: none;
    flex-direction: column;
    padding-left: .8rem;
}
.hdr-ds {
    display: block;
    padding: .45rem .25rem;
    font-size: .82rem;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #f8f8f8;
    transition: color .15s;
}
.hdr-ds:hover { color: var(--primary); }

/* Language Selector */
.hdr-lang-selector {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
}
.simple-lang-dropdown {
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.simple-lang-dropdown:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}
.hdr-drawer-actions {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.hdr-drawer-btn {
    text-align: center;
    border-radius: 4px;
    padding: .7rem;
}

/* ========================================================= */
/* RESPONSIVE                                                 */
/* ========================================================= */
@media (max-width: 991px) {
    .hdr-top         { display: none; }
    .hdr-menu        { display: none; }
    .hdr-desktop-only{ display: none !important; }
    .hdr-hamburger   { display: flex !important; }
    .hdr-mobile-show { display: flex !important; }
    .hdr-mobcon      { display: block; }
    .hdr-bottom      { background: transparent; border-radius: 0; padding: 0; margin-top: 0; display: flex; align-items: center; justify-content: flex-end; }
    .hdr-hamburger span { background: var(--primary); }
    .hdr-wrapper {
        justify-content: space-between;
        align-items: center;
        height: 70px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    .hdr-left {
        padding: 0;
    }
    .hdr-logo-img-tag {
        height: 50px;
    }
    .hdr-right {
        flex: 1;
        padding-left: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
    .hdr-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        border-radius: 0;
    }
    .hdr-hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }
}
@media (min-width: 992px) {
    .hdr-mobile-show { display: none !important; }
    .hdr-mobcon      { display: none !important; }
}
@media (min-width: 992px) and (max-width: 1300px) {
    .hdr-menu > li > a,
    .hdr-menu > li > button {
        padding: 14px 8px;
        font-size: .75rem;
    }
    .hdr-login-btn {
        padding: 0 18px;
        font-size: .8rem;
    }
}
@media (max-width: 1200px) {
    .hdr-contact-list li:last-child { display: none; }
}
@media (max-width: 1050px) {
    .hdr-contact-list li:nth-child(2) { display: none; }
}

/* Hero section background fix */
.hero-wrapper {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
