* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 70px;
}

@font-face {
    font-family: IRANSans;
    src: url(fonts/IRANSans.woff2) format('woff2'),
        url(fonts/IRANSans.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: yekan;
    src: url(fonts/IRENYekan.ttf);
}

@font-face {
    font-family: Chronicle;
    src: url(fonts/ChronicleDisplaySemibold.otf);
}

@font-face {
    font-family: Vazir;
    src: url(fonts/Vazir-Bold.ttf);
}

@font-face {
    font-family: Lalezar;
    src: url(fonts/Lalezar-Regular.otf);
}

body {
    line-height: 1.6;
    direction: rtl;
    background-color: #f4f6f9;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #f4f6f9;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
}

.logo {
    width: 200px;
}

.shadow-box {
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.5);
}

.dark-text {
    color: #5e5c5c;
}
.menu-toggle,
.menu-close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

nav {
    background: #f4f6f9;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
}

nav>ul>li {
    float: right;
    padding: 0 20px;
}

.nav-links a {
    padding-top: 0.3rem;
    display: block;
    font-size: 1rem;
    text-align: right;
    margin-left: 0.2rem;
    font-family: yekan, sans-serif;
    text-decoration: none;
    color: #333;
}

nav>ul>li>a:hover {
    color: #ffbc13;
}

.submenu {
    position: absolute;
    width: 300px;
    top: 190%;
    right: 0;
    background: #f4f6f9;
    list-style: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.2);
}

.has-submenu li a {
    display: block;
    color: #4b4b4b;
    text-align: right;
    font-weight: 400;
    font-size: 1em;
    font-family: yekan, sans-serif;
    text-transform: uppercase;
    border-top: 1px solid #d1cece;
    padding: 10px 19px;
    line-height: 24px;
}

.has-submenu li a:hover {
    color: #ffbc13;
}

.nav-links li:hover .submenu {
    max-height: 300px;
}

.submenu li a {
    padding: 0.5rem 1rem;
}
.banner {
    width: 100%;
    height: 100vh;
    background-image: url('images/slide1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-repeat: no-repeat;
}

.banner-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.banner-title{    
    font-size: 6rem;
    font-weight: bold;
    color: #ffbc13;
    font-family: Lalezar;
    text-shadow: 5px 5px 10px black;
}
.center {
    text-align: center;
}
.section-title-new{
    font-size: 3rem;
    font-weight: 400;
    color: #ffbc13;
    font-family: Lalezar;
    text-shadow: 0.02rem 0.02rem 0.02rem black;
    padding-top: 2rem;
    padding-bottom: 2rem;

}
.three-boxes {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    gap: 20px;
    flex-wrap: wrap;
}
.bottom-space {
    margin-bottom: 1rem;
}
.box {
    flex: 1 1 20%;
    min-width: 250px;
    box-sizing: border-box;
}
.icon-box-new{    
    border-radius:0px;
    padding: 2rem;
    border: 0.09rem rgba(0, 0, 0, 0.08) solid;
}
/* Scroll animation */

.h5-title-new{
    font-family: Vazir;
    color: #ffbc13;
    padding-bottom: 1.5rem;
    font-weight: bold;
    text-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.1);
}
.p-text-new{
    font-family: IRANSans;
    font-size: 1rem;
    line-height: 2;
    margin: 0 auto;
    text-shadow: 0.3px 0.3px 0.5px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: -0.1em;
    hyphens: auto;
}
.video-section{
    width: 100%;
    height: 80vh;
    background-image: url('images/video-section-back.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-repeat: no-repeat;
}
.double-boxes {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    gap: 20px;
    flex-wrap: wrap;
}
.double-boxes1 {
    display: flex;
    justify-content: space-between;
    padding: 0 0px;
}
.box-2 {
    flex: 1 1 45%;
    min-width: 250px;
    box-sizing: border-box;
}
.box-3{
    flex: 0 0 20%;
    min-width: 70px;
    box-sizing: border-box;
    text-align: right;
}
.box-4{
    vertical-align: middle;
    flex: 0 0 80%;
    min-width: 100px;
    box-sizing: border-box;
    text-align: right;
}
.dark-back {
    background-color: black;
}

.red-text {
    color: #ffbc13;
}

.section-title {
    font-family: yekan, sans-serif;
    font-weight: bolder;
    font-size: 2rem;
    padding: 3rem;
}
.border-left-white {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.contact{
    color: white;
}
.text-left{
    text-align: left;
}
.padding {
    padding: 2rem;
}
.icon-span {
    color: #ffbc13;
    margin-bottom: 1rem;
}

.map {
    height: 40vh;
    background-image: url('images/map.png');
    background-size: 100%;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: right;
    align-items: center;
    text-align: right;
    background-repeat: no-repeat;
}
.p-copy {
    font-family: yekan, sans-serif;
    font-size: 1.2rem;
    line-height: 2.4;
    margin: 0 auto;
    padding: 20px 16px;
    text-shadow: 0.3px 0.3px 0.5px rgba(0, 0, 0, 0.1);
}/* Floating button */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
}

.floating-btn img {
    width: 100%;
}
/* Modal popup */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.modal-content {
    background: black;
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    max-width: 60%;
    width: 90%;
    text-align: center;
}

.modal-content h3 {
    color: #ffbc13;
    margin-bottom: 10px;
}

.modal-content a {
    text-align: center;
    display: block;
    margin: 8px 0;
    padding: 8px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #ffbc13;
}

.modal-content .close {
    margin-top: 10px;
    cursor: pointer;
    color: #ffbc13;
    ;
}
/* Mobile styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .hide {
        display: none;
    }

    .nav-container {
        position: fixed;
        direction: rtl;
        top: 60px;
        right: -100%;
        width: 90%;
        height: 80%;
        background-color: rgba(255, 255, 255, 0.8);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-container.active {
        right: 0;
    }

    .menu-close {
        display: block;
        text-align: right;
        padding: 1rem;
        color: rgb(0, 0, 0);
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li:hover .submenu {
        max-height: none;
    }

    .submenu {
        position: static;
        max-height: 0;
        transition: max-height 0.3s ease;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.0);
    }

    .has-submenu li a {
        border: none;
    }

    .nav-links .has-submenu>a::before {
        content: " ▼";
        font-size: 0.8rem;
    }

    .nav-links .has-submenu.open .submenu {
        max-height: 500px;
    }
    .banner-title{    
        font-size: 3rem;
    }
    .section-title-new{
        font-size: 2rem;
    }
    .three-boxes {
        flex-direction: column;
    }
    .box {
        margin-bottom: 16px;
    }
    .img-width{
        width: 300px;
    }
    .small-border-white {
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
        border: 1px solid rgb(255, 255, 255, 0.2);
        border-radius: 1rem;
        margin-bottom: 2rem;
    
    }
    .p-copy {
        font-family: yekan, sans-serif;
        font-size: 0.6rem;
        line-height: 2.4;
        margin: 0 auto;
        padding: 20px 16px;
        text-shadow: 0.3px 0.3px 0.5px rgba(0, 0, 0, 0.1);
    }
    .map {
        width: 100%;
        height: 40vh;
    }    

}