* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #000;
    color: #000;
}


/* HERO */
.hero {
    background: #ffffff;
    color: #222;
    padding: 40px 20px 80px;
    position: relative;
    text-align: center;
}

.menu {
    position: fixed;
    top: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 1000;
    mix-blend-mode: difference;
    /* Adaptive color */
}

.menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    /* White for difference mode */
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* HAMBURGER TO X ANIMATION */
.menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu.open span:nth-child(2) {
    opacity: 0;
}

.menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero h1 {
    margin-top: 20px;
    font-size: 2rem;
    color: #161E54;
}

/* ABOUT */
.about {
    max-width: 700px;
    margin: 30px auto 0;
}

.about h2 {
    margin-bottom: 10px;
}

.about p {
    line-height: 1.6;
    color: #555;
}

/* FLOATING CATEGORY BUTTONS */
.categories {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.category-card {
    background: #1e293b;
    color: #e5e7eb;
    /* Text color for dark mode */
    width: 200px;
    height: 300px;
    border-radius: 12px;
    border: 1px solid #ffffff;
    /* Thin white border */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
    padding: 0;
    /* Explicitly 0 */
}

.category-card:hover {
    transform: translateY(-8px);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    padding: 0;
    display: block;
    filter: brightness(1.1) contrast(1.1);
    border-bottom: 4px solid #0f172a;
    /* Strong separation line */
}

.category-card h3 {
    padding: 15px;
    /* Add padding around text */
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(300px - 180px);
    /* Fill remaining space */
}

/* CONTENT SECTION */
.content {
    background: linear-gradient(180deg, #020617, #0f172a);
    color: #0f172a;
    padding: 60px 20px;
    text-align: center;
}

.content h2 {
    margin-bottom: 20px;
    color: #BBE0EF
}

.content p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #BBE0EF;
}

.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.features div {
    width: 180px;
    height: 60px;
    border-radius: 30px;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

/* HAMBURGER MENU PANEL */
.nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 120px;
    height: 100vh;
    height: 100dvh;
    /* Mobile viewport height fix */
    background: #ffffff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 70px 0 20px;
    /* Increased top padding */
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* Increased gap */
    z-index: 999;
    /* Below menu button (1000) so button remains clickable if it overlaps, or higher? usually menu button is separate */
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    align-items: center;
    /* Center items horizontally */
}

.nav-panel a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    /* Larger touch targets */
}

.nav-panel a:hover {
    color: #2563eb;
    /* tech blue */
    background: #f8fafc;
}

/* OPEN STATE */
.nav-panel.open {
    transform: translateX(0);
}

/* CONTACT SECTION */
.contact {
    background: linear-gradient(180deg, #020617, #0f172a);
    padding: 80px 20px;
    text-align: center;
    color: #e5e7eb;
}

.contact h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    gap: 150px;
    /* Increased by 20% from 80px */
    text-align: left;
    justify-content: space-between;
}

.contact-left,
.contact-right {
    flex: 1;
    min-width: 300px;
}

.contact-right h3 {
    color: #94a3b8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.contact-right p {
    margin: 0;
    color: #cbd5f5;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-left p {
    margin-bottom: 30px;
    color: #cbd5f5;
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 30px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
}

.contact-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* SOCIAL ICONS */
.social-links {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-links a svg {
    width: 24px;
    height: 24px;
    fill: #94a3b8;
    transition: fill 0.3s, transform 0.2s;
}

.social-links a:hover svg {
    fill: #ffffff;
    transform: scale(1.1);
}

/* FOOTER */
footer {
    background: #1e293b;
    /* Dark slate matching theme tone */
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #334155;
    color: #ffffff;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left h3 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.footer-right {
    text-align: right;
    font-size: 0.85rem;
    color: #cbd5f5;
}

.footer-right p {
    margin: 4px 0;
}

.footer-right strong {
    color: #ffffff;
}

.footer-right a {
    color: #e11d48;
    /* Pink/Rose color from image */
    text-decoration: none;
    font-weight: 500;
}

.footer-right a:hover {
    text-decoration: underline;
}

/* SECTION SEPARATOR */
.section-separator {
    width: 100%;
    height: 1px;

    background: linear-gradient(to right,
            transparent,
            #2563eb,
            transparent);
    opacity: 0.6;
}