/********** Template CSS **********/
:root {
    --primary: #1363c6;
    --secondary: #15ace1;
    --light: #f4f7fe;
    --dark: #14183e;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: 0.5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: 0.5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: rgba(255, 255, 255, 0.7);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, 0.5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}

/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}

/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: #ffffff;
    transition: 0.5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    transition: 0.5s;
}

.service-item:hover .service-icon {
    background: #ffffff;
}

.service-item h5,
.service-item p {
    transition: 0.5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #ffffff;
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: 0.5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: var(--light);
    transition: 0.5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}

/*** Feature ***/
.feature {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

/*** Newsletter ***/
.newsletter {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text {
        padding-right: calc(((100% - 960px) / 2) + 0.75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
    }
}

/*** Case Study ***/
.case-item img {
    transition: 0.5s;
}

.case-item:hover img {
    transform: scale(1.2);
}

.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #ffffff;
    background: rgba(20, 24, 62, 0.7);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: #ffffff;
    border-color: #ffffff;
}

/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #ffffff;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}

/*** Testimonial ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 40px;
    height: 100%;
    top: calc(50% - 50px);
    left: -21px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 5px 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #ffffff;
    border: 1px solid var(--primary);
    border-radius: 40px;
    font-size: 18px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #ffffff;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    margin-left: 3rem;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    width: 15px;
    height: 15px;
    background: #ffffff;
    border: 1px solid var(--primary);
    border-radius: 15px;
    transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

/*** Team ***/
.team-item {
    transition: 0.5s;
    border: 1px solid transparent;
    transition: 0.5s;
}

.team-item:hover {
    border-color: var(--primary);
}

/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(256, 256, 256, 0.1);
    border-radius: 40px;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
    transition: 0.3s;
}

.footer .btn.btn-link:hover {
    color: #ffffff;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, 0.5);
}

.footer .copyright a:hover {
    color: #ffffff;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*BLOG*/
.blog-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a237e 100%);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSI+PHBhdGggZD0iTTEyODAgMTQwVjBTOTkzLjQ2IDE0MCA2NDAgMTM5IDAgMCAwIDB2MTQweiIvPjwvZz48L3N2Zz4=");
    background-size: 100% 100%;
    opacity: 0.1;
    z-index: 1;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

.badge-glow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

/* Blog Container */
.blog-container {
    background-color: #f8f9fa;
}

/* Enhanced Featured Article */
.featured-article {
    margin-bottom: 50px;
}

.featured-article-container {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featured-article-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.15);
}

.featured-article-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.9);
}

.featured-article-container:hover .featured-article-image img {
    transform: scale(1.05);
    filter: brightness(1);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a237e 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
    z-index: 10;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

.featured-article-content {
    padding: 30px;
    position: relative;
}

.featured-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6c757d;
}

.featured-article-date,
.featured-article-category {
    display: flex;
    align-items: center;
}

.featured-article-date i,
.featured-article-category i {
    margin-right: 6px;
    color: var(--primary);
}

.featured-article-category {
    color: var(--primary);
    font-weight: 600;
}

.featured-article-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #212529;
    transition: color 0.3s ease;
}

.featured-article-container:hover .featured-article-title {
    color: var(--primary);
}

.featured-article-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 25px;
}

.featured-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a237e 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.btn-read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
    color: white;
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

.featured-article-stats {
    display: flex;
    gap: 15px;
    color: #6c757d;
    font-size: 14px;
}

.featured-article-stats span {
    display: flex;
    align-items: center;
}

.featured-article-stats i {
    margin-right: 5px;
    color: var(--primary);
}

@media (max-width: 767px) {
    .featured-article-image {
        height: 250px;
    }

    .featured-article-title {
        font-size: 22px;
    }

    .featured-article-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-article-stats {
        width: 100%;
        justify-content: space-between;
    }
}

/* Blog Cards */
.blog-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img-container {
    overflow: hidden;
    height: 200px;
}

.blog-img {
    transition: transform 0.8s ease;
    height: 100%;
    object-fit: cover;
}

.blog-card:hover .blog-img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    margin-bottom: 15px;
}

.category {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category:hover {
    color: var(--primary);
    opacity: 0.8;
}

.date {
    color: #6c757d;
    font-size: 14px;
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #212529;
}

.blog-excerpt {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.read-more::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

/* Pagination */
.pagination-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination-modern {
    display: inline-flex;
    background: white;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.pagination-modern .page-item .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    border-radius: 50%;
    font-weight: 600;
    color: #495057;
    border: none;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.pagination-modern .page-item .page-link:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.pagination-modern .page-item.active .page-link {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.pagination-modern .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    cursor: not-allowed;
    box-shadow: none;
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.widget-title {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    color: #212529;
}

.widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box .form-control {
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    background-color: #f8f9fa;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
    padding-right: 50px;
}

.search-box .btn {
    position: absolute;
    right: 5px;
    top: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-box .btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Category List */
.category-list {
    display: flex;
    flex-direction: column;
}

.category-item {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #495057;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.category-item:hover {
    background-color: var(--primary);
    color: white;
    transform: translateX(5px);
}

.category-item:hover .category-name span,
.category-item:hover .category-count {
    color: white;
}

.category-item:hover .category-icon {
    color: rgba(255, 255, 255, 0.8);
}

.category-name {
    display: flex;
    align-items: center;
}

.category-icon {
    color: var(--primary);
    margin-right: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.category-name span {
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-count {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f8f9fa;
    color: #495057;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary) 0%, #1a237e 100%);
    color: white;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.newsletter-widget::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSI+PHBhdGggZD0iTTEyODAgMTQwVjBTOTkzLjQ2IDE0MCA2NDAgMTM5IDAgMCAwIDB2MTQweiIvPjwvZz48L3N2Zz4=");
    background-size: 100% 100%;
    opacity: 0.1;
    z-index: 1;
}

.newsletter-widget .widget-title {
    color: white;
}

.newsletter-widget .widget-title::after {
    background: rgba(255, 255, 255, 0.3);
}

.newsletter-form .form-control {
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-subscribe {
    padding: 12px 20px;
    border-radius: 50px;
    background-color: white;
    color: var(--primary);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

/* Blog Detail Styles */
.blog-detail-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.blog-detail-header {
    position: relative;
}

.blog-detail-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 30px 15px;
    font-size: 14px;
    color: #6c757d;
}

.blog-detail-category span {
    background: linear-gradient(135deg, var(--primary) 0%, #1a237e 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.blog-detail-date,
.blog-detail-author,
.blog-detail-comments {
    display: flex;
    align-items: center;
}

.blog-detail-date i,
.blog-detail-author i,
.blog-detail-comments i {
    margin-right: 6px;
    color: var(--primary);
}

.blog-detail-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 30px 25px;
    color: #212529;
}

.blog-detail-content {
    padding: 0 30px 30px;
}

.blog-detail-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
}

.blog-detail-content p.lead {
    font-size: 18px;
    font-weight: 500;
    color: #343a40;
    margin-bottom: 25px;
}

.blog-detail-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #212529;
}

.blog-detail-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 35px 0 20px;
    color: #212529;
}

.blog-detail-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: #212529;
}

.blog-quote {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(26, 35, 126, 0.05) 100%);
    border-left: 4px solid var(--primary);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.blog-quote p {
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    color: #343a40;
    margin-bottom: 10px;
}

.blog-quote footer {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
}

.blog-detail-list ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.blog-detail-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #495057;
}

.blog-detail-tags,
.blog-detail-share {
    padding: 25px 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-detail-tags h4,
.blog-detail-share h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
}

.social-share {
    display: flex;
    gap: 10px;
}

.social-share .btn-social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-share .btn-social:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

/* Author Bio */
.author-bio {
    display: flex;
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.author-image {
    flex-shrink: 0;
    margin-right: 25px;
}

.author-image img {
    width: 100px;
    height: 100px;
    border: 5px solid rgba(var(--primary-rgb), 0.1);
}

.author-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #212529;
}

.author-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.author-description {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.author-social a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Related Posts */
.related-posts,
.comments-section {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #212529;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
}

/* Comments */
.comment-list {
    margin-bottom: 40px;
}

.comment {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.comment-reply {
    margin-left: 60px;
    margin-top: -15px;
}

.comment-reply::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 20px;
    width: 2px;
    height: 30px;
    background-color: rgba(var(--primary-rgb), 0.2);
}

.comment-avatar {
    flex-shrink: 0;
    margin-right: 20px;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(var(--primary-rgb), 0.1);
}

.comment-content {
    flex-grow: 1;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    position: relative;
}

.comment-content::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #f8f9fa;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-header h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
    color: #212529;
}

.comment-date {
    font-size: 12px;
    color: #6c757d;
}

.comment-content p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
}

.comment-actions {
    text-align: right;
}

.reply-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.reply-btn:hover {
    color: #0056b3;
}

/* Comment Form */
.comment-form-container {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.comment-form-container h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #212529;
}

.comment-form .form-control {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.comment-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post-item {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.popular-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.popular-post-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.popular-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content {
    padding: 10px 15px;
    flex-grow: 1;
}

.popular-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-post-title:hover {
    color: var(--primary);
}

.popular-post-meta {
    font-size: 12px;
    color: #6c757d;
}

.popular-post-meta i {
    margin-right: 5px;
    color: var(--primary);
}

/* Service Cards */
.service-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background: linear-gradient(90deg, #5faeff, #febe7b1a);
    clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%);
    z-index: 1;
    transition: all 0.3s ease;
    opacity: 0.7;
    border-radius: 10px 0 0 10px;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #615fff 0%, #7bfefe 100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 126, 95, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 0;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-right: 20px;
    color: #5f6bff;
    font-size: 24px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 126, 95, 0.2);
}

.service-card:hover .service-icon {
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: scale(1.1);
    border-color: transparent;
}

.service-card h5 {
    color: #333;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover h5 {
    color: #fff;
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .sidebar-widget {
        margin-top: 30px;
    }
    
    .blog-detail-image {
        height: 350px;
    }
    
    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .comment-reply {
        margin-left: 30px;
    }
    
    .service-card {
        padding: 15px 20px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .blog-detail-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .blog-detail-title {
        font-size: 26px;
    }
    
    .blog-detail-image {
        height: 250px;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-bottom: 15px;
    }
    
    .comment-content::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .pagination-modern .page-item .page-link {
        width: 35px;
        height: 35px;
        margin: 0 3px;
    }

    .blog-img-container {
        height: 180px;
    }

    .featured-content {
        padding: 15px !important;
    }

    .featured-content h2 {
        font-size: 20px;
    }
}

.pagination-modern .page-item .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    border-radius: 50%;
    font-weight: 500;
    color: #555;
    border: none;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pagination-modern .page-item .page-link:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pagination-modern .page-item.active .page-link {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
}

.pagination-modern .page-item.disabled .page-link {
    color: #ccc;
    background-color: #f8f8f8;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 576px) {
    .pagination-modern .page-item .page-link {
        width: 35px;
        height: 35px;
        margin: 0 3px;
    }
}

/* Modern Modal Styles */
.modern-modal {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-close-custom {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-close-custom:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-icon-container {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #615fff 0%, #7bfefe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(255, 126, 95, 0.3);
}

.floating-input-container {
    position: relative;
    margin-bottom: 20px;
}

.floating-input {
    height: auto;
    padding: 15px 15px 15px 45px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.floating-input:focus {
    border-color: #ff7e5f;
    box-shadow: 0 0 0 0.2rem rgba(255, 126, 95, 0.25);
    background-color: #fff;
}

textarea.floating-input {
    min-height: 120px;
    resize: none;
}

.floating-label {
    position: absolute;
    top: 15px;
    left: 45px;
    pointer-events: none;
    transition: all 0.3s ease;
    color: #6c757d;
}

.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: -10px;
    left: 15px;
    font-size: 12px;
    background-color: #fff;
    padding: 0 5px;
    color: #5f64ff;
    font-weight: 600;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    transition: all 0.3s ease;
}

textarea ~ .input-icon {
    top: 25px;
    transform: none;
}

.floating-input:focus ~ .input-icon {
    color: #ff7e5f;
}

.btn-gradient-primary {
    background: linear-gradient(135deg, #615fff 0%, #7bfefe 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.3);
}

.btn-gradient-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgb(95 100 255 / 40%);
    color: white;
}

/* Contact Cards Styles */
.contact-card {
    position: relative;
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    z-index: 1;
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a237e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.contact-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.contact-card p {
    color: #6c757d;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.contact-card-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.contact-card-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.contact-card-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #1a237e 100%);
    opacity: 0;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    clip-path: circle(0% at 50% 50%);
}

/* Hover Effects */
.contact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.2);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 25px rgba(var(--primary-rgb), 0.4);
    background: white;
    color: var(--primary);
}

.contact-card:hover h4 {
    color: white;
}

.contact-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-card:hover .contact-card-link {
    color: white;
}

.contact-card:hover .contact-card-link i {
    transform: translateX(5px);
}

.contact-card:hover .contact-card-shape {
    opacity: 1;
    clip-path: circle(150% at 50% 50%);
}

/* Animation Delays for Cards */
.wow.fadeInUp[data-wow-delay="0.1s"] .contact-card-icon {
    transition-delay: 0.1s;
}

.wow.fadeInUp[data-wow-delay="0.3s"] .contact-card-icon {
    transition-delay: 0.2s;
}

.wow.fadeInUp[data-wow-delay="0.5s"] .contact-card-icon {
    transition-delay: 0.3s;
}