@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-ocean: #0f172a;
    --ocean-blue: #1e40af;
    --aqua-teal: #0891b2;
    --coral-orange: #f97316;
    --sea-foam: #10b981;
    --pearl-white: #f8fafc;
    --wave-blue: #3b82f6;
    --deep-teal: #115e59;
    --sunset-pink: #ec4899;
    --sand-gold: #eab308;
    --ocean-surface: #06b6d4;
    --twilight-purple: #7c3aed;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #0f172a 0%, #1e40af 30%, #0891b2 70%, #115e59 100%);
    color: var(--pearl-white);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Underwater Background - Simplified */
#underwater-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Floating bubbles */
.bubble {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%);
    border-radius: 50%;
    animation: bubbleFloat 15s ease-in-out infinite;
    pointer-events: none;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(100vh) translateX(0px) scale(0);
        opacity: 0;
    }

    5% {
        opacity: 0.6;
        transform: translateY(95vh) translateX(5px) scale(0.3);
    }

    15% {
        opacity: 0.8;
        transform: translateY(85vh) translateX(-10px) scale(0.6);
    }

    50% {
        opacity: 0.9;
        transform: translateY(50vh) translateX(15px) scale(0.9);
    }

    85% {
        opacity: 0.7;
        transform: translateY(15vh) translateX(-5px) scale(1);
    }

    95% {
        opacity: 0.3;
        transform: translateY(5vh) translateX(10px) scale(1.1);
    }

    100% {
        transform: translateY(-5vh) translateX(0px) scale(1.2);
        opacity: 0;
    }
}

/* Ocean particles */
.ocean-particle {
    position: absolute;
    background: radial-gradient(circle, var(--ocean-surface) 0%, rgba(6, 182, 212, 0.4) 50%, transparent 80%);
    border-radius: 50%;
    animation: drift 18s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes drift {
    0% {
        transform: translateX(-120px) translateY(20px) rotate(0deg) scale(0.8);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
        transform: translateX(-80px) translateY(10px) rotate(20deg) scale(0.9);
    }

    30% {
        opacity: 0.7;
        transform: translateX(20vw) translateY(-10px) rotate(90deg) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translateX(50vw) translateY(5px) rotate(180deg) scale(1.1);
    }

    70% {
        opacity: 0.6;
        transform: translateX(80vw) translateY(-15px) rotate(270deg) scale(1);
    }

    90% {
        opacity: 0.3;
        transform: translateX(calc(100vw + 80px)) translateY(-30px) rotate(340deg) scale(0.9);
    }

    100% {
        transform: translateX(calc(100vw + 120px)) translateY(-50px) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

nav.scrolled {
    padding: 15px 50px;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-svg {
    width: 45px;
    height: 45px;
    position: relative;
}

.logo-text {
    font-family: 'Inter', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ocean-surface), var(--sea-foam), var(--coral-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* Navigation Menu - Modern Minimal Design */
nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    font-family: 'Outfit', sans-serif;
    color: var(--pearl-white);
    text-decoration: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    letter-spacing: 0.8px;
    padding: 12px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
}

nav ul a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ocean-surface) 0%, var(--sea-foam) 50%, var(--coral-orange) 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

nav ul a:hover {
    color: var(--ocean-surface);
    transform: translateY(-2px);
}

nav ul a:hover::after {
    width: 100%;
}

/* Active menu item */
nav ul a.active {
    color: var(--ocean-surface);
}

nav ul a.active::after {
    width: 100%;
    background: var(--ocean-surface);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--ocean-surface);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    z-index: 10;
    animation: fadeInUp 2s ease;
    position: relative;
}

.ocean-title {
    font-family: 'Inter', serif;
    font-size: 4.8rem;
    font-weight: 800;
    position: relative;
    color: var(--pearl-white);
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.8);
    animation: waveGlow 4s ease-in-out infinite alternate;
}

@keyframes waveGlow {
    0% {
        text-shadow: 0 0 30px rgba(6, 182, 212, 0.8),
            0 0 60px rgba(16, 185, 129, 0.6);
    }

    100% {
        text-shadow: 0 0 40px rgba(6, 182, 212, 1),
            0 0 80px rgba(16, 185, 129, 0.8),
            0 0 120px rgba(249, 115, 22, 0.4);
    }
}

.subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    background: linear-gradient(135deg, var(--ocean-surface), var(--sea-foam), var(--coral-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: ripple 3s ease-in-out infinite;
}

@keyframes ripple {

    0%,
    100% {
        opacity: 0.8;
        transform: translateY(0px);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

/* Scroll Button */
.scroll-btn {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: wave 3s ease-in-out infinite;
    z-index: 10;
}

.scroll-btn-inner {
    width: 65px;
    height: 65px;
    border: 2px solid var(--ocean-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.scroll-btn:hover .scroll-btn-inner {
    background: rgba(6, 182, 212, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 40px var(--ocean-surface), inset 0 0 20px rgba(6, 182, 212, 0.3);
}

.scroll-btn svg {
    width: 30px;
    height: 30px;
    stroke: var(--ocean-surface);
    animation: bob 2s infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

@keyframes bob {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.7;
        transform: translateY(8px);
    }
}

/* Sections */
section:not(#subteams) {
    padding: 120px 50px;
    max-width: 80%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

section#subteams {
    padding: 120px 50px;
    max-width: 70%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Inter', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--pearl-white), var(--ocean-surface));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean-surface), var(--sea-foam), var(--coral-orange));
    border-radius: 2px;
    animation: currentFlow 4s ease-in-out infinite;
}

@keyframes currentFlow {

    0%,
    100% {
        width: 100px;
    }

    50% {
        width: 160px;
    }
}

/* About Section - Ocean Theme */
.about-section {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(16, 185, 129, 0.08));
    border-radius: 30px;
    padding: 80px 60px;
    margin: 0 auto;
    max-width: 1400px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 10 Q25 0 50 10 T100 10 V20 H0 Z" fill="rgba(6,182,212,0.05)"/></svg>') repeat-x;
    background-size: 200px 40px;
    animation: waves 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes waves {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-100px);
    }
}

.about-hero {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.about-hero h3 {
    font-family: 'Inter', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--ocean-surface), var(--sea-foam));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.9);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.about-card {
    background: rgba(6, 182, 212, 0.12);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px 30px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.about-card:hover::before {
    opacity: 1;
    animation: shimmer 0.8s ease;
}

.about-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(6, 182, 212, 0.3);
    border-color: var(--sea-foam);
    background: rgba(6, 182, 212, 0.18);
}

@keyframes shimmer {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }

    100% {
        transform: rotate(45deg) translateY(100%);
    }
}

.about-card-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.6));
}

.about-card h4 {
    font-family: 'Inter', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--ocean-surface);
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.about-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(248, 250, 252, 0.85);
    font-weight: 400;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.achievement-item {
    text-align: center;
    padding: 35px 25px;
    background: rgba(17, 94, 89, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean-surface), var(--sea-foam), var(--coral-orange));
}

.achievement-item:hover {
    transform: translateY(-8px);
    border-color: var(--ocean-surface);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.25);
    background: rgba(17, 94, 89, 0.3);
}

.achievement-number {
    font-family: 'Inter', serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--ocean-surface);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.achievement-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Research Section - Sidebar Layout */
.phase-section {
    padding: 120px 0;
    /* background: linear-gradient(135deg, rgba(17, 94, 89, 0.05), rgba(6, 182, 212, 0.08)); */
}

.phase-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.phase-sidebar {
    background: rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    position: sticky;
    top: 120px;
}

.phase-tab {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: rgba(248, 250, 252, 0.8);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 15px;
    position: relative;
    margin-bottom: 15px;
    text-align: left;
    border: 1px solid transparent;
}

.phase-tab:last-child {
    margin-bottom: 0;
}

.phase-tab.active {
    background: linear-gradient(135deg, var(--ocean-surface), var(--sea-foam));
    color: var(--deep-ocean);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.4);
    border-color: var(--ocean-surface);
}

.phase-tab:hover:not(.active) {
    background: rgba(6, 182, 212, 0.15);
    color: var(--pearl-white);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateX(5px);
}

.phase-content-area {
    background: rgba(6, 182, 212, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 50px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    min-height: 600px;
}

.phase-content {
    display: none;
    animation: surfaceUp 0.6s ease;
}

.phase-content.active {
    display: block;
}

@keyframes surfaceUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.phase-content h3 {
    font-family: 'Inter', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--ocean-surface);
    letter-spacing: 1px;
}

.subteam-category h3 {
    font-family: 'Inter', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--ocean-surface);
    letter-spacing: 1px;
}

.phase-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.9);
    /* margin-bottom: 30px; */
}

.phase-content ol {
    margin-left: 1.5em;
}

.subteam-category p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: 30px;
}

.phase-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.detail-card {
    background: rgba(16, 185, 129, 0.1);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--sea-foam);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.2);
}

.detail-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--sea-foam);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(248, 250, 252, 0.8);
    margin: 0;
}

.phase-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-family: 'Inter', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--coral-orange);
    display: block;
}

.stat-item .label {
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Equipment Section - Organized Categories */
.subteam-section {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: 30px;
    padding: 80px 60px;
    margin: 0 auto;
    max-width: 1400px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    position: relative;
    overflow: hidden;
}

.software-section {
    display: flex;
    flex-direction: row;
}

.subteam-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 12 Q25 2 50 12 T100 12 V20 H0 Z" fill="rgba(16,185,129,0.03)"/></svg>') repeat-x;
    background-size: 180px 35px;
    animation: gentleFlow 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gentleFlow {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-90px);
    }
}

.subteam-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.subteam-category {
    display: none;
    animation: surfaceUp 0.6s ease;
}

.subteam-category.active {
    display: block;
    background: rgba(6, 182, 212, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.subteam-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean-surface), var(--sea-foam));
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.6));
}

.subteam-category ul {
    margin: 1em;
}

/* .subteam-category h3 {
    font-family: 'Inter', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--ocean-surface);
    letter-spacing: 0.5px;
} */

/* .subteam-category p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 25px;
} */

.subteam-list {
    list-style: none;
}

.subteam-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.9);
    transition: all 0.3s ease;
}

.subteam-list li:last-child {
    border-bottom: none;
}

.subteam-list li:hover {
    color: var(--sea-foam);
    transform: translateX(5px);
}

.subteam-spec {
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.6);
    font-style: italic;
}

.subteam-topbar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
}

.subteam-topbar {
    background: rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    top: 120px;
    margin-bottom: 10px;
}


.subteam-tab {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: rgba(248, 250, 252, 0.8);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 15px;
    position: relative;
    text-align: center;
    border: 1px solid transparent;
}

.subteam-tab.active {
    background: linear-gradient(135deg, var(--ocean-surface), var(--sea-foam));
    color: var(--deep-ocean);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.4);
    border-color: var(--ocean-surface);
}

.subteam-tab:hover:not(.active) {
    background: rgba(6, 182, 212, 0.15);
    color: var(--pearl-white);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-3px);
}

.category-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.category-stat {
    text-align: center;
    flex: 1;
}

.category-stat .number {
    font-family: 'Inter', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--coral-orange);
    display: block;
}

.category-stat .label {
    font-size: 0.75rem;
    color: rgba(248, 250, 252, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Contact Container - Equal Width Columns */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info {
    background: rgba(6, 182, 212, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 50px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 15 Q25 5 50 15 T100 15 V20 H0 Z" fill="rgba(16,185,129,0.03)"/></svg>') repeat-x;
    background-size: 150px 30px;
    animation: gentleWaves 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gentleWaves {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-75px);
    }
}

.contact-info h3 {
    font-family: 'Inter', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--ocean-surface);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.contact-details {
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: var(--sea-foam);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--coral-orange);
    filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.4));
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sea-foam);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.9);
    line-height: 1.5;
}

/* Contact Form - Wider with Better Spacing */
.contact-form {
    background: rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 60px 50px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 15 Q25 5 50 15 T100 15 V20 H0 Z" fill="rgba(16,185,129,0.05)"/></svg>') repeat-x;
    background-size: 150px 30px;
    animation: gentleWaves 6s ease-in-out infinite;
    pointer-events: none;
}

/* Form styling - Fixed */
.form-group {
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px;
    background: rgba(6, 182, 212, 0.08);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 15px;
    color: var(--pearl-white);
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sea-foam);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(248, 250, 252, 0.6);
    opacity: 0.8;
}

.dive-btn {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--ocean-surface), var(--sea-foam));
    color: var(--deep-ocean);
    padding: 20px 50px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

.dive-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(248, 250, 252, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.dive-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.5);
}

.dive-btn:hover::before {
    width: 400px;
    height: 400px;
}

/* Footer - Clean and Fixed Design */
footer {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(17, 94, 89, 0.95));
    border-top: 2px solid rgba(6, 182, 212, 0.4);
    padding: 80px 50px 60px;
    margin-top: 120px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 5 Q25 15 50 5 T100 5 V0 H0 Z" fill="rgba(6,182,212,0.03)"/></svg>') repeat-x;
    background-size: 200px 40px;
    animation: waves 10s ease-in-out infinite;
    pointer-events: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;

    position: relative;
    z-index: 1;
}

.footer-main {
    padding-right: 20px;
}

.footer-main .logo-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-main .logo-footer svg {
    width: 50px;
    height: 50px;
}

.footer-main .logo-footer .logo-text {
    font-family: 'Inter', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ocean-surface), var(--sea-foam));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.footer-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 30px;
    font-weight: 400;
}

.footer-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-stat {
    text-align: center;
}

.footer-stat .number {
    font-family: 'Inter', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--coral-orange);
    display: block;
    margin-bottom: 5px;
}

.footer-stat .label {
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section {
    position: relative;
}

.footer-section h3 {
    font-family: 'Inter', serif;
    color: var(--ocean-surface);
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--ocean-surface), var(--sea-foam));
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.footer-section ul li::before {
    content: '〉';
    position: absolute;
    left: 0;
    color: var(--sea-foam);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-section ul li:hover::before {
    transform: translateX(3px);
    color: var(--ocean-surface);
}

.footer-section a {
    color: rgba(248, 250, 252, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--sea-foam);
    transform: translateX(5px);
    display: inline-block;
}

.footer-newsletter {
    background: rgba(6, 182, 212, 0.1);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.newsletter-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ocean-surface);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-text {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 10px;
    color: var(--pearl-white);
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
}

.newsletter-input::placeholder {
    color: rgba(248, 250, 252, 0.5);
}

.newsletter-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--ocean-surface), var(--sea-foam));
    color: var(--deep-ocean);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border: 2px solid var(--ocean-surface);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    background: rgba(6, 182, 212, 0.05);
}

.social-links a:hover {
    background: var(--ocean-surface);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.4);
    border-radius: 50%;
}

.footer-bottom {
    font-family: 'Outfit', sans-serif;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(6, 182, 212, 0.3);
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: white;
}

.display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1em;
    gap: 10px;
}

.horizontal-display {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 250px;
    gap: 1em;
}

.backing-box {
    display: block;
    background: rgba(6, 182, 212, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

li ul {
    margin-left: 1.5em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* grid-auto-rows: 40px; */
    gap: 50px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.team-card {
    background: rgba(6, 182, 212, 0.12);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px 30px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 40em;
}

.team-card:nth-child(-1n + 3) {
    grid-column: span 4;
}

.team-card:nth-last-child(2) {
    grid-row-start: 2;
    grid-column: 3 / span 4;
}

.team-card:nth-last-child(1) {
    grid-row-start: 2;
    grid-column: 7 / span 4;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.team-card:hover::before {
    opacity: 1;
    animation: shimmer 0.8s ease;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(6, 182, 212, 0.3);
    border-color: var(--sea-foam);
    background: rgba(6, 182, 212, 0.18);
}

.team-card-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.6));
    max-height: 60%;
    max-width: 60%;
}

.team-card h4 {
    font-family: 'Inter', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--ocean-surface);
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.team-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(248, 250, 252, 0.85);
    font-weight: 400;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .logo-svg {
        width: 35px;
        height: 35px;
    }

    .nav-container {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 15px;
    }

    .nav-menu.active {
        max-height: 400px;
        border-top: 1px solid rgba(6, 182, 212, 0.3);
        box-shadow: 0 15px 40px rgba(15, 23, 42, 0.9);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 25px;
    }

    nav ul li {
        padding: 15px 0;
        border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    .ocean-title {
        font-size: 3.2rem;
        letter-spacing: 2px;
    }

    .hero {
        margin-top: 70px;
    }

    .subtitle {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    section {
        padding: 70px 20px;
    }

    .about-section {
        padding: 50px 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .phase-container {
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phase-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 20px;
    }

    .phase-content-area {
        padding: 30px;
        min-height: auto;
    }

    .phase-content h3 {
        font-size: 1.8rem;
    }

    .phase-details {
        grid-template-columns: 1fr;
    }

    .phase-stats {
        justify-content: center;
    }

    .subteam-section {
        padding: 40px 20px;
    }

    .subteam-categories {
        grid-template-columns: 1fr;
    }


    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding: 30px;
    }

    .contact-form {
        padding: 40px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 2rem;
    }

    .map-placeholder {
        height: 150px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-main {
        text-align: center;
        padding-right: 0;
    }

    .footer-stats {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-btn {
        align-self: stretch;
        padding: 15px 20px;
    }

    .social-links {
        justify-content: center;
    }

    .section-title {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }

    .contact-form {
        padding: 40px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 16px;
    }

    .dive-btn {
        font-size: 14px;
        padding: 16px 40px;
    }

    .social-links a {
        width: 45px;
        height: 45px;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }
}