@font-face {
    font-family: 'Yekan';
    src: url('../WebFonts/B_Yekan/Yekan.ttf');
}

@font-face {
    font-family: 'Vazir';
    src: url('../WebFonts/Vazir/Vazirmatn-Medium.woff2');
}

@font-face {
    font-family: 'Vazir Light';
    src: url('../WebFonts/Vazir/Vazirmatn-Light.woff2');
}

* {
    font-family: 'Vazir';
}

html,
body {
    overflow-x: hidden !important;
}

/* NavBar Styling */
.navbar-container {
    background-image: url('../../../media/logo/3/afzoneha_topmenunav.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.navbar {
    height: 125px;
    background-image: url('../../../media/logo/3/afzoneha.com_headeroverlay (1).png');
    background-position: top;
    background-repeat: repeat;
}

.desktopNav-logo {
    margin-top: 15px;
    margin-left: 200px;
}


.navbar-content {
    margin-top: 25px;
}

.nav-links {
    font-family: "Vazir Light" !important;
    font-weight: 100;
    gap: 30px;
}

.nav-links a {
    font-size: 13px;
    color: #777777;
}

.top-links-wrapper {
    display: flex;
}

.top-links a {
    font-family: "Vazir Light" !important;
    color: white;
    font-weight: 100;
    font-size: 13px;
}

.top-links {
    display: flex;
    gap: 35px;
    align-items: center;
    margin-top: 15px;
}

.top-nav-links {
    margin-left: 525px;
}



/* Mobile NavBar Styling */
.navbar-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #284498;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative;
    overflow: hidden;
}

.navbar-mobile::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

#navbarMobileVideoBackground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.nav-logo img {
    width: 150px;
    position: relative;
    z-index: 1;
}

.nav-links {
    color: white;
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    list-style: none;
    text-decoration: none;
    color: #444444;
    font-weight: bold;
    font-weight: 400;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: #ffffff;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li .highlight-btn {
    background-color: #ffffff;
    color: #284498;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links li .highlight-btn:hover {
    background-color: #e0eAFC;
    transform: translateY(-2px);
    color: #1f357a;
}

.nav-links li .highlight-btn:hover::after {
    width: 0;
}

.nav-search {
    display: flex;
    align-items: center;
}

.nav-search .search-container {
    display: flex;
    align-items: center;
    background-color: #1f357a;
    border-radius: 25px;
    padding: 0.3rem 0.5rem;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-search .search-container:focus-within {
    border-color: #ffffff;
}

.nav-search input {
    border: none;
    outline: none;
    background: transparent;
    padding: 0.4rem;
    font-family: 'Vazirmatn', sans-serif;
    color: #ffffff;
    width: 120px;
    transition: width 0.3s ease-in-out;
}

.nav-search input::placeholder {
    color: #a9b7d8
}

.nav-search input:focus {
    width: 180px;
}

.nav-search button {
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
}

.nav-search svg {
    width: 18px;
    height: 18px;
    fill: #e0eAFC;
}

.hamburger {
    display: none;

    flex-direction: column;
    cursor: pointer;
    gap: 5px;

    z-index: 1003;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;

    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

#nav-toggle {
    display: none;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1001;

}

.search-mobile-btn {
    font-size: 20px;
    color: #113b63;
    cursor: pointer;
    z-index: 1;
    position: relative;
}

.mobile-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 59, 99, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.mobile-search-modal.active {
    display: flex;
    opacity: 1;
}

.mobile-search-content {
    width: 90%;
    max-width: 420px;
    padding: 25px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    transform: scale(0.85);
    transition: transform 0.3s ease-in-out;
}

.mobile-search-modal.active .mobile-search-content {
    transform: scale(1);
}

.close-mobile-search {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-mobile-search:hover {
    color: #ffc107;
}

.mobile-search-modal .form-control1 {
    width: 85%;
    border-radius: 5px;
    height: 48px;
    font-size: 15px;
    border: none;
    outline: none;
    text-align: right;
    padding-right: 10px;
}

.mobile-search-modal .btn-primary {
    width: 15%;
    background-color: #ffc107;
    border-color: #ffc107;
    color: #113b63;
    border-radius: 5px;
    font-size: 18px;
    height: 48px;
    transition: all 0.2s ease;
}

.mobile-search-modal .btn-primary:hover {
    background-color: #e0ac00;
    border-color: #e0ac00;
}

@media (max-width: 768px) {
    .mobile-search-content {
        padding: 20px;
        max-width: 360px;
    }

    .mobile-search-content h4 {
        font-size: 18px;
    }

    .mobile-search-modal .form-control1 {
        font-size: 14px;
        height: 48px;
    }
}


/* Fresh News Styling */
.fresh-news-badge {
    width: 130px;
    height: 35px;
    background-color: #284498;
    border-radius: 7px;
    flex-shrink: 0;
}

.fresh-news-badge p {
    text-align: center;
    font-size: 13px;
    font-weight: lighter;
    color: white;
    padding-top: 9px;
}

.fresh-news-text {
    height: 35px;
    width: 100%;
    border-radius: 7px;
    background-color: #eeeeee;
    position: relative;
    left: 2px;
    z-index: -1;
}

.fresh-news-text p {
    font-size: 13px;
    padding: 8px 27px 0 0;
}



/* Top Banner Slider Styling */

.slider-main-container {
    padding: 0 13px;
}

.top-banner-slider {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.top-banner-slider .item {
    height: 395px;
}

.top-banner-slider .item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 10px;
}

.overlay-container {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    height: auto;
    position: absolute;
    bottom: 0;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
}

.overlay-container h2 {
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 15px;
    text-align: start;
}



/* Blogs Styling */
.blog-cards-row {
    max-width: 1450px;
    margin: 0 auto;
}

.blog-cards-row .row .col-12 {
    padding: 2px;
}

.card-custom-shadow {
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    cursor: pointer;
}

.card-custom-shadow:hover {
    transform: translateY(-5px);
}

.card-image-custom {
    border-radius: 5px;
    height: 165px;
    object-fit: cover;
}

.card-title-custom {
    font-size: 14px;
    font-weight: bold;
    color: #013D9D;
    line-height: 1.6;
}

.card-body {
    text-align: justify;
    height: auto;
}



/* Header Text Styling */
.headerText-section-wrapper {
    padding: 16px;
    border-radius: 12px;
    display: flex;
    color: white;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.best-sellers-box {
    border: 1px solid #013d9d;
    background-color: #013d9d;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: none;
    padding: 8px 16px;
    font-size: 1.125rem;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

.separator-horizontal,
.separator-horizontal-2,
.separator-horizontal-3 {
    position: relative;
    right: -1px;
    top: 21px;
    border-radius: 5px;
    flex-grow: 1;
    height: 2px;
    background-color: #013d9d;
    margin-right: 0;
    margin-left: 0;
    min-width: 50px;
}

.separator-horizontal-2,
.separator-horizontal-3 {
    top: 19px;
}



/* News Cards Styling  */
.news-card-item {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
    height: 100%;
}

.news-card img {
    width: 190px;
    height: 145px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.news-card {
    padding: 5px;
}

.news-texts-container {
    padding-right: 15px;
    flex: 1;
    min-width: 0;
}

.news-header {
    color: #013d9d;
    font-weight: bold;
    font-size: 16px;
}

.news-par {
    text-align: justify;
    color: #777777;
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-card-btn {
    display: inline-block;
    background-color: #013d9d;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #013d9d;
    text-decoration: none;
    margin-top: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-card-btn:hover {
    background-color: transparent;
    color: #013d9d;
}



/* News Headlines Styling */
.news-headlines-container {}

.news-headlins {}

.news-headline {}

.news-headline a {
    font-family: "Vazir Light";
    text-decoration: none;
    color: #212121;
    font-size: 14px;
    transition: all 200ms linear;
}

.news-headline a:hover {
    color: #f80d36;
}



/* little Banner Slider Styling */
.little-banner-slider {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.little-banner-slider .item {
    height: 250px;
}

.little-banner-slider .item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 10px;
}

.lilBanner-overlay-container {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    height: 65px;
    position: absolute;
    bottom: 0;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
}

.lilBanner-overlay-container h2 {
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 20px;
    text-align: start;
}



/* Little News Cards Styling */
.little-newsCard-container {
    border-radius: 10px;
}

.little-newsCard-content {
    padding: 10px;

}

.little-newsCard-content img {
    width: 130px;
    height: 110px;
    border-radius: 10px;
}

.little-newsCard-texts {
    padding-right: 10px;
}

.little-newsCard-texts h5 {
    padding-right: 10px;
    font-size: 16px;
}

.little-newsCard-texts a {
    text-decoration: none;
    background-color: #013d9d;
    padding: 3px 8px;
    font-size: 12px;
    color: white;
    border-radius: 5px;
    border: 1px solid #013d9d;
    margin-right: 5px;
    transition: all 250ms linear;
}

.little-newsCard-texts a:hover {
    background-color: transparent;
    color: #013d9d;
}



/* Controversials Styling */
.controversial-news-container {
    max-width: 360px;
}

.controversial-content {}

.controversial-texts {
    max-width: 175px;
    text-align: justify;

}

.controversial-texts h5 {
    font-size: 15px;
    font-weight: 600;
    color: #013d9d;
}

.controversial-texts p {
    font-size: 13px;
    color: #a0a0a0;
}

.controversial-image-wrapper {
    width: 125px;
    height: 90px;
    flex-shrink: 0;
}

.controversial-content img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}



/* Controversials Styling */
.webNews-container {
    max-width: 360px;
    border-bottom: 1px solid #DCDCDC;
    transition: all 200ms linear;
}

.webNews-content {
    transition: all 200ms linear;
}

.webNews-content:hover {
    background-color: #dddddd !important;
    border-radius: 10px;
}

.webNews-texts {
    padding-right: 10px;
    max-width: 220px;
}

.webNews-texts h5 {
    font-size: 16px;
    font-weight: 600;
    color: #013d9d;
}

.webNews-texts p {
    font-size: 13px;
    color: #a0a0a0;
}

.webNews-content img {
    width: 150px;
    height: 85px;
    border-radius: 5px;
}



/* News Header Right Col Styling */
.news-header-container {
    background-color: #dddddd;
    margin-top: 25px;
    height: auto;
    border-radius: 10px;
}

.news-header-content {
    padding: 14px;
}

.news-header-boxs {
    margin: auto;
    gap: 10px;
    justify-content: center;
}

.news-header-box {
    background-color: #78909c;
    padding: 5px 15px;
    border-radius: 10px;
    color: white;
}



/* Footer Styling */
.footer-container {}

.footer {
    background-color: #dcdcdc;
}

.upper-footer {}

.lower-footer {}

.lower-footer-links p {
    text-align: justify;
}

.lower-footer-socialIcons h5 {
    font-size: 16px;
}

.links {
    gap: 25px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    margin: 3px;
    color: white;
    font-size: 20px;
    border-radius: 12px;
    transition: transform 0.2s ease-in-out;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: translateY(-4px);
    color: white;
    opacity: 0.9;
}

.linkedin {
    background-color: #0077B5;
}

.telegram {
    background-color: #0088CC;
}

.whatsapp {
    background-color: #25D366;
}

.twitter {
    background-color: #1DA1F2;
}

.instagram {
    background-color: #1A1A1A;
}

.separator-horizontal-footer {
    position: relative;
    right: 20px;
    border-radius: 5px;
    bottom: 52px;
    flex-grow: 1;
    height: 2px;
    background-color: #113b63;
    margin-right: 0;
    margin-left: 0;
    min-width: 34px;
}



/* About Us Page Styling */
.main-header {
    background-color: #113b63;
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.main-header h1 {
    font-weight: 700;
}

.content-card {
    background-color: white;
    border: none;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 2rem;
}

.content-card p {
    font-family: "Vazir Light";
    text-align: justify;
}

.content-card h2,
.content-card h3 {
    color: #113b63;
    font-weight: 700;
    border-bottom: 3px solid #284498;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.sidebar .widget {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.sidebar .widget h4 {
    font-weight: 700 !important;
    color: #113b63 !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    margin-top: 15px !important;
}

.sidebar .web-links a {
    display: block;
    background-color: transparent;
    color: #113b63;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.35s ease !important;
    text-align: center;
    border: 2px solid #113b63;
}

.sidebar .web-links a:hover {
    background: linear-gradient(135deg, #284498, #113b63);
    color: white;
    transform: translateY(-2px);
}

.mission-vision {
    background: linear-gradient(135deg, #284498, #113b63);
    color: white;
    border-radius: 15px;
    padding: 30px;
}

.mission-vision h3 {
    color: white;
    border-bottom-color: white;
}



/* Contact Us Page Styling */
.contact-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
}

.form-control,
.form-select {
    background-color: #E8EDF4 !important;
    border: 1px solid #113b63 !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    color: #333 !important;
    transition: all 0.2s !important;
}

.form-control:focus,
.form-select:focus {
    background-color: white !important;
    border-color: #284498 !important;
    box-shadow: 2px 3px 20px #DCDCDC !important;
    outline: 0;
}

.form-label {
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.btn-custom-primary {
    background-color: #113b63 !important;
    border-color: #113b63 !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 12px 25px !important;
    border-radius: 8px !important;
    transition: background-color 0.3s, transform 0.1s !important;
    width: 100% !important;
}

.btn-custom-primary:hover {
    background-color: #113b63d0 !important;
    border-color: #113b63d0 !important;
    color: white !important;
}

.fa-paper-plane {
    position: relative;
    top: 3px;
    left: 3px;
}

.info-block {
    background-color: white;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    text-align: right;
}

.info-block-header {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.info-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.info-icon-box {
    color: #284498;
    font-size: 1.2rem;
    margin-right: 10px;
}

.info-panel {
    padding-left: 0;
    padding-right: 0;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-box {
    background-color: #f7f9fc;
    border: 1px solid #e1e8f0;
    padding: 7px;
    border-radius: 8px;
    max-width: 450px;
    margin: auto;
    width: 100%;
    height: 85px;
}

.contact-box h5 {
    color: #284498;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-box-item {
    display: flex;
    align-items: center;

    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-box-item:last-child {
    border-bottom: none;
}

.contact-box-item .label {
    color: #777777;
    font-weight: 500;
}

.contact-box-item .value {
    color: #333;
    direction: ltr;
    font-size: 1.05rem;
}

.contact-box-item .icon {
    color: #113b63;
    font-size: 1.2rem;
}

.icon-box {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.contact-box-address .address-text {
    line-height: 1.8;
    text-align: justify;
}

.contact-box-address {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-header-form {
    color: #284498;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header-info {
    color: #284498;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}


/* News Page Styling */
.newsPage-badge {
    width: 100%;
    height: 35px;
    background-color: #284498;
    border-radius: 7px;
    flex-shrink: 0;
}

.visited-links {
    padding-right: 15px;
}

.visited-links li {
    font-family: "Vazir Light";
    font-size: 13px;
    color: white;
    padding-top: 9px;
    list-style-type: none;
    padding-left: 7px;
}

.visited::after {
    content: " » ";
}

.news-details-container {}

.news-date,
.news-time,
.news-comments,
.news-category,
.news-code {
    color: #444444;
    font-size: 13px;
}

.news-date>svg,
.news-time>svg,
.news-comments>svg,
.news-category>svg,
.news-code>svg {
    padding: 3px 0 0 5px !important;
}

.news-category a {
    text-decoration: none;
    color: #444444;
    background-color: #e9ecef;
    padding: 0px 10px;
    height: 20px;
    border-radius: 5px;
    margin-right: 5px;
    transition: all 150ms linear;
}

.news-category a:hover {
    background-color: #284498;
    color: white;
}

.news-summary {
    font-size: 14px;
}

.news-title {
    color: #013D9D;
}

.article-card {
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.article-card .row .col-lg-6 {
    max-height: 270px;
}

.article-text-wrapper {
    max-height: 260px;
}

.article-image {
    width: 100%;
    height: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 1rem 0 0 1rem;
}

.text-content-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 190px;
    padding-bottom: 2rem;
}

.fade-out::after {
    content: '';
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    background: linear-gradient(to top, white 10%, rgba(255, 255, 255, 0) 70%);
    height: 4rem;
    pointer-events: none;
}

.news-main p {
    text-align: justify;
}

.news-main-header {
    color: #013d9d;
    font-weight: bold;
}

.news-main p {
    font-family: "Vazir light";
}

.post-nav-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: #212529;
    display: block;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.post-nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

.post-nav-card .nav-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.post-nav-card .post-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #013d9d;
    margin-bottom: 0.75rem;
}

.post-nav-card .post-excerpt {
    font-family: "Vazir Light";
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.6;
}

.nav-label .arrow {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.prev-post .nav-label .arrow {
    margin-right: 0.5rem;
}

.next-post .nav-label .arrow {
    margin-left: 0.5rem;
}

.prev-post:hover .arrow {
    transform: translateX(5px);
}

.next-post:hover .arrow {
    transform: translateX(-5px);
}

.newsTag-icon {
    color: #666666;
}

.newsTag-icon svg {
    position: relative;
    top: 5px;
    padding-left: 5px;
}

.newsTag-icon a {
    font-family: "Vazir Light";
    text-decoration: none;
    color: #444444;
    background-color: #e9ecef;
    padding: 0px 10px;
    height: 100%;
    border-radius: 5px;
    margin-right: 5px;
    transition: all 150ms linear;
}

.news-author-details img {
    object-fit: cover;
    width: 100px;
    border-radius: 100px;
}

.news-author-details {
    padding: 15px;
}

.news-author-wrapper {
    background-color: #F7F7F7;
    border-radius: 15px;
}

.news-author-name {
    color: #54595F;
    font-weight: 600;
    padding-right: 25px;
}

.comment-form-container {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-top: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comment-form-container h3 {
    font-weight: 700;
    color: #343a40;
}

.comment-form-container .form-text {
    color: #6c757d;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ced4da;
    background-color: #fff;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-submit-comment {
    background-color: #1a3b7d !important;
    border-color: #1a3b7d !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 25px !important;
    font-weight: bold !important;
    transition: background-color 0.2s !important;
}

.btn-submit-comment:hover {
    border-color: #142c60 !important;
}

.form-check-label {
    color: #495057;
}


#scrollToTopBtn {
    display: none;
    width: 60px;
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 99;
    border: 1px solid #284498;
    outline: none;
    background-color: #284498;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 100px;
    font-size: 18px;
    transition: all 0.2s ease-in-out;
}

#scrollToTopBtn:hover {
    background-color: #fff !important;
    color: #284498;
    border: 1px solid #284498;
}

#scrollToTopBtn:hover {
    background-color: #1f357a;
}


/* Styling for Footer Video Background */
.footer-video-bg {
    position: relative;
    overflow: hidden;
}

.footer-video-bg .footer-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -2;
}

.footer-video-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.footer-video-bg .footer-content-wrapper {
    position: relative;
    z-index: 1;
    color: white;
}

@media screen and (min-width:790px) {
    .nav-links {
        display: none;
    }
}

.desktop-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 59, 99, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.desktop-search-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.desktop-search-content {
    width: 90%;
    max-width: 500px;
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.35s ease;
}

.desktop-search-modal.active .desktop-search-content {
    transform: scale(1);
}

.close-desktop-search {
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 26px;
    color: white;
    cursor: pointer;
    transition: color 0.2s;
}

.close-desktop-search:hover {
    color: #ffc107;
}

.desktop-search-modal .form-control1 {
    width: 85%;
    border-radius: 5px;
    height: 48px;
    font-size: 16px;
    border: none;
    outline: none;
    text-align: right;
    padding-right: 10px;
}

.desktop-search-modal .btn-primary {
    width: 15%;
    background-color: #ffc107;
    border-color: #ffc107;
    color: #113b63;
    border-radius: 5px;
    font-size: 18px;
    height: 48px;
    transition: all 0.2s ease;
}

.desktop-search-modal .btn-primary:hover {
    background-color: #e0ac00;
    border-color: #e0ac00;
}



/* Category Page Image Boxs Styling */

.image-box-1,
.image-box-2,
.image-box-3,
.image-box-4,
.image-box-5,
.image-box-6,
.image-box-7 {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-out;
}

.image-box-1 {
    height: 396px;
    border-top-right-radius: 10px;

}

.image-box-2 {
    height: 198px;
    border-bottom-right-radius: 10px;
}

.image-box-6 {
    height: 350px;
    border-top-left-radius: 10px;
}

.image-box-7 {
    height: 244px;
    border-bottom-left-radius: 10px;
}

.image-box-3,
.image-box-4,
.image-box-5 {
    height: 198px;
}

.image-box__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
}

.image-box-1:hover .image-box__img {
    transform: scale(1.1);
}

.image-box-2:hover .image-box__img {
    transform: scale(1.1);
}

.image-box-3:hover .image-box__img {
    transform: scale(1.1);
}

.image-box-4:hover .image-box__img {
    transform: scale(1.1);
}

.image-box-5:hover .image-box__img {
    transform: scale(1.1);
}

.image-box-6:hover .image-box__img {
    transform: scale(1.1);
}

.image-box-7:hover .image-box__img {
    transform: scale(1.1);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.gradient-overlay:hover {
    opacity: 0.5;
}

.image-box:hover .gradient-overlay {
    opacity: 0.95;
}

.image-box__content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 1.5rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.image-box__content h3 {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.image-box__content p {
    font-weight: 400;
    font-size: 0.9rem;
    opacity: 0.9;
}

.grad-1 {
    background: linear-gradient(135deg, rgba(29, 38, 113, 0.7) 0%, rgba(195, 55, 100, 0.7) 100%);
}

.grad-2 {
    background: linear-gradient(135deg, rgba(0, 172, 193, 0.7) 0%, rgba(84, 58, 183, 0.7) 100%);
}

.grad-3 {
    background: linear-gradient(135deg, rgba(247, 148, 29, 0.7) 0%, rgba(255, 195, 109, 0.7) 100%);
}

.grad-4 {
    background: linear-gradient(135deg, rgba(194, 24, 91, 0.7) 0%, rgba(123, 31, 162, 0.7) 100%);
}

.grad-5 {
    background: linear-gradient(135deg, rgba(84, 58, 183, 0.7) 0%, rgba(123, 31, 162, 0.7) 100%);
}

.grad-6 {
    background: linear-gradient(135deg, rgba(216, 27, 96, 0.7) 0%, rgba(247, 148, 29, 0.7) 100%);
}

.news-big-header-container {
    max-width: 100%;
    background-color: #F0F0F0;
    margin: 10px 0px 20px 0px;
    padding: 20px 20px 20px 20px;
    border-radius: 7px;
}

.news-big-header-content {
    text-align: center;
}

.news-big-header-content h5 {
    font-size: 22px;
    font-weight: 900;
    color: #013D9D;
}

#desktop-search-btn {
    padding: 13px;
}

/* Media Querries */
@media screen and (max-width:1200px) {
    .search-btn {
        right: 300px;
    }
}

@media (max-width: 992px) {
    .contact-card {
        padding: 20px;
    }

    body {
        padding: 10px;
    }

    .article-image {
        height: 16rem;
        max-height: none;
        border-radius: 1rem 1rem 0 0;
    }

    .text-content-wrapper {
        max-height: 210px;
    }

    .text-content-wrapper.fade-out::after {
        display: none;
    }

    .hamburger {
        display: flex;

    }

    #nav-toggle:checked~.overlay {
        display: block;
    }
}

@media screen and (max-width:790px) {
    .news-texts-container {
        max-width: 290px;
    }

    .upper-footer-links a,
    span {}

    .separator-horizontal-footer {
        bottom: 88px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding-right: 10px;
        padding-top: 2rem;
        box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1002;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
    }

    .nav-links img {
        padding-right: 15px;
    }

    .nav-links li {
        width: 95%;
        background-color: #e3e1e1;
        border-radius: 10px;
        text-align: right;
    }

    .nav-links li a {
        display: block;
        padding: 7px 10px;
        width: 100%;
    }


    .nav-search {
        order: -1;

        padding: 1rem 2rem;

        width: 100%;
        box-sizing: border-box;

    }

    .nav-search .search-container {
        width: 100%;
    }

    .nav-search input,
    .nav-search input:focus {
        width: 100%;
    }


    .nav-links li a::after {
        display: none;
    }

    .hamburger {
        display: flex;

    }

    #nav-toggle:checked~.overlay {
        display: block;
    }

    #nav-toggle:checked~.nav-links {
        transform: translateX(0);
    }

    #nav-toggle:checked+.hamburger .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #nav-toggle:checked+.hamburger .bar:nth-child(2) {
        opacity: 0;
    }

    #nav-toggle:checked+.hamburger .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .post-nav-card {
        padding: 1rem;
    }

    .post-nav-card .post-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .post-nav-card .post-excerpt {
        font-size: 0.8rem;
        line-height: 1.5;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    .post-nav-card .nav-label {
        font-size: 0.8rem;
    }

    .nav-label .arrow {
        font-size: 1.2rem;
    }
}

@media screen and (max-width:576px) {

    .fresh-news-text {
        left: 0;
    }

    .fresh-news-text p {
        font-size: 13px;
        padding: 6px 0 0 0;
        text-align: center;
    }

    .top-banner-slider .item {
        height: 250px;
    }

    .slider-main-container {
        padding: 0;
    }

    .best-sellers-box {
        font-size: 13px;
    }

    .separator-horizontal {
        top: 17px;
    }

    .news-header {
        font-size: 13px;
    }

    .news-card-container .col-12 {
        padding-right: 2px;
        padding-left: 2px;
    }

    .news-par {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .news-card-btn {
        font-size: 12px;
        margin-top: 10px;
    }

    .news-card img {
        max-width: 120px;
    }

    .links {
        justify-content: center;
    }

    .separator-horizontal-footer {
        display: none;
    }

    .upper-footer-content img {
        display: none;
    }

    .image-box-1,
    .image-box-2,
    .image-box-3,
    .image-box-4,
    .image-box-5,
    .image-box-6,
    .image-box-7 {
        height: auto !important;
        border-radius: 0;
    }

}

