/* ================= FONT ================= */

@font-face {
    font-family: "IRANSans";
    src: url("/Fonts/IRANSansWeb(FaNum).ttf");
    font-weight: 400;
}

@font-face {
    font-family: "IRANSans";
    src: url("/Fonts/IRANSansWeb(FaNum)_Medium.ttf");
    font-weight: 500;
}

@font-face {
    font-family: "IRANSans";
    src: url("/Fonts/IRANSansWeb(FaNum)_Bold.ttf");
    font-weight: 700;
}

:root {
    --primary: #6c5ce7;
    --primary-dark: #5848d6;
    --primary-light: #a29bfe;
    --text-main: #2d2d2d;
    --text-soft: #666;
    --white: #ffffff;
    --footer-link: #e6e6ff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius-md: 10px;
    --radius-lg: 14px;
    --transition: 0.3s ease;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: "IRANSans", sans-serif;
    background: #f8f9ff;
    color: var(--text-main);
    line-height: 1.9;
}

/* ================= HEADER ================= */

.site-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 16px 0;
    min-height: 80px;
}

.navbar-brand {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.navbar-brand:hover {
    color: #f2f2ff;
}

.custom-toggler {
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    padding: 6px 10px;
    box-shadow: none;
}

.custom-toggler:focus {
    box-shadow: none;
}

.custom-toggler .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.main-nav .nav-link {
    color: #f3f3ff;
    font-weight: 500;
    margin: 0 12px;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--white);
}

.main-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
}

.auth-btn {
    border-radius: 10px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    min-width: 100px;
    transition: var(--transition);
}

.btn-outline-primary.auth-btn {
    border: 1.5px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-primary.auth-btn:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-primary.auth-btn {
    background: var(--white);
    color: var(--primary);
    border: none;
}

.btn-primary.auth-btn:hover {
    background: #f1f1ff;
    color: var(--primary-dark);
}

.user-toggle {
    color: var(--white) !important;
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dropdown);
    min-width: 180px;
    padding: 8px 0;
}

.dropdown-item {
    padding: 10px 14px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: #f4f5ff;
}

/* ================= MAIN ================= */

.site-main {
    min-height: calc(100vh - 220px);
}

/* ================= FOOTER ================= */

.site-footer {
    background: var(--primary);
    color: var(--white);
    margin-top: 70px;
    padding: 60px 0 20px;
}

.footer-top {
    margin-bottom: 35px;
}

.footer-top h5 {
    font-weight: 700;
    margin-bottom: 16px;
}

.site-footer ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer a {
    color: var(--footer-link);
    text-decoration: none;
    transition: var(--transition);
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer p {
    font-size: 14px;
    color: var(--footer-link);
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 18px;
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991.98px) {
    .navbar {
        padding: 14px 0;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.08);
        margin-top: 14px;
        padding: 16px;
        border-radius: 14px;
    }

    .main-nav .nav-link {
        margin: 8px 0;
    }

    .auth-nav {
        margin-top: 12px;
        align-items: stretch !important;
    }

    .auth-btn {
        width: 100%;
    }

    .user-dropdown {
        width: 100%;
    }

    .user-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        text-align: center;
    }

    .footer-top {
        margin-bottom: 20px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 22px;
    }

    .navbar {
        min-height: 72px;
    }

    .main-nav .nav-link {
        font-size: 15px;
    }

    .auth-btn {
        margin-bottom: 8px;
    }

    .site-footer {
        padding: 45px 0 20px;
    }

    .footer-bottom {
        font-size: 13px;
    }
}
.insurance-guide-section {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.guide-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px 22px;
    height: 100%;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(108, 92, 231, 0.08);
    transition: var(--transition);
    text-align: right;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.12);
    border-color: rgba(108, 92, 231, 0.18);
}

.guide-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(108, 92, 231, 0.10);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.guide-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.guide-card p {
    font-size: 14px;
    line-height: 2;
    color: var(--text-soft);
    margin-bottom: 0;
}
