:root {
    /* Provided Color Palette */
    --color-cream: #FFFBF4;
    --color-tan-light: #D4CCC4;
    --color-tan: #A89E94;
    --color-brown-light: #7D6F63;
    --color-brown-dark: #514033;
    --color-peach-light: #FFE2D6;
    --color-peach: #FCBD9D;
    --color-dark: #413429;

    /* Semantic Mappings */
    --bg-main: var(--color-cream);
    --text-main: var(--color-dark);
    --text-muted: var(--color-brown-light);
    --accent: var(--color-peach);
    --accent-hover: #faab84;
    --border: var(--color-tan-light);
    --card-bg: #FFFFFF;

    /* Layout */
    --container-max: 1200px;
    --section-padding: 5rem 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(65, 52, 41, 0.08);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation --- */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 251, 244, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-nav {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-insignia {
    height: 40px;
    width: auto;
    display: block;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-brown-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-brown-dark);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(81, 64, 51, 0.2);
}

.btn-secondary {
    background-color: var(--color-peach);
    color: var(--color-brown-dark);
}

.btn-secondary:hover {
    background-color: #fab089;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(252, 189, 157, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-brown-dark);
    color: var(--color-brown-dark);
}

.btn-outline:hover {
    background-color: var(--color-brown-dark);
    color: white;
}

/* --- Hero Section --- */
.hero {
    padding: 10rem 0 6rem;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-peach-light);
    color: var(--color-brown-dark);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Cards & Selection --- */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.selection-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.selection-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--color-peach);
}

.selection-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.selection-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
    /* Pushes the button to the bottom */
}

/* --- About Section --- */
.about-section {
    padding: 8rem 0;
    background-color: var(--color-tan-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-brown-dark);
}

.about-text-content {
    line-height: 1.8;
    color: var(--color-brown-dark);
    font-size: 1.1rem;
}

.about-features h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-brown-dark);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(81, 64, 51, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(81, 64, 51, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--color-peach-light);
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brown-dark);
}

.feature-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.feature-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-brown-dark);
    margin: 0;
}

/* --- Sponsors Section --- */
.sponsors-section {
    padding: 6rem 0;
    background-color: white;
    overflow: hidden;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--color-brown-dark);
}

.sponsor-marquee {
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.sponsor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 12px;
}

.coming-soon-badge {
    background: var(--color-peach);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 10px 25px rgba(246, 177, 122, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.sponsor-logo {
    padding: 1rem 2rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-tan);
    border: 2px solid var(--color-tan-light);
    border-radius: 12px;
    white-space: nowrap;
    opacity: 0.6;
    transition: var(--transition);
    cursor: pointer;
}

.sponsor-logo:hover {
    opacity: 1;
    border-color: var(--color-peach);
    color: var(--color-brown-dark);
    transform: scale(1.05);
    background-color: var(--color-peach-light);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 2rem));
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nav-actions {
        display: none;
        /* Hide nav buttons on mobile for now */
    }
}

/* --- Form Styles --- */
.form-container {
    max-width: 800px;
    margin: 4rem auto;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-brown-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-peach);
    box-shadow: 0 0 0 4px var(--color-peach-light);
}

/* --- Footer --- */
.footer {
    padding: 4rem 0;
    background: var(--color-dark);
    color: var(--color-cream);
    text-align: center;
    margin-top: 4rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* --- Team Section --- */
.team-section {
    padding: var(--section-padding);
    background: var(--color-peach-light);
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.bubble-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 4rem auto;
    padding-bottom: 6rem;
}

.bubble-item {
    width: 140px;
    height: 140px;
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--color-tan-light);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
    border: 3px solid transparent;
    box-shadow: 0 10px 20px rgba(81, 64, 51, 0.1);
    animation: morph 8s ease-in-out infinite both alternate;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble-item:nth-child(2n) {
    animation-duration: 9s;
    animation-delay: -1s;
}

.bubble-item:nth-child(3n) {
    animation-duration: 7s;
    animation-delay: -2.5s;
}

.bubble-item:hover {
    transform: scale(1.25) rotate(2deg);
    border-color: var(--color-peach);
    box-shadow: 0 20px 40px rgba(81, 64, 51, 0.2);
    z-index: 10;
    border-radius: 50%;
}

.bubble-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-tan-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brown-dark);
    transition: var(--transition);
    z-index: 1;
}

.bubble-item:hover .bubble-img-placeholder {
    background-color: var(--color-peach-light);
    opacity: 0.15;
}

.bubble-content {
    position: relative;
    z-index: 2;
    color: var(--color-dark);
    text-align: center;
    padding: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.bubble-item:hover .bubble-content {
    opacity: 1;
    transform: scale(1);
}

.bubble-content h4 {
    font-size: 0.7rem;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.bubble-content .role-highlight {
    font-size: 0.8rem;
    color: var(--color-brown-dark);
    font-weight: 800;
    margin-top: 4px;
    display: block;
    line-height: 1;
}

@keyframes morph-1 {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

@keyframes morph-2 {

    0%,
    100% {
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }

    50% {
        border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
    }
}

@keyframes morph-3 {

    0%,
    100% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 50% 50% 70% 30% / 70% 70% 30% 30%;
    }
}

@keyframes morph-4 {

    0%,
    100% {
        border-radius: 50% 50% 50% 50% / 80% 20% 80% 20%;
    }

    50% {
        border-radius: 80% 20% 80% 20% / 50% 50% 50% 50%;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(65, 52, 41, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-cream);
    max-width: 600px;
    width: 90%;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-brown-dark);
}

.modal-body {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.modal-img {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-peach-light);
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.modal-info .role {
    font-weight: 600;
    color: var(--color-tan);
    margin-bottom: 1rem;
    display: block;
}

.modal-info p {
    color: var(--color-brown-dark);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        text-align: center;
    }

    .bubble-item {
        width: 100px;
        height: 100px;
    }
}

.animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .selection-grid {
        grid-template-columns: 1fr;
    }
}