﻿@font-face {
    font-family: 'IranSans';
    src: url('../font/iransans.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Recommended for better UX */
}

html {

    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
        font-family: 'IranSans';
  margin-bottom: 60px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    padding-bottom: 150px; /* فضای لازم برای Fixed bottom */
}




body {
    background-color: #f9f9f9;
    scroll-behavior: smooth;
}

.section {
    padding: 80px 0;
}

.feature-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 30px;
    transition: transform 0.3s ease-in-out;
}

    .feature-box:hover {
        transform: translateY(-10px);
    }

.cta {
    background: linear-gradient(to right, #4e54c8, #8f94fb);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-in-out;
}

    .fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }

img.icon {
    max-width: 80px;
    margin-bottom: 20px;
}


.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.glass-box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    max-width: 90%;
    width: 100%;
    margin: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* تنظیمات موبایل */
@media (max-width: 768px) {
    .hero-carousel img {
        height: 300px !important;
    }

    .glass-box {
        background: rgba(0, 0, 0, 0.4);
        color: white;
        padding: 15px;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 1rem;
    }
}

footer {
    font-size: 0.95rem;
}

.cert-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .cert-img:hover {
        transform: scale(1.1);
    }

.modal-content {
    background-color: transparent !important;
}



.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.video-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

    .video-overlay i {
        font-size: 4rem;
        color: white;
    }