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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0b2a5a 0%, #0a2448 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Home-style Navigation Bar */
.home-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgb(1, 33, 105);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: translateY(0);
    width: 100vw;
    max-width: 100vw;
}

.home-navbar.hidden {
    opacity: 0;
    transform: translateY(-100%);
}

/* Home Navbar Container */
.home-navbar .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Home Navbar Logo */
.home-navbar .nav-logo {
    flex-shrink: 0;
}

.home-navbar .logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.home-navbar .logo-link:hover {
    transform: scale(1.05);
}

.home-navbar .nav-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.home-navbar .logo-link:hover .nav-logo-img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Home Navigation Links */
.home-navbar .nav-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    gap: 2rem;
}

.home-navbar .nav-links-center {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.home-navbar .nav-links-right {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.home-navbar .nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.home-navbar .nav-link:hover {
    color: #5cc2ff;
}

.home-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5cc2ff, #f7c948);
    transition: width 0.3s ease;
}

.home-navbar .nav-link:hover::after {
    width: 100%;
}

.home-navbar .nav-link-active {
    color: #5cc2ff;
}

.home-navbar .nav-link-active::after {
    width: 100%;
}

.home-navbar .nav-link-apply {
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    color: #0b2a5a;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.home-navbar .nav-link-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(92, 194, 255, 0.3);
    color: #0b2a5a;
}

.home-navbar .nav-link-apply::after {
    display: none;
}





/* Team Navigation Bar */
.team-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding: 1rem 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(-100%);
}

.team-navbar.visible {
    opacity: 1;
    transform: translateY(0);
    z-index: 1000;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.navbar-logo {
    flex-shrink: 0;
}

.logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.team-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-link:hover .team-logo-img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.team-navigation {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.team-nav-link {
    position: relative;
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    letter-spacing: 0.3px;
}

.team-nav-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

.team-nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(92, 194, 255, 0.5);
}

.team-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.team-nav-link:hover::after,
.team-nav-link.active::after {
    width: 100%;
}

/* Menu Button */
.navbar-menu {
    flex-shrink: 0;
}

.menu-button {
    background: transparent;
    border: 2px solid rgba(226, 232, 240, 0.2);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-button:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.menu-button:focus {
    outline: none;
    border-color: #5cc2ff;
    box-shadow: 0 0 0 3px rgba(92, 194, 255, 0.2);
}

.menu-icon {
    width: 18px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.menu-line {
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-line:nth-child(1) { width: 100%; }
.menu-line:nth-child(2) { width: 75%; }
.menu-line:nth-child(3) { width: 100%; }
.menu-line:nth-child(4) { width: 50%; }

.menu-button:hover .menu-line {
    background: #5cc2ff;
}

.menu-button.active .menu-icon {
    transform: rotate(45deg);
}

.menu-button.active .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(90deg);
    width: 100%;
}

.menu-button.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-button.active .menu-line:nth-child(3) {
    transform: translateY(-8px);
    width: 100%;
}

.menu-button.active .menu-line:nth-child(4) {
    opacity: 0;
    transform: translateX(20px);
}



.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

/* Logo */
.navbar-logo {
    flex-shrink: 0;
}

.logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    letter-spacing: -1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.logo-link:hover .logo-placeholder {
    box-shadow: 0 6px 25px rgba(92, 194, 255, 0.4);
    transform: translateY(-1px);
}

.team-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-link:hover .team-logo-img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Center Navigation */
.navbar-center {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

.link-text {
    position: relative;
    z-index: 2;
}

.link-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.nav-link:hover .link-underline {
    width: 100%;
}

.nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(92, 194, 255, 0.5);
}

.nav-link.active .link-underline {
    width: 100%;
}

/* Menu Button */
.navbar-menu {
    flex-shrink: 0;
}

.menu-button {
    background: transparent;
    border: 2px solid rgba(226, 232, 240, 0.2);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-button:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.menu-button:focus {
    outline: none;
    border-color: #5cc2ff;
    box-shadow: 0 0 0 3px rgba(92, 194, 255, 0.2);
}

.menu-icon {
    width: 18px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.menu-line {
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-line:nth-child(1) { width: 100%; }
.menu-line:nth-child(2) { width: 75%; }
.menu-line:nth-child(3) { width: 100%; }
.menu-line:nth-child(4) { width: 50%; }

.menu-button:hover .menu-line {
    background: #5cc2ff;
}

.menu-button.active .menu-icon {
    transform: rotate(45deg);
}

.menu-button.active .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(90deg);
    width: 100%;
}

.menu-button.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-button.active .menu-line:nth-child(3) {
    transform: translateY(-8px);
    width: 100%;
}

.menu-button.active .menu-line:nth-child(4) {
    opacity: 0;
    transform: translateX(20px);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.overlay-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: opacity 0.4s ease;
}

.overlay-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(25px);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    border-left: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.menu-overlay.active .overlay-content {
    transform: translateX(0);
}

/* Overlay Header */
.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff, #5cc2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overlay-close {
    background: transparent;
    border: none;
    color: #cfd6e4;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.close-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Overlay Navigation */
.overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nav-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.overlay-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-height: 48px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.overlay-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.overlay-link:hover::before {
    left: 100%;
}

.overlay-link:hover {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.overlay-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.overlay-link.active {
    background: rgba(59, 130, 246, 0.15);
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.4);
}

.overlay-link.apply-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    border-color: rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.overlay-link.apply-highlight:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(99, 102, 241, 0.3));
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.link-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.link-label {
    font-size: 0.95rem;
}

.apply-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    border-color: rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.apply-highlight:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(99, 102, 241, 0.3));
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Overlay Social Links */
.overlay-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: scale(1.1);
    border-color: transparent;
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    color: #0b2a5a;
    box-shadow: 0 0 20px rgba(92, 194, 255, 0.6);
}

.social-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Main Content */
.main-content {
    margin-top: 0;
    min-height: calc(100vh - 92px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0b0f1a 0%, #0b2a5a 100%);
    padding: 12rem 0 10rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(92, 194, 255, 0.3);
    animation: float 6s ease-in-out infinite;
    opacity: 0;
}

.floating-icon[data-delay="0"] { animation-delay: 0s; top: 20%; left: 10%; }
.floating-icon[data-delay="1"] { animation-delay: 1.5s; top: 30%; right: 15%; }
.floating-icon[data-delay="2"] { animation-delay: 3s; bottom: 30%; left: 20%; }
.floating-icon[data-delay="3"] { animation-delay: 4.5s; bottom: 25%; right: 10%; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0; }
    25% { opacity: 1; }
    75% { opacity: 1; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff, #5cc2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cfd6e4;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Styles */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(15, 23, 42, 0.3);
}

.section:nth-child(odd) {
    background: rgba(11, 42, 90, 0.3);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff, #5cc2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: #cfd6e4;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
    justify-items: center;
}

/* Board Section Specific Styling */
.board-section .members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.board-section .member-card {
    width: 100%;
    max-width: 220px;
    justify-self: center;
}

/* Create a 4-3 layout by adjusting the grid for the second row */
.board-section .member-card:nth-child(n+5) {
    grid-column: span 1;
}

/* Center the last 3 items in the second row */
.board-section .member-card:nth-child(5) {
    grid-column: 1;
}

.board-section .member-card:nth-child(6) {
    grid-column: 2;
}

.board-section .member-card:nth-child(7) {
    grid-column: 3;
}

.board-section .member-image {
    width: 160px;
    height: 160px;
}

.board-section .member-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    color: #0b2a5a;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Tablet Breakpoint */
@media screen and (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .board-section .members-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .board-section .member-card {
        max-width: 180px;
    }
    
    /* Maintain 4-3 layout on tablet */
    .board-section .member-card:nth-child(5) {
        grid-column: 1;
    }
    
    .board-section .member-card:nth-child(6) {
        grid-column: 2;
    }
    
    .board-section .member-card:nth-child(7) {
        grid-column: 3;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
}

.member-card {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 12px;
    position: relative;
}

.member-card:hover {
    transform: translateY(-2px);
}

.member-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.member-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.member-card:hover .member-image {
    border-color: rgba(92, 194, 255, 0.6);
    box-shadow: 0 6px 20px rgba(92, 194, 255, 0.2);
}

/* Member card animations */
.member-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.member-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.member-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.25px;
}

.member-position {
    font-size: 0.85rem;
    color: #5cc2ff;
    margin: 0 0 0.25rem 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-role {
    font-size: 0.9rem;
    color: #cfd6e4;
    margin: 0;
    font-weight: 400;
}

/* Footer Styles */
.footer {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #0b0f1a 0%, #0b2a5a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    animation: ledgerGlow 4s ease-in-out infinite;
}

.footer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
    filter: blur(0.5px);
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(11, 42, 90, 0.3) 100%);
    z-index: 2;
    backdrop-filter: blur(1px);
}

.footer-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: contentPulse 6s ease-in-out infinite;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo .logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-logo .logo-link:hover {
    transform: scale(1.05);
}

.footer-logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #0b2a5a;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.footer-logo .logo-link:hover .footer-logo-placeholder {
    box-shadow: 0 0 20px rgba(92, 194, 255, 0.5);
}

.footer-logo-img {
    width: auto;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo .logo-link:hover .footer-logo-img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-link:hover {
    color: #5cc2ff;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5cc2ff, #f7c948);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}



.social-link:hover {
    transform: scale(1.1);
    border-color: transparent;
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    color: #0b2a5a;
    box-shadow: 0 0 20px rgba(92, 194, 255, 0.6);
}

.social-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: rotate(360deg);
}



.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    max-width: 400px;
    line-height: 1.3;
    background: linear-gradient(135deg, #ffffff, #5cc2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-signup {
    flex-shrink: 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-input-wrapper {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-input-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: #5cc2ff;
    box-shadow: 0 0 0 3px rgba(92, 194, 255, 0.2);
    transform: scale(1.02);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.875rem 1.25rem;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    min-width: 250px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    background: linear-gradient(135deg, #5cc2ff, #3b82f6);
    color: #0b2a5a;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 46px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #f7c948, #5cc2ff);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 194, 255, 0.4);
}

.newsletter-btn.loading .btn-text {
    opacity: 0;
}

.newsletter-btn.loading .newsletter-spinner {
    display: block;
}

.newsletter-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.newsletter-privacy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #5cc2ff;
}

.legal-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Home Navbar Mobile */
    .home-navbar .nav-container {
        padding: 0 1rem;
    }
    
    .home-navbar .nav-navigation {
        gap: 1rem;
    }
    
    .home-navbar .nav-links-center {
        gap: 1rem;
    }
    
    .home-navbar .nav-links-right {
        gap: 1rem;
    }
    
    .home-navbar .nav-link {
        font-size: 0.9rem;
    }
    
    /* Hide team navbar on mobile */
    .team-navbar {
        display: none !important;
    }
    
    .navbar-container {
        padding: 0 1.5rem;
    }
    

    
    .navbar-center {
        display: none;
    }
    
    .overlay-content {
        width: 100%;
        transform: translateY(100%);
    }
    
    .menu-overlay.active .overlay-content {
        transform: translateY(0);
    }
    
    .overlay-nav {
        gap: 1.5rem;
    }
    
    .nav-section {
        gap: 0.75rem;
    }
    
    .overlay-link {
        padding: 1rem;
        min-height: 56px;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 8rem 0 4rem 0;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Section Mobile */
    .section {
        padding: 3rem 0;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    /* Members Grid Mobile - Better Layout */
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        justify-items: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .board-section .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .board-section .member-card {
        max-width: 160px;
    }
    
    /* Mobile layout: 2-2-2-1 for 7 members */
    .board-section .member-card:nth-child(5) {
        grid-column: 1;
        justify-self: center;
    }
    
    .board-section .member-card:nth-child(6) {
        grid-column: 2;
        justify-self: center;
    }
    
    .board-section .member-card:nth-child(7) {
        grid-column: 1;
        justify-self: center;
    }
    
    .board-section .member-image {
        width: 120px;
        height: 120px;
    }
    
    .member-image {
        width: 140px;
        height: 140px;
    }
    
    .member-name {
        font-size: 1rem;
    }
    
    .member-position {
        font-size: 0.75rem;
    }
    
    .member-role {
        font-size: 0.85rem;
    }
    
    /* Footer Mobile */
    .footer {
        height: auto;
        padding: 3rem 0;
    }
    
    .footer-container {
        padding: 0 1.5rem;
        gap: 2rem;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-nav {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .footer-middle {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .footer-tagline h3 {
        font-size: 1.25rem;
        max-width: none;
    }
    
    .newsletter-input {
        min-width: 200px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Mobile logo adjustments */
    
    .team-logo-img {
        height: 32px;
    }
    
    .footer-logo-img {
        height: 36px;
    }
}

@media screen and (max-width: 480px) {
    /* Home Navbar Small Mobile */
    .home-navbar .nav-container {
        padding: 0 0.5rem;
    }
    
    .home-navbar .nav-links-center {
        gap: 0.5rem;
    }
    
    .home-navbar .nav-links-right {
        gap: 0.5rem;
    }
    
    .home-navbar .nav-link {
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }
    
    /* Hide some navigation links on very small screens to prevent overflow */
    .home-navbar .nav-links-center .nav-link:nth-child(n+4) {
        display: none;
    }
    
    .home-navbar .nav-links-right .nav-link:first-child {
        display: none;
    }
    
    /* Hide team navbar on small mobile */
    .team-navbar {
        display: none !important;
    }
    
    .navbar-container {
        padding: 0 1rem;
        height: 56px;
    }
    
    .logo-placeholder {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .menu-button {
        width: 40px;
        height: 40px;
    }
    
    .menu-icon {
        width: 16px;
        height: 16px;
    }
    
    .overlay-content {
        padding: 1.5rem;
    }
    
    .overlay-header {
        margin-bottom: 1.5rem;
    }
    
    .overlay-title {
        font-size: 1.3rem;
    }
    
    .main-content {
        margin-top: 76px;
        min-height: calc(100vh - 76px);
    }
    
    /* Hero Section Small Mobile */
    .hero-section {
        padding: 5rem 0 3rem 0;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Section Small Mobile */
    .section {
        padding: 2.5rem 0;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    /* Members Grid Small Mobile - Single Column for Very Small Screens */
    .members-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .board-section .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 320px;
    }
    
    .board-section .member-card {
        max-width: 140px;
    }
    
    .board-section .member-image {
        width: 80px;
        height: 80px;
    }
    
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    .member-name {
        font-size: 0.95rem;
    }
    
    .member-role {
        font-size: 0.8rem;
    }
    
    /* Footer Small Mobile */
    .footer {
        padding: 2.5rem 0;
    }
    
    .footer-container {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .footer-tagline h3 {
        font-size: 1.1rem;
    }
    
    .newsletter-input {
        min-width: 180px;
        padding: 0.75rem 1rem;
    }
    
    .newsletter-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .footer-social {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
    
    /* Extra small mobile logo adjustments */

    
    .team-logo-img {
        height: 30px;
    }
    
    .footer-logo-img {
        height: 32px;
    }
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(92, 194, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(92, 194, 255, 0.8);
    }
}

/* Enhanced footer animations for flowing digital ledger */
@keyframes ledgerGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(92, 194, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 50px rgba(92, 194, 255, 0.4);
    }
}

/* Add subtle pulse to footer content */
@keyframes contentPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

/* Add blockchain-themed decorative elements */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92, 194, 255, 0.5), transparent);
    z-index: 4;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(247, 201, 72, 0.5), transparent);
    z-index: 4;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .footer {
        animation: none;
    }
    
    .footer-container {
        animation: none;
    }
}