@font-face{
    font-family: "Vazir";
    src: url("../fonts/Vazir.eot");

    src: url("../fonts/Vazir.eot?#iefix") format('embedded-opentype'),
    url("../fonts/Vazir.woff2") format("woff2"),
    url("../fonts/Vazir.woff")format("woff") ,
    url("../fonts/Vazir.ttf") format("truetype");
}
/* تمام لینک‌ها هنگام هاور سفید می‌شوند */
a:hover {
  color: white !important;
  text-decoration: none; /* اگر می‌خوای زیرخط هم نداشته باشد */
}

/* فونت */
body {
    font-family:'Vazir', sans-serif;
    margin:0;
    padding:0;
    background:#fff8f0;
    overflow-x:hidden;
     /* background: url('./img/istockphoto-1097537908-612x612.jpg') center/cover no-repeat; */
}
/* ویدیو پس‌زمینه کل body */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
  }
  
  .video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .video-bg .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); /* شفافیت برای خوانایی متن */
  }

/* Navbar */
.bgnav{
    background-color: rgb(179, 40, 40);
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.navbar a{
    color:white;
    font-weight:600;
}
.navbar a:hover{
    background-color: rgba(255,255,255,0.2);
    border-radius:5px;
}
.navbar-brand{
    font-family:'Poppins', sans-serif;
    font-weight:700;
}
.nav-link.active{
    background-color: rgba(255,255,255,0.6);
    color:black !important;
    border-radius:5px;
}

/* Hero Section */
.hero{
    position:relative;
   
    height:90vh;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align:center;
    color:white;
}
.hero::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,0.5); /* لایه شفاف */
}
.hero h1{
    font-family:'Poppins',sans-serif;
    font-size:52px;
    font-weight:700;
    z-index:1;
    position:relative;
    animation: floatText 6s ease-in-out infinite;
}
.hero p{
    font-size:26px;
    margin-top:15px;
    z-index:1;
    position:relative;
    animation: floatText 8s ease-in-out infinite alternate;
}
.hero .btn{
    margin-top:25px;
    font-size:22px;
    padding:15px 35px;
    border-radius:50px;
    animation: pulseBtn 2s infinite;
    transition: all 0.3s ease;
    z-index:1;
    position:relative;
}
.hero .btn:hover{
    transform: scale(1.15);
    box-shadow:0 0 20px rgba(205,13,13,0.8);
}
@keyframes floatText{
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}
@keyframes pulseBtn{
    0% { transform: scale(1); box-shadow:0 0 10px #ff6767; }
    50% { transform: scale(1.1); box-shadow:0 0 25px #ff6767; }
    100% { transform: scale(1); box-shadow:0 0 10px #ff6767; }
}

/* Features Section */
.features{
    padding:60px 20px;
    text-align:center;
    background-color:#b8414169;
}
.features h2{
    font-family:'Poppins', sans-serif;
    margin-bottom:50px;
    font-weight:700;
}
.feature-box{
    padding:25px;
    margin:15px;
    background-color:white;
    border-radius:15px;
    box-shadow:0 6px 15px rgba(0,0,0,0.15);
    transition: transform 0.5s;
    animation: floatIcon 4s ease-in-out infinite;
}
.feature-box:hover{
    transform: translateY(-15px) rotate(-1deg);
}
.feature-box i{
    font-size:55px;
    color:#b82d2d;
    margin-bottom:15px;
}
@keyframes floatIcon{
    0% { transform: translateY(0px); }
    25% { transform: translateY(-15px); }
    50% { transform: translateY(0px); }
    75% { transform: translateY(15px); }
    100% { transform: translateY(0px); }
}

/* Footer */
footer{
    background-color:#b32d2d;
    color:white;
    padding:30px 20px;
    text-align:center;
}
footer a{
    color:white;
    text-decoration:none;
}
footer a:hover{
    text-decoration:underline;
}
