/*====================================================
    RESPONSIVE CSS - PART 1
    Reset + Header + Hero
====================================================*/

:root{

    --bg:#06131c;
    --bg2:#081d2d;

    --primary:#29b6f6;
    --secondary:#00e5ff;

    --white:#fff;
    --text:#d7e6ef;

    --glass:rgba(255,255,255,.08);
    --border:rgba(255,255,255,.12);

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;
    font-size:16px;

}

body{

    font-family:'Vazirmatn',sans-serif;
    background:var(--bg);
    color:#fff;
    overflow-x:hidden;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

}

.container{

    width:min(1320px,92%);
    margin:auto;

}

/*=========================================
HEADER
=========================================*/

header{

    position:fixed;

    top:0;
    left:0;
    right:0;

    z-index:999;

    backdrop-filter:blur(25px);

    background:rgba(6,19,28,.35);

    border-bottom:1px solid rgba(255,255,255,.05);

    padding:20px 0;

}

header .container{

    display:flex;
    justify-content:space-between;
    align-items:center;

}

.logo{

    display:flex;
    align-items:center;
    gap:15px;

    font-size:1.25rem;
    font-weight:800;

}

.logo i{

    width:58px;
    height:58px;

    border-radius:18px;

    display:grid;
    place-items:center;

    background:linear-gradient(135deg,#00b4ff,#006eff);

    box-shadow:0 15px 40px rgba(0,170,255,.35);

}

/*=========================================
MENU
=========================================*/

nav{

    display:flex;
    align-items:center;
    gap:35px;

}

nav a{

    color:#fff;

    font-size:.95rem;

    position:relative;

    transition:.35s;

}

nav a::after{

    content:"";

    position:absolute;

    bottom:-8px;
    right:0;

    width:0;
    height:2px;

    background:#00d4ff;

    transition:.35s;

}

nav a:hover{

    color:#6fdfff;

}

nav a:hover::after{

    width:100%;

}

/*=========================================
HERO
=========================================*/

.hero{

    min-height:100vh;

    display:flex;
    align-items:center;

    padding-top:130px;
    padding-bottom:70px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1.05fr .95fr;

    gap:80px;

    align-items:center;

}

.tag{

    display:inline-flex;

    align-items:center;
    gap:10px;

    padding:14px 25px;

    border-radius:100px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(20px);

    margin-bottom:35px;

}

.hero h1{

    font-size:clamp(2.4rem,6vw,5rem);

    line-height:1.1;

    font-weight:900;

    margin-bottom:30px;

    letter-spacing:-2px;

}

.hero p{

    font-size:clamp(1rem,2vw,1.15rem);

    color:var(--text);

    line-height:2;

    max-width:650px;

    margin-bottom:45px;

}

/*=========================================
BUTTONS
=========================================*/

.hero-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

}

.btn-primary,
.btn-secondary{

    padding:18px 38px;

    border-radius:18px;

    font-weight:700;

    transition:.4s;

}

.btn-primary{

    color:#fff;

    background:linear-gradient(135deg,#00b4ff,#006eff);

    box-shadow:0 20px 50px rgba(0,132,255,.35);

}

.btn-primary:hover{

    transform:translateY(-6px);

}

.btn-secondary{

    color:#fff;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(20px);

}

.btn-secondary:hover{

    background:rgba(255,255,255,.12);

    transform:translateY(-6px);

}

/*=========================================
LAPTOP
=========================================*/

@media (max-width:1200px){

    .hero-grid{

        grid-template-columns:1fr;

        gap:60px;

    }

    .hero{

        text-align:center;

    }

    .hero p{

        margin-inline:auto;

    }

    .hero-buttons{

        justify-content:center;

    }

}

/*=========================================
TABLET
=========================================*/

@media (max-width:992px){

    nav{

        gap:20px;

    }

    .logo{

        font-size:1.1rem;

    }

    .logo i{

        width:50px;
        height:50px;

    }

}

/*=========================================
MOBILE
=========================================*/

@media (max-width:768px){

    header{

        padding:15px 0;

    }

    header .container{

        flex-direction:column;

        gap:20px;

    }

    nav{

        flex-wrap:wrap;

        justify-content:center;

        gap:15px;

    }

    .hero{

        padding-top:170px;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

    .btn-primary,
    .btn-secondary{

        width:100%;

        max-width:320px;

        text-align:center;

    }

}

/*=========================================
SMALL MOBILE
=========================================*/

@media (max-width:480px){

    .container{

        width:94%;

    }

    .hero h1{

        line-height:1.25;

    }

    .tag{

        font-size:.8rem;

        padding:10px 18px;

    }

}/*====================================================
    RESPONSIVE CSS - PART 2
    Hero Gallery
====================================================*/

.hero-right{

    display:flex;
    justify-content:center;
    align-items:center;

    position:relative;

    width:100%;

    min-height:700px;

}

/* Glow */

.hero-right::before{

    content:"";

    position:absolute;

    width:min(700px,80vw);
    height:min(700px,80vw);

    border-radius:50%;

    background:
            radial-gradient(circle,
            rgba(0,190,255,.18),
            transparent 70%);

    filter:blur(90px);

    animation:rotateGlow 18s linear infinite;

}

@keyframes rotateGlow{

    100%{

        transform:rotate(360deg);

    }

}

/*==============================
Gallery
==============================*/

.gallery{

    width:100%;
    max-width:620px;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    grid-auto-rows:220px;

    gap:22px;

    position:relative;

    z-index:2;

}

/*==============================
Cards
==============================*/

.card{

    position:relative;

    overflow:hidden;

    border-radius:30px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    backdrop-filter:blur(25px);

    transition:.45s;

    cursor:pointer;

    box-shadow:

            0 20px 50px rgba(0,0,0,.35);

}

/* Large */

.large{

    grid-column:1/3;

    grid-row:span 2;

}

/*==============================
Image
==============================*/

.card img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:1s;

}

/* Overlay */

.card::after{

    content:"";

    position:absolute;

    inset:0;

    background:

            linear-gradient(

                    transparent,

                    rgba(0,0,0,.35)

            );

}

/* Border */

.card::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:30px;

    padding:1px;

    background:

            linear-gradient(

                    135deg,

                    rgba(255,255,255,.35),

                    rgba(0,180,255,.35),

                    transparent);

    -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);

    -webkit-mask-composite:xor;

    pointer-events:none;

}

/*==============================
Title
==============================*/

.card h3{

    position:absolute;

    right:20px;
    bottom:42px;

    z-index:3;

    font-size:1.25rem;

}

.card p{

    position:absolute;

    right:20px;
    bottom:18px;

    font-size:.85rem;

    color:#ddd;

    z-index:3;

}

/*==============================
Hover
==============================*/

.card:hover{

    transform:

            translateY(-10px)
            scale(1.02);

    box-shadow:

            0 30px 80px rgba(0,0,0,.45),

            0 0 50px rgba(0,190,255,.25);

}

.card:hover img{

    transform:scale(1.12);

}

/*==============================
Animation
==============================*/

.large{

    animation:float1 7s ease-in-out infinite;

}

.one{

    animation:float2 8s ease-in-out infinite;

}

.two{

    animation:float3 9s ease-in-out infinite;

}

.three{

    animation:float4 10s ease-in-out infinite;

}

@keyframes float1{

    50%{

        transform:translateY(-16px);

    }

}

@keyframes float2{

    50%{

        transform:translateY(-20px);

    }

}

@keyframes float3{

    50%{

        transform:translateY(-12px);

    }

}

@keyframes float4{

    50%{

        transform:translateY(-18px);

    }

}

/*==================================================
Laptop
==================================================*/

@media(max-width:1200px){

    .gallery{

        max-width:540px;

        grid-auto-rows:200px;

    }

}

/*==================================================
Tablet
==================================================*/

@media(max-width:992px){

    .hero-right{

        min-height:auto;

        padding-top:30px;

    }

    .gallery{

        max-width:100%;

    }

}

/*==================================================
Mobile
==================================================*/

@media(max-width:768px){

    .gallery{

        display:flex;

        flex-direction:column;

        gap:20px;

    }

    .large{

        grid-column:auto;

        grid-row:auto;

    }

    .card{

        height:260px;

    }

    .card h3{

        font-size:1rem;

    }

}

/*==================================================
Small Mobile
==================================================*/

@media(max-width:480px){

    .card{

        height:220px;

        border-radius:22px;

    }

    .card h3{

        right:15px;

        bottom:35px;

        font-size:.95rem;

    }

    .card p{

        right:15px;

        font-size:.75rem;

    }

}
/*====================================================
    RESPONSIVE CSS - PART 3
    Register Section
====================================================*/

#register{

    position:relative;

    padding:120px 0;

    overflow:hidden;

    background:
            linear-gradient(180deg,#04131d,#071d2e);

}

/*=========================
Background Glow
=========================*/

#register::before{

    content:"";

    position:absolute;

    width:650px;
    height:650px;

    right:-250px;
    top:-250px;

    border-radius:50%;

    background:
            radial-gradient(circle,
            rgba(0,190,255,.18),
            transparent 70%);

    filter:blur(90px);

}

#register::after{

    content:"";

    position:absolute;

    width:450px;
    height:450px;

    left:-180px;
    bottom:-180px;

    border-radius:50%;

    background:
            radial-gradient(circle,
            rgba(0,90,255,.15),
            transparent 70%);

    filter:blur(80px);

}

/*=========================
Card
=========================*/

.register-card{

    position:relative;

    width:min(760px,100%);

    margin:auto;

    padding:60px;

    border-radius:35px;

    background:rgba(255,255,255,.07);

    border:1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(30px);

    box-shadow:
            0 35px 90px rgba(0,0,0,.45);

    z-index:2;

}

/*=========================
Title
=========================*/

.title{

    text-align:center;

    margin-bottom:40px;

}

.title h2{

    font-size:clamp(2rem,4vw,2.8rem);

    margin-bottom:15px;

    font-weight:900;

}

.title p{

    color:#bdd9e7;

    line-height:2;

}

/*=========================
Grid
=========================*/

.double{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

/*=========================
Fields
=========================*/

.field{

    position:relative;

    margin-bottom:20px;

}

.field i{

    position:absolute;

    right:20px;

    top:22px;

    color:#3acbff;

    z-index:2;

}

.field input,
.field select,
.field textarea{

    width:100%;

    border:none;

    outline:none;

    font-family:inherit;

    font-size:15px;

    color:#fff;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:18px 55px 18px 18px;

    transition:.35s;

}

.field input,
.field select{

    height:62px;

}

.field textarea{

    min-height:180px;

    resize:vertical;

}

.field input::placeholder,
.field textarea::placeholder{

    color:#bfd6e6;

}

.field input:focus,
.field select:focus,
.field textarea:focus{

    border-color:#00b8ff;

    box-shadow:
            0 0 0 3px rgba(0,190,255,.15);

}

/*=========================
Button
=========================*/

button{

    width:100%;

    height:64px;

    border:none;

    border-radius:18px;

    font-family:inherit;

    font-size:18px;

    font-weight:700;

    color:#fff;

    cursor:pointer;

    background:
            linear-gradient(
                    135deg,
                    #00b7ff,
                    #0072ff);

    transition:.35s;

    box-shadow:
            0 20px 40px rgba(0,132,255,.35);

}

button:hover{

    transform:translateY(-5px);

    box-shadow:
            0 30px 60px rgba(0,132,255,.45);

}

/*=========================
Tablet
=========================*/

@media(max-width:992px){

    .register-card{

        padding:40px;

    }

}

/*=========================
Mobile
=========================*/

@media(max-width:768px){

    #register{

        padding:80px 0;

    }

    .register-card{

        padding:25px;

        border-radius:25px;

    }

    .double{

        grid-template-columns:1fr;

    }

    .field input,
    .field select{

        height:56px;

    }

    button{

        height:58px;

        font-size:16px;

    }

}

/*=========================
Small Mobile
=========================*/

@media(max-width:480px){

    .register-card{

        padding:20px;

    }

    .title h2{

        font-size:1.7rem;

    }

    .field input,
    .field select,
    .field textarea{

        padding-right:48px;

        font-size:14px;

    }

}
/*====================================================
    RESPONSIVE CSS - PART 4
    Global Responsive
====================================================*/

/*=========================
1400px
=========================*/

@media (max-width:1400px){

    .container{

        width:min(1200px,92%);

    }

    .hero{

        padding-top:140px;

    }

    .hero-grid{

        gap:60px;

    }

}

/*=========================
1200px
=========================*/

@media (max-width:1200px){

    section{

        padding:90px 0;

    }

    .container{

        width:94%;

    }

    .hero-grid{

        grid-template-columns:1fr;

        text-align:center;

        gap:60px;

    }

    .hero p{

        margin:auto;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-right{

        order:2;

    }

}

/*=========================
992px
=========================*/

@media (max-width:992px){

    h1{

        font-size:clamp(2.5rem,6vw,4rem);

    }

    h2{

        font-size:clamp(2rem,5vw,3rem);

    }

    .container{

        width:95%;

    }

    nav{

        gap:18px;

    }

    nav a{

        font-size:14px;

    }

    .hero{

        min-height:auto;

        padding-top:150px;

        padding-bottom:80px;

    }

}

/*=========================
768px
=========================*/

@media (max-width:768px){

    html{

        font-size:15px;

    }

    header{

        padding:15px 0;

    }

    header .container{

        flex-direction:column;

        gap:20px;

    }

    nav{

        flex-wrap:wrap;

        justify-content:center;

        gap:15px;

    }

    .hero{

        padding-top:170px;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

    .btn-primary,
    .btn-secondary{

        width:100%;

        max-width:320px;

    }

    img{

        max-width:100%;

        height:auto;

    }

}

/*=========================
576px
=========================*/

@media (max-width:576px){

    section{

        padding:70px 0;

    }

    .container{

        width:94%;

    }

    .hero h1{

        line-height:1.3;

    }

    .hero p{

        line-height:1.9;

    }

    .title h2{

        line-height:1.4;

    }

    .btn-primary,
    .btn-secondary{

        padding:16px 20px;

        font-size:15px;

    }

}

/*=========================
420px
=========================*/

@media (max-width:420px){

    html{

        font-size:14px;

    }

    .container{

        width:95%;

    }

    h1{

        font-size:2rem;

    }

    h2{

        font-size:1.7rem;

    }

    h3{

        font-size:1.15rem;

    }

    p{

        font-size:.95rem;

    }

    .logo{

        font-size:1rem;

    }

    .logo i{

        width:45px;

        height:45px;

    }

}

/*=========================
360px
=========================*/

@media (max-width:360px){

    .container{

        width:96%;

    }

    .hero{

        padding-top:180px;

    }

    .btn-primary,
    .btn-secondary{

        font-size:14px;

    }

}

/*====================================================
    GLOBAL RESPONSIVE IMAGES
====================================================*/

img{

    max-width:100%;

    height:auto;

}

video{

    max-width:100%;

    height:auto;

}

iframe{

    max-width:100%;

}

/*====================================================
    FLEX FIX
====================================================*/

.row,
.flex{

    display:flex;

    flex-wrap:wrap;

}

.col{

    flex:1 1 300px;

}

/*====================================================
    GRID FIX
====================================================*/

.grid{

    display:grid;

    gap:25px;

}

/*====================================================
    PREVENT OVERFLOW
====================================================*/

body{

    overflow-x:hidden;

}

section{

    overflow:hidden;

}

*{

    word-wrap:break-word;

}

/*====================================================
    SMOOTH TRANSITION
====================================================*/

button,
a,
.card,
input,
textarea,
select{

    transition:.35s;

}
