:root{
    --bg:#071321;
    --bg-dark:#06111f;
    --bg-section:#081523;
    --card:#10243b;
    --card-hover:#17314f;
    --text:#eef2ff;
    --text-light:#c9d4e4;
    --primary:#36b3ff;
    --primary-hover:#269fe8;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
    overflow-x:hidden;
}

a{
    color:inherit;
    text-decoration:none;
}

.container{
    width:min(1200px,92%);
    margin:0 auto;
}

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

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    padding:18px 0;
    background:rgba(6,17,31,.72);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,.06);
}

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

.brand{
    color:#fff;
    font-size:28px;
    font-weight:800;
    letter-spacing:1px;
}

nav{
    display:flex;
    align-items:center;
    gap:40px;
}

nav a{
    color:#d6dde7;
    font-size:16px;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:var(--primary);
}

/* ===========================
   BURGER
=========================== */

.burger{
    display:none;
    width:34px;
    height:28px;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
    flex-direction:column;
    justify-content:space-between;
}

.burger span{
    display:block;
    width:100%;
    height:3px;
    background:#fff;
    border-radius:3px;
    transition:.3s;
}

.burger.active span:nth-child(1){
    transform:translateY(12px) rotate(45deg);
}

.burger.active span:nth-child(2){
    opacity:0;
}

.burger.active span:nth-child(3){
    transform:translateY(-13px) rotate(-45deg);
}

/* ===========================
   HERO
=========================== */

.hero{
    min-height:100vh;
    padding:150px 20px 80px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:
        radial-gradient(circle at 50% 15%,rgba(54,179,255,.12),transparent 35%),
        linear-gradient(135deg,#08101e,#10294f);
}

.hero-content{
    width:min(900px,100%);
}

.logo{
    color:var(--primary);
    font-size:16px;
    font-weight:700;
    letter-spacing:4px;
    text-transform:uppercase;
}

.hero h1{
    margin:25px auto 28px;
    max-width:900px;
    font-size:clamp(42px,6vw,72px);
    line-height:1.08;
    font-weight:800;
}

.hero h1 span{
    display:block;
    color:var(--primary);
}

.subtitle{
    max-width:760px;
    margin:0 auto 42px;
    color:var(--text-light);
    font-size:22px;
    line-height:1.7;
}

.button{
    display:inline-block;
    padding:16px 42px;
    border-radius:50px;
    background:var(--primary);
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.button:hover{
    background:var(--primary-hover);
    transform:translateY(-4px);
    box-shadow:0 10px 30px rgba(54,179,255,.35);
}

.hero-bottom{
    margin-top:90px;
}

.hero-bottom h2{
    color:var(--primary);
    font-size:32px;
    line-height:1.35;
    letter-spacing:2px;
    font-weight:700;
}

/* ===========================
   COMMON SECTION TITLE
=========================== */

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    display:block;
    color:var(--primary);
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:14px;
    font-weight:600;
    margin-bottom:15px;
}

.section-title h2{
    max-width:900px;
    margin:0 auto;
    font-size:clamp(36px,4vw,58px);
    line-height:1.15;
}

/* ===========================
   ABOUT
=========================== */

.about{
    padding:120px 0;
    background:var(--bg-section);
}

.about-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:50px;
    align-items:start;
}

.about-text p{
    margin-bottom:30px;
    color:var(--text-light);
    font-size:20px;
    line-height:1.9;
}

.about-card{
    background:var(--card);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:35px;
}

.about-card h3{
    margin-bottom:25px;
    font-size:26px;
}

.about-card ul{
    list-style:none;
}

.about-card li{
    padding:14px 0;
    color:var(--text-light);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.about-card li:last-child{
    border-bottom:0;
}

.about-quote{
    margin-top:45px;
    padding-left:24px;
    border-left:4px solid var(--primary);
    color:#dfeaf8;
    font-size:24px;
    line-height:1.6;
    font-style:italic;
}

/* ===========================
   LABS
=========================== */

.labs{
    padding:160px 0 120px;
    background:var(--bg-dark);
}

.labs-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
    margin-top:70px;
}

.lab-card{
    min-height:220px;
    display:flex;
    flex-direction:column;
    padding:28px;
    background:var(--card);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    transition:.35s;
}

.lab-card:hover{
    transform:translateY(-8px);
    border-color:var(--primary);
    box-shadow:0 20px 50px rgba(0,0,0,.25);
}

.lab-card h3{
    margin-bottom:18px;
    font-size:24px;
}

.lab-card p{
    color:var(--text-light);
    line-height:1.7;
}

/* ===========================
   PARTNERS
=========================== */

.partners{
    padding:120px 0;
    background:var(--bg-section);
}

.section-subtitle{
    display:block;
    margin-bottom:20px;
    color:var(--primary);
    text-align:center;
    text-transform:uppercase;
    letter-spacing:4px;
    font-size:14px;
    font-weight:700;
}

.section-description{
    max-width:760px;
    margin:0 auto;
    color:#c7d1dc;
    text-align:center;
    font-size:20px;
    line-height:1.8;
}

.partners-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:35px;
    margin-top:80px;
}

.partner-card{
    min-width:0;
    min-height:250px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:40px 25px;
    background:#12233b;
    border:1px solid rgba(255,255,255,.05);
    border-radius:20px;
    text-align:center;
    transition:.35s;
}

.partner-card:hover{
    transform:translateY(-8px);
    border-color:var(--primary);
    background:var(--card-hover);
    box-shadow:0 18px 40px rgba(0,0,0,.25);
}

.partner-card img{
    display:block;
    width:auto;
    height:auto;
    max-width:170px;
    max-height:95px;
    object-fit:contain;
    margin-bottom:25px;
}

.partner-card h3{
    color:#fff;
    font-size:20px;
    line-height:1.5;
    font-weight:600;
}

/* ===========================
   VISION
=========================== */

.vision{
    padding:140px 0;
    background:
        radial-gradient(circle at center,#173b63 0%,#0d2138 45%,#06111f 100%);
}

.vision-box{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.vision-box span{
    color:var(--primary);
    text-transform:uppercase;
    letter-spacing:4px;
    font-size:14px;
}

.vision-box h2{
    margin:25px 0;
    font-size:56px;
    line-height:1.15;
}

.vision-box p{
    margin-bottom:50px;
    color:var(--text-light);
    font-size:22px;
    line-height:1.8;
}

/* ===========================
   INITIATIVES
=========================== */

.initiatives{
    padding:120px 0;
    background:var(--bg-dark);
}

.initiative-card{
    display:flex;
    align-items:center;
    gap:40px;
    margin-top:60px;
    padding:45px;
    background:var(--card);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    transition:.35s;
}

.initiative-card:hover{
    transform:translateY(-6px);
    border-color:var(--primary);
    box-shadow:0 20px 45px rgba(0,0,0,.25);
}

.initiative-icon{
    width:90px;
    height:90px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:20px;
    background:rgba(54,179,255,.15);
    font-size:42px;
}

.initiative-content h3{
    margin-bottom:18px;
    font-size:32px;
}

.initiative-content p{
    max-width:700px;
    margin-bottom:30px;
    color:var(--text-light);
    font-size:20px;
    line-height:1.8;
}

/* ===========================
   CONTACTS
=========================== */

.contacts{
    padding:120px 0;
    background:var(--bg-section);
}

.contacts-text{
    max-width:700px;
    margin:20px auto 55px;
    color:#c9d4e4;
    text-align:center;
    font-size:22px;
    font-weight:400;
    line-height:1.6;
}

.contact-card{
    max-width:760px;
    margin:45px auto 0;
    padding:45px 60px;
    background:var(--card);
    border-radius:24px;
    box-shadow:0 18px 40px rgba(0,0,0,.18);
}

.socials{
    display:flex;
    justify-content:center;
    gap:100px;
    margin-bottom:50px;
}

.socials a{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-decoration:none;
}

.socials img{
    width:68px;
    height:68px;
    transition:.3s;
}

.socials img:hover{
    transform:translateY(-6px) scale(1.08);
}

.socials span{
    margin-top:15px;
    color:#fff;
    font-weight:600;
}

.contact-links{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
}

.contact-links a{
    color:#fff;
    font-size:20px;
    font-weight:600;
    transition:.3s;
}

.contact-links a:hover{
    color:var(--primary);
}

/* ===========================
   FOOTER
=========================== */

.footer{
    padding:90px 0;
    background:#06111f;
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
}

.footer-logo{
    margin-bottom:20px;
    color:#fff;
    font-size:32px;
    font-weight:800;
}

.footer p{
    margin-bottom:20px;
    color:var(--text-light);
}

.footer small{
    color:#7f8fa6;
}

/* ===========================
   TABLET
=========================== */

@media (max-width:1100px){

    .labs-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .partners-grid{
        grid-template-columns:repeat(2,1fr);
        gap:28px;
    }
}

/* ===========================
   MOBILE
=========================== */

@media (max-width:768px){

    .container{
        width:min(100% - 32px,1200px);
    }

    /* Header */

    .header{
        padding:18px 0;
    }

    .brand{
        font-size:26px;
    }

    nav{
        display:none;
        position:absolute;
        top:calc(100% + 1px);
        left:50%;
        width:100vw;
        transform:translateX(-50%);

        flex-direction:column;
        align-items:center;
        gap:18px;

        padding:22px 0 26px;

        background:rgba(8,21,35,.97);
        border-top:1px solid rgba(255,255,255,.08);
        box-shadow:0 18px 30px rgba(0,0,0,.18);
        backdrop-filter:blur(12px);
    }

    nav.active{
        display:flex;
    }

    nav a{
        font-size:20px;
        line-height:1.3;
    }

    .burger{
        display:flex;
    }

    /* Hero */

    .hero{
        min-height:auto;
        padding:130px 16px 75px;
    }

    .logo{
        font-size:14px;
        letter-spacing:4px;
    }

    .hero h1{
        margin:22px auto 25px;
        font-size:clamp(36px,10vw,48px);
        line-height:1.12;
    }

    .subtitle{
        margin-bottom:34px;
        font-size:21px;
        line-height:1.8;
    }

    .button{
        width:100%;
        max-width:320px;
        padding:15px 24px;
        font-size:20px;
    }

    .hero-bottom{
        margin-top:50px;
    }

    .hero-bottom h2{
        font-size:24px;
        line-height:1.5;
    }

    /* Section titles */

    .section-title{
        margin-bottom:50px;
    }

    .section-title h2{
        font-size:36px;
    }

    /* About */

    .about{
        padding:90px 0;
        
    }

    .about-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .about-text{
        text-align:center;
    } 
    .about-text p{
        font-size:24px;
        line-height:1.5;
        text-align:center;
        max-width:100%;
        margin:0 auto 30px;
    }

    .about-card{
        padding:28px 24px;
    }

    .about-card li{
        font-size:20px;
        line-height:1.8;
    }
    .about-card h3{
        font-size:28px;
    }

    /* Labs */

    .labs{
        padding:100px 0 90px;
    }

    .labs-grid{
        grid-template-columns:1fr;
        gap:20px;
        margin-top:50px;
    }

    .lab-card{
        min-height:auto;
        padding:25px;
    }

    .lab-card p{
    font-size:20px;
    line-height:1.8;
    }

    /* Partners */

    .partners{
        padding:90px 0;
    }

    .section-subtitle{
        margin-bottom:16px;
        font-size:16px;
        letter-spacing:3px;
    }

    .section-description{
        font-size:21px;
        line-height:1.8;
    }

    .partners-grid{
        grid-template-columns:1fr;
        gap:20px;
        margin-top:45px;
    }

    .partner-card{
        width:100%;
        max-width:320px;
        min-height:220px;
        margin:0 auto;
        padding:30px 20px;
    }

    .partner-card img{
        max-width:180px;
        max-height:90px;
        margin-bottom:20px;
    }

    .partner-card h3{
        font-size:18px;
        line-height:1.45;
    }

    /* Vision */

    .vision{
        padding:100px 0;
    }

    .vision-box h2{
        font-size:40px;
    }

    .vision-box p{
        font-size:21px;
        line-height:1.8;
        margin-bottom:40px;
    }

    /* Initiatives */

    .initiatives{
        padding:90px 0;
    }

    .initiative-card{
        flex-direction:column;
        gap:25px;
        margin-top:45px;
        padding:30px 24px;
        text-align:center;
    }

    .initiative-icon{
        width:76px;
        height:76px;
        font-size:36px;
    }

    .initiative-content h3{
        font-size:27px;
    }

    .initiative-content p{
        font-size:20px;
        line-height:1.8;
    }

    /* Contacts */

    .contacts{
        padding:90px 0;
    }

    .contacts-text{
        margin:18px auto 40px;
        font-size:20;
        line-height:1.8;
    }

    .contact-card{
        margin-top:40px;
        padding:38px 24px;
    }

    .socials{
        gap:90px;
        margin-bottom:45px;
    }

    .socials img{
        width:64px;
        height:64px;
    }

    .contact-links a{
        font-size:20px;
        text-align:center;
    }

    /* Footer */

    .footer{
        padding:70px 0;
    }

    .footer-logo{
        font-size:28px;
    }
}

/* ===========================
   SMALL PHONES
=========================== */

@media (max-width:480px){

    .brand{
        font-size:22px;
    }

    .burger{
        width:32px;
        height:26px;
    }

    .hero h1{
        font-size:36px;
    }

    .subtitle{
        font-size:20px;
        line-height:1.8;
    }

    .section-title h2{
        font-size:32px;
    }

    .partner-card{
        max-width:300px;
    }

    .socials{
        gap:70px;
    }

    .contact-card{
        padding:32px 18px;
    }
}
