﻿/* ============================================
       RESET / BASE
       ============================================ */
@font-face {
    font-family: "Vazir";
    src: url("/assets/source/fonts/vazir-font-v16.1.0/Vazir.eot");
    src: url("/assets/source/fonts/vazir-font-v16.1.0/Vazir.eot?#iefix") format("embedded-opentype"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir.woff2") format("woff2"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir.woff") format("woff"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Vazir";
    src: url("/assets/source/fonts/vazir-font-v16.1.0/Vazir-Bold.eot");
    src: url("/assets/source/fonts/vazir-font-v16.1.0/Vazir-Bold.eot?#iefix") format("embedded-opentype"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir-Bold.woff2") format("woff2"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir-Bold.woff") format("woff"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir-Bold.ttf") format("truetype");
    font-weight: 700;
}

* {
    font-family: "Vazir", system-ui, sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    background: #f9fafb;
    color: #232c39;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

input:focus,
textarea:focus {
    border-color: #06909d !important;
    outline: none;
}

input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 16px;
    color: #374151;
    text-align: right;
}

    input::placeholder {
        color: #9ca3af;
    }

/*.container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    overflow-x: hidden;
}*/

/* ============================================
       MOBILE MENU
       ============================================ */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    backdrop-filter: blur(2px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 80vw;
    height: 100%;
    background: #fff;
    z-index: 99999;
    padding: 24px 20px;
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
}

    .mobile-menu.open {
        right: 0;
    }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #046c76;
    padding: 4px 8px;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .mobile-menu-list a {
        font-size: 18px;
        font-weight: 500;
        color: #374151;
        padding: 6px 0;
        border-bottom: 1px solid #f3f4f6;
    }

.mobile-menu-cta {
    margin-top: auto;
    width: 100%;
    background: #06909d;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.btn-white {
    background: #06909d;
    color: #fff;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.px-3 {
    padding-right: 12px;
    padding-left: 12px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.bg-background {
    background: #f9fafb;
}

.cursor-pointer {
    cursor: pointer;
}

nav#mobileMenu {
    z-index: 99999;
}

/* ============================================
       SEARCH BLOG
       ============================================ */
.search-blog {
    margin: 80px auto;
}

.searchblog-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.searchblog-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.blog-ti {
    color: #232c39;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.5;
    text-align: right;
}

.blog-subti {
    color: #6b7280;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.searchblog-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    align-items: center;
}

.search-bo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    text-align: right;
    border: 1.5px solid #98e0e7;
    background: #f9feff;
    max-width: 636px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
}

    .search-bo img {
        flex-shrink: 0;
    }

.search-tags {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d48e52;
    padding: 8px 16px;
    gap: 8px;
    border-radius: 12px;
    background: rgba(221, 165, 117, 0.08);
    cursor: pointer;
    transition: 0.3s;
}

    .search-tag:hover {
        background: rgba(221, 165, 117, 0.2);
    }

    .search-tag span {
        color: #aa7242;
        font-weight: 600;
        font-size: 16px;
        line-height: 1.5;
    }

/* ============================================
       BLOG SECTION
       ============================================ */
.blog-section {
    width: 100%;
    padding: 70px 0;
    overflow-x: hidden;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 100%;
    overflow-x: hidden;
}

.blog-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 100%;
}

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.blog-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 20px;
    overflow-x: hidden;
}

.blog-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: #9ca3af;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .blog-item img {
        width: 16px;
        height: 16px;
    }

.blog-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
    color: #2b2b2b;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.blog-desc {
    font-size: 14px;
    line-height: 2;
    color: #6b7280;
    margin-bottom: 18px;
    word-wrap: break-word;
}

.blog-category {
    display: inline-flex;
    padding: 6px 14px;
    border: 1px solid #f2a867;
    color: #f2a867;
    border-radius: 30px;
    font-size: 12px;
    margin-bottom: 20px;
}

.blog-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 46px;
    border: 1px solid #08b6e8;
    border-radius: 8px;
    color: #08b6e8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 600;
}

    .blog-btn:hover {
        background: #08b6e8;
        color: #fff;
    }

/* ============================================
       CTA SECTION
       ============================================ */
.cta-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    max-width: 100%;
    overflow-x: hidden;
    margin: 80px auto;
}

.cta-title {
    color: #374151;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.5;
    text-align: center;
}

.cta-sub {
    color: #232c39;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

.cta-btn {
    background: #06909d;
    margin: 0 auto;
    display: flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    gap: 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

    .cta-btn:hover {
        background: #07a8b8;
    }

    .cta-btn span {
        color: #f9feff;
        font-weight: 600;
        font-size: 16px;
    }

/* ============================================
       RESPONSIVE
       ============================================ */
@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-ti {
        font-size: 24px;
        text-align: center;
    }

    .search-blog {
        margin: 40px auto;
    }

    .blog-section {
        padding: 40px 0;
    }

    .blog-img {
        height: 200px;
    }

    .blog-title {
        font-size: 18px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-sub {
        font-size: 14px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .search-tags {
        gap: 10px;
    }

    .search-tag {
        padding: 6px 12px;
        font-size: 14px;
    }

        .search-tag span {
            font-size: 14px;
        }

    .cta-title {
        font-size: 24px;
    }
}

.c-header-inner {
    min-height: 450px;
    height: 450px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.49) -2.54%, rgba(0, 0, 0, 0.224) 49.71%, rgba(0, 0, 0, 0.49) 101.95%), url(../../assets/source/images/bg-blogs.png);
}
.blog-section-box, .search-blog, .blog-section {
    padding-left: 15px;
    padding-right: 15px
}