body {

    scroll-behavior: smooth;
    margin:0;
    position: relative;
    min-height:100vh;
    font-family: 'Vazirmatn', sans-serif;
    
}
body{
animation:pageIntro 1.2s ease;
}



 
@font-face{
font-family: 'Vazir';
src: url('../fonts/vazir.woff2') format('woff2'),
     url('../fonts/vazir.woff') format('woff');
font-weight: normal;
font-style: normal;
}

body::after{

content:"";
position:fixed;
top:0;
left:0;
width:100%;
height:100%;

pointer-events:none;

animation: moveLights 25s infinite alternate;

}

@keyframes moveLights{

0%{transform:translateY(0);}
100%{transform:translateY(-200px);}

}


@font-face{
font-family: 'Vazir';
src: url('../fonts/vazir.woff2') format('woff2'),
     url('../fonts/vazir.woff') format('woff');
font-weight: normal;
font-style: normal;
}


body::before{
    content:"";
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    filter:blur(8px);
    z-index:-1;
}

.top-header{
    background:white;
    padding: 15px 40px;
    position: relative;
    overflow: hidden;
}

/* .roginteb {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
} */

.roginteb h1{
    font-size:20px;
    color:white;
    background: linear-gradient(90deg,#00c6ff,#0072ff);
    padding:10px 25px;
    border-radius:40px;
    text-align:center;
    /* box-shadow:0 0 15px rgba(0,150,255,.6); */
    animation: fadeUp 1.2s ease;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.logo{
    height:80px;
    transition: all .4s ease;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.4));
}
.logo_1{
    height:60px;
    transition: all .4s ease;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.4));
}

.logo:hover,
.logo_1:hover{
    transform: scale(1.1) rotate(-2deg);
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.9));
}


.logo{
    animation: slideLeft 1s ease forwards;
}

.logo_1{
    animation: slideRight 1s ease forwards;
}
@keyframes slideLeft{
    from{
        opacity:0;
        transform:translateX(-80px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes slideRight{
    from{
        opacity:0;
        transform:translateX(80px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}



.floating-social{
position:fixed;
bottom:110px;
left:25px;
display:flex;
flex-direction:column;
gap:12px;
z-index:9999;
}

.social-btn{
width:40px;
height:40px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
color:white;
text-decoration:none;
box-shadow:0 6px 20px rgba(0,0,0,0.2);
transition:0.3s;
}

.social-btn:hover{
transform:scale(1.1);
}

.whatsapp{
background:#25D366;
}

.instagram{
background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
}





.support-container{
    position: fixed;
    bottom: 30px;
    left: 25px;
    display: flex;
    align-items: center;
    z-index: 9999;
}

.support-btn{
    width:40px;
    height:40px;
    background:linear-gradient(135deg,#f10000,#6366f1);
    border-radius:50%;
    /* #f10000,#6366f1 */
    display:flex;
    align-items:center;
    justify-content:center;
    color:rgb(255, 255, 255);
    font-size:26px;
    cursor:pointer;
    box-shadow:0 8px 25px rgba(0,0,0,0.2);
    transition:0.3s;
}

/* popup box */
.support-box{
    margin-left:12px;
    background:white;
    padding:15px 18px;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
    opacity:0;
    transform:translateX(-20px);
    pointer-events:none;
    transition:0.35s;
    min-width:180px;
}

.support-box p{
    margin:0;
    font-weight:bold;
    margin-bottom:8px;
}

.support-box a{
    display:block;
    text-decoration:none;
    color:#333;
    margin-top:5px;
    font-size:14px;
}



.call-btn{
background:linear-gradient(90deg,#00c6ff,#0072ff);;
color:white;
padding:6px 18px;
border-radius:20px;
margin-left:15px;
font-size:14px;
font-weight:500;
text-decoration:none;
transition:0.3s;
}


.navbar-nav{
align-items:center;
}

.call-btn{
display:inline-flex;
align-items:center;
justify-content:center;
height:32px;
line-height:1;
position:relative;
top:0;
}


.icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.icons a {
    font-size: 28px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.icons a:hover {
    transform: translateY(-4px);
}

.social-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}


.galaxy-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

/* ================= BACKGROUND EFFECTS ================= */

.nav-nebula {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0,255,255,0.08), transparent 40%),
              radial-gradient(circle at 80% 50%, rgba(255,0,255,0.05), transparent 45%);
  filter: blur(40px);
  animation: navNebulaMove 15s ease-in-out infinite alternate;
  z-index: 0;
}



.nav-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.02) 1px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.12;
  z-index: 1;
}

/* ================= CONTENT LAYER ================= */

.nav-content {
  position: relative;
  z-index: 2;
}

/* ================= LINKS ================= */

.nav-link {
  color: #fff !important;
  margin: 0 12px;
  font-size: 15px;
  position: relative;
  transition: 0.3s;
  padding: 6px 0;
}

/* hologram underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00f7ff, #ff00ff);
  transition: 0.4s;
  box-shadow: 0 0 10px rgba(0,247,255,0.5);
}

.nav-link:hover {
  color: #00f7ff !important;
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 100%;
}

/* ================= ACTIVE STATE ================= */

.nav-link.active {
  color: #00f7ff !important;
}

.nav-link.active::after {
  width: 100%;
}

/* ================= BUTTON ================= */

.call-btn {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(0,198,255,0.2);
}

.call-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0,198,255,0.5);
}

/* ================= FLOAT IN ANIMATION ================= */

.nav-advanced .nav-item {
  opacity: 0;
  transform: translateY(-10px);
  animation: navFade 0.6s ease forwards;
}

.nav-advanced .nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-advanced .nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-advanced .nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-advanced .nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-advanced .nav-item:nth-child(5) { animation-delay: 0.5s; }
.nav-advanced .nav-item:nth-child(6) { animation-delay: 0.6s; }



.starfield{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
overflow:hidden;
z-index:-1;
}

.star{
position:absolute;
width:2px;
height:2px;
background:white;
border-radius:50%;
animation: twinkle 3s infinite alternate;
}

@keyframes twinkle{
from{opacity:.2;}
to{opacity:1;}
}


/* HERO */

.hero-section{
position:relative;
}

.hero-section::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;

background:linear-gradient(
to bottom,
rgba(0,0,0,.7),
rgba(0,0,0,.6),
rgba(0,0,0,.8)
);

z-index:1;
}
.hero-text{
position:relative;
z-index:2;
}

.news-hero{
width:100%;
height:600px;
overflow:hidden;
position:relative;
}

.hero-slider{
position:relative;
height:100%;
}

.hero-slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:1s;
}

.hero-slide.active{
opacity:1;
}

.hero-slide img{
width:100%;
height:100%;
object-fit:cover;
}

.hero-text{
position:absolute;
bottom:80px;
left:10%;
color:white;
}
.hero-text h1{

font-size:60px;

text-shadow:
0 0 10px white,
0 0 20px white,
0 0 40px rgba(255,255,255,0.6);

animation:heroGlow 3s infinite alternate;

}
@keyframes heroGlow{

from{
text-shadow:
0 0 10px white,
0 0 20px white;
}

to{
text-shadow:
0 0 20px white,
0 0 40px rgba(255,255,255,0.7),
0 0 80px rgba(255,255,255,0.5);
}

}

/* @keyframes heroGlow{

from{
text-shadow:
0 0 10px #00d9ff,
0 0 20px #00d9ff;
}

to{
text-shadow:
0 0 20px #00d9ff,
0 0 40px #00d9ff,
0 0 80px #00d9ff;
}

} */

@keyframes glow{

from{
text-shadow:
0 0 10px #00d9ff,
0 0 20px #00d9ff;
}

to{
text-shadow:
0 0 20px #00d9ff,
0 0 40px #00d9ff,
0 0 80px #00d9ff;
}

}
.hero-text p{
font-size:20px;
}


/* NEWS LIST */

.news-container{
max-width:1200px;
margin:auto;
padding:80px 20px;
display:flex;
flex-direction:column;
gap:40px;
}
.news-card{

display:flex;
background:rgba(255,255,255,0.05);
backdrop-filter:blur(10px);
border-radius:18px;
overflow:hidden;

border:1px solid rgba(255,255,255,0.1);

transition:all .4s ease;

}
.news-card{

animation:cardFloat 6s ease-in-out infinite;

}

@keyframes cardFloat{

0%{transform:translateY(0)}
50%{transform:translateY(-6px)}
100%{transform:translateY(0)}

}

.news-card:hover{

transform:translateY(-12px) scale(1.03);

box-shadow:
0 0 20px rgba(255,255,255,.4),
0 0 40px rgba(255,255,255,.2);

}

.news-card img{

width:380px;
object-fit:cover;
transition:transform .6s ease;

}

.news-card:hover img{

transform:scale(1.1);

}

.news-card:hover img{
transform:scale(1.1);
}

.news-content{
padding:40px;
display:flex;
flex-direction:column;
justify-content:center;
}

.news-date{
color:#999;
font-size:14px;
margin-bottom:10px;
}

.news-content h3{
font-size:24px;
}


/* CUSTOM SECTION */

.custom-section{
background:#111;
color:white;
padding:100px 20px;
text-align:center;
}

.custom-section h2{
font-size:40px;
margin-bottom:20px;
}

.custom-section p{
max-width:700px;
margin:auto;
font-size:18px;
line-height:1.7;
}





body{
background:#05070d;
color:white;
overflow-x:hidden;

}

/* STARFIELD */
.starfield{
overflow:hidden;
}

.starfield{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:-1;
background:transparent;
}

.star{
width:3px;
height:3px;
background:white;
border-radius:50%;
opacity:.8;
}

@keyframes twinkle{
0%{opacity:.2;}
50%{opacity:1;}
100%{opacity:.2;}
}


footer{
font-family:'Vazirmatn', sans-serif !important;
}



.galaxy-footer {
  position: relative;
  background: #000;
  overflow: hidden;
  color: white;
  padding: 80px 40px 30px;
  font-family: Arial, sans-serif;
}

/* ================= NEBULA ================= */
.nebula {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0,255,255,0.08), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(255,0,255,0.06), transparent 45%);
  filter: blur(60px);
  animation: nebulaMove 18s ease-in-out infinite alternate;
  z-index: 0;
}


/* ================= STARS ================= */
.stars::before,
.stars2::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.2;
  animation: moveStars 80s linear infinite;
}

.stars2::before {
  opacity: 0.12;
  animation-duration: 140s;
}



/* ================= SCANLINE ================= */
.scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.02) 1px,
    transparent 3px,
    transparent 6px
  );
  opacity: 0.15;
  z-index: 1;
}

/* ================= RINGS ================= */
.ring {
  position: absolute;
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 50%;
  animation: rotate 25s linear infinite;
  z-index: 0;
}

.ring1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
}

.ring2 {
  width: 600px;
  height: 600px;
  bottom: -200px;
  right: -200px;
  animation-duration: 40s;
}

.ring3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 60%;
  animation-duration: 18s;
}

/* ================= CONTENT ================= */
.footer-glass {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-left, .footer-links, .footer-social {
  min-width: 200px;
}

.brand {
  font-size: 28px;
  color: #00f7ff;
  text-shadow: 0 0 15px rgba(0,247,255,0.6);
}

/* ================= LINKS ================= */
.footer-links a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin: 6px 0;
  transition: 0.3s;
  position: relative;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: -10px;
  width: 0;
  height: 100%;
  background: rgba(0,255,255,0.1);
  transition: 0.3s;
}

.footer-links a:hover {
  color: #00f7ff;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  width: 100%;
}

/* ================= SOCIAL ================= */
.icons span {
  display: inline-block;
  font-size: 20px;
  margin: 6px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  transition: 0.3s;
  cursor: pointer;
}

.icons span:hover {
  background: rgba(0,247,255,0.2);
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(0,247,255,0.5);
}

/* ================= BOTTOM ================= */
.bottom {
  text-align: center;
  margin-top: 50px;
  font-size: 12px;
  color: #555;
}

/* ================= REVEAL ON SCROLL ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* ================= PAGE SWITCHER ================= */

.page-switcher{
display:flex;
justify-content:center;
gap:20px;
padding:35px 20px;
flex-wrap:wrap;
}

.switch-btn{

background:rgba(255,255,255,0.08);
border:1px solid rgba(255,255,255,0.15);
color:white;
padding:14px 35px;
border-radius:50px;

font-size:18px;
font-weight:600;

backdrop-filter:blur(12px);

transition:.4s;
cursor:pointer;

box-shadow:
0 0 20px rgba(255,255,255,0.05);

}

.switch-btn:hover{

transform:translateY(-5px);

background:linear-gradient(
90deg,
#00c6ff,
#0072ff
);

box-shadow:
0 0 25px rgba(0,198,255,.5);

}

.switch-btn.active{

background:linear-gradient(
90deg,
#00c6ff,
#0072ff
);

box-shadow:
0 0 30px rgba(0,198,255,.5);

}

/* ================= PAGE CONTENT ================= */

.page-content{
display:none;
animation:fadePage .7s ease;
}

.active-page{
display:block;
}

@keyframes fadePage{

from{
opacity:0;
transform:translateY(20px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* ================= LEARNING PAGE ================= */

.learn-hero{

text-align:center;
padding:100px 20px 60px;

}

.learn-hero h1{

font-size:55px;

margin-bottom:20px;

text-shadow:
0 0 15px white,
0 0 35px rgba(255,255,255,.4);

}

.learn-hero p{

font-size:20px;
color:#bbb;

}

/* ================= VIDEO SECTION ================= */

.video-container{

max-width:1300px;
margin:auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(350px,1fr));

gap:35px;

padding:40px 20px 100px;

}

.video-card{

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.1);

border-radius:25px;

overflow:hidden;

backdrop-filter:blur(15px);

transition:.4s;

}

.video-card:hover{

transform:translateY(-10px) scale(1.02);

box-shadow:
0 0 30px rgba(255,255,255,.15);

}

.video-card iframe{

width:100%;
height:250px;
border:none;

}

.video-content{

padding:25px;

}

.video-content h3{

font-size:24px;
margin-bottom:12px;

}

.video-content p{

color:#aaa;
line-height:1.8;

}

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

@media(max-width:768px){

.learn-hero h1{
font-size:38px;
}

.switch-btn{
width:100%;
}

.video-card iframe{
height:220px;
}

}



/* ANIMATION MOVEMENT */
@keyframes moveStars {
  from { transform: translate(0,0); }
  to { transform: translate(-800px,-600px); }
}


@keyframes fadeUp{
from{opacity:0; transform:translateY(40px);}
to{opacity:1; transform:translateY(0);}
}

@keyframes fadeRight{
from{opacity:0; transform:translateX(40px);}
to{opacity:1; transform:translateX(0);}
}


@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes moveStars {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes nebulaMove {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.2) translateY(-40px); }
}

@keyframes fadeIn{
from{opacity:0;}
to{opacity:1;}
}

@keyframes slideUp{
from{transform:translateY(50px); opacity:0;}
to{transform:translateY(0); opacity:1;}
}

@keyframes pop{
from{
transform:scale(0.7);
opacity:0;
}
to{
transform:scale(1);
opacity:1;
}
}


@keyframes navFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navNebulaMove {
  from { transform: translateX(0px) scale(1); }
  to { transform: translateX(40px) scale(1.1); }
}


@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}



@keyframes nebulaMove {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.2) translateY(-40px); }
}



@keyframes zoomEffect{
0%{
transform:scale(1.1);
}
100%{
transform:scale(1);
}
}


/* TEXT SLIDE ANIMATION */

@keyframes titleSlide{
0%{
opacity:0;
transform:translateX(-80px);
}

100%{
opacity:1;
transform:translateX(0);
}
}

@keyframes moveParticles{
0%{background-position:0 0;}
100%{background-position:1000px 500px;}
}

@keyframes pageIntro{
0%{
opacity:0;
transform:translateY(30px);
}

100%{
opacity:1;
transform:translateY(0);
}
}












@keyframes textReveal{
to{
transform:translateY(0);
}
}

@keyframes fadeUp{
0%{
opacity:0;
transform:translateY(30px);
}
100%{
opacity:1;
transform:translateY(0);
}
}