:root {
    --c-black-bean: #2D0C0C;
    --c-white: #FFFFFF;
    --c-platinum: #DBD8D8;
    --c-onyx: #2E2E2E;
    --c-rosetaupe: #C3B5A7;
    --c-rose-dust: #997C7B;
    --c-firebrick: #7E0101;
    --c-auburn: #6F0505;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fdfbf9; 
    color: var(--c-onyx);
    overflow-x: hidden;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(195, 181, 167, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(126, 1, 1, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(153, 124, 123, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(219, 216, 216, 0.6) 0%, transparent 40%);
    background-attachment: fixed;
    background-size: cover;
}

/* ===================== NAVBAR ===================== */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(253, 251, 249, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(219, 216, 216, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle-small {
    width: 45px;
    height: 45px;
    background-color: var(--c-firebrick);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(126, 1, 1, 0.2);
}

.logo-text-nav {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--c-black-bean);
    line-height: 1;
}

.logo-text-nav span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--c-firebrick);
}

/* Nav links — desktop */
.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--c-black-bean);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: 0.3s ease;
    white-space: nowrap;
}

.nav-links a i {
    font-size: 0.95rem;
    color: var(--c-firebrick);
}

.nav-links a:hover {
    color: var(--c-firebrick);
    transform: translateY(-2px);
}

/* Hamburger button — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--c-black-bean);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animated X when open */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-mobile-drawer {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(253, 251, 249, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--c-firebrick);
    z-index: 999;
    padding: 20px 0;
    box-shadow: 0 8px 24px rgba(45, 12, 12, 0.1);
}

.nav-mobile-drawer.open {
    display: block;
}

.nav-mobile-drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0 30px;
    gap: 0;
}

.nav-mobile-drawer ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--c-black-bean);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(219, 216, 216, 0.5);
    transition: color 0.2s ease;
}

.nav-mobile-drawer ul li:last-child a {
    border-bottom: none;
}

.nav-mobile-drawer ul li a i {
    color: var(--c-firebrick);
    font-size: 1rem;
    width: 20px;
}

.nav-mobile-drawer ul li a:hover {
    color: var(--c-firebrick);
}

.nav-go-back {
    text-decoration: none;
    background-color: var(--c-firebrick);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(126, 1, 1, 0.2);
}

.nav-go-back:hover {
    background-color: var(--c-black-bean);
    transform: translateX(-5px);
}

/* ===================== HERO ===================== */
.hero {
    min-height: 100vh;
    padding: 130px 80px 60px;
    background: transparent !important;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Typewriter */
.tagline {
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: black;
    min-height: 1.2em;
    border-right: 3px solid var(--c-onyx);
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
    from, to { border-color: transparent }
    50% { border-color: var(--c-onyx); }
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background-color: var(--c-firebrick);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(126, 1, 1, 0.3);
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--c-black-bean);
    line-height: 1;
}

.logo-text span {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--c-firebrick);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 580px;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--c-black-bean);
}

.highlight-box {
    background-color: var(--c-black-bean);
    color: var(--c-rosetaupe);
    padding: 20px;
    border-left: 5px solid var(--c-firebrick);
    border-radius: 0 10px 10px 0;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.highlight-box strong {
    color: #f1c40f;
}

.hero-description {
    font-size: 1rem;
    color: var(--c-onyx);
    margin-bottom: 30px;
    font-style: italic;
    border-left: 3px solid var(--c-rosetaupe);
    padding-left: 15px;
}

.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--c-firebrick);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(126, 1, 1, 0.3);
}

.btn-primary:hover {
    background-color: var(--c-auburn);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--c-black-bean);
    border: 2px solid var(--c-black-bean);
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: var(--c-black-bean);
    color: white;
}

/* Hero Visuals */
.hero-visuals {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-container {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--c-white);
    box-shadow: 0 0 0 1px var(--c-platinum), 0 20px 40px rgba(0,0,0,0.15);
    z-index: 2;
    background: #fff;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.orbit-ring {
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px dashed var(--c-rose-dust);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: spin 20s linear infinite;
}

.electron {
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: var(--c-firebrick);
    border-radius: 50%;
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===================== INFO SECTION ===================== */
.info-section {
    padding: 80px 80px;
    background: transparent !important;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    padding: 40px;
    border-radius: 20px;
}

.info-card h2 {
    color: var(--c-firebrick);
    margin-bottom: 20px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card ul {
    list-style: none;
}

.info-card ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.info-card ul li::before {
    content: "•";
    color: var(--c-firebrick);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.dark-card {
    background-color: rgba(45, 12, 12, 0.95) !important;
    backdrop-filter: none;
    color: var(--c-rosetaupe);
}

.dark-card h2 {
    color: var(--c-white);
}

.dark-card ul li::before {
    color: var(--c-white);
}

/* ===================== TEAM SECTION ===================== */
.team-section {
    padding: 80px 80px;
    background: transparent !important;
    text-align: center;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--c-black-bean);
    margin-bottom: 20px;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.team-member {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border-radius: 20px;
    width: 280px;
    transition: 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.member-img-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--c-rosetaupe);
}

.member-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: var(--c-firebrick);
    margin-bottom: 5px;
}

.team-member .role {
    font-size: 0.85rem;
    color: var(--c-onyx);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================== FOOTER ===================== */
.footer-condensed {
    background-color: var(--c-black-bean);
    color: var(--c-white);
    padding: 50px 0;
    margin-top: 80px;
    border-top: 4px solid var(--c-firebrick);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-socials {
    display: flex;
    gap: 40px;
}

.footer-socials a {
    color: var(--c-rosetaupe);
    font-size: 2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-socials a:hover {
    color: var(--c-firebrick);
    transform: translateY(-5px) scale(1.1);
}

.footer-info {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-platinum);
    letter-spacing: 0.5px;
}

.footer-highlight {
    color: var(--c-firebrick);
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 5px;
}

/* ===================== RESPONSIVE BREAKPOINTS ===================== */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 40px;
    }

    .nav-links {
        gap: 22px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hero {
        padding: 120px 50px 60px;
    }

    .info-section,
    .team-section {
        padding: 70px 50px;
    }

    .image-container {
        width: 360px;
        height: 360px;
    }

    .orbit-ring {
        width: 440px;
        height: 440px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    /* Show hamburger, hide desktop nav */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 0 24px;
        justify-content: flex-end;
    }

    /* Hero stacks */
    .hero {
        padding: 100px 30px 60px;
        min-height: auto;
    }

    .brand-logo {
        margin-bottom: 40px;
        justify-content: flex-start;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-description {
        text-align: left;
    }

    .highlight-box {
        text-align: left;
    }

    .tagline {
        font-size: 1.5rem;
        white-space: normal;
        border-right: none;
        animation: none;
    }

    .cta-group {
        justify-content: center;
    }

    .image-container {
        width: 300px;
        height: 300px;
    }

    .orbit-ring {
        width: 370px;
        height: 370px;
    }

    /* Info grid collapses */
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .info-section,
    .team-section {
        padding: 60px 30px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .team-grid {
        gap: 30px;
    }

    .team-member {
        width: 260px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .main-navbar {
        height: 64px;
    }

    .nav-mobile-drawer {
        top: 64px;
    }

    .hero {
        padding: 94px 20px 50px;
    }

    .brand-logo {
        gap: 12px;
    }

    .logo-circle {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-text span {
        font-size: 0.75rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .highlight-box {
        font-size: 0.9rem;
        padding: 16px;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .image-container {
        width: 240px;
        height: 240px;
    }

    .orbit-ring {
        width: 295px;
        height: 295px;
    }

    .info-section,
    .team-section {
        padding: 50px 20px;
    }

    .info-card {
        padding: 28px 22px;
    }

    .info-card h2 {
        font-size: 1.4rem;
        gap: 10px;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .team-member {
        width: 100%;
        max-width: 320px;
    }

    .member-img-wrapper {
        width: 120px;
        height: 120px;
    }

    .footer-socials {
        gap: 28px;
    }

    .footer-socials a {
        font-size: 1.6rem;
    }

    .footer-info {
        font-size: 0.8rem;
        padding: 0 20px;
        line-height: 1.6;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .logo-text {
        font-size: 0.88rem;
    }

    .image-container {
        width: 200px;
        height: 200px;
    }

    .orbit-ring {
        width: 250px;
        height: 250px;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 240px;
    }
}