/* ==========================================================
Yakutia Forward
styles.css
Часть 1 — Базовые стили
========================================================== */

/* =========================
RESET
========================= */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;

    color:#ffffff;

    background:#150b35;

    overflow-x:hidden;

    line-height:1.6;

}

/* =========================
VARIABLES
========================= */

:root{

    --primary:#ff4f8d;

    --secondary:#8c4dff;

    --accent:#61d4ff;

    --dark:#150b35;

    --glass:rgba(255,255,255,.08);

    --glass-border:rgba(255,255,255,.18);

    --shadow:0 25px 60px rgba(0,0,0,.25);

    --radius:22px;

    --transition:.35s ease;

    --max-width:1280px;

}

/* =========================
BACKGROUND
========================= */

body::before{

    content:"";

    position:fixed;

    inset:0;

    background:

        linear-gradient(
            135deg,
            rgba(255,53,110,.45),
            rgba(88,45,167,.35),
            rgba(17,10,45,.65)
        ),

        url("assets/bg.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    z-index:-3;

}

/* лёгкое затемнение */

.background-overlay{

    position:fixed;

    inset:0;

    background:

        radial-gradient(circle at top left,
        rgba(255,80,120,.25),
        transparent 40%),

        radial-gradient(circle at bottom right,
        rgba(90,90,255,.18),
        transparent 35%),

        rgba(15,8,35,.32);

    backdrop-filter:blur(2px);

    z-index:-2;

}

/* декоративные блики */

body::after{

    content:"";

    position:fixed;

    width:1400px;

    height:1400px;

    border-radius:50%;

    left:-650px;

    top:-500px;

    background:

        radial-gradient(circle,
        rgba(255,90,140,.18),
        transparent 70%);

    z-index:-1;

    pointer-events:none;

}

/* =========================
CONTAINER
========================= */

.container{

    width:min(92%,var(--max-width));

    margin:auto;

}

/* =========================
TYPOGRAPHY
========================= */

h1{

    font-size:4.2rem;

    line-height:1.05;

    font-weight:800;

    letter-spacing:-2px;

}

h2{

    font-size:2.8rem;

    margin-bottom:25px;

    font-weight:700;

}

h3{

    font-size:1.3rem;

    font-weight:700;

}

p{

    color:rgba(255,255,255,.86);

}

.section-text{

    max-width:850px;

    margin:auto;

    margin-bottom:60px;

    text-align:center;

}

/* =========================
LINKS
========================= */

a{

    color:inherit;

    text-decoration:none;

    transition:var(--transition);

}

/* =========================
DOWNLOAD LINK
========================= */

.download-link{

    color:var(--accent);

    font-weight:600;

    text-decoration:underline;

    transition:.3s;

}

.download-link:hover{

    color:#ffffff;

    text-shadow:0 0 10px rgba(97,212,255,.6);

}



/* =========================
HEADER
========================= */

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    backdrop-filter:blur(18px);

    background:rgba(15,8,40,.38);

    border-bottom:1px solid rgba(255,255,255,.08);

}

.header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:82px;

}

.logo{

    display:flex;

    align-items:center;

    gap:18px;

}

.logo img{

    width:70px;

}

.logo-text span{

    display:block;

    font-size:.85rem;

    opacity:.8;

}

.logo-text h3{

    font-size:1.45rem;

    letter-spacing:2px;

    text-transform:uppercase;

}

nav{

    display:flex;

    gap:34px;

}

nav a{

    font-weight:600;

    position:relative;

}

nav a::after{

    content:"";

    position:absolute;

    bottom:-8px;

    left:0;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

nav a:hover{

    color:#fff;

}

nav a:hover::after{

    width:100%;

}

/* =========================
HERO
========================= */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    padding-top:110px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1fr;

}

.hero-content{

    max-width:760px;

}

.subtitle{

    display:inline-block;

    margin-bottom:22px;

    text-transform:uppercase;

    letter-spacing:2px;

    color:var(--accent);

    font-weight:600;

}

.hero p{

    margin-top:30px;

    font-size:1.15rem;

    max-width:620px;

}

.buttons{

    margin-top:45px;

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

/* =========================
BUTTONS
========================= */

.btn{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    padding:17px 34px;

    border-radius:14px;

    font-weight:700;

    transition:var(--transition);

}

.btn-primary{

    background:

    linear-gradient(
        135deg,
        var(--primary),
        #ff6d71
    );

    color:white;

    box-shadow:

    0 15px 35px rgba(255,70,120,.4);

}

.btn-primary:hover{

    transform:translateY(-5px);

    box-shadow:

    0 25px 45px rgba(255,70,120,.55);

}

.btn-secondary{

    border:1px solid rgba(255,255,255,.2);

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(18px);

}

.btn-secondary:hover{

    background:rgba(255,255,255,.12);

    transform:translateY(-5px);

}

/* =========================
GLASS BASE
========================= */

.card,
.glass,
.step,
.timeline-item,
.documents,
.warning{

    background:var(--glass);

    border:1px solid var(--glass-border);

    backdrop-filter:blur(22px);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

/* =========================
SECTIONS
========================= */

section{

    padding:110px 0;

}

section h2{

    text-align:center;

}

/* =========================
ANIMATION PRESETS
========================= */

.fade{

    opacity:0;

    transform:translateY(40px);

    transition:.8s;

}

.fade.show{

    opacity:1;

    transform:none;

}

/* =========================
SCROLLBAR
========================= */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#12092c;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(
        var(--primary),
        var(--secondary)
    );

    border-radius:20px;

}
/* ==========================================================
CONTENT BLOCKS (2.1)
About / Purpose / Participants
==========================================================*/

/* =========================
CARDS
========================= */

.cards{
    display:grid;
    gap:32px;
    margin-top:60px;
}

.cards.three{
    grid-template-columns:repeat(3,1fr);
}

.cards.four{
    grid-template-columns:repeat(4,1fr);
}

.card{

    position:relative;

    overflow:hidden;

    padding:38px 32px;

    transition:var(--transition);

}

.card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.08),
        transparent 60%
    );

    opacity:0;

    transition:.35s;

}

.card:hover{

    transform:translateY(-12px);

    border-color:rgba(255,255,255,.28);

}

.card:hover::before{

    opacity:1;

}

.card h3{

    margin-bottom:18px;

    color:#ffffff;

}

.card p{

    color:rgba(255,255,255,.82);

    line-height:1.8;

}

/* декоративная линия */

.card::after{

    content:"";

    position:absolute;

    left:32px;

    bottom:24px;

    width:55px;

    height:4px;

    border-radius:30px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--accent)
    );

}

/* =========================
ABOUT
========================= */

.about{

    position:relative;

}

.about .card{

    min-height:250px;

}

.about .card h3{

    margin-top:10px;

}

.about .card:nth-child(1){

    border-top:4px solid #ff4f8d;

}

.about .card:nth-child(2){

    border-top:4px solid #a85dff;

}

.about .card:nth-child(3){

    border-top:4px solid #67d4ff;

}

.about .card:nth-child(4){

    border-top:4px solid #ffc857;

}

/* =========================
PURPOSE
========================= */

.purpose{

    position:relative;

}

.purpose .section-text{

    font-size:1.1rem;

    opacity:.9;

}

.purpose .card{

    text-align:center;

    padding-top:55px;

}

.purpose .card h3{

    margin-bottom:22px;

}

.purpose .card p{

    max-width:320px;

    margin:auto;

}

/* круг сверху */

.purpose .card::before{

    content:"";

    position:absolute;

    top:26px;

    left:50%;

    transform:translateX(-50%);

    width:16px;

    height:16px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    );

    opacity:1;

}

/* =========================
PARTICIPANTS
========================= */

.participants{

    position:relative;

}

.participant-grid{

    display:grid;

    grid-template-columns:340px 1fr;

    gap:40px;

    margin-top:60px;

    align-items:stretch;

}

.glass{

    padding:45px;

    transition:var(--transition);

}

.glass:hover{

    transform:translateY(-10px);

}

.glass h1{

    margin-top:15px;

    margin-bottom:10px;

    font-size:5rem;

    color:var(--accent);

}

.glass h3{

    margin-bottom:10px;

}

.glass p{

    font-size:1.1rem;

}

.glass ul{

    list-style:none;

}

.glass li{

    position:relative;

    padding-left:38px;

    margin-bottom:22px;

    color:rgba(255,255,255,.92);

}

/* галочка */

.glass li::before{

    content:"✓";

    position:absolute;

    left:0;

    top:-1px;

    width:24px;

    height:24px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    font-size:.8rem;

    font-weight:700;

}

/* =========================
WARNING
========================= */

.warning{

    margin-top:45px;

    padding:24px 30px;

    border-left:5px solid #ffb347;

    color:#ffffff;

    font-weight:600;

    background:rgba(255,180,70,.10);

}

/* =========================
SECTION SPACING
========================= */

.about,
.purpose,
.participants{

    padding-top:120px;

    padding-bottom:120px;

}

/* =========================
RESPONSIVE
========================= */

@media (max-width:1100px){

    .cards.four{

        grid-template-columns:repeat(2,1fr);

    }

    .cards.three{

        grid-template-columns:1fr;

    }

    .participant-grid{

        grid-template-columns:1fr;

    }

}

@media (max-width:768px){

    .cards.four{

        grid-template-columns:1fr;

    }

    .card{

        padding:30px 24px;

    }

    .glass{

        padding:30px;

    }

    .glass h1{

        font-size:4rem;

    }

    .warning{

        padding:20px;

        font-size:.95rem;

    }

}
/* ==========================================================
CONTENT BLOCKS (2.2)
Timeline / Register / Result / Footer
==========================================================*/

/* =========================
TIMELINE
========================= */

.timeline{
    position:relative;
}

.timeline-wrapper{

    position:relative;

    max-width:980px;

    margin:70px auto 0;

    padding-left:50px;

}

.timeline-wrapper::before{

    content:"";

    position:absolute;

    left:14px;

    top:0;

    bottom:0;

    width:4px;

    border-radius:30px;

    background:linear-gradient(
        to bottom,
        var(--primary),
        var(--secondary),
        var(--accent)
    );

}

.timeline-item{

    position:relative;

    margin-bottom:35px;

    padding:30px 35px;

    transition:var(--transition);

}

.timeline-item:last-child{

    margin-bottom:0;

}

.timeline-item:hover{

    transform:translateX(12px);

}

.timeline-item::before{

    content:"";

    position:absolute;

    width:22px;

    height:22px;

    border-radius:50%;

    left:-48px;

    top:38px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    );

    border:4px solid rgba(20,10,45,.9);

    box-shadow:0 0 20px rgba(255,80,140,.5);

}

.timeline-item span{

    display:inline-block;

    font-size:.9rem;

    color:var(--accent);

    font-weight:700;

    margin-bottom:10px;

}

.timeline-item h3{

    margin-bottom:12px;

}

.timeline-item p{

    line-height:1.8;

}

/* =========================
REGISTER
========================= */

.register{

    position:relative;

}

.steps{

    margin-top:70px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.step{

    position:relative;

    padding:45px 25px;

    text-align:center;

    transition:var(--transition);

}

.step:hover{

    transform:translateY(-10px);

}

.step span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:72px;

    height:72px;

    border-radius:50%;

    margin-bottom:22px;

    font-size:1.4rem;

    font-weight:800;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#fff;

}

.step h3{

    font-size:1.15rem;

    line-height:1.5;

}

/* =========================
DOCUMENTS
========================= */

.documents{

    margin-top:70px;

    padding:40px;

}

.documents h3{

    margin-bottom:25px;

}

.documents ul{

    list-style:none;

}

.documents li{

    position:relative;

    padding-left:38px;

    margin-bottom:18px;

    color:rgba(255,255,255,.88);

}

.documents li:last-child{

    margin-bottom:0;

}

.documents li::before{

    content:"📄";

    position:absolute;

    left:0;

    top:0;

    font-size:1.1rem;

}

/* =========================
RESULT
========================= */

.result{

    position:relative;

}

.result .cards{

    margin-top:65px;

}

.result .card{

    text-align:center;

    min-height:230px;

}

.result .card h3{

    margin-bottom:20px;

}

.winner{

    margin-top:55px;

    padding:35px;

    text-align:center;

    border-radius:var(--radius);

    background:linear-gradient(
        135deg,
        rgba(255,79,141,.18),
        rgba(97,212,255,.15)
    );

    border:1px solid rgba(255,255,255,.18);

    backdrop-filter:blur(18px);

    font-size:1.15rem;

    font-weight:600;

}

/* =========================
FOOTER
========================= */

footer{

    padding:120px 0 70px;

    text-align:center;

    background:linear-gradient(
        rgba(8,5,25,.45),
        rgba(10,7,30,.85)
    );

    border-top:1px solid rgba(255,255,255,.08);

}

footer h2{

    margin-bottom:20px;

}

footer p{

    max-width:700px;

    margin:0 auto;

}

footer .buttons{

    justify-content:center;

}

.copyright{

    margin-top:70px;

    color:rgba(255,255,255,.55);

    font-size:.9rem;

}

/* =========================
RESPONSIVE
========================= */

@media(max-width:1100px){

    .steps{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:900px){

    .timeline-wrapper{

        padding-left:35px;

    }

    .timeline-item::before{

        left:-33px;

    }

}

@media(max-width:768px){

    .timeline-wrapper{

        padding-left:28px;

    }

    .timeline-item{

        padding:25px;

    }

    .timeline-item:hover{

        transform:none;

    }

    .steps{

        grid-template-columns:1fr;

    }

    .documents{

        padding:28px;

    }

    .winner{

        padding:25px;

        font-size:1rem;

    }

}

@media(max-width:480px){

    .timeline-wrapper::before{

        left:10px;

    }

    .timeline-item::before{

        width:18px;

        height:18px;

        left:-25px;

    }

    .step{

        padding:35px 20px;

    }

    .step span{

        width:60px;

        height:60px;

        font-size:1.2rem;

    }

    .documents{

        padding:22px;

    }

    footer{

        padding:90px 0 50px;

    }

}
/* ==========================================================
CONTENT BLOCKS (2.2)
Timeline / Register / Result / Footer
==========================================================*/

/* =========================
TIMELINE
========================= */

.timeline{
    position:relative;
}

.timeline-wrapper{

    position:relative;

    max-width:980px;

    margin:70px auto 0;

    padding-left:50px;

}

.timeline-wrapper::before{

    content:"";

    position:absolute;

    left:14px;

    top:0;

    bottom:0;

    width:4px;

    border-radius:30px;

    background:linear-gradient(
        to bottom,
        var(--primary),
        var(--secondary),
        var(--accent)
    );

}

.timeline-item{

    position:relative;

    margin-bottom:35px;

    padding:30px 35px;

    transition:var(--transition);

}

.timeline-item:last-child{

    margin-bottom:0;

}

.timeline-item:hover{

    transform:translateX(12px);

}

.timeline-item::before{

    content:"";

    position:absolute;

    width:22px;

    height:22px;

    border-radius:50%;

    left:-48px;

    top:38px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    );

    border:4px solid rgba(20,10,45,.9);

    box-shadow:0 0 20px rgba(255,80,140,.5);

}

.timeline-item span{

    display:inline-block;

    font-size:.9rem;

    color:var(--accent);

    font-weight:700;

    margin-bottom:10px;

}

.timeline-item h3{

    margin-bottom:12px;

}

.timeline-item p{

    line-height:1.8;

}

/* =========================
REGISTER
========================= */

.register{

    position:relative;

}

.steps{

    margin-top:70px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.step{

    position:relative;

    padding:45px 25px;

    text-align:center;

    transition:var(--transition);

}

.step:hover{

    transform:translateY(-10px);

}

.step span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:72px;

    height:72px;

    border-radius:50%;

    margin-bottom:22px;

    font-size:1.4rem;

    font-weight:800;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#fff;

}

.step h3{

    font-size:1.15rem;

    line-height:1.5;

}

/* =========================
DOCUMENTS
========================= */

.documents{

    margin-top:70px;

    padding:40px;

}

.documents h3{

    margin-bottom:25px;

}

.documents ul{

    list-style:none;

}

.documents li{

    position:relative;

    padding-left:38px;

    margin-bottom:18px;

    color:rgba(255,255,255,.88);

}

.documents li:last-child{

    margin-bottom:0;

}

.documents li::before{

    content:"📄";

    position:absolute;

    left:0;

    top:0;

    font-size:1.1rem;

}

/* =========================
RESULT
========================= */

.result{

    position:relative;

}

.result .cards{

    margin-top:65px;

}

.result .card{

    text-align:center;

    min-height:230px;

}

.result .card h3{

    margin-bottom:20px;

}

.winner{

    margin-top:55px;

    padding:35px;

    text-align:center;

    border-radius:var(--radius);

    background:linear-gradient(
        135deg,
        rgba(255,79,141,.18),
        rgba(97,212,255,.15)
    );

    border:1px solid rgba(255,255,255,.18);

    backdrop-filter:blur(18px);

    font-size:1.15rem;

    font-weight:600;

}

/* =========================
FOOTER
========================= */

footer{

    padding:120px 0 70px;

    text-align:center;

    background:linear-gradient(
        rgba(8,5,25,.45),
        rgba(10,7,30,.85)
    );

    border-top:1px solid rgba(255,255,255,.08);

}

footer h2{

    margin-bottom:20px;

}

footer p{

    max-width:700px;

    margin:0 auto;

}

footer .buttons{

    justify-content:center;

}

.copyright{

    margin-top:70px;

    color:rgba(255,255,255,.55);

    font-size:.9rem;

}

/* =========================
RESPONSIVE
========================= */

@media(max-width:1100px){

    .steps{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:900px){

    .timeline-wrapper{

        padding-left:35px;

    }

    .timeline-item::before{

        left:-33px;

    }

}

@media(max-width:768px){

    .timeline-wrapper{

        padding-left:28px;

    }

    .timeline-item{

        padding:25px;

    }

    .timeline-item:hover{

        transform:none;

    }

    .steps{

        grid-template-columns:1fr;

    }

    .documents{

        padding:28px;

    }

    .winner{

        padding:25px;

        font-size:1rem;

    }

}

@media(max-width:480px){

    .timeline-wrapper::before{

        left:10px;

    }

    .timeline-item::before{

        width:18px;

        height:18px;

        left:-25px;

    }

    .step{

        padding:35px 20px;

    }

    .step span{

        width:60px;

        height:60px;

        font-size:1.2rem;

    }

    .documents{

        padding:22px;

    }

    footer{

        padding:90px 0 50px;

    }

}
/* ==========================================================
FINAL STYLES (PART 3)
Animations / Effects / Polish
==========================================================*/

/* =========================
SECTION DECORATION
========================= */

section{
    position:relative;
    overflow:hidden;
}

section::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:radial-gradient(circle,
            rgba(255,255,255,.05),
            transparent 70%);
    pointer-events:none;
    z-index:-1;
}

.about::before{
    top:-250px;
    right:-150px;
}

.purpose::before{
    bottom:-220px;
    left:-200px;
}

.participants::before{
    top:40%;
    right:-250px;
}

.timeline::before{
    left:-200px;
    bottom:-150px;
}

.result::before{
    top:-200px;
    right:-180px;
}

/* =========================
CARD EFFECTS
========================= */

.card,
.glass,
.timeline-item,
.step,
.documents,
.warning{

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease,
        background .35s ease;

}

.card:hover,
.glass:hover,
.timeline-item:hover,
.step:hover{

    box-shadow:
        0 30px 60px rgba(0,0,0,.35);

}

/* =========================
BUTTON EFFECT
========================= */

.btn{
    position:relative;
    overflow:hidden;
}

.btn::after{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:120%;

    height:100%;

    background:

        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    transition:.7s;

}

.btn:hover::after{

    left:120%;

}

/* =========================
HEADER ACTIVE
========================= */

.header.scrolled{

    background:rgba(10,8,35,.85);

    box-shadow:0 12px 35px rgba(0,0,0,.25);

}

/* активный пункт меню */

nav a.active{

    color:var(--accent);

}

nav a.active::after{

    width:100%;

}

/* =========================
HERO ANIMATION
========================= */

.hero-content>*{

    opacity:0;

    transform:translateY(40px);

    animation:fadeUp .9s forwards;

}

.hero-content>*:nth-child(1){

    animation-delay:.15s;

}

.hero-content>*:nth-child(2){

    animation-delay:.35s;

}

.hero-content>*:nth-child(3){

    animation-delay:.55s;

}

.hero-content>*:nth-child(4){

    animation-delay:.75s;

}

/* =========================
FLOAT EFFECT
========================= */

.glass:first-child{

    animation:float 6s ease-in-out infinite;

}

/* =========================
TIMELINE GLOW
========================= */

.timeline-wrapper::before{

    animation:timelineGlow 4s linear infinite;

}

/* =========================
FADE ANIMATION
========================= */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes timelineGlow{

    0%{

        filter:hue-rotate(0deg);

    }

    100%{

        filter:hue-rotate(360deg);

    }

}

/* =========================
BACK TO TOP BUTTON
========================= */

.to-top{

    position:fixed;

    right:35px;

    bottom:35px;

    width:58px;

    height:58px;

    border-radius:50%;

    border:none;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.4rem;

    color:white;

    background:

        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    box-shadow:0 15px 35px rgba(0,0,0,.35);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999;

}

.to-top.show{

    opacity:1;

    visibility:visible;

}

.to-top:hover{

    transform:translateY(-6px);

}

/* =========================
SELECTION
========================= */

::selection{

    background:var(--primary);

    color:white;

}

/* =========================
LOADER
========================= */

.loader{

    position:fixed;

    inset:0;

    background:#12082f;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:5000;

    transition:.6s;

}

.loader.hide{

    opacity:0;

    visibility:hidden;

}

.loader::before{

    content:"";

    width:70px;

    height:70px;

    border-radius:50%;

    border:5px solid rgba(255,255,255,.15);

    border-top-color:var(--primary);

    animation:spin 1s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

/* =========================
IMAGE STYLES
========================= */

img{

    max-width:100%;

    display:block;

}

.gallery {
    padding: 70px 20px;
    background: transparent;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 34px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid a {
    overflow: hidden;
    border-radius: 14px;
    display: block;
}

.gallery-item{
	display:block;
	opacity:0;
	transform:translateY(60px);
	overflow:hidden;
	border-radius:16px;
	transition:
	opacity .7s ease,
	transform .7s ease;
	box-shadow:
0 5px 20px rgba(0,0,0,.12);
transition:.4s;

}

.gallery-item img {
    display:block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition:
    transform .45s ease,
    filter .45s ease;
  
}

.gallery-grid a:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.gallery-item.show{
opacity:1;
transform:translateY(0);

}

.gallery-item:hover{

box-shadow:

0 15px 45px rgba(0,0,0,.25);

}

.gallery-item:hover img{

transform:scale(1.08);

filter:

brightness(1.05)
contrast(1.05);

}


/* =========================
MOBILE MENU PREPARE
========================= */

.menu-toggle{

    display:none;

    flex-direction:column;

    cursor:pointer;

    gap:6px;

}

.menu-toggle span{

    width:28px;

    height:3px;

    border-radius:10px;

    background:white;

}

/* =========================
RESPONSIVE
========================= */

@media(max-width:992px){

    h1{

        font-size:3.2rem;

    }

    h2{

        font-size:2.3rem;

    }

    nav{

        gap:20px;

    }

}

@media(max-width:768px){

    .header .container{

        min-height:74px;

    }

    nav{

        display:none;

    }

    .menu-toggle{

        display:flex;

    }

    .hero{

        text-align:center;

    }

    .hero-content{

        margin:auto;

    }

    .buttons{

        justify-content:center;

    }

    .logo img{

        width:55px;

    }

    h1{

        font-size:2.6rem;

    }

}

@media(max-width:480px){

    body{

        font-size:15px;

    }

    h1{

        font-size:2.1rem;

        letter-spacing:-1px;

    }

    h2{

        font-size:1.8rem;

    }

    .btn{

        width:100%;

    }

    .buttons{

        gap:14px;

    }

    .to-top{

        right:20px;

        bottom:20px;

        width:50px;

        height:50px;

    }

}

@media(max-width:900px){

.gallery-grid{

column-count:2;

}

}

@media(max-width:600px){

.gallery-grid{

column-count:1;

}

}