/*================ HEADER ================*/

#top-header{

    position:sticky;
    top:0;
    z-index:9999;

    background:#ffffff;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

}

.header-wrapper{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:12px 0;

}

.logo-area{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo{

    width:70px;

    height:auto;

}

.logo-text h1{

    margin:0;

    font-size:1.8rem;

    color:#1f5b35;

    font-weight:700;

}

.logo-text p{

    margin:0;

    color:#666;

    font-size:.9rem;

}

#navbar ul{

    display:flex;

    list-style:none;

    margin:0;

    padding:0;

    gap:5px;

}

#navbar li{

    list-style:none;

}

#navbar a{

    display:block;

    padding:12px 18px;

    color:#333;

    text-decoration:none;

    border-radius:8px;

    font-weight:500;

    transition:.3s;

}

#navbar a:hover{

    background:#2d7a42;

    color:#fff;

}

#navbar a.active{

    background:#2d7a42;

    color:#fff;

}

.header-buttons{

    display:flex;

    gap:10px;

}

.btn-login{

    background:#ffffff;

    border:2px solid #2d7a42;

    color:#2d7a42;

    padding:10px 18px;

    border-radius:8px;

    text-decoration:none;

}

.btn-register{

    background:#2d7a42;

    color:white;

    padding:10px 18px;

    border-radius:8px;

    text-decoration:none;

}

.mobile-menu-btn{

    display:none;

}

/*================ INFO BOX (Mode pages) ================*/

.info-box {
    background: #e7f3ff;
    border-left: 4px solid #0066cc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.info-box h4 {
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-box ul {
    margin-bottom: 0;
}

/*================ TEAM MEMBERS ================*/

.team-institute-text {
    color: #64748b;
    font-size: 1.05rem;
}

.team-member-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.team-role-header {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    margin-bottom: .85rem;
}

.team-serial {
    font-weight: 700;
    color: #0066cc;
}

.team-role-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
}

.team-detail-table {
    table-layout: fixed;
    margin-bottom: 0;
}

.team-detail-table td {
    vertical-align: middle;
    padding: .65rem 1rem;
}

.team-field-label {
    width: 200px;
    background: #f1f5f9;
    font-weight: 600;
    color: #334155;
}

@media (max-width: 576px) {
    .team-field-label {
        width: 140px;
    }
}

/*================ HERO V2 (Dark Scientific) — base look ================*/
/* These classes were referenced in index.html's hero markup but never
   had rules defined anywhere, so the hero rendered as plain unstyled
   text on a white background instead of the intended dark panel. */

.hero-v2 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#0a1530 0%,#0d1b3e 45%,#142a5c 100%);
    padding: 1rem 0;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 40%, transparent 100%);
            mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 40%, transparent 100%);
    pointer-events: none;
}

.hero-blob-1, .hero-blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    opacity: .38;
    pointer-events: none;
}

.hero-blob-1 {
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, #2563eb, transparent 70%);
    top: -150px;
    left: -130px;
}

.hero-blob-2 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #7c3aed, transparent 70%);
    bottom: -170px;
    right: -150px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.85);
    font-size: .78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

.hero-v2-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 2.75rem;
    line-height: 1.16;
    letter-spacing: -.5px;
    margin-bottom: 1.1rem;
}

.hero-grad-text {
    background: linear-gradient(135deg,#22d3ee 0%,#4ade80 50%,#a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-v2-desc {
    color: rgba(255,255,255,.64);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 540px;
    margin-bottom: 1.75rem;
}

.btn-hv2-primary, .btn-hv2-outline {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: .95rem;
    padding: .75rem 1.6rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-hv2-primary {
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37,99,235,.4);
}

.btn-hv2-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37,99,235,.55);
    color: #ffffff;
}

.btn-hv2-outline {
    background: transparent;
    color: rgba(255,255,255,.85);
    border: 1px solid rgba(255,255,255,.28);
}

.btn-hv2-outline:hover {
    background: rgba(255,255,255,.09);
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.55);
    font-size: .85rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74,222,128,.22);
    flex-shrink: 0;
}

/*================ HERO DASH-CARD INTERACTIVITY ================*/

.dash-card {
    width: 100%;
    background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    padding: 1.85rem 1.7rem;
    box-shadow: 0 28px 65px rgba(0,0,0,.5), 0 0 0 1px rgba(99,102,241,.08), inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter: blur(6px);
    transition: transform .35s ease, box-shadow .35s ease;
}

.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 34px 75px rgba(0,0,0,.55), 0 0 0 1px rgba(99,102,241,.18), inset 0 1px 0 rgba(255,255,255,.09);
}

.gpx-tip {
    position: relative;
    cursor: help;
}

.gpx-tip::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 11px);
    transform: translateX(-50%) translateY(5px);
    background: #0f172a;
    color: #e2e8f0;
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.4;
    padding: 8px 11px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.14);
    white-space: normal;
    width: max-content;
    max-width: 190px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
    z-index: 60;
}

.gpx-tip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 5px);
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #0f172a;
    opacity: 0;
    visibility: hidden;
    transition: opacity .16s ease;
    z-index: 60;
}

.gpx-tip:hover::after, .gpx-tip:focus-visible::after,
.gpx-tip:hover::before, .gpx-tip:focus-visible::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nt-badge {
    transition: transform .18s ease, box-shadow .18s ease;
}

.nt-badge:hover {
    transform: scale(1.22);
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
    z-index: 10;
}

.gpx-pill {
    transition: transform .18s ease, filter .18s ease;
}

.gpx-pill:hover {
    transform: scale(1.07);
    filter: brightness(1.25);
}

.hero-step {
    transition: transform .22s ease;
    cursor: help;
}

.hero-step-icon {
    transition: transform .22s ease, box-shadow .22s ease;
}

.hero-step:hover {
    transform: translateY(-3px);
}

.hero-step:hover .hero-step-icon {
    transform: scale(1.16);
    box-shadow: 0 0 0 5px rgba(255,255,255,.09), 0 8px 16px rgba(0,0,0,.4);
}

.dna-visual-panel svg path[stroke-width="3.5"] {
    animation: gpxDnaGlow 2.6s ease-in-out infinite;
    transform-origin: center;
}

.dna-visual-panel svg path[stroke-width="3.5"]:nth-of-type(4n+1) { animation-delay: 0s; }
.dna-visual-panel svg path[stroke-width="3.5"]:nth-of-type(4n+2) { animation-delay: .35s; }
.dna-visual-panel svg path[stroke-width="3.5"]:nth-of-type(4n+3) { animation-delay: .7s; }
.dna-visual-panel svg path[stroke-width="3.5"]:nth-of-type(4n)   { animation-delay: 1.05s; }

@keyframes gpxDnaGlow {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
    50%      { opacity: .8; filter: drop-shadow(0 0 5px rgba(255,255,255,.6)); }
}

.hero-hint {
    text-align: center;
    font-size: .68rem;
    font-weight: 600;
    color: rgba(255,255,255,.32);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-top: .9rem;
}

@media (prefers-reduced-motion: reduce) {
    .dna-visual-panel svg path[stroke-width="3.5"] {
        animation: none;
    }
}
