/* 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, #0b0f1a 0%, #0b2a5a 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Network Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.background-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Navigation Bar Styles (from Team page) */
.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 Menu Button (Hidden on Desktop) */
.home-navbar .navbar-menu {
    display: none;
}

.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;
}

/* Projects Navigation Bar (After Scroll) */
.projects-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%);
}

.projects-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;
}

/* 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);
}

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

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

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

.projects-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;
}

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

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

.projects-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);
}

.projects-nav-link:hover::after,
.projects-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);
}

/* 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;
}

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

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

.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);
}

.overlay-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 2;
}

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

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

.overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.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;
}

.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;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin-bottom: 0.5rem;
}

.link-label {
    display: block;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.overlay-link {
    color: #cfd6e4;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    border: 1px solid transparent;
    overflow: hidden;
}

.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);
}

.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 {
    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;
}

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

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

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

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

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

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

.nav-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    gap: 2rem;
}

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

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

.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%;
}

.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;
}

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

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

.nav-social {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.social-link {
    width: 36px;
    height: 36px;
    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;
    transition: transform 0.3s ease;
}

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

/* Main Content */
.main-content {
    margin-top: 69.33px; /* Reduced from 80px to eliminate the 10.67px gap */
    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 Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff, #5cc2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scramble Text Animation */
.scramble-text {
    display: inline-block;
    position: relative;
    font-family: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    background: linear-gradient(135deg, #ffffff, #5cc2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scramble-text .scramble-char {
    display: inline-block;
    transition: all 0.1s ease;
    position: relative;
    background: linear-gradient(135deg, #ffffff, #5cc2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scramble-text .scramble-char.scrambling {
    animation: scrambleChar 0.12s ease-in-out;
    background: linear-gradient(135deg, #5cc2ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes scrambleChar {
    0% {
        transform: translateY(0) rotateX(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) rotateX(90deg);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0) rotateX(0deg);
        opacity: 1;
    }
}

.scramble-text .scramble-char.final {
    animation: finalChar 0.3s ease-out;
    background: linear-gradient(135deg, #5cc2ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes finalChar {
    0% {
        transform: scale(1.2) rotateY(180deg);
    }
    100% {
        transform: scale(1) rotateY(0deg);
    }
}

/* Ensure scramble text maintains the section title styling */
.section-title .scramble-text {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

/* Featured Projects Section */
.featured-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0b2a5a 0%, #0a2448 100%);
}

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

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.featured-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(92, 194, 255, 0.2);
    border-color: rgba(92, 194, 255, 0.3);
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover .project-image {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    color: #0b2a5a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.featured-description {
    font-size: 1rem;
    color: #cfd6e4;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.featured-kpis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.kpi-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.kpi-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.kpi-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #5cc2ff;
}

.featured-cta {
    background: linear-gradient(135deg, #5cc2ff, #3b82f6);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

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

/* Projects Grid Section */
.projects-section {
    padding: 6rem 0;
    background: #0b0f1a;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(92, 194, 255, 0.3);
    border-color: rgba(92, 194, 255, 0.5);
}

.project-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-thumbnail {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-quick-view {
    background: rgba(92, 194, 255, 0.9);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-quick-view:hover {
    background: #5cc2ff;
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    margin-bottom: 1rem;
}

.category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-tag.data-science {
    background: rgba(124, 58, 237, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.category-tag.defi {
    background: rgba(5, 150, 105, 0.2);
    color: #34d399;
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.category-tag.infrastructure {
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.category-tag.nft {
    background: rgba(234, 88, 12, 0.2);
    color: #fb923c;
    border: 1px solid rgba(234, 88, 12, 0.3);
}

.category-tag.research {
    background: rgba(8, 145, 178, 0.2);
    color: #22d3ee;
    border: 1px solid rgba(8, 145, 178, 0.3);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.25px;
}

.project-description {
    font-size: 0.9rem;
    color: #cfd6e4;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    background: rgba(92, 194, 255, 0.1);
    color: #cfd6e4;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(92, 194, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    color: #5cc2ff;
    border-color: rgba(92, 194, 255, 0.4);
    background: linear-gradient(135deg, rgba(92, 194, 255, 0.15), rgba(247, 201, 72, 0.15));
}

.project-cta {
    background: transparent;
    color: #5cc2ff;
    border: 1px solid #5cc2ff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.project-cta:hover {
    background: #5cc2ff;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(92, 194, 255, 0.3);
}

/* Impact Metrics Section */
.metrics-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0b2a5a 0%, #1a093f 100%);
}

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

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.metric-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(92, 194, 255, 0.2);
    border-color: rgba(92, 194, 255, 0.3);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5cc2ff;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.9rem;
    color: #cfd6e4;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Collaboration Section */
.collaboration-section {
    padding: 6rem 0;
    background: #0b0f1a;
}

.collaboration-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.collaboration-content {
    text-align: left;
}

.collaboration-title {
    font-size: 2.5rem;
    font-weight: 700;
    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;
}

.collaboration-description {
    font-size: 1.1rem;
    color: #cfd6e4;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.collaboration-cta {
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    color: #0b2a5a;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.collaboration-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(92, 194, 255, 0.4);
}

.collaboration-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.collab-icons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.collab-icon {
    width: 80px;
    height: 80px;
    background: rgba(92, 194, 255, 0.1);
    border: 2px solid rgba(92, 194, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5cc2ff;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.collab-icon:nth-child(2) {
    animation-delay: 1s;
}

.collab-icon:nth-child(3) {
    animation-delay: 2s;
}

.collab-icon:hover {
    background: rgba(92, 194, 255, 0.2);
    border-color: #5cc2ff;
    transform: scale(1.1);
}

.collab-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

/* Thin Line Divider */
.thin-line-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92, 194, 255, 0.5), transparent);
    margin: 0;
    opacity: 0;
    animation: fadeInLine 0.8s ease-out forwards;
    position: relative;
    z-index: 10;
}

@keyframes fadeInLine {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Footer Styles (from Team page) */
.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);
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Performance optimizations for animations */
@media (prefers-reduced-motion: reduce) {
    .footer-canvas {
        opacity: 0.3; /* Reduce opacity when reduced motion is preferred */
    }
    
    .animated-background {
        opacity: 0.2; /* Reduce background animation opacity */
    }
}

/* Low-end device optimizations */
@media (max-width: 768px) {
    .footer-canvas {
        opacity: 0.6; /* Reduce opacity on mobile for better performance */
    }
    
    .animated-background {
        opacity: 0.3; /* Reduce background opacity on mobile */
    }
}

.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-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;
}

.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-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;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@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);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 0 1.5rem;
    }
    
    .projects-navigation {
        gap: 1.5rem;
    }
    
    .projects-nav-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .home-navbar .nav-container {
        padding: 0 1rem;
    }
    
    .home-navbar .nav-navigation {
        display: none;
    }
    
    .home-navbar .nav-logo-img {
        height: 28px;
    }
    
    /* Show home navbar menu button on mobile */
    .home-navbar .navbar-menu {
        display: block;
    }
    
    /* Hide projects navbar on mobile */
    .projects-navbar {
        display: none !important;
    }
    
    .navbar-container {
        padding: 0 1rem;
        height: 56px;
    }
    
    .projects-navigation {
        gap: 1rem;
    }
    
    .projects-nav-link {
        font-size: 0.8rem;
        padding: 0.25rem 0;
    }
    
    .projects-logo-img {
        height: 28px;
    }
    
    .menu-button {
        width: 36px;
        height: 36px;
    }
    
    .menu-icon {
        width: 18px;
        height: 18px;
    }
    
    .overlay-content {
        padding: 1.5rem;
    }
    
    .overlay-nav {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .overlay-link {
        font-size: 1.25rem;
        padding: 0.75rem 0;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .social-grid .social-link {
        padding: 0.75rem;
    }
    
    .social-grid .social-icon {
        width: 20px;
        height: 20px;
    }
    
    .social-grid .social-link span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 1rem;
        height: 56px;
    }
    
    .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);
    }
    
    .featured-actions {
        flex-direction: column;
    }
    
    .research-actions {
        flex-direction: column;
    }
    
    .item-meta {
        flex-wrap: wrap;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    /* Extra small mobile logo adjustments */
    .home-navbar .nav-logo-img {
        height: 26px;
    }
    
    .projects-logo-img {
        height: 30px;
    }
    
    .footer-logo-img {
        height: 32px;
    }
}

/* Additional Responsive Styles for Main Content */
@media screen and (max-width: 1024px) {
    .featured-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .collaboration-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

@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;
    }
    
    /* Ensure navigation is visible and properly styled on mobile */
    .home-navbar .nav-navigation {
        display: flex;
        gap: 1rem;
    }
    
    .home-navbar .nav-links-center {
        display: flex;
        gap: 1rem;
    }
    
    .home-navbar .nav-links-right {
        display: flex;
        gap: 1rem;
    }
    
    /* Projects Navbar Mobile */
    .projects-navbar {
        display: none; /* Hide projects navbar on mobile */
    }
    
    .navbar-container {
        padding: 0 1rem;
    }
    
    .projects-navigation {
        display: none; /* Hide navigation links on mobile */
    }
    
    .navbar-menu {
        display: block; /* Show menu button on mobile */
    }
    
    /* Menu Overlay Mobile */
    .overlay-content {
        width: 100%;
        max-width: 100%;
    }
    
    .overlay-nav {
        gap: 1.5rem;
    }
    
    .nav-section {
        gap: 0.75rem;
    }
    
    .overlay-link {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    /* Remove the rule that hides navigation on mobile - this was causing the issue */
    /* .nav-navigation {
        display: none;
    } */
    
    .nav-social {
        display: none;
    }
    
    .hero {
        height: 50vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .featured-section,
    .projects-section,
    .metrics-section,
    .collaboration-section {
        padding: 4rem 0;
    }
    
    .featured-container,
    .projects-container,
    .metrics-container,
    .collaboration-container {
        padding: 0 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .collaboration-title {
        font-size: 2rem;
    }
    
    .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;
    }
}

@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;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo-img {
        height: 28px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .featured-section,
    .projects-section,
    .metrics-section,
    .collaboration-section {
        padding: 3rem 0;
    }
    
    .featured-container,
    .projects-container,
    .metrics-container,
    .collaboration-container {
        padding: 0 1rem;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .featured-kpis {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metric-item {
        padding: 1.5rem 1rem;
    }
    
    .metric-value {
        font-size: 1.75rem;
    }
    
    .collaboration-title {
        font-size: 1.75rem;
    }
    
    .collaboration-description {
        font-size: 1rem;
    }
    
    .collab-icons {
        flex-direction: row;
        gap: 1rem;
    }
    
    .collab-icon {
        width: 60px;
        height: 60px;
    }
    
    .collab-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .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;
    }
}

/* Categories Section */
.categories-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(11, 42, 90, 0.1) 0%, rgba(10, 36, 72, 0.1) 100%);
}

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

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

.category-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5cc2ff, #f7c948);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(92, 194, 255, 0.3);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(92, 194, 255, 0.2), rgba(247, 201, 72, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.category-icon svg {
    width: 28px;
    height: 28px;
    color: #5cc2ff;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.category-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-stats {
    display: flex;
    gap: 1rem;
}

.stat {
    background: rgba(92, 194, 255, 0.1);
    color: #5cc2ff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Roadmap Section */
.roadmap-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(11, 42, 90, 0.1) 0%, rgba(10, 36, 72, 0.1) 100%);
}

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

.roadmap-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.roadmap-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #10b981 0%, #f59e0b 40%, #6b7280 70%, #6b7280 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.roadmap-phase {
    position: relative;
    margin-bottom: 4rem;
}

.roadmap-phase:nth-child(odd) .phase-header {
    flex-direction: row-reverse;
    text-align: right;
}

.roadmap-phase:nth-child(odd) .phase-items {
    margin-left: auto;
    margin-right: 0;
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.phase-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b2a5a;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(92, 194, 255, 0.3);
}

.phase-content {
    flex: 1;
}

.phase-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.phase-period {
    font-size: 1rem;
    color: #5cc2ff;
    font-weight: 600;
}

.phase-items {
    max-width: 400px;
    margin-left: 0;
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.roadmap-item:hover {
    transform: translateY(-2px);
    border-color: rgba(92, 194, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.roadmap-item.completed {
    border-left: 4px solid #10b981;
}

.roadmap-item.in-progress {
    border-left: 4px solid #f59e0b;
}

.roadmap-item.planned {
    border-left: 4px solid #6b7280;
}

.item-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    background: rgba(92, 194, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Item icon colors for different statuses */
.roadmap-item.completed .item-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.roadmap-item.in-progress .item-icon {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.roadmap-item.planned .item-icon {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

.item-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.item-content p {
    color: #cbd5e1;
    line-height: 1.5;
    font-size: 0.9rem;
}

.roadmap-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-weight: 500;
}

.legend-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.legend-icon.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.legend-icon.in-progress {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.legend-icon.planned {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

/* Responsive Design for Roadmap */
@media (max-width: 768px) {
    .roadmap-timeline::before {
        left: 30px;
    }
    
    .roadmap-phase .phase-header {
        flex-direction: row !important;
        text-align: left !important;
        margin-left: 60px;
    }
    
    .roadmap-phase .phase-items {
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .roadmap-legend {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}



/* Typewriter Animation */
.typewriter-text {
    color: #ffffff;
    font-weight: inherit;
    font-size: inherit;
    font-family: inherit;
}

.typewriter-cursor {
    color: #5cc2ff;
    font-weight: inherit;
    font-size: inherit;
    font-family: inherit;
    animation: blink 0.5s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .typewriter-cursor {
        animation: none;
    }
}

/* 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;
    }
}

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

/* Project card link styling */
.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(92, 194, 255, 0.3);
}

.project-card-link:hover .project-card {
    border-color: #5cc2ff;
}

/* Remove default link styling */
.project-card-link:focus {
    outline: none;
}

.project-card-link:focus .project-card {
    border-color: #5cc2ff;
    box-shadow: 0 0 0 2px rgba(92, 194, 255, 0.3);
}

/* Featured card link styling */
.featured-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(92, 194, 255, 0.4);
}

.featured-card-link:hover .featured-card {
    border-color: #5cc2ff;
}

/* Remove default link styling */
.featured-card-link:focus {
    outline: none;
}

.featured-card-link:focus .featured-card {
    border-color: #5cc2ff;
    box-shadow: 0 0 0 3px rgba(92, 194, 255, 0.3);
}

/* Performance Settings Button */
.performance-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.performance-btn:hover {
    background: rgba(92, 194, 255, 0.1);
    color: #5cc2ff;
}

.performance-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.performance-btn:hover .performance-icon {
    transform: rotate(90deg);
}

/* Performance Settings Modal */
.performance-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.performance-modal-content {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(92, 194, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.performance-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.performance-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.performance-modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.performance-modal-close:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #ffffff;
}

.performance-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    background: rgba(92, 194, 255, 0.05);
    border: 1px solid rgba(92, 194, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.performance-option:hover {
    background: rgba(92, 194, 255, 0.1);
    border-color: rgba(92, 194, 255, 0.3);
}

.performance-option.active {
    background: rgba(92, 194, 255, 0.15);
    border-color: rgba(92, 194, 255, 0.5);
}

.performance-option-label {
    font-weight: 500;
    color: #ffffff;
}

.performance-option-description {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.performance-option-radio {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(92, 194, 255, 0.3);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.performance-option.active .performance-option-radio {
    border-color: #5cc2ff;
    background: #5cc2ff;
}

.performance-option.active .performance-option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #0f172a;
    border-radius: 50%;
}

.performance-save-btn {
    background: linear-gradient(135deg, #5cc2ff, #3b82f6);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.performance-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92, 194, 255, 0.3);
}

/* Featured Research Section Styles */
.featured-research-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0b0f1a 0%, #0b2a5a 100%);
}

.featured-research-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.featured-research-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.featured-research-link:hover {
    transform: translateY(-5px);
}

.featured-research-link:hover .featured-research-card {
    border-color: rgba(92, 194, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.featured-research-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: linear-gradient(135deg, rgba(11, 15, 26, 0.8) 0%, rgba(11, 42, 90, 0.8) 100%);
    border: 1px solid rgba(92, 194, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.featured-research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(92, 194, 255, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

.research-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.research-article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.research-author {
    font-size: 1rem;
    color: #5cc2ff;
    font-weight: 500;
    margin: 0;
}

.research-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.research-tag {
    background: rgba(11, 15, 26, 0.8);
    border: 1px solid rgba(92, 194, 255, 0.3);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.research-tag:hover {
    background: rgba(92, 194, 255, 0.1);
    border-color: rgba(92, 194, 255, 0.5);
    transform: translateY(-1px);
}

.research-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5cc2ff;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.research-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.network-diagram {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5cc2ff, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(92, 194, 255, 0.5);
    z-index: 10;
}

.subnet-node {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.subnet-node:nth-child(2) {
    top: 20%;
    left: 20%;
    background: #f59e0b;
    animation-delay: 0s;
}

.subnet-node:nth-child(3) {
    top: 20%;
    right: 20%;
    background: #ef4444;
    animation-delay: 0.3s;
}

.subnet-node:nth-child(4) {
    bottom: 20%;
    left: 20%;
    background: #10b981;
    animation-delay: 0.6s;
}

.subnet-node:nth-child(5) {
    bottom: 20%;
    right: 20%;
    background: #8b5cf6;
    animation-delay: 0.9s;
}

.subnet-node:nth-child(6) {
    top: 50%;
    left: 10%;
    background: #5cc2ff;
    animation-delay: 1.2s;
}

.subnet-node:nth-child(7) {
    top: 50%;
    right: 10%;
    background: #f97316;
    animation-delay: 1.5s;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(92, 194, 255, 0.3), rgba(59, 130, 246, 0.3));
    height: 2px;
    border-radius: 1px;
    animation: flow 3s infinite;
}

.connection-line:nth-child(8) {
    top: 50%;
    left: 50%;
    width: 80px;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation-delay: 0s;
}

.connection-line:nth-child(9) {
    top: 50%;
    left: 50%;
    width: 80px;
    transform: translate(-50%, -50%) rotate(45deg);
    animation-delay: 0.5s;
}

.connection-line:nth-child(10) {
    top: 50%;
    left: 50%;
    width: 80px;
    transform: translate(-50%, -50%) rotate(135deg);
    animation-delay: 1s;
}

.connection-line:nth-child(11) {
    top: 50%;
    left: 50%;
    width: 80px;
    transform: translate(-50%, -50%) rotate(-135deg);
    animation-delay: 1.5s;
}

.connection-line:nth-child(12) {
    top: 50%;
    left: 50%;
    width: 60px;
    transform: translate(-50%, -50%) rotate(0deg);
    animation-delay: 2s;
}

.connection-line:nth-child(13) {
    top: 50%;
    left: 50%;
    width: 60px;
    transform: translate(-50%, -50%) rotate(90deg);
    animation-delay: 2.5s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes flow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive Design for Featured Research */
@media (max-width: 1024px) {
    .featured-research-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .research-article-title {
        font-size: 2rem;
    }
    
    .research-stats {
        justify-content: center;
    }
    
    .network-diagram {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .featured-research-section {
        padding: 2rem 0;
    }
    
    .featured-research-container {
        padding: 0 1rem;
    }
    
    .featured-research-card {
        padding: 1.5rem;
    }
    
    .research-article-title {
        font-size: 1.75rem;
    }
    
    .research-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    
    .network-diagram {
        width: 200px;
        height: 200px;
    }
    
    .central-node {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .subnet-node {
        width: 15px;
        height: 15px;
    }
}
