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

:root {
    --accent-color: #dc2626;
    --accent-color-hover: #b91c1c;
    --accent-color-light: rgba(220, 38, 38, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #000000 0%, #333333 50%, #000000 100%);
    min-height: 100vh;
    position: relative;
}

/* Headers use Montserrat */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

.red-text {
    color: #dc2626;
}


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

/* Header Styles */
header {
    background: rgb(0, 0, 0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 15px 0;
}

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

.nav-brand .logo h1 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
    transition: color 0.3s ease;
}

.nav-brand .logo h1 .red-text:hover {
    color: var(--accent-color);
    cursor: default;
}

.nav-brand .logo h1:hover {
    cursor: default;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    background: var(--accent-color-light);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.nav-icon {
    width: 18px;
    height: 18px;
    opacity: 0.9;
    color: currentColor;
}

.nav-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

/* Theme Toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    margin-left: 15px;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--accent-color-light);
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.theme-icon {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: all 0.3s ease;
}

.moon-icon {
    opacity: 0;
    transform: scale(0.8);
}

body.light-mode .sun-icon {
    opacity: 0;
    transform: scale(0.8);
}

body.light-mode .moon-icon {
    opacity: 1;
    transform: scale(1);
}

/* Light Mode Styles */
body.light-mode {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
}


body.light-mode header {
    background: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

body.light-mode .nav-link {
    color: #333;
}

body.light-mode .nav-link:hover {
    background: var(--accent-color-light);
    color: var(--accent-color-hover);
}

body.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #333;
}

body.light-mode .theme-toggle:hover {
    background: var(--accent-color-light);
    border-color: var(--accent-color);
}

body.light-mode .hero-section h1,
body.light-mode .section-subtitle {
    color: #333;
}

body.light-mode .team-member {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .team-member:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode .member-info h3,
body.light-mode .member-info .title {
    color: #333;
}

body.light-mode .companies-section {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .companies-section h2 {
    color: #333;
}

body.light-mode .company-logo {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .company-logo:hover {
    background: rgba(255, 255, 255, 0.9);
}

body.light-mode .company-name {
    color: #333;
}

body.light-mode .footer {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

body.light-mode .footer-brand h3,
body.light-mode .footer-brand p,
body.light-mode .footer-column h4,
body.light-mode .footer-column a,
body.light-mode .footer-bottom p {
    color: #333;
}

body.light-mode .footer-column a:hover {
    color: #000;
}

body.light-mode .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

body.light-mode .modal-content {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .modal-header {
    background: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .modal-info h2,
body.light-mode .modal-info p {
    color: #333;
}

body.light-mode .modal-bio {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.light-mode .modal-bio p {
    color: #333;
}

body.light-mode .close {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #333;
}

body.light-mode .close:hover {
    background: rgba(255, 255, 255, 1);
}

/* Hero Section */
.hero-section {
    background: transparent;
    padding: 25px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3px;
}

/* Team Section */
.team-section {
    padding: 20px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-hover));
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.member-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.team-member:hover .member-photo {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.member-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.member-info .title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Placeholder photo styles */
.placeholder-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.placeholder-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* Light mode placeholder styles */
body.light-mode .placeholder-photo {
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode .placeholder-text {
    color: rgba(0, 0, 0, 0.6);
}

/* Fourth row centering */
.team-member-fourth-row:nth-of-type(13) {
    grid-column: 2 / 3;
}

.team-member-fourth-row:nth-of-type(14) {
    grid-column: 3 / 4;
}

/* Companies Section */
.companies-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin: 20px auto;
    padding: 25px 40px 40px;
    position: relative;
    z-index: 2;
    max-width: 1240px;
}

.companies-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.company-item {
    text-align: center;
}

.company-logo {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
}

.company-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.company-logo-img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ycr-logo {
    max-height: 160px;
}

.company-logo:hover .company-logo-img {
    transform: scale(1.05);
}

.company-name {
    font-size: 1.1rem;
    color: white;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.2px;
}

/* Investor Deck styles */
.investor-deck-subsection {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.deck-section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: white;
    font-weight: 600;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.investor-deck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.investor-deck-item {
    text-align: center;
}

.investor-deck-icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    margin: 0 auto 15px;
}

.investor-deck-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.deck-icon {
    width: 40px;
    height: 40px;
    color: white;
    transition: transform 0.3s ease;
}

.deck-logo {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.investor-deck-icon:hover .deck-icon,
.investor-deck-icon:hover .deck-logo {
    transform: scale(1.1);
}

.investor-deck-title {
    font-size: 1.1rem;
    color: white;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.2px;
}

/* Light mode investor deck styles */
body.light-mode .investor-deck-subsection {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

body.light-mode .deck-section-title {
    color: #333;
}

body.light-mode .investor-deck-icon {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .investor-deck-icon:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .deck-icon {
    color: #333;
}

body.light-mode .investor-deck-title {
    color: #333;
}

.logo-placeholder h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.logo-placeholder p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 5% auto;
    padding: 0;
    border-radius: 24px;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.3s ease-out;
    position: relative;
}

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

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.modal-header {
    display: flex;
    align-items: center;
    padding: 30px;
    position: relative;
    background: rgb(0, 0, 0);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px 24px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    margin-right: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-info h2 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
}

.modal-bio {
    padding: 25px 30px 30px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
    max-height: calc(85vh - 140px);
}

.modal-bio p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

/* Contact Modal Styles */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-option {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
}

.contact-option h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-email {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: var(--accent-color-hover);
    text-decoration: underline;
}

/* Light mode contact styles */
body.light-mode .contact-option {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .contact-option h3 {
    color: #333;
}

body.light-mode .contact-email {
    color: var(--accent-color-hover);
}

body.light-mode .contact-email:hover {
    color: var(--accent-color);
}

/* Custom Popup Modal Styles */
.custom-popup-modal {
    display: none;
    align-items: center;
    justify-content: center;
}

.custom-popup-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    margin: 0;
    padding: 0;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.custom-popup-header {
    padding: 25px 30px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.custom-popup-header h3 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.custom-popup-body {
    padding: 25px 30px;
    text-align: center;
}

.custom-popup-body p {
    font-size: 1rem;
    color: #555;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.custom-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px var(--accent-color-light);
}

.custom-popup-footer {
    padding: 15px 30px 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.custom-btn {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

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

.custom-btn-primary:hover {
    background: var(--accent-color-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.custom-btn-secondary {
    background: rgba(0, 0, 0, 0.1);
    color: #666;
}

.custom-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #333;
    transform: translateY(-1px);
}

/* Light mode custom popup styles */
body.light-mode .custom-popup-content {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

body.light-mode .custom-popup-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

body.light-mode .custom-popup-header h3 {
    color: #1a1a1a;
}

body.light-mode .custom-popup-body p {
    color: #333;
}

body.light-mode .custom-input {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.2);
    color: #333;
}

body.light-mode .custom-input:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-color);
}

body.light-mode .custom-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .custom-btn-secondary {
    background: rgba(0, 0, 0, 0.08);
    color: #555;
}

body.light-mode .custom-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.12);
    color: #333;
}

/* Dark mode custom popup styles */
body:not(.light-mode) .custom-popup-content {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body:not(.light-mode) .custom-popup-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

body:not(.light-mode) .custom-popup-header h3 {
    color: white;
}

body:not(.light-mode) .custom-popup-body p {
    color: rgba(255, 255, 255, 0.9);
}

body:not(.light-mode) .custom-input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

body:not(.light-mode) .custom-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

body:not(.light-mode) .custom-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

body:not(.light-mode) .custom-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

body:not(.light-mode) .custom-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Footer Styles */
.footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px 20px 0 0;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    /* Reset fourth row centering on tablet */
    .team-member-fourth-row:nth-of-type(13),
    .team-member-fourth-row:nth-of-type(14) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .nav-brand .logo h1 {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        gap: 8px;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        padding: 8px;
        margin-left: 8px;
        flex-shrink: 0;
    }
    
    .hero-section {
        padding: 15px 0;
        margin: 10px;
    }
    
    .hero-section h1 {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .team-section {
        padding: 15px 10px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Reset fourth row centering on mobile */
    .team-member-fourth-row:nth-of-type(13),
    .team-member-fourth-row:nth-of-type(14) {
        grid-column: auto;
    }
    
    .team-member {
        padding: 18px;
    }
    
    .member-photo {
        width: 90px;
        height: 90px;
        margin-bottom: 12px;
    }
    
    .member-info h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .member-info .title {
        font-size: 0.8rem;
    }
    
    .companies-section {
        padding: 18px 20px 30px;
        margin: 10px;
    }
    
    .companies-section h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .investor-deck-subsection {
        margin-top: 30px;
        padding-top: 25px;
    }
    
    .deck-section-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .investor-deck-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .investor-deck-icon {
        width: 100px;
        height: 100px;
        padding: 20px;
    }
    
    .deck-icon {
        width: 35px;
        height: 35px;
    }
    
    .company-logo {
        height: 140px;
        padding: 25px;
        margin-bottom: 8px;
    }
    
    .company-name {
        margin-top: 8px;
    }
    
    .footer {
        padding: 30px 15px 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .footer-links {
        gap: 30px;
    }
    
    .footer-brand h3 {
        font-size: 1.3rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        position: sticky;
        top: 0;
    }
    
    .modal-header img {
        margin-right: 0;
        margin-bottom: 15px;
        width: 70px;
        height: 70px;
    }
    
    .modal-info h2 {
        font-size: 1.4rem;
    }
    
    .modal-bio {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .nav-brand .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 8px;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .theme-toggle {
        width: 32px;
        height: 32px;
        padding: 6px;
        margin-left: 8px;
    }
    
    .theme-icon {
        width: 14px;
        height: 14px;
    }
    
    .hero-section {
        padding: 12px 0;
        margin: 8px;
    }
    
    .hero-section h1 {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .team-section {
        padding: 12px 8px;
    }
    
    .team-member {
        padding: 15px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Reset fourth row centering on small mobile */
    .team-member-fourth-row:nth-of-type(13),
    .team-member-fourth-row:nth-of-type(14) {
        grid-column: auto;
    }
    
    .member-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }
    
    .member-info h3 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }
    
    .member-info .title {
        font-size: 0.75rem;
    }
    
    .companies-section {
        padding: 15px 15px 25px;
        margin: 8px;
    }
    
    .companies-section h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .company-logo {
        padding: 20px 15px;
        height: 100px;
        margin-bottom: 10px;
    }
    
    .company-name {
        font-size: 1rem;
        margin-top: 10px;
    }
    
    .investor-deck-subsection {
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .deck-section-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .investor-deck-grid {
        gap: 25px;
    }
    
    .investor-deck-icon {
        width: 80px;
        height: 80px;
        padding: 15px;
    }
    
    .deck-icon {
        width: 30px;
        height: 30px;
    }
    
    .footer {
        padding: 25px 12px 15px;
        margin-top: 25px;
    }
    
    .footer-content {
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .footer-brand h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .footer-column a {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .footer-bottom {
        padding-top: 15px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header img {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    
    .modal-info h2 {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    
    .modal-info p {
        font-size: 0.85rem;
    }
    
    .modal-bio {
        padding: 15px;
    }
    
    .modal-bio p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .close {
        width: 30px;
        height: 30px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
}