/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

/* Global container */
.container {
    width: 100%;
    max-width: 70rem; /* 1280px */
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}
@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}
/* Header: create a stacking context and keep it above the drawer */
header {
    border-bottom: 1px solid #e2e8f0;
    background-color: #fff;
    position: fixed; /* or 'sticky' with top:0 if preferred */
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 2000; /* higher than drawer */
}

/* Compensate for fixed header so content doesn't hide beneath it */
body {
    padding-top: 70px;
}

/* Navbar wrapper: ensure z-index applies by positioning it */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 16px;
    position: relative; /* enables its z-index */
    z-index: 2001; /* above drawer if needed for clicks/icons */
}

.logo-wrapper {
    @apply flex w-full
  /* width: 231px; */;
}
@media (min-width: 768px) {
    .logo-wrapper {
        width: 160px;
        height: 40px;
    }
}
@media (max-width: 525px) {
    .logo-wrapper {
        width: 160px;
        height: 40px;
    }
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hamburger toggle (mobile only) */
.drawer-toggle {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #475569;
    position: relative; /* ensure it sits above drawer */
    z-index: 2100;
}

/* Drawer styles (mobile only) */
.drawer {
    position: fixed;
    top: 70px; /* always below header */
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;

    transition:
        transform 0.3s ease,
        opacity 0.25s ease;

    z-index: 1500;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

/* open state */
.drawer.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.drawer ul {
    list-style: none;
    padding: 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer a {
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: #475569;
    transition: color 150ms ease;
}

.drawer a.active {
    color: #2563eb;
}
.drawer a:hover {
    color: #2563eb;
}

/* Hide inline nav on mobile */
.nav-items {
    display: none;
}

/* Desktop / Tablet view */
@media (min-width: 768px) {
    .drawer {
        display: none;
    }
    .drawer-toggle {
        display: none;
    }

    .nav-items {
        display: block;
    }
    .nav-items ul {
        display: flex;
        flex-direction: row;
        gap: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
        align-items: center;
    }
    .nav-items a {
        font-size: 12.25px;
        font-weight: 500;
        text-decoration: none;
        color: #475569;
        transition: color 150ms ease;
        padding-bottom: 8px;
        position: relative;
    }
    .nav-items a:hover {
        color: #2563eb;
    }
    .nav-items a.active {
        color: #2563eb;
    }
    .nav-items a.active::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #2563eb;
    }
}

.footer {
    background-color: #0f172a; /* slate-900 */
    color: #fff;
    padding-top: 4rem;
    padding-bottom: 2rem;
    font-family: sans-serif;
}

.footer-container {
    max-width: 70rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.brand-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.brand-desc {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #94a3b8;
    font-size: 1.25rem;
    transition: color 0.3s;
}
.social-link:hover {
    color: #fff;
}

.section-title {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.section-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-list li {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.section-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}
.section-list a:hover {
    color: #fff;
}

.section-list a.disabled {
    opacity: 0.3;
}
.section-list a.disabled:hover {
    opacity: 1;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.875rem;
    color: #64748b;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        font-size: 0.8rem;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-links {
        margin-top: 0;
    }
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #fff;
}

.section {
    display: none;
}
.section.active {
    display: block;
}
