/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --primary-blue: #1b84e7;
    --primary-blue-dark: #156fc5;

    --header-bg: #072066;

    --body-bg: #ffffff;
    --section-bg: #ffffff;

    --text-main: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    --card-bg: #ffffff;
    --card-border: #e2e8f0;

    --sidebar-bg: #ffffff;

    --input-bg: #f8fafc;
    --border-color: #f1f5f9;

    --dropdown-bg: #ffffff;
    --dropdown-text: #333333;
    --dropdown-hover-bg: #eaf4ff;

    --footer-bg: #031b4e;

    --transition: 0.3s ease;
}


/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #111827;
    transition: background-color 0.3s ease, color 0.3s ease;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    width: 100%;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: transparent;
    transition: 0.3s ease;
}

.header.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header.scrolled .nav-menu a {
    color: #222 !important;
}

.header.scrolled .nav-menu a:hover {
    color: #0785f2 !important;
}

.header.scrolled .dropdown-menu {
    background-color: white;
}

.header.scrolled .dropdown-menu li a {
    color: #222 !important;
}

.header.scrolled .dropdown-menu li a:hover {
    color: #0785f2 !important;
    background-color: #f5f5f5;
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark {
    background-color: #111827;
    color: white;
}

body.dark .header {
    background-color: #111827;
}

body.dark .header.scrolled {
    background-color: #111827;
}

body.dark .nav-menu a {
    color: white !important;
}

body.dark .header.scrolled .nav-menu a {
    color: white !important;
}

body.dark .header.scrolled .nav-menu a:hover {
    color: #0785f2 !important;
}

body.dark .dropdown-menu {
    background-color: #1f2937;
}

body.dark .dropdown-menu li a {
    color: white !important;
}

body.dark .dropdown-menu li a:hover {
    background-color: #374151;
    color: #0785f2 !important;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 90%;
    max-width: 1450px;
    margin: auto;

    display: grid;
    grid-template-columns: 350px 1fr auto;

    align-items: center;

    gap: 20px;
}


/* =========================================================
   LOGO
========================================================= */

.logo img {
    width: 190px;
    height: auto;
    display: block;
}


/* =========================================================
   PAGE HEADER BACKGROUND IMAGE
========================================================= */

.page-header .page-header-bg {
    position: absolute;

    left: 0;
    top: 20%;

    width: 40%;

    transform: translateY(-15%);
}

.page-header .page-header-bg img {
    width: 100%;
    display: block;

    mix-blend-mode: multiply;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    list-style: none;

    gap: 24px;

    margin: 0;
}

.nav-menu a {
    text-decoration: none;

    color: white;

    font-size: 18px;

    transition: 0.3s ease;
}

.nav-menu>li>a:hover {
    color: #0785f2;

    text-decoration: underline;

    text-underline-offset: 5px;
}


/* =========================================================
   ACTIONS
========================================================= */

.actions {
    display: flex;

    align-items: center;

    gap: 15px;

    flex-shrink: 0;
}


/* =========================================================
   GET QUOTES
========================================================= */

.btn-get-quotes {
    text-decoration: none;

    color: white !important;

    background-color: #0785f2;

    padding: 8px 18px;

    border-radius: 5px;

    font-size: 19px;

    font-weight: 600;

    transition: 0.3s;
}

.btn-get-quotes:hover {
    background: none;

    border: 1px solid white;
}

.header.scrolled .btn-get-quotes:hover {
    background-color: #0b2464;
}


/* =========================================================
   THEME BUTTON
========================================================= */

#theme-toggle {
    width: 40px;
    height: 40px;

    border: none;

    border-radius: 50%;

    background-color: #f1f5f9;

    color: #222;

    font-size: 20px;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: 0.3s;
}

#theme-toggle:hover {
    background-color: #0785f2;

    color: white;

    border: 1px solid #0785f2;
}

body.dark #theme-toggle {
    background-color: #374151;

    color: white;
}

body.dark #theme-toggle:hover {
    background-color: #222;
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown {
    position: relative;
}

.dropdown>.dropdown-toggle:hover {
    color: #0785f2;
}

.dropdown-menu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 200px;

    padding: 10px 0;

    margin: 0;

    list-style: none;

    background-color: white;

    border-radius: 6px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);

    display: none;

    z-index: 1000;
}

@media (min-width: 1101px) {

    .dropdown:hover .dropdown-menu {
        display: block;
    }

}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;

    padding: 11px 18px;

    color: #222 !important;

    font-size: 14px;

    text-decoration: none;

    white-space: nowrap;

    transition: 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;

    color: #0785f2 !important;
}


/* =========================================================
   ARROW
========================================================= */

.arrow {
    font-size: 12px;

    margin-left: 5px;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    width: 40px;
    height: 40px;

    border: none;

    border-radius: 5px;

    background-color: #0785f2;

    color: white;

    font-size: 22px;

    cursor: pointer;
}


/* =========================================================
   TABLET / MOBILE NAVBAR
========================================================= */

@media (max-width: 1100px) {

    .navbar {
        display: none;
    }

    .btn-get-quotes {
        display: none;
    }

    .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 45px;
        height: 45px;

        border: none;

        border-radius: 5px;

        background-color: #0785f2;

        color: white;

        font-size: 25px;

        cursor: pointer;
    }


    /* =====================================================
       MOBILE FULL SCREEN MENU
    ===================================================== */

    .header.mobile-open {
        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 100vh;

        background-color: #050505;

        z-index: 9999;
    }

    .header.mobile-open .container {
        width: 80%;
        height: 100%;

        display: flex;

        align-items: flex-start;
        justify-content: flex-start;

        flex-direction: column;

        margin: auto;
    }


    /* Logo */

    .header.mobile-open .logo {
        width: 100%;

        display: flex;

        align-items: center;
        justify-content: space-between;

        padding-top: 25px;
    }

    .header.mobile-open .logo img {
        width: 180px;
    }


    /* Theme */

    .header.mobile-open #theme-toggle {
        position: absolute;

        top: 25px;
        right: 80px;
    }


    /* Menu Button */

    .header.mobile-open .menu-toggle {
        position: absolute;

        top: 25px;
        right: 25px;

        background: transparent;

        font-size: 35px;

        width: 45px;
        height: 45px;
    }


    /* Navbar */

    .header.mobile-open .navbar {
        display: block;

        width: 100%;

        margin-top: 45px;

        overflow-y: auto;
    }


    /* Menu */

    .header.mobile-open .nav-menu {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        width: 100%;

        list-style: none;
    }

    .header.mobile-open .nav-menu>li {
        width: 100%;

        border-bottom: 1px solid #252525;
    }

    .header.mobile-open .nav-menu>li>a {
        display: flex;

        align-items: center;
        justify-content: space-between;

        width: 100%;

        padding: 20px 0;

        color: white !important;

        text-decoration: none;

        font-size: 20px;

        font-weight: 600;
    }

    .header.mobile-open .nav-menu>li>a:hover {
        color: white !important;

        text-decoration: none;
    }


    /* =====================================================
       MOBILE DROPDOWN
    ===================================================== */

    .header.mobile-open .dropdown {
        position: static;
    }

    .header.mobile-open .dropdown-menu {
        position: static;

        display: none;

        width: 100%;

        min-width: 0;

        padding: 0 0 10px;

        background: transparent;

        box-shadow: none;

        list-style: none;

        opacity: 1;

        visibility: visible;

        transform: none;
    }

    .header.mobile-open .dropdown.open .dropdown-menu {
        display: block;
    }

    .header.mobile-open .dropdown-menu li a {
        display: block;

        padding: 12px 20px;

        color: #aaa !important;

        font-size: 16px;

        text-decoration: none;
    }

    .header.mobile-open .dropdown-menu li a:hover {
        color: #0785f2 !important;

        background: transparent;
    }

    .header.mobile-open .dropdown:hover .dropdown-menu {
        display: none;
    }

    .header.mobile-open .dropdown.open:hover .dropdown-menu {
        display: block;
    }
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
    position: relative;

    background-color: #031b4e;

    padding: 140px 0 100px;

    overflow: hidden;

    color: #ffffff;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 450px;
}


/* FIX: كان 1000% */

.page-header-bg {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 1;
}


.header-hand-bg {
    position: absolute;

    left: -80px;
    bottom: -30px;

    height: 115%;
    width: auto;

    object-fit: contain;

    pointer-events: none;

    z-index: 2;

    opacity: 0.95;
}


.digital-grid {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(to right,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px),
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px);

    background-size: 50px 50px;

    z-index: 1;
}


/* =========================================================
   PAGE HEADER CONTENT
========================================================= */

.page-header-content {
    position: relative;

    z-index: 5;

    width: 100%;

    text-align: center;

    max-width: 750px;

    margin: 0 auto;

    padding: 0 20px;
}

.page-header-content .container {
    width: 100%;

    display: block;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-bottom: 20px;

    font-size: 0.95rem;
}

.breadcrumb-link {
    color: #93c5fd;

    text-decoration: none;

    font-weight: 500;

    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #ffffff;
}

.breadcrumb-separator {
    display: inline-flex;

    align-items: center;

    color: #64748b;
}

.breadcrumb-separator i {
    color: #93c5fd;

    font-size: 14px;
}

.breadcrumb-current {
    color: #ffffff;

    font-weight: 600;
}


/* =========================================================
   PAGE TITLE
========================================================= */

.page-title {
    font-size: 3rem;

    font-weight: 800;

    color: #ffffff;

    margin-bottom: 15px;

    letter-spacing: -0.5px;

    line-height: 1.2;
}

.page-description {
    color: #cbd5e1;

    font-size: 1.05rem;

    line-height: 1.6;

    margin: 0 auto;

    max-width: 600px;
}


/* =========================================================
   FLOATING CIRCLES
========================================================= */

.floating-elements {
    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;
}

.floating-circle-1 {
    position: absolute;

    right: 8%;
    top: 20%;

    width: 220px;
    height: 220px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(59, 130, 246, 0.05) 0%,
            transparent 70%);
}

.floating-circle-2 {
    position: absolute;

    right: 12%;
    top: 35%;

    width: 120px;
    height: 120px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;
}


/* =========================================================
   PARTICLES
========================================================= */

.particles-container {
    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;
}

.particle {
    position: absolute;

    width: 4px;
    height: 4px;

    background-color: #60a5fa;

    border-radius: 50%;

    box-shadow: 0 0 10px #3b82f6;

    opacity: 0.6;
}

.particle:nth-child(1) {
    top: 25%;
    left: 40%;
}

.particle:nth-child(2) {
    top: 60%;
    left: 48%;
}

.particle:nth-child(3) {
    top: 30%;
    left: 62%;
}

.particle:nth-child(4) {
    top: 75%;
    left: 72%;
}

.particle:nth-child(5) {
    top: 15%;
    left: 85%;
}

.particle:nth-child(6) {
    top: 80%;
    left: 90%;
}


/* =========================================================
   BLOG SECTION
========================================================= */

.blog-section-wrapper {
    width: 100%;

    background-color: var(--section-bg);

    padding: 60px 0;

    display: block;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;

    transition: background-color 0.35s ease;
}

.blog-container {
    max-width: 1240px;

    width: 92%;

    margin: 0 auto;
}


/* =========================================================
   BLOG LAYOUT
========================================================= */

.blog-layout {
    display: flex;

    gap: 40px;

    align-items: flex-start;
}


/* =========================================================
   BLOG GRID
========================================================= */

.blog-posts-grid {
    flex: 1;

    min-width: 0;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 30px;
}


/* =========================================================
   BLOG CARD
========================================================= */

.blog-card {
    min-width: 0;

    background-color: var(--card-bg);

    border-radius: 12px;

    border: 1px solid var(--card-border);

    overflow: hidden;

    display: flex;

    flex-direction: column;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.35s ease,
        border-color 0.35s ease;

    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px) scale(1.015);

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.blog-card-image {
    position: relative;

    width: 100%;

    height: 220px;

    overflow: hidden;

    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-image .badge {
    position: absolute;

    top: 15px;
    left: 15px;

    background-color: #000000;

    color: #ffffff;

    font-size: 0.7rem;

    font-weight: 800;

    padding: 5px 10px;

    border-radius: 4px;

    letter-spacing: 0.5px;

    z-index: 2;
}


/* =========================================================
   CARD BODY
========================================================= */

.blog-card-body {
    padding: 24px;

    display: flex;

    flex-direction: column;

    flex-grow: 1;
}

.blog-card-meta {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    font-size: 0.85rem;

    color: var(--text-muted);

    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.2rem;

    font-weight: 800;

    color: var(--text-main);

    line-height: 1.4;

    margin-bottom: 12px;
}

.blog-card-excerpt {
    font-size: 0.9rem;

    color: var(--text-secondary);

    line-height: 1.6;

    margin-bottom: 24px;

    flex-grow: 1;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.blog-card-footer {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding-top: 16px;

    border-top: 1px solid var(--border-color);
}

.read-more-btn {
    color: #2563eb;

    font-weight: 700;

    font-size: 0.9rem;

    text-decoration: none;

    white-space: nowrap;

    transition: color 0.25s ease;
}

.read-more-btn:hover {
    color: #1d4ed8;
}

.read-more-btn i {
    margin-left: 3px;

    transition: transform 0.25s ease;
}

.read-more-btn:hover i {
    transform: translateX(4px);
}

.read-time {
    font-size: 0.8rem;

    color: var(--text-muted);

    white-space: nowrap;
}


/* =========================================================
   SIDEBAR
========================================================= */

.blog-sidebar {
    width: 310px;

    flex-shrink: 0;

    display: flex;

    flex-direction: column;

    gap: 35px;
}

.widget {
    width: 100%;
}

.widget-title {
    font-size: 1.1rem;

    font-weight: 800;

    color: var(--text-main);

    margin-bottom: 18px;

    transition: color 0.35s ease;
}


/* =========================================================
   SEARCH
========================================================= */

.search-widget {
    display: flex;

    background-color: var(--input-bg);

    border-radius: 6px;

    overflow: hidden;

    border: 1px solid transparent;

    transition:
        background-color 0.35s ease,
        border-color 0.35s ease;
}

.search-widget:focus-within {
    border-color: rgba(27, 132, 231, 0.35);
}

.search-widget input {
    border: none;

    background: transparent;

    padding: 12px 16px;

    width: 100%;

    min-width: 0;

    outline: none;

    color: var(--text-main);

    font-size: 0.9rem;
}

.search-widget input::placeholder {
    color: var(--text-muted);
}

.search-widget button {
    flex-shrink: 0;

    width: 52px;

    background-color: #2563eb;

    border: none;

    color: #ffffff;

    cursor: pointer;

    transition: background-color 0.25s ease;
}

.search-widget button:hover {
    background-color: #1d4ed8;
}


/* =========================================================
   CATEGORIES
========================================================= */

.categories-widget ul {
    list-style: none;

    padding: 0;

    margin: 0;
}

.categories-widget li a {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 10px 14px;

    border-radius: 6px;

    text-decoration: none;

    color: var(--text-secondary);

    font-size: 0.95rem;

    font-weight: 500;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;

    border-bottom: 1px solid var(--border-color);
}

.categories-widget li a strong {
    color: var(--text-main);

    transition: color 0.25s ease;
}

.categories-widget li a:hover {
    background-color: #1b84e7;

    color: #ffffff !important;

    border-bottom-color: transparent;
}

.categories-widget li a:hover strong {
    color: #ffffff !important;
}


/* =========================================================
   RECENT POSTS
========================================================= */

.recent-posts-widget ul {
    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    flex-direction: column;

    gap: 16px;
}

.recent-posts-widget li {
    display: flex;

    gap: 12px;

    align-items: center;

    min-width: 0;
}

.recent-posts-widget img {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    border-radius: 6px;

    object-fit: cover;
}

.recent-posts-widget li>div {
    min-width: 0;
}

.recent-posts-widget a {
    font-size: 0.85rem;

    font-weight: 700;

    color: var(--text-main);

    text-decoration: none;

    line-height: 1.3;

    display: block;

    transition: color 0.25s ease;
}

.recent-posts-widget a:hover {
    color: var(--primary-blue);
}

.recent-posts-widget .post-date {
    font-size: 0.75rem;

    color: var(--text-muted);

    display: block;

    margin-top: 2px;
}


/* =========================================================
   TAGS
========================================================= */

.tags-cloud {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.tags-cloud a {
    background-color: #f1f5f9;

    color: #475569;

    padding: 6px 12px;

    border-radius: 4px;

    font-size: 0.8rem;

    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.tags-cloud a:hover {
    background-color: #2563eb;

    color: #ffffff;
}


/* =========================================================
   SOCIAL
========================================================= */

.social-links {
    display: flex;

    align-items: center;

    gap: 16px;
}

.social-links a {
    color: var(--text-main);

    font-size: 1.2rem;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.social-links a:hover {
    color: var(--primary-blue);

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    position: relative;

    overflow: hidden;

    background: #031b4e;

    color: #ffffff;

    padding: 70px 0 40px;
}

.footer-hand-bg {
    position: absolute;

    left: -80px;
    top: 50%;

    transform: translateY(-50%);

    width: 550px;

    opacity: 0.9;

    pointer-events: none;
}

.footer-main {
    position: relative;

    z-index: 2;
}

.footer-container {
    width: min(1280px, 92%);

    margin: auto;
}

.footer-content {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr 1fr 1.2fr 1.1fr;

    gap: 30px;
}

.footer-description {
    color: #a0aec0;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 25px;
}

.social-label {
    display: block;

    color: #ffffff;


    font-size: 14px;

    font-weight: 600;

    margin-bottom: 12px;
}

.footer .social-links {
    gap: 10px;

}

.footer .social-link {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.1);

    border-radius: 50%;

    color: #ffffff;
}

.footer .social-link:hover {
    background: #3b82f6;

    color: #ffffff;

    transform: translateY(-3px);
}

.footer-title {
    color: #ffffff;

    font-size: 17px;

    font-weight: 700;

    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;

    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #cbd5e1;

    text-decoration: none;

    font-size: 14px;

    transition: 0.2s ease;
}

.footer-menu a:hover {
    color: #60a5fa;

    padding-left: 4px;
}

.footer-contact-info {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.contact-item {
    display: flex;

    gap: 12px;

    align-items: flex-start;
}

.contact-item>i {
    color: #3b82f6;

    margin-top: 3px;
}

.contact-item>div {
    display: flex;

    flex-direction: column;
}

.contact-label {
    color: #3b82f6;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;
}

.contact-value {
    color: #cbd5e1;

    font-size: 13px;

    margin-top: 3px;

    line-height: 1.5;
}

.newsletter-description {
    color: #a0aec0;

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 15px;
}

.newsletter-input-group {
    position: relative;

    display: flex;

    margin-bottom: 15px;
}

.newsletter-input {
    width: 100%;

    padding: 12px 50px 12px 16px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    outline: none;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-btn {
    position: absolute;

    right: 4px;
    top: 4px;

    width: 38px;
    height: 38px;

    border: none;

    border-radius: 50%;

    background: #60a5fa;

    color: #ffffff;

    cursor: pointer;
}

.newsletter-checkbox {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #a0aec0;

    font-size: 12px;
}

.newsletter-checkbox a {
    color: #60a5fa;
}

.footer-copyright {
    margin-top: 25px;

    color: #94a3b8;

    font-size: 13px;
}


/* =========================================================
   DARK MODE BLOG
========================================================= */

body.dark .blog-section-wrapper {
    background: #0b1220;
}

body.dark .blog-card {
    background: #111827;

    border-color: #263449;
}

body.dark .blog-card-title {
    color: #f8fafc;
}

body.dark .blog-card-excerpt {
    color: #94a3b8;
}

body.dark .blog-card-footer {
    border-color: #263449;
}

body.dark .blog-card-meta {
    color: #94a3b8;
}

body.dark .widget-title {
    color: #f8fafc;
}

body.dark .categories-widget li a {
    color: #cbd5e1;

    border-color: #263449;
}

body.dark .categories-widget li a strong {
    color: #f8fafc;
}

body.dark .recent-posts-widget a {
    color: #e5e7eb;
}

body.dark .tags-cloud a {
    background: #1e293b;

    color: #cbd5e1;
}

body.dark .social-links a {
    color: #e5e7eb;
}

body.dark .search-widget {
    background: #111827;
}

body.dark .search-widget input {
    color: #ffffff;
}

body.dark .dropdown-menu {
    background: #111827;
}

body.dark .dropdown-menu a {
    color: #e5e7eb;
}

body.dark .dropdown-menu a:hover {
    background: #1e293b;

    color: #60a5fa;
}

body.dark #theme-toggle {
    background: #1e293b;

   
}


/* =========================================================
   RESPONSIVE
========================================================= */


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */


@media (max-width: 1100px) {

    .header .container {
        width: 92%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .navbar {
        display: none;
    }

    .btn-get-quotes {
        display: none;
    }

    .logo {
        margin-right: auto;
    }

    .actions {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border: none;
        border-radius: 5px;
        background-color: #0785f2;
        color: white;
        font-size: 25px;
        cursor: pointer;
    }
}




/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .blog-layout {
        flex-direction: column;

        gap: 45px;
    }

    .blog-sidebar {
        width: 100%;
    }

    .blog-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    /* Container */

    .container {
        width: 92%;

        grid-template-columns: 1fr auto;

        gap: 10px;
    }


    /* Logo */

    .logo img {
        width: 150px;

        height: auto;
    }


    /* Page Header */

    .page-header {
        min-height: 430px;

        padding: 120px 15px 70px;
    }

    .page-title {
        font-size: 34px;
    }

    .page-description {
        font-size: 14px;
    }


    /* Header Hand */

    .header-hand-bg {
        height: 70%;

        width: auto;

        left: -100px;

        bottom: 0;

        opacity: 0.25;
    }


    /* Blog */

    .blog-section-wrapper {
        padding: 50px 0;
    }

    .blog-layout {
        gap: 40px;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .blog-card-image {
        height: 190px;
    }


    /* Footer */

    .footer {
        padding: 50px 0 35px;
    }

    .footer-content {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-hand-bg {
        width: 300px;

        left: -100px;

        opacity: 0.15;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {
        width: 94%;
    }


    /* Logo */

    .logo img {
        width: 130px;
    }


    /* Theme */

    #theme-toggle {
        width: 36px;
        height: 36px;

        font-size: 18px;
    }


    /* Menu */

    .menu-toggle {
        width: 38px;
        height: 38px;

        font-size: 22px;
    }


    /* Page Header */

    .page-header {
        min-height: 400px;

        padding-top: 110px;
    }

    .page-title {
        font-size: 30px;
    }

    .breadcrumb {
        font-size: 13px;
    }


    /* Blog */

    .blog-card-body {
        padding: 20px;
    }

    .blog-card-title {
        font-size: 19px;
    }

    .blog-card-meta {
        flex-direction: column;

        align-items: flex-start;

        gap: 5px;
    }

    .blog-card-image {
        height: 180px;
    }


    /* Footer */

    .footer {
        padding-top: 50px;
    }
}




/* =========================================================
   FINAL MOBILE MENU FIX
========================================================= */

@media (max-width: 1100px) {

    /* Hide normal navbar */
    .header .navbar {
        display: none;
    }

    /* Show menu button */
    .header .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 10001;

        width: 45px;
        height: 45px;

        background-color: #0785f2;
        color: #ffffff;

        border: none;
        border-radius: 5px;

        font-size: 25px;
        cursor: pointer;
    }


    /* When menu is open */
    .header.mobile-open {
        position: fixed;
        inset: 0;

        width: 100%;
        height: 100vh;

        background-color: #050505;

        z-index: 9999;
    }


    /* Show navbar ONLY when menu is open */
    .header.mobile-open .navbar {
        display: block !important;

        width: 100%;
        height: auto;

        margin-top: 45px;

        overflow-y: auto;
    }


    /* Menu links */
    .header.mobile-open .nav-menu {
        display: flex !important;

        flex-direction: column;
        align-items: stretch;

        width: 100%;
        gap: 0;
    }


    .header.mobile-open .nav-menu>li {
        width: 100%;
    }


    .header.mobile-open .nav-menu>li>a {
        display: flex;

        width: 100%;

        padding: 20px 0;

        color: #ffffff !important;

        font-size: 20px;
        font-weight: 600;

        text-decoration: none;
    }


    /* X button when menu is open */
    .header.mobile-open .menu-toggle {
        position: absolute;

        top: 25px;
        right: 25px;

        display: flex !important;

        width: 45px;
        height: 45px;

        background-color: transparent;

        color: #ffffff;

        font-size: 35px;
        line-height: 1;

        z-index: 10002;
    }


    /* Theme button */
    .header.mobile-open #theme-toggle {
        position: absolute;

        top: 25px;
        right: 80px;

        z-index: 10002;
    }
}