/* ============================================================
   site.css  —  Lucia Associates Pvt Ltd
   Place in:  wwwroot/css/site.css
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --purple: #7b2fbe;
    --purple-dark: #5c1f9a;
    --purple-light: #f3eafd;
    --dark-bg: #1e2330;
    --text-light: #cdd0d8;
    --text-muted: #8a8f9c;
    --border: #2e3447;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    background: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================================
   HEADER
============================================================ */
header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    /*width: 54px;*/
    height: 54px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

    .logo-text .brand {
        font-family: 'Raleway', sans-serif;
        font-weight: 800;
        font-size: 13px;
        letter-spacing: 2px;
        color: #1a1a2e;
        text-transform: uppercase;
    }

    .logo-text .sub {
        font-size: 9px;
        letter-spacing: 1.5px;
        color: #888;
        text-transform: uppercase;
        font-weight: 600;
    }

/* Desktop Nav */
nav.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #2d2d2d;
    padding: 8px 13px;
    border-radius: 5px;
    transition: color .2s, background .2s;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

    .nav-link:hover,
    .nav-item:hover > .nav-link,
    .nav-link.active {
        color: var(--purple);
        background: var(--purple-light);
    }

    .nav-link .chev {
        font-size: 9px;
        color: #aaa;
        transition: transform .25s;
        display: inline-block;
    }

.nav-item:hover > .nav-link .chev {
    transform: rotate(180deg);
    color: var(--purple);
}

/* Dropdown */
.dropdown {
    display: none;
    position: absolute !important;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    min-width: 240px;
    padding: 8px 0;
    z-index: 300;
}

.nav-item:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: #333;
    padding: 10px 20px;
    transition: background .15s, color .15s;
    border-left: 3px solid transparent;
}

    .dropdown a:hover {
        background: var(--purple-light);
        color: var(--purple);
        border-left-color: var(--purple);
        text-decoration: none;
    }

/* Login Button */
.btn-login {
    background: var(--purple);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 26px;
    border-radius: 6px;
    letter-spacing: .4px;
    margin-left: 12px;
    flex-shrink: 0;
    display: inline-block;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 3px 10px rgba(123,47,190,.3);
}

    .btn-login:hover {
        background: var(--purple-dark);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 5px 16px rgba(123,47,190,.4);
        text-decoration: none;
    }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
    border-radius: 4px;
}

    .hamburger span {
        display: block;
        width: 24px;
        height: 2.5px;
        background: #333;
        border-radius: 2px;
        transition: all .3s;
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

/* Mobile Nav */
.mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s ease;
}

    .mobile-nav.open {
        display: block;
        max-height: 700px;
    }

.mobile-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 24px 20px;
}

    .mobile-nav-inner a,
    .mobile-acc-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        font-family: 'Raleway', sans-serif;
        font-weight: 600;
        font-size: 15px;
        color: #2d2d2d;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        background: none;
        border-top: none;
        border-left: none;
        border-right: none;
        text-align: left;
        transition: color .2s;
    }

        .mobile-nav-inner a:hover,
        .mobile-acc-toggle:hover {
            color: var(--purple);
        }

        .mobile-acc-toggle .chev {
            font-size: 11px;
            color: #aaa;
            transition: transform .25s;
        }

        .mobile-acc-toggle.open .chev {
            transform: rotate(180deg);
            color: var(--purple);
        }

.mobile-sub {
    display: none;
    padding-left: 14px;
}

    .mobile-sub.open {
        display: block;
    }

    .mobile-sub a {
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #666 !important;
        border-bottom-color: #f7f7f7 !important;
        padding: 10px 0 !important;
    }

        .mobile-sub a:hover {
            color: var(--purple) !important;
        }

.mobile-login {
    padding-top: 14px;
    border-bottom: none !important;
}

    .mobile-login a {
        background: var(--purple) !important;
        color: #fff !important;
        padding: 12px 20px !important;
        border-radius: 6px;
        text-align: center;
        justify-content: center !important;
        display: flex !important;
        font-size: 14px !important;
        border: none !important;
    }

/* ============================================================
   FOOTER
============================================================ */
footer {
    background: var(--dark-bg);
    color: var(--text-light);
}

.footer-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 32px 48px;
    display: grid;
    grid-template-columns: 240px repeat(4, 1fr);
    gap: 36px;
}

/* Brand */
.footer-brand .f-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
}

.f-logo-icon {
    /*width: 64px;*/
    height: 64px;
    margin-bottom: 6px;
}

.f-logo .brand {
    font-family: 'Raleway', sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

.f-logo .sub {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.85;
    color: var(--text-muted);
}

/* Columns */
.footer-col h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 2px;
        background: var(--purple);
        border-radius: 2px;
    }

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .footer-col ul li a {
        font-size: 13.5px;
        color: var(--text-muted);
        transition: color .2s, padding-left .2s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

        .footer-col ul li a::before {
            content: '›';
            color: var(--purple);
            font-size: 16px;
            line-height: 1;
            opacity: 0;
            transition: opacity .2s;
        }

        .footer-col ul li a:hover {
            color: #fff;
            padding-left: 4px;
            text-decoration: none;
        }

            .footer-col ul li a:hover::before {
                opacity: 1;
            }

/* Help */
.footer-help .help-item {
    margin-bottom: 16px;
}

.help-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.help-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.help-value {
    font-size: 14px;
    color: var(--purple);
    font-weight: 700;
}

.help-email {
    font-size: 13px;
    color: var(--text-muted);
}

    .help-email a {
        color: var(--text-muted);
        transition: color .2s;
    }

        .help-email a:hover {
            color: var(--purple);
        }

/* Subscribe */
.footer-subscribe p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.subscribe-form {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

    .subscribe-form input {
        background: transparent;
        border: none;
        outline: none;
        padding: 10px 14px;
        font-size: 13px;
        color: var(--text-light);
        flex: 1;
        font-family: 'Open Sans', sans-serif;
        min-width: 0;
    }

        .subscribe-form input::placeholder {
            color: var(--text-muted);
        }

    .subscribe-form button {
        background: var(--purple);
        border: none;
        padding: 10px 14px;
        cursor: pointer;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: background .2s;
    }

        .subscribe-form button:hover {
            background: var(--purple-dark);
        }

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid var(--border);
}

.footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

    .footer-bottom p a {
        color: var(--purple);
        font-weight: 600;
    }

.social-icons {
    display: flex;
    gap: 9px;
}

    .social-icons a {
        width: 36px;
        height: 36px;
        border: 1px solid var(--border);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        transition: border-color .2s, color .2s, background .2s;
    }

        .social-icons a:hover {
            border-color: var(--purple);
            color: var(--purple);
            background: rgba(123,47,190,.08);
        }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 20px;
    }

    .nav-link {
        font-size: 13px;
        padding: 7px 9px;
    }

    .btn-login {
        padding: 9px 16px;
        font-size: 13px;
        margin-left: 6px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 48px 24px 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    nav.desktop-nav {
        display: none;
    }

    .btn-login.hide-mobile {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        padding: 40px 20px 32px;
        gap: 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 0 16px;
    }

    .logo-icon {
        width: 44px;
        height: 44px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding: 36px 16px 28px;
        gap: 24px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }

    .footer-brand .f-logo {
        align-items: center;
    }

    .footer-brand p {
        text-align: center
    }

    .footer-col h4 {
        text-align: center;
    }

        .footer-col h4::after {
            left: calc(100% - 53%);
        }

    .footer-col ul {
        flex-wrap: wrap;
        gap: 9px;
        text-align: center;
        justify-content: center;
        flex-direction: row;
    }
    .footer-help .help-item {
        text-align: center;
    }
}
