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

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    line-height: 1.7;
    scrollbar-width: none;
    -ms-overflow-style: none
}

html::-webkit-scrollbar {
    display: none
}

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    background: #f8fafc;
    width: 100%;
    max-width: 100%
}

body.menu-open {
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow: hidden
}

section,
header,
footer {
    overflow-x: hidden
}

section[id],
header[id] {
    scroll-margin-top: 70px
}

img {
    will-change: transform
}

/* =========================================================
   NAVBAR (GPU optimized)
========================================================= */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: linear-gradient(135deg, #0f172a, #0dcaf0);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 202, 240, .2);
    transition: all .3s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    will-change: box-shadow
}

.navbar-wrapper.scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25)
}

.navbar {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.lion-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(13, 202, 240, .3);
    border: 2px solid rgba(252, 211, 77, .4);
    transition: all .3s ease
}

.navbar-wrapper.scrolled .lion-logo {
    width: 50px;
    height: 50px
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1
}

.brand-name {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    transition: .3s ease
}

.navbar-wrapper.scrolled .brand-name {
    font-size: 18px
}

.brand-subtitle {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600
}

.brand-slogan {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
    color: #fcd34d
}

.navbar-wrapper.scrolled .brand-slogan {
    font-size: 11px
}

/* =========================================================
   NAV LINKS
========================================================= */
.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 5px 0;
    align-items: center
}

.nav-links a {
    position: relative;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .2px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: all .3s cubic-bezier(.25, .46, .45, .94)
}

.nav-links a::before {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 5px;
    background: linear-gradient(90deg, #fcd34d, #0dcaf0);
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width .3s ease
}

.nav-links a::after {
    content: "";
    position: absolute;
    inset: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all .5s ease
}

.nav-links a:hover {
    transform: translateY(-1px)
}

.nav-links a:hover::before {
    width: 75%
}

.nav-links a:hover::after {
    width: 200px;
    height: 200px
}

/* =========================================================
   HERO
========================================================= */
.site-header {
    background: linear-gradient(135deg, #0f172a, #0dcaf0);
    color: #fff;
    text-align: center;
    padding: 40px 24px;
    position: relative;
    overflow: hidden
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 450;
    margin-bottom: 5px;
    color: #e0f2fe;
    opacity: 0;
    animation: fadeIn 1s forwards .2s
}

.hero-heading {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeIn 1s forwards .4s
}

.hero-note {
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: 16px;
    color: #e0f2fe;
    opacity: 0;
    animation: fadeIn 1s forwards .6s
}

.hero-cta {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    background: #fcd34d;
    color: #0f172a;
    font-weight: 500;
    text-decoration: none;
    transition: .3s;
    opacity: 0;
    animation: fadeIn 1.5s forwards .9s
}

.hero-cta:hover {
    background: #fbc337;
    color: #fff;
    transform: scale(1.05)
}

@keyframes fadeIn {
    to {
        opacity: 1
    }
}

/* =========================================================
   CONTACT MODAL
========================================================= */
.contact-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2000
}

.contact-modal.active {
    display: block
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 23, .75);
    backdrop-filter: blur(6px)
}

.modal-content.secure-modal {
    position: relative;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 5vh auto;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #0dcaf0, #fcd34d) border-box;
    border: 1px solid rgba(13, 202, 240, .45);
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    animation: modalFadeUp .4s ease
}

@keyframes modalFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #64748b
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 202, 240, .12);
    color: #075985;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    letter-spacing: .3px
}

.secure-badge::before {
    content: "🔒";
    font-size: 13px
}

.modal-note.secure-note {
    font-size: 13px;
    color: #475569;
    border-left: 3px solid #0dcaf0;
    padding-left: 10px;
    margin-bottom: 20px
}

/* =========================================================
   FORM (Minified selectors)
========================================================= */
.contact-form label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    transition: .3s
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
    font-size: 13px
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #0dcaf0;
    box-shadow: 0 0 0 2px rgba(13, 202, 240, .2)
}

.contact-form select {
    background: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path fill='%2394a3b8' d='M4 6l4 4 4-4z'/></svg>") no-repeat right 12px center;
    background-size: 12px;
    padding-right: 36px;
    cursor: pointer;
    appearance: none
}

.secure-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: #475569;
    margin: 12px 0 18px;
    flex-wrap: wrap
}

.secure-footer span {
    display: flex;
    align-items: center;
    gap: 6px
}

.form-submit.secure-submit {
    background: linear-gradient(135deg, #020617, #0dcaf0);
    color: #fff;
    letter-spacing: .3px;
    font-weight: 600;
    padding: 14px;
    width: 100%;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.form-submit.secure-submit:hover {
    background: linear-gradient(135deg, #020617, #0891b2)
}

.small-note {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px
}

/* =========================================================
   SUCCESS STATE
========================================================= */
.success-state {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp .45s ease
}

.success-check {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-size: 2.8rem;
    line-height: 72px;
    font-weight: bold
}

.success-state h3 {
    margin-bottom: .5rem;
    color: #0f172a
}

.success-state p {
    color: #475569;
    margin-bottom: 1.5rem
}

.success-close {
    padding: .65rem 1.5rem;
    border-radius: 6px;
    border: none;
    background: #0f172a;
    color: #fff;
    cursor: pointer
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* BUTTON SPINNER */
.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    display: none
}

.form-submit.loading .btn-spinner {
    display: inline-block
}

.form-submit.loading .btn-text {
    opacity: .7
}

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

/* =========================================================
   SECTIONS
========================================================= */
section {
    width: auto;
    margin: 72px 35px;
    padding: 40px 5%;
    border-radius: 12px;
    overflow: visible
}

.section-light {
    background: #fff;
    box-shadow: 0 7px 30px rgba(0, 0, 0, .04)
}

.section-dark {
    background: rgb(235 239 243)
}

h2 {
    font-size: 28px
}

h2::after {
    content: "";
    display: block;
    width: 95px;
    height: 4px;
    margin: 2px 0 10px;
    border-radius: 2px;
    background: linear-gradient(90deg, #0dcaf0, #fcd34d)
}

h3 {
    margin-top: 8px;
    font-size: 19px;
    color: #0f172a
}

ul {
    margin-left: 20px;
    margin-top: 1px
}

ul li {
    margin-bottom: 2px
}

/* =========================================================
   SERVICES
========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 26px
}

.service-card {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    transition: .2s;
    opacity: 0;
    transform: translateY(20px)
}

.service-card.visible,
.service-card.fade-in {
    opacity: 1;
    transform: translateY(0)
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08)
}

.contact-box,
.contact-box1 {
    background: #fff;
    border-left: 4px solid #fcd34d;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06)
}

.contact-box1 {
    background: rgb(235 239 243);
    margin-top: 2%
}

.milestone-number {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #0dcaf0, #fcd34d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.milestone-label {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a
}

footer {
    text-align: center;
    background: #0f172a;
    color: #94a3b8;
    padding: 20px 20px;
    font-size: 13.5px
}

/* =========================================================
   RESPONSIVE (Grouped)
========================================================= */
@media (max-width:768px) {
    .hamburger {
        display: flex !important;
        /* Force show */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute !important;
        top: 18px !important;
        right: 18px !important;
        cursor: pointer;
        z-index: 1200 !important;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        padding: 0;
    }

    .hamburger span {
        width: 22px !important;
        height: 2px !important;
        background: #fff !important;
        border-radius: 2px !important;
        margin: 3px 0 !important;
        display: block !important;
        transition: all .3s ease;
        transform-origin: center;
    }

    /* X animation when open */
    .hamburger[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .hamburger[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .nav-links {
        display: none
    }

    .nav-links.open {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 70vw;
        height: 100vh;
        flex-direction: column;
        padding-top: 88px;
        background: rgba(15, 23, 42, .95);
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 1000
    }

    .nav-links.open {
        transform: translateX(0)
    }

    section {
        margin: 48px auto;
        padding: 28px 6%
    }
}

@media (min-width:769px) and (max-width:1200px) {

    section,
    .site-header {
        margin: 60px auto;
        padding: 32px 6%;
        max-width: 100%
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px
    }

    .hero-heading {
        font-size: 32px
    }

    h2 {
        font-size: 26px
    }

    .brand-name {
        font-size: 18px
    }

    .navbar {
        padding: 0 6%
    }
}

@media (max-width:480px) {
    section {
        margin: 32px auto;
        padding: 24px 4%
    }

    .hero-heading {
        font-size: 26px
    }

    h2 {
        font-size: 22px
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }
}

@media (max-width:360px) {
    section {
        padding: 20px 3%;
        margin: 24px auto
    }

    .services-grid {
        gap: 16px
    }
}