/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
    --primary-color: #13132d;
    --secondary-color: #16213e;
    --accent-color: #223f66;
    --highlight-color: #002545;
    --logo-blue: #002545;
    --logo-blue-light: #003c70;
    --logo-blue-lighter: #1b5f9a;
    --text-color: #333;
    --light-bg: var(--logo-blue);
    --light-background: #f4f3f3;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --border-radius: 8px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    opacity: 0;
    -webkit-animation: bodyFadeIn 0.8s ease 0.2s forwards, gradientShift 15s ease-in-out infinite 2s;
    animation: bodyFadeIn 0.8s ease 0.2s forwards, gradientShift 15s ease-in-out infinite 2s;
    position: relative;
    min-height: 100%;
}

/* Fixed background using pseudo-element for better mobile support */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
    background-size: 200% 200%;
    -webkit-background-size: 200% 200%;
    background-repeat: no-repeat;
    background-position: 0% 50%;
    -webkit-animation: gradientShift 15s ease-in-out infinite 2s;
    animation: gradientShift 15s ease-in-out infinite 2s;
    will-change: background-position;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* cursor-follow glow removed */

@keyframes bodyFadeIn {
    to {
        opacity: 1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    font-family: 'Spectral', Georgia, 'Times New Roman', serif;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
.navbar {
    background: var(--light-background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide navbar initially on main page */
.main-page .navbar {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Show navbar when scrolled on main page */
.main-page .navbar.navbar-visible {
    transform: translateY(0);
    opacity: 1;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo .logo-text {
    color: var(--primary-color);
    font-family: 'Spectral', Georgia, 'Times New Roman', serif !important;
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--highlight-color);
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    min-width: 200px;
    margin-top: 0.5rem;
}

.nav-menu li:hover .dropdown {
    display: block;
}

.dropdown li {
    padding: 0;
}

.dropdown a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--primary-color);
}

.dropdown a:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.btn-apply {
    background: var(--highlight-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: var(--border-radius);
}

.btn-apply:hover {
    background: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span {
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    background: transparent;
    color: var(--white);
    padding: 8rem 0 6rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Center hero vertically on main page when navbar is hidden */
.main-page .hero {
    padding: 0 !important;
    margin: 0 !important;
    height: 100vh;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    display: flex;
}

.main-page .hero .container {
    margin: 0 auto;
}

.hero .container {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1.2s ease 0.3s forwards;
}

.hero-title {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.hero-word:nth-child(1) {
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-word:nth-child(2) {
    animation: fadeInUp 1s ease 0.75s forwards;
}

.hero-word:nth-child(3) {
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.scroll-indicator p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--white);
    animation: bounce 2.5s infinite ease-in-out;
    transition: var(--transition);
}

.scroll-arrow:hover {
    animation-play-state: paused;
    transform: translateY(-5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    transform: translateY(0);
}

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

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(83, 52, 131, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(21, 21, 39, 0.4);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: transparent;
    text-align: center;
    color: var(--white);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-section h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.about-text p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Who We Are, Investment Strategy Sections */
.who-we-are-section,
.investment-strategy-section {
    padding: 4rem 0;
    background: transparent;
    text-align: center;
    color: var(--white);
}

.who-we-are-section h2,
.investment-strategy-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.who-we-are-section p,
.investment-strategy-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Board & Members Section */
.board-members-section {
    padding: 4rem 0;
    background: transparent;
    color: var(--white);
}

.board-members-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: start;
}

.board-column,
.members-column {
    text-align: center;
}

.board-column h2,
.members-column h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.board-column p,
.members-column p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.board-column .cta-center,
.members-column .cta-center {
    margin-top: 1rem;
}

/* Officers and Founders Sections */
.officers-section,
.founders-section {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.officers-section h2,
.founders-section h2 {
    color: var(--logo-blue);
    margin-bottom: 1.5rem;
}

.officers-section p,
.founders-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* Members Section - Legacy styles removed, now part of board-members-section */

/* Value Team and Quant Team Sections */
.value-team-section,
.quant-team-section {
    padding: 4rem 0;
    background: transparent;
    text-align: center;
    color: var(--white);
}

.value-team-section h2,
.quant-team-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.value-team-section p,
.quant-team-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Apply Section */
.apply-section {
    padding: 4rem 0 10rem 0;
    background: transparent;
    text-align: center;
    color: var(--white);
}

.apply-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.apply-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: transparent;
    text-align: center;
    color: var(--white);
}

.contact-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: transparent;
    text-align: center;
    color: var(--white);
}

.stats-section h2 {
    color: var(--white);
}

.section-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    padding: 2rem;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    transition: var(--transition);
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-center {
    margin-top: 3rem;
}

/* Chapters Section */
.chapters-section {
    padding: 6rem 0;
    background: transparent;
    text-align: center;
    color: var(--white);
}

.chapters-section h2 {
    color: var(--white);
    margin-bottom: 3rem;
}

.chapters-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Board Page */
.board-hero {
    padding: 5rem 0 2rem;
    background: transparent;
    color: var(--white);
    text-align: center;
}

.board-title {
    margin-bottom: 0.5rem;
}

.board-subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    margin: 0 auto;
}

.board-section {
    padding: 2rem 0 6rem;
    color: var(--white);
}

.board-section-group {
    margin-bottom: 5.5rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.board-section-group.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.board-section-group:last-child {
    margin-bottom: 0;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.board-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.board-grid-1 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
}

.board-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
}

.board-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 1rem;
}

.board-card-main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.board-headshot {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--border-radius);
    display: block;
}

.board-name {
    color: var(--white);
    font-size: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-role {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    transition: var(--transition-fast);
}

.board-linkedin:hover {
    background: rgba(255, 255, 255, 0.25);
}

.linkedin-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

/* Contact Page */
.contact-hero {
    padding: 5rem 0 2rem;
    background: transparent;
    color: var(--white);
    text-align: center;
}

.contact-title {
    margin-bottom: 0.75rem;
}

.contact-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Apply Page */
.apply-hero {
    padding: 5rem 0 5rem;
    background: transparent;
    color: var(--white);
}

.apply-content-wrapper {
    display: flex;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.apply-text-content {
    flex: 1;
    text-align: left;
}

.apply-title {
    margin-bottom: 2rem;
}

.apply-subtitle {
    max-width: none;
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.apply-image-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
}

.apply-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    display: block;
}

.apply-notice {
    margin: 2.5rem 0 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-align: center;
}

.apply-notice strong {
    font-weight: 600;
    color: var(--white);
}

.members-coming-soon {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: transparent;
}

.members-coming-soon__text {
    margin: 0;
}

.apply-notice-mobile {
    display: none;
}

.apply-content-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.apply-content-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-section {
    padding: 2rem 0 8rem;
    color: var(--white);
}

.contact-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact-select-wrapper {
    position: relative;
    width: 420px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(8, 21, 45, 0.35);
    cursor: pointer;
}

.contact-selector select {
    width: 100%;
    padding: 1.05rem 3.75rem 1.05rem 1.4rem;
    border-radius: var(--border-radius);
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.contact-select-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.6);
}

.contact-select-icon {
    position: absolute;
    top: 50%;
    right: 1.1rem;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.8);
}

.contact-details {
    display: grid;
    gap: 2rem;
    max-width: 960px;
    margin: 2.5rem auto 0;
}

.contact-detail {
    display: none;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.contact-detail.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.contact-detail h2 {
    margin-bottom: 1rem;
}

.contact-detail p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-detail ul {
    margin: 1.25rem 0;
    padding-left: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.contact-detail li {
    margin-bottom: 0.5rem;
}

.contact-card {
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-columns {
    display: grid;
    gap: 2rem;
    margin: 2.25rem auto 3rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    text-align: center;
    width: 100%;
}

.contact-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-column h3 {
    color: #f6f8ff;
    font-weight: 700;
    font-size: 1.12rem;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.contact-column p {
    color: rgba(245, 247, 255, 0.88);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto;
}

.contact-card a {
    color: var(--white);
    text-decoration: underline;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-actions--center {
    justify-content: center;
}

.contact-actions .btn,
.contact-actions .btn-outline {
    flex: 0 0 auto;
}

.contact-newsletter {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    padding: 0;
    width: 100%;
    position: relative;
    min-height: 64px;
}

.contact-newsletter-body {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.contact-newsletter form {
    width: 100%;
    max-width: 420px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(8, 21, 45, 0.35);
    padding: 0.35rem;
    position: relative;
    box-shadow: none;
    margin: 0 auto;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-newsletter form.newsletter-form-hidden {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.contact-newsletter .email-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    padding: 0.95rem 3.5rem 0.95rem 1.1rem;
    border-radius: calc(var(--border-radius) - 2px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.contact-newsletter .email-input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.contact-newsletter .email-input:focus {
    outline: none;
}

.contact-newsletter .email-submit {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    bottom: 0.35rem;
    width: 48px;
    min-width: 48px;
    border-radius: calc(var(--border-radius) - 4px);
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.contact-newsletter .email-submit svg {
    display: block;
}

.contact-newsletter .email-submit:hover {
    transform: translateX(2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.contact-newsletter-message {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 420px;
    transform: translate(-50%, -40%);
    margin: 0;
    text-align: center;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.contact-newsletter-message.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

@media (max-width: 640px) {
    .contact-select-wrapper,
    .contact-selector select {
        width: 100%;
    }

    .contact-detail {
        padding: 1.5rem;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-actions .btn,
    .contact-actions .btn-outline {
        width: 100%;
        text-align: center;
    }

    .contact-actions--center {
        align-items: center;
    }

    .contact-actions--center .btn,
    .contact-actions--center .btn-outline {
        width: auto;
        min-width: 200px;
    }

    .contact-newsletter {
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .contact-newsletter-body,
    .contact-newsletter form,
    .contact-newsletter-message {
        width: 100%;
        max-width: 100%;
    }
}

.chapter-card {
    background: transparent;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 140px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
    position: relative;
    z-index: 1;
    text-decoration: none;
    overflow: visible;
}

.chapter-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    min-height: 80px;
    object-fit: contain;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chapter-logo-default {
    opacity: 1;
}

.chapter-logo-hover {
    opacity: 0;
}

.chapter-card:first-child .chapter-logo {
    max-width: 80%;
    max-height: 100%;
    min-height: 80px;
    width: 80%;
}

.chapter-card:hover {
    background: var(--white);
    padding: 1.5rem;
    transform: scale(1.1) !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 50px rgba(255, 255, 255, 0.15) !important;
    z-index: 10;
    text-decoration: none;
    color: var(--primary-color);
}


.chapter-card:hover .chapter-logo-default {
    opacity: 0;
}

.chapter-card:hover .chapter-logo-hover {
    opacity: 1;
}

/* Sponsors Section */
.sponsors-section {
    padding: 6rem 0;
    background: transparent;
    text-align: center;
    color: var(--white);
}

.sponsors-section h2 {
    color: var(--white);
    margin-bottom: 3rem;
}

.sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    width: 100%;
}

.sponsor-card {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 140px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
    position: relative;
    z-index: 1;
    text-decoration: none;
    overflow: hidden;
}

.sponsor-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    min-height: 80px;
    object-fit: contain;
    display: block;
}

.sponsor-card:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 50px rgba(255, 255, 255, 0.15) !important;
    z-index: 10;
    text-decoration: none;
    color: var(--primary-color);
}

/* Placements Section */
.placements-section {
    padding: 6rem 0;
    background: transparent;
    color: var(--white);
}

.placements-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 2.7rem;
}

.placement-categories-centered {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.placement-categories::-webkit-scrollbar {
    height: 8px;
}

.placement-categories::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.placement-categories::-webkit-scrollbar-thumb {
    background: var(--highlight-color);
    border-radius: 4px;
}

.placement-categories::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.placement-category {
    min-width: 300px;
    flex-shrink: 0;
}

.placement-category h3 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 600;
}

.companies-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 1rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.companies-grid::-webkit-scrollbar {
    display: none; /* WebKit */
}


.company-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    color: var(--white);
}

.company-card:hover {
    border-color: var(--highlight-color);
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Funds Section */
.funds-section {
    padding: 6rem 0;
    background: transparent;
}

.funds-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.funds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.fund-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    transform: translateY(0);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fund-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.fund-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.fund-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Sponsors Section */
.sponsors-section {
    padding: 6rem 0;
    background: transparent;
    color: var(--white);
    text-align: center;
}

.sponsors-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
}

.sponsor-category {
    margin-bottom: 4rem;
}

.sponsor-category h3 {
    color: var(--white);
    margin-bottom: 2rem;
    text-align: center;
}


/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-links {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    justify-content: flex-end;
}

.footer-resources h4 {
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--white);
}

.footer-resources-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-brand h3 {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-300);
    line-height: 1.8;
}

.footer-disclaimer {
    font-size: calc(1rem - 2px);
    color: var(--gray-600);
    margin-top: 10px;
}

.footer-column h4 {
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-column a[href^="mailto:"],
.footer-column a[href^="tel:"] {
    word-break: break-word;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

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

.footer-social-icons a {
    display: inline-block;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-social-icons a:hover {
    opacity: 1;
    filter: brightness(1.2);
}

.footer-social-icons .social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
}

.footer-bottom a {
    color: var(--white);
    text-decoration: underline;
}

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

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-menu {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.active {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        margin-top: 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .main-page .hero {
        padding: 0 !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-resources-columns {
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .board-grid {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-resources-columns {
        gap: 1.5rem;
    }

    .board-members-grid {
        gap: 5rem;
    }

    .board-members-section {
        padding: 5rem 0;
    }

    .board-column,
    .members-column {
        margin-bottom: 1rem;
    }

    .companies-grid,
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
    
    .placement-categories-centered {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .chapters-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .chapter-card {
        width: 100%;
        max-width: 320px;
        height: 120px;
    }
    
    .sponsor-card {
        width: 100%;
        max-width: 320px;
        height: 120px;
    }

    .apply-content-wrapper {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .apply-text-content {
        text-align: center;
        order: 1;
    }

    .apply-title {
        margin-bottom: 1.5rem;
    }

    .apply-notice-desktop {
        display: none;
    }

    .apply-image-wrapper {
        max-width: 100%;
        order: 2;
    }

    .apply-image {
        max-height: 300px;
    }

    .apply-notice-mobile {
        display: block;
        order: 3;
        text-align: center;
        margin: 0;
    }
}

@media (max-width: 968px) {
    html, body {
        min-height: 100vh;
    }

    .board-members-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .members-column {
        margin-top: 1rem;
    }
    
    .chapters-grid {
        gap: 1.5rem;
    }
    
    .chapter-card {
        width: 260px;
        height: 130px;
    }
    
    .sponsor-card {
        width: 260px;
        height: 130px;
    }

    .apply-content-wrapper {
        flex-direction: column;
        gap: 2.5rem;
    }

    .apply-text-content {
        text-align: center;
        order: 1;
    }

    .apply-notice-desktop {
        display: none;
    }

    .apply-image-wrapper {
        max-width: 100%;
        margin: 0 auto;
        order: 2;
    }

    .apply-notice-mobile {
        display: block;
        order: 3;
        text-align: center;
        margin: 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--highlight-color);
    color: var(--white);
}


