﻿:root {
    --primary-color: #7F56D9;
    --primary-light: #F9F5FF;
    --primary-hover: #6941C6;
    --heading-color: #42307D;
    --text-color: #667085;
    --border-color: #EAECF0;
    --white: #ffffff;
    --dark-bg: #0b0d22;
    --topbar-bg: #2448FF;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
    --container-width: 1216px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #101115d9;
    z-index: 1000000;
}

    .page-loader div img {
        height: 50px;
    }

    .page-loader div {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }
/* pre loader animation  start*/
.preloader {
    position: fixed;
    left: 0;
    width: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    z-index: 9999999;
    -webkit-transition: .9s;
    transition: .9s;
}

.preloader .loader {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 45%;
    -webkit-transform: translateY(-45%);
    transform: translateY(-45%);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

/* Outer Circle */
.preloader .loader .loader-outter {
    position: absolute;
    border: 4px solid #ffffff;
    border-left-color: transparent;
    border-bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
    animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}



/* Inner Circle */


.preloader .loader .loader-inner {
    position: absolute;
    border: 4px solid #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    left: calc(40% - 21px);
    top: calc(40% - 21px);
    border-right: 0;
    border-top-color: transparent;
    -webkit-animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
    animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
}
/* Outer Rotate Clockwise */


.preloader .loader .indicator {
    position: absolute;
    right: 0;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%) scale(1.5);
    transform: translateY(-50%) scale(1.5);
}

@-webkit-keyframes loader-outter {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loader-outter {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loader-inner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@keyframes loader-inner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}


.loader-svg {
    width: 90px;
    height: 90px;
}

/* Common Circle Style */
.loader-svg circle {
    fill: none;
    stroke-linecap: round;
    transform-origin: center;
}

/* Outer Circle */
.outer-ring {
    stroke: #ffffff;
    stroke-width: 5;
    stroke-dasharray: 160;
    stroke-dashoffset: 40;
    animation: rotateOuter 1.5s linear infinite;
}

/* Inner Circle */
.inner-ring {
    stroke: #00e5ff;
    stroke-width: 5;
    stroke-dasharray: 90;
    stroke-dashoffset: 20;
    animation: rotateInner 1.2s linear infinite;
}

/* Animations */
@keyframes rotateOuter {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateInner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}


.preloader::before,
.preloader::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60%;
    z-index: -1;
    background: #2448FF;
    -webkit-transition: .9s;
    transition: .9s;
}

.preloader::after {
    left: auto;
    right: 0;
}

.preloader.preloader-deactivate {
    visibility: hidden;
}

.preloader.preloader-deactivate::after,
.preloader.preloader-deactivate::before {
    width: 0;
}

.preloader.preloader-deactivate .loader {
    opacity: 0;
    visibility: hidden;
}



/* pre loader animation end */


.logo-placeholder {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

/* --- Site Header --- */
.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

/* ===============================
   TOPBAR - CLEAN / MODERN UI
================================= */

.topbar {
    background: var(--topbar-bg);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    z-index: 99;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===============================
   CONTACT LIST
================================= */
.topbar-contact {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.topbar-contact li {
    display: flex;
    align-items: center;
}

.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.topbar-contact a:hover {
    opacity: 1;
    color: #ffffff;
    transform: translateY(-1px);
}

.topbar-contact i {
    font-size: 14px;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* ===============================
   OPTIONAL RIGHT SIDE LINKS
================================= */
.topbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.topbar-links a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* ===============================
   RESPONSIVE
================================= */
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-contact {
    display: flex;
    gap: 20px;
    list-style: none;
}

/* Mobile View */
@media (max-width: 768px) {
    .topbar-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .topbar-contact {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0;
        margin: 0;
    }
}

@media (max-width:480px) {
    .topbar-contact {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;

    }

    .topbar-links {
        gap: 10px;
        flex-wrap: wrap;
    }
}

.navbar {
    background: #0b0d22;
    padding: 10px 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 13, 34, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 8px 0;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-pic {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    transition: var(--transition);
}

.profile-pic:hover {
    border-color: var(--primary-color);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-quote {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-quote:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #2448FF;
    /* Topbar background color */
    border-radius: 2px;
    transition: var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Mobile Menu --- */
@media (max-width: 991px) {
    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0b0d22;
        /* Same as laptop view nav */
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: var(--shadow-md);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 20px 0;
    }

    .nav-links a {
        color: rgba(255, 255, 255, 0.85);
        padding: 15px 25px;
        width: 100%;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Remove Close Icon (X shape transform) */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: none;
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 1;
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: none;
    }
}


.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f7fafc;
    color: var(--primary-color);
}

.dropdown-divider {
    height: 1px;
    background: #edf2f7;
    margin: 4px 0;
}

.btn-quote {
    color: #fff;
    padding: 13px 25px;
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 500;
    background: #ff5f13;
    position: relative;
    text-decoration: none;
    box-shadow: none;
    display: inline-block;
    transition: all 0.4s ease;
    transform: perspective(1px) translateZ(0);
    border: none;
    border-radius: 4px;
}

.btn-quote:hover {
    transform: translateY(-1px);
    background: #e65611;
}

/* Custom mobile toggle styles unified above */

.page-header {
    padding: 80px 0 64px;
    text-align: center;
}

@media (max-width: 1100px) {
    .main-menu-list {
        gap: 15px;
    }

    .main-menu-list a {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .main-menu-container .main-menu-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        padding: 0 32px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 20px;
        z-index: 99;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-10px);
    }

    .main-menu-container.active .main-menu-list {
        max-height: 500px;
        padding: 20px 32px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-toggle {
        display: flex;
    }

    .topbar-content p {
        display: none;
    }
}

@media (max-width: 640px) {
    .nav-actions .btn-quote {
        display: none;
    }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
}

.navbar .container,
.header-inner .container,
.topbar .container {
    max-width: 95%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-4,
.col-lg-6,
.col-lg-12,
.col-md-6,
.col-md-12,
.col-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Footer Styling - EXACT Image Match */
.footer {
    position: relative;
    color: var(--white);
    background: #0b0d22;
}

.footer .footer-top {
    padding: 100px 0px;
}

.footer h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.footer h2::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 2px;
    width: 45px;
    background: #fff;
}

.footer .single-footer p {
    color: #fff;
    opacity: 0.8;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 30px;
}

.footer .social {
    list-style: none;
    display: flex;
    gap: 12px;
}

.footer .social li a {
    color: #fff;
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.footer .social li a:hover {
    background: var(--topbar-bg);
    border-color: var(--topbar-bg);
    transform: scale(1.1);
}

.footer .f-link ul {
    list-style: none;
}

.footer .f-link ul li {
    margin-bottom: 12px;
}

.footer .f-link ul li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer .f-link ul li a i {
    font-size: 10px;
    opacity: 1;
}

.footer .f-link ul li a:hover {
    opacity: 1;
    color: #fff;
    transform: translateX(8px);
}

.footer .copyright {
    background: #13152b;
    padding: 24px 0px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .copyright p {
    color: #fff;
    opacity: 0.7;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* Footer Styling - EXACT Image Match */
.footer {
    position: relative;
    color: var(--white);
    background: #0b0d22;
}

.footer .footer-top {
    padding: 100px 0px;
}

.footer h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.footer h2::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 2px;
    width: 45px;
    background: #fff;
}

.footer .single-footer p {
    color: #fff;
    opacity: 0.8;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 30px;
}

.footer .social {
    list-style: none;
    display: flex;
    gap: 12px;
}

.footer .social li a {
    color: #fff;
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.footer .social li a:hover {
    background: var(--topbar-bg);
    border-color: var(--topbar-bg);
    transform: scale(1.1);
}

.footer .f-link ul {
    list-style: none;
}

.footer .f-link ul li {
    margin-bottom: 12px;
}

.footer .f-link ul li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer .f-link ul li a i {
    font-size: 10px;
    opacity: 1;
}

.footer .f-link ul li a:hover {
    opacity: 1;
    color: #fff;
    transform: translateX(8px);
}

.footer .copyright {
    background: #13152b;
    padding: 24px 0px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .copyright p {
    color: #fff;
    opacity: 0.7;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.scroll-top {
    position: absolute;
    bottom: 14px;
    right: 20px;
    width: 34px;
    height: 34px;
    background: var(--topbar-bg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Blog Styles Continue... */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.logo img:hover {
    transform: scale(1.05);
    transition: var(--transition);
}

.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 800px;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 400px;
    background: #D6BBFB;
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.shape-2 {
    width: 500px;
    height: 300px;
    background: #E9D7FE;
    top: 200px;
    left: -100px;
    transform: rotate(-15deg);
    border-radius: 40%;
}

.sub-heading {
    color: var(--primary-hover);
    font-weight: 600;
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.main-heading {
    color: var(--heading-color);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.page-header .description {
    font-size: 20px;
    color: var(--text-color);
    max-width: 768px;
    margin: 0 auto 40px;
}

.search-container {
    display: flex;
    justify-content: center;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

#searchInput {
    width: 100%;
    padding: 10px 14px 10px 44px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    outline: none;
    transition: var(--transition);
}

#searchInput:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(158, 119, 237, 0.24);
}

.main {
    padding-bottom: 96px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .main-heading {
        font-size: 36px;
    }
}

.post-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.post-card.fade-in {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card:hover {
    transform: translateY(-4px);
}

.post-image-container {
    width: 100%;
    aspect-ratio: 5/3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image {
    transform: scale(1.05);
}

.post-category {
    color: var(--primary-hover);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.post-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.post-title {
    color: var(--heading-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.33;
    min-height: 64px;
    /* Ensures arrows align across cards */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-arrow {
    margin-top: 8px;
    transition: var(--transition);
}

.post-card:hover .post-arrow {
    transform: translate(2px, -2px);
}

.post-excerpt {
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Increased length as requested */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 96px;
    /* Ensures consistent footer alignment */
}

.post-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: #101828;
    font-weight: 600;
    font-size: 14px;
}

.post-date {
    color: var(--text-color);
    font-size: 14px;
}

.pagination {
    margin-top: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.page-numbers {
    display: flex;
    gap: 2px;
}

.btn-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-pagination:hover:not(.disabled) {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-pagination.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #fcfcfd;
}

.btn-page {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-page:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.btn-page.active {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    gap: 20px;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--primary-light);
    border-bottom-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loading-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 24, 40, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: var(--white);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 20px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 20px 24px -4px rgba(16, 24, 40, 0.08), 0 8px 8px -4px rgba(16, 24, 40, 0.03);
    padding: 0 32px 32px;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

/* Blog Details Popup Loader */
.modal-loader-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    width: 100%;
}

.modal-spinner {
    width: 60px;
    height: 60px;
    position: relative;
    margin-bottom: 20px;
}

.modal-spinner::before,
.modal-spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid transparent;
    border-radius: 50%;
}

.modal-spinner::before {
    width: 100%;
    height: 100%;
    border-top-color: #2448FF;
    border-right-color: #2448FF;
    animation: modal-spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.modal-spinner::after {
    width: 60%;
    height: 60%;
    border-bottom-color: #1A76D1;
    border-left-color: #1A76D1;
    animation: modal-spin-reverse 0.6s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes modal-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes modal-spin-reverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.loading-msg {
    color: #667085;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
    opacity: 1;
}

.btn-close {
    position: sticky;
    top: 24px;
    right: 24px;
    float: right;
    background: #F9FAFB;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
    z-index: 150;
    /* Above sticky header */
    margin-right: -10px;
    margin-top: -15px;
    /* Offset to align with header top */
}

.btn-close:hover {
    background: #F3F4F6;
    color: var(--heading-color);
}

/* Prevent scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Modal Article Content Styling */
.blog-post {
    color: #101828;
}

.article-header {
    margin-bottom: 32px;
}

.category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.article-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.meta-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.meta-name {
    font-weight: 600;
    font-size: 14px;
    color: #101828;
}

.meta-divider {
    width: 4px;
    height: 4px;
    background: #D0D5DD;
    border-radius: 50%;
}

.meta-date {
    font-size: 14px;
    color: var(--text-color);
}

.article-featured-image {
    width: 100%;
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 18px;
    line-height: 1.6;
    color: #344054;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 40px 0 20px;
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    font-style: italic;
    font-size: 20px;
    color: var(--primary-color);
    margin: 32px 0;
}

.error-container {
    padding: 100px 0;
    text-align: center;
}

@media (max-width: 640px) {
    .article-title {
        font-size: 32px;
    }
}

/* Gallery Styling */
.article-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
    width: 100%;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 16px);
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Specific layouts for 1 or 2 images */
.article-gallery.count-1 .gallery-item {
    flex: 0 0 100%;
    height: 450px;
}

.article-gallery.count-2 .gallery-item {
    flex: 1 1 calc(50% - 16px);
    height: 350px;
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 100% !important;
        height: 250px !important;
    }
}

/* SEO Section Styling */
.article-seo-info {
    background: #F9FAFB;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
}

.seo-item {
    margin-bottom: 16px;
}

.seo-item:last-child {
    margin-bottom: 0;
}

.seo-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.seo-value {
    font-size: 15px;
    color: #344054;
    line-height: 1.5;
}

.keyword-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #EFF8FF;
    color: #175CD3;
    border-radius: 6px;
    font-weight: 600;
}

.meta-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.tag-badge {
    font-size: 13px;
    color: #475467;
    background: #F2F4F7;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #D0D5DD;
}

.site-footer {
    background: #111827;
    color: #cbd5e1
}

.footer-top {
    padding: 60px 20px
}

.footer-wrap {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px
}

.footer-box h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    position: relative
}

.footer-box h3:after {
    content: '';
    display: block;
    width: 55px;
    height: 3px;
    background: #3b82f6;
    margin-top: 10px;
    border-radius: 5px
}

.footer-box p {
    line-height: 1.8;
    font-size: 15px
}

.footer-links,
.social-links {
    list-style: none
}

.footer-links li,
.social-links li {
    margin-bottom: 14px
}

.footer-links a,
.social-links a {
    text-decoration: none;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all .35s ease
}

.footer-links a:hover,
.social-links a:hover {
    color: #fff;
    transform: translateX(8px)
}

.arrow {
    color: #3b82f6;
    font-weight: bold
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 20px
}

.social-links li {
    margin: 0
}

.social-links a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    justify-content: center
}

.social-links a:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    transform: translateY(-4px)
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 22px 20px;
    text-align: center;
    font-size: 14px
}

.scroll-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    text-decoration: none;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    transition: .3s
}

.scroll-btn:hover {
    transform: translateY(-4px)
}

@media(max-width:768px) {
    .footer-top {
        padding: 45px 18px
    }

    .footer-box h3 {
        font-size: 21px
    }
}



#scrollUp {
    bottom: 15px;
    right: 15px;
    padding: 10px 20px;
    background: #1a76d1;
    color: #fff;
    font-size: 25px;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    padding: 0;
    border-radius: 3px;
    box-shadow: 0px 0px 10px #00000026;
}





.pro-features {
    position: fixed;
    right: -300px;
    width: 300px;
    height: auto;
    line-height: 46px;
    font-size: 14px;
    background: #fff;
    text-align: left;
    color: #333;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: -4px 0px 5px #00000036;
    color: #fff;
    z-index: 9999;
    padding: 20px 30px 30px 30px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.pro-features.active {
    right: 0;
}

.pro-features li.big-title {
    font-weight: 600;
    color: #1A76D1;
    font-size: 15px;
}

.pro-features li.title {
    font-weight: 600;
    color: #1A76D1;
    font-size: 15px;
}

.pro-features .button {}

.pro-features .button .btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    display: inline-block;
    float: left;
    font-size: 13px;
    width: 100%;
    text-transform: capitalize;
}

.pro-features li {
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 22px;
    margin-bottom: 10px;
}

.get-pro {
    position: absolute;
    left: -80px;
    width: 80px;
    height: 45px;
    line-height: 45px;
    font-size: 14px;
    border-radius: 5px 0 0 5px;
    background: #1A76D1;
    text-align: center;
    color: #fff;
    top: 0;
    cursor: pointer;
    box-shadow: -4px 0px 5px #00000036;
}

.get-pro:hover {}

#scrollUp {
    bottom: 15px;
    right: 15px;
    padding: 10px 20px;
    background: #1a76d1;
    color: #fff;
    font-size: 25px;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    padding: 0;
    border-radius: 3px;
    box-shadow: 0px 0px 10px #00000026;
}

#scrollUp:hover {
    background: #2C2D3F;
}

/* Color Plate */
.color-plate {
    position: fixed;
    display: block;
    z-index: 99998;
    padding: 20px;
    width: 245px;
    background: #fff;
    right: -245px;
    text-align: left;
    top: 30%;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-box-shadow: -3px 0px 25px -2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: -3px 0px 25px -2px rgba(0, 0, 0, 0.2);
    box-shadow: -3px 0px 25px -2px rgba(0, 0, 0, 0.2);
}

.color-plate.active {
    right: 0;
}

.color-plate .color-plate-icon {
    position: absolute;
    left: -48px;
    width: 48px;
    height: 45px;
    line-height: 45px;
    font-size: 21px;
    border-radius: 5px 0 0 5px;
    background: #1A76D1;
    text-align: center;
    color: #fff !important;
    top: 0;
    cursor: pointer;
    box-shadow: -4px 0px 5px #00000036;
}

.color-plate h4 {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
    font-weight: 500;
}

.color-plate p {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 20px;
}

.color-plate span {
    width: 42px;
    height: 35px;
    border-radius: 0;
    cursor: pointer;
    display: inline-block;
    margin-right: 3px;
}

.color-plate span:hover {
    cursor: pointer;
}

.color-plate span.color1 {
    background: #1A76D1;
}

.color-plate span.color2 {
    background: #2196F3;
}

.color-plate span.color3 {
    background: #32B87D;
}

.color-plate span.color4 {
    background: #FE754A;
}

.color-plate span.color5 {
    background: #F82F56;
}

.color-plate span.color6 {
    background: #01B2B7;
}

.color-plate span.color7 {
    background: #6c5ce7;
}

.color-plate span.color8 {
    background: #85BA46;
}

.color-plate span.color9 {
    background: #273c75;
}

.color-plate span.color10 {
    background: #FD7272;
}

.color-plate span.color11 {
    background: #badc58;
}

.color-plate span.color12 {
    background: #44ce6f;
}

/*=============================
	End Global CSS 
===============================*/

/* Pagination Modernization */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #EAECF0;
}

.paginationjs {
    display: flex;
    justify-content: center;
    width: 100%;
}

.paginationjs .paginationjs-pages {
    float: none !important;
}

.paginationjs .paginationjs-pages ul {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    /* Standard gap for page numbers */
}

.paginationjs-pages ul li.paginationjs-prev {
    margin-right: auto;
}

.paginationjs-pages ul li.paginationjs-next {
    margin-left: auto;
}

.paginationjs .paginationjs-pages li {
    float: none !important;
    border: none !important;
}

.paginationjs .paginationjs-pages li>a {
    height: 40px !important;
    min-width: 40px;
    padding: 0 16px !important;
    line-height: 40px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #667085 !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.paginationjs .paginationjs-pages li>a:hover {
    background: #F9FAFB !important;
    color: #1D2939 !important;
}

.paginationjs .paginationjs-pages li.active>a {
    background: #F9FAFB !important;
    color: #1849A9 !important;
}

.paginationjs .paginationjs-pages li.paginationjs-prev>a,
.paginationjs .paginationjs-pages li.paginationjs-next>a {
    color: #344054 !important;
    border: 1px solid #D0D5DD !important;
    background: #fff !important;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05) !important;
    padding: 0 16px !important;
    gap: 8px;
    height: 40px !important;
    font-weight: 600 !important;
}

.paginationjs .paginationjs-pages li.paginationjs-prev>a:hover,
.paginationjs .paginationjs-pages li.paginationjs-next>a:hover {
    background: #F9FAFB !important;
    border-color: #D0D5DD !important;
}

.paginationjs .paginationjs-pages li.disabled>a {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.paginationjs .paginationjs-pages li.disabled>a:hover {
    background: #fff !important;
}

/*===================
	Start Header CSS 
=====================*/
.header {
    background-color: #fff;
    position: relative;
}

.header .navbar-collapse {
    padding: 0;
}

/* Topbar */
.header .topbar {
    background-color: #2448FF;
}

.header .topbar {
    padding: 2px 0;
}

.header .top-link {
    float: left;
}

.header .top-link li {
    display: inline-block;
    margin-right: 15px;
}

.header .top-link li:last-child {
    margin-right: 0px;
}

.header .top-link li a {
    color: #2C2D3F;
    font-size: 14px;
    font-weight: 400;
}

.header .top-link li:hover a {
    color: #1A76D1;
}

.header .top-contact {
    float: right;
}

.header .topbar p {
    color: #fff;
    font-size: 12px;
    letter-spacing: .3px;
}

.header .top-contact li {
    display: inline-block;
    margin-right: 25px;
    color: #fff;
    font-size: 13px;
}

.header .top-contact li:last-child {
    margin-right: 0;
}

.header .top-contact li a {
    font-size: 14px;
}

.header .top-contact li a:hover {
    color: #1A76D1;
}

.header .top-contact li i {
    color: #fff;
    margin-right: 8px;
}

.header .header-inner {
    background: #0b0d22;
    z-index: 999;
    width: 100%;
}

.get-quote {
    margin-top: 12px;
}

.get-quote .btn {
    color: #fff;
}

.header .logo {
    float: left;
    margin-top: 15px;
}

.header .navbar {
    background: none;
    box-shadow: none;
    border: none;
    margin: 0;
    height: 0px;
    min-height: 0px;
}

.header .nav li {
    margin-right: 15px;
    float: left;
    position: relative;
}

.header .nav li:last-child {
    margin: 0;
}

.header .nav li a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    padding: 25px 12px;
    position: relative;
    display: inline-block;
    position: relative;
}

.header .nav li a::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0%;
    background: #1A76D1;
    border-radius: 5px 5px 0 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.header .nav li.active a:before {
    opacity: 1;
    visibility: visible;
    width: 100%;
}

.header .nav li.active a {
    color: #1A76D1;
}

.header .nav li:hover a:before {
    opacity: 1;
    width: 100%;
    visibility: visible;
}

.header .nav li:hover a {
    color: #1a76d1;
}

.header .nav li a i {
    display: inline-block;
    margin-left: 1px;
    font-size: 13px;
}

/* Middle Header */
.header.style2 .header-inner {
    border-top: 1px solid #eee;
}

.header.style2 .logo {
    margin-top: 6px;
}

.header .middle-header {
    background: #fff;
    padding: 20px 0px;
}

.header .widget-main {
    float: right;
}

.header.style2 .get-quote {
    margin-top: 0;
}

.header .single-widget {
    position: relative;
    float: left;
    margin-right: 30px;
    padding-left: 55px;
}

.header .single-widget:last-child {
    margin: 0;
}

.header .single-widget .logo {
    margin: 0;
    padding: 0;
    margin-top: 7px;
}

.header .single-widget i {
    position: absolute;
    left: 0;
    top: 6px;
    height: 40px;
    width: 40px;
    line-height: 40px;
    color: #fff;
    background: #1A76D1;
    border-radius: 4px;
    text-align: center;
    font-size: 15px;
}

.header .single-widget h4 {
    font-size: 15px;
    font-weight: 500;
}

.header .single-widget p {
    margin-bottom: 5px;
    text-transform: capitalize;
}

.header .single-widget.btn {
    margin-left: 0;
}

/* Dropdown Menu */
.header .nav li .dropdown {
    background: #fff;
    width: 220px;
    position: absolute;
    left: -20px;
    top: 100%;
    z-index: 999;
    -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 3px 5px #3333334d;
    transform-origin: 0 0 0;
    transform: scaleY(0.2);
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    opacity: 0;
    visibility: hidden;
    top: 74px;
    border-left: 3px solid #2889e4;
}

.header .nav li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

.header .nav li .dropdown li {
    float: none;
    margin: 0;
    border-bottom: 1px dashed #eee;
}

.header .nav li .dropdown li:last-child {
    border: none;
}

.header .nav li .dropdown li a {
    padding: 12px 15px;
    color: #666;
    display: block;
    font-weight: 400;
    text-transform: capitalize;
    background: transparent;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.header .nav li .dropdown li a:before {
    display: none;
}

.header .nav li .dropdown li:last-child a {
    border-bottom: 0px;
}

.header .nav li .dropdown li:hover a {
    color: #1A76D1;
}

.header .nav li .dropdown li a:hover {
    border-color: transparent;
}

/* Right Bar */
.header.style2 .main-menu {
    display: inline-block;
    float: left;
}

.header .right-bar {
    float: right;
}

.header .right-bar {
    padding-top: 20px;
}

.header .right-bar {
    display: inline-block;
}

.header .right-bar a {
    color: #fff;
    height: 35px;
    width: 35px;
    line-height: 35px;
    text-align: center;
    background: #1a76d1;
    border-radius: 4px;
    display: block;
    font-size: 12px;
}

.header .right-bar li a:hover {
    color: #fff;
    background: #27AE60;
}

.header .search-top.active .search i:before {
    content: "\eee1";
    font-size: 15px;
}

/* Search */
.header .search-form {
    position: absolute;
    right: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    top: 74px;
    box-shadow: 0px 0px 10px #0000001c;
    border-radius: 4px;
    overflow: hidden;
    transform: scale(0);
}

.header .search-top.active .search-form {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.header .search-form input {
    width: 282px;
    height: 50px;
    line-height: 50px;
    padding: 0 70px 0 20px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    border-radius: 3px;
    border: none;
    background: #fff;
    color: #2C2D3F;
}

.header .search-form button {
    position: absolute;
    right: 0;
    height: 50px;
    top: 0;
    width: 50px;
    background: #1A76D1;
    border: none;
    color: #fff;
    border-radius: 0 4px 4px 0;
    border-left: 1px solid transparent;
}

.header .search-form button:hover {
    background: #fff;
    color: #1A76D1;
    border-color: #e6e6e6;
}

/* Header Sticky */
.header.sticky .header-inner {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    bottom: initial;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    animation: fadeInDown 0.5s both 0.1s;
    box-shadow: 0px 0px 13px #00000054;
}

/*=========================
	End Header CSS
===========================*/

.mobile-nav-btn {
    display: none;
}

@media only screen and (max-width: 991px) {
    .mobile-nav-btn {
        display: block !important;
        margin: 15px 10px;
    }

    .mobile-nav-btn a {
        background: #2448FF !important;
        color: #fff !important;
        text-align: center;
        border-radius: 6px;
        padding: 12px 20px !important;
        font-weight: 600 !important;
        display: block !important;
        transition: all 0.3s ease;
    }

    .mobile-nav-btn a:hover {
        background: #1A76D1 !important;
        transform: translateY(-1px);
    }

   
}









.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Card wrapper */
.post-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    height: 100%; /* ✅ equal height */
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.2s ease;
}

    .post-card:hover {
        transform: translateY(-5px);
    }

/* Image */
.post-image-container {
    width: 100%;
    height: 180px; /* ✅ fixed height */
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ✅ crop nicely */
}

/* Category */
.post-category {
    font-size: 13px;
    font-weight: bold;
    color: #007bff;
    margin: 10px 15px 0;
}

/* Title + arrow */
.post-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 15px;
}

.post-title {
    font-size: 18px;
    margin: 0;
    flex: 1;
}

/* Excerpt */
.post-excerpt {
    flex: 1; /* ✅ fills space */
    font-size: 14px;
    color: #555;
    margin: 0 15px 10px;
}

/* Footer */
.post-footer {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid #eee;
}

.author-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.author-info {
    margin-left: 10px;
}

.author-name {
    font-size: 14px;
    font-weight: bold;
}

.post-date {
    font-size: 12px;
    color: #777;
}

/* Fade-in animation */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.post-card {
    opacity: 0;
    transform: translateY(20px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .post-image-container {
        height: 140px;
    }

    .post-title {
        font-size: 16px;
    }

    .post-excerpt {
        font-size: 13px;
    }
}


.dropdown-menu {
    position: absolute;
    top: 70px;
    right: 170px;
    width: 160px;
    background: #fff;
    border-radius: 4px;
    padding: 8px 0;
    display: none;
    z-index: 999;
}

    .dropdown-menu a {
        display: block;
        padding: 10px 14px;
        text-decoration: none;
        color: #111;
        font-size: 14px;
        transition: 0.2s;
    }

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

.user-dropdown:hover .dropdown-menu,
.user-dropdown:focus-within .dropdown-menu {
    display: block;
}

@media (max-width: 768px) {
    .dropdown-menu {
        width: 150px;
        right: 0;
        top: calc(100% + 10px);
    }

        .dropdown-menu a {
            font-size: 13px;
            padding: 9px 12px;
        }
}

@media (max-width: 480px) {
    .dropdown-menu {
        width: 140px;
        right: -10px;
        top: calc(100% + 8px);
    }

        .dropdown-menu a {
            font-size: 13px;
            padding: 8px 12px;
        }
}