/*
    Scoped enhancements for landing page hero and sidebar
    These selectors are prefixed to minimize impact on existing styles.
*/

/* Hero Section */
header.site-header {
    background: linear-gradient(135deg, #228df8 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
}

header.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: tl-fadeInUp 0.8s ease-out;
}

@keyframes tl-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tl-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-image-wrapper {
    position: relative;
    animation: tl-float 6s ease-in-out infinite;
}

.modern-breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 24px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-breadcrumb .breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}
.modern-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}
.modern-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.modern-breadcrumb .breadcrumb-item.active {
    color: #fff;
}
.modern-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.stat-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.stat-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.stat-badge i {
    font-size: 1.1rem;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.modern-btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}
.modern-btn-primary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}
.modern-btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    color: #667eea;
}
.modern-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.modern-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.hero-image-card {
    background: #fff;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.4s ease;
}
.hero-image-card:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}
.hero-image-card img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}
.hero-image-card:hover img {
    transform: scale(1.05);
}

/* Sidebar Cards */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: tl-fadeIn 0.5s ease-out;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
    border-color: #667eea !important;
}
.hover-lift:active {
    transform: translateY(-2px);
}

.card-header.bg-gradient-primary {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%) !important;
}
.btn-primary.rounded-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
.badge.bg-light {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

@keyframes tl-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }
    header.site-header {
        min-height: auto;
        padding: 4rem 0;
    }
}
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .modern-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/*

TemplateMo 590 topic listing

https://templatemo.com/tm-590-topic-listing

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )
-----------------------------------------*/
:root {
    --white-color: #ffffff;
    --primary-color: #13547a;
    --secondary-color: #ffffff; /*topbar*/
    --section-bg-color: #f0f8ff;
    --custom-btn-bg-color: #61b0ff; /*button*/
    --custom-btn-bg-hover-color: #7cb9f6; /*button hover*/
    --dark-color: #61b0ff;
    --p-color: #717275;
    --border-color: #bfdcfa;
    --link-hover-color: #ffffff;
    --link-footer-color: #228df8;

    --body-font-family: "Open Sans", sans-serif;
    --title-font-family: "Montserrat", sans-serif;

    --h1-font-size: 58px;
    --h2-font-size: 46px;
    --h3-font-size: 32px;
    --h4-font-size: 28px;
    --h5-font-size: 24px;
    --h6-font-size: 22px;
    --p-font-size: 20px;
    --menu-font-size: 14px;
    --btn-font-size: 18px;
    --copyright-font-size: 16px;

    --border-radius-large: 100px;
    --border-radius-medium: 20px;
    --border-radius-small: 10px;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

body {
    background-color: var(--white-color);
    font-family: var(--body-font-family);
}

/*---------------------------------------
  TYPOGRAPHY
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
    color: #228df8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--title-font-family);
    font-weight: var(--font-weight-semibold);
}

h1 {
    font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: var(--h2-font-size);
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: var(--h3-font-size);
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    font-size: var(--h5-font-size);
}

h6 {
    color: var(--primary-color);
    font-size: var(--h6-font-size);
}

p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-normal);
}

ul li {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-normal);
}

a,
button {
    touch-action: manipulation;
    transition: all 0.3s;
}

a {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
}

b,
strong {
    font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  SECTION
-----------------------------------------*/
.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-bg {
    background-color: var(--section-bg-color);
}

.section-overlay {
    background-image: linear-gradient(15deg, #13547a 0%, #bfdcfa 100%);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.section-overlay + .container {
    position: relative;
}

.tab-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius-medium);
}

.nav-tabs {
    border-bottom: 1px solid #7cb9f6;
    margin-bottom: 40px;
    justify-content: center;
}

.nav-tabs .nav-link {
    border-radius: 0;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    color: var(--p-color);
    font-family: var(--title-font-family);
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-medium);
    padding: 15px 25px;
    transition: all 0.3s;
}

.nav-tabs .nav-link:first-child {
    margin-right: 20px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

/*---------------------------------------
  CUSTOM ICON COLOR
-----------------------------------------*/
.custom-icon {
    color: var(--secondary-color);
}

/*---------------------------------------
  CUSTOM BUTTON
-----------------------------------------*/
.custom-btn {
    background: var(--custom-btn-bg-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-semibold);
    line-height: normal;
    transition: all 0.3s;
    padding: 10px 20px;
}

.custom-btn:hover {
    background: var(--custom-btn-bg-hover-color);
    color: var(--white-color);
}

.custom-border-btn {
    background: transparent;
    border: 2px solid var(--custom-btn-bg-color);
    color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
    background: var(--custom-btn-bg-color);
    border-color: transparent;
    color: var(--white-color);
}

.custom-btn-bg-white {
    border-color: var(--white-color);
    color: var(--white-color);
}

/*---------------------------------------
  SITE HEADER
-----------------------------------------*/
.site-header {
    background: linear-gradient(
        180deg,
        #7cb9f6 0%,
        var(--custom-btn-bg-color) 50%,
        var(--section-bg-color) 100%
    );
    padding-top: 150px;
    padding-bottom: 80px;
}

.site-header .container {
    height: 100%;
}

.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-item a:hover,
.breadcrumb-item.active {
    color: var(--white-color);
}

.site-header .custom-icon {
    color: var(--white-color);
    font-size: var(--h4-font-size);
}

.site-header .custom-icon:hover {
    color: var(--secondary-color);
}

/*---------------------------------------
  NAVIGATION
-----------------------------------------*/
.sticky-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
}

.sticky-wrapper.is-sticky .navbar {
    background-color: var(--secondary-color);
}

.sticky-wrapper.is-sticky .navbar-nav .nav-link {
    color: var(--primary-color);
}

.sticky-wrapper.is-sticky .navbar-nav .nav-link.active,
.sticky-wrapper.is-sticky .navbar-nav .nav-link:hover {
    color: var(--link-hover-color);
}

.navbar {
    background: transparent;
    border-bottom: 1px solid rgba(252, 255, 255, 0.35);
    z-index: 9;
}

.navbar-brand,
.navbar-brand:hover {
    font-size: var(--h3-font-size);
    font-weight: var(--font-weight-bold);
    display: block;
}

.navbar-brand span {
    font-family: var(--title-font-family);
}

.navbar-expand-lg .navbar-nav .nav-link {
    border-radius: var(--border-radius-large);
    margin: 10px;
    padding: 10px;
}

.navbar-nav .nav-link {
    display: inline-block;
    color: var(--white-color);
    font-family: var(--title-font-family);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--white-color);
}

.navbar .dropdown-menu {
    background: var(--white-color);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    border: 0;
    display: inherit;
    opacity: 0;
    min-width: 9rem;
    margin-top: 20px;
    padding: 13px 0 10px 0;
    transition: all 0.3s;
    pointer-events: none;
}

.navbar .dropdown-menu::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 15px solid var(--white-color);
    position: absolute;
    top: -10px;
    left: 10px;
}

.navbar .dropdown-item {
    display: inline-block;
    color: var(--p-bg-color);
    font-family: var(--title-font-family);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
    background: transparent;
    color: var(--primary-color);
}

.navbar .dropdown-toggle::after {
    content: "\f282";
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-size: var(--copyright-font-size);
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    left: 2px;
    border: 0;
}

@media screen and (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        margin-top: 0;
        pointer-events: auto;
    }
}

.navbar-icon {
    background: var(--white-color);
    border-radius: var(--border-radius-large);
    display: inline-block;
    font-size: var(--h5-font-size);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.navbar-icon:hover {
    background: #228df8;
    color: var(--white-color);
}

.navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0;
    width: 30px;
    height: 35px;
    outline: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease,
        -webkit-transform 300ms 350ms ease;
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
    background: var(--white-color);
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease,
        -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: var(--white-color);
    width: 30px;
    height: 2px;
    content: "";
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
}

/*---------------------------------------
  HERO
-----------------------------------------*/
.hero-section {
    background: linear-gradient(
        180deg,
        #7cb9f6 0%,
        var(--custom-btn-bg-color) 50%,
        var(--section-bg-color) 100%
    );
    position: relative;
    overflow: hidden;
    padding-top: 150px;
    padding-bottom: 150px;
}

.hero-section .input-group {
    background-color: var(--white-color);
    border-radius: var(--border-radius-large);
    padding: 10px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-section .input-group-text {
    background-color: transparent;
    border: 0;
    color: var(--primary-color);
}

.hero-section input[type="search"] {
    border: 0;
    box-shadow: none;
    margin-bottom: 0;
    padding-left: 0;
}

.hero-section button[type="submit"] {
    background-color: var(--primary-color);
    border: 0;
    border-radius: var(--border-radius-large) !important;
    color: var(--white-color);
    max-width: 150px;
    transition: background-color 0.3s ease;
}

.hero-section button[type="submit"]:hover {
    background-color: var(--custom-btn-bg-hover-color);
}

/*---------------------------------------
  TOPICS
-----------------------------------------*/
.featured-section {
    background-color: var(--secondary-color);
    border-radius: 0 0 100px 100px;
    padding-bottom: 100px;
}

.featured-section .row {
    position: relative;
    bottom: 100px;
    margin-bottom: -100px;
}

.custom-block {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.custom-block:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.custom-block > a {
    width: 100%;
}

.custom-block-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-top: 35px;
}

.custom-block .rounded-pill {
    border-radius: 5px !important;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 20px;
}

.custom-block-overlay {
    height: 100%;
    min-height: 350px;
    padding: 0;
}

.custom-block-overlay > a {
    height: 100%;
}

.custom-block-overlay .custom-block-image {
    border-radius: var(--border-radius-medium);
    display: block;
    height: 100%;
    margin-top: 0;
}

.custom-block-overlay-text {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    padding: 30px;
}

.social-share {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
    padding: 20px 35px;
}

.social-share .bi-bookmark {
    color: var(--white-color);
    font-size: var(--h5-font-size);
}

.social-share .bi-bookmark:hover {
    color: var(--secondary-color);
}

.bg-design {
    background-color: #00b0ff;
}

.bg-graphic {
    background-color: #00bfa6;
}

.bg-advertising {
    background-color: #f50057;
}

.bg-finance {
    background-color: #536dfe;
}

.bg-music {
    background-color: #f9a826;
}

.bg-education {
    background-color: #00bfa6;
}

/*---------------------------------------
  TOPICS
-----------------------------------------*/
.topics-detail-block {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
}

.topics-detail-block-image {
    display: block;
    border-radius: var(--border-radius-medium);
}

blockquote {
    background-color: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    font-family: var(--title-font-family);
    font-size: var(--h4-font-size);
    font-weight: var(--font-weight-bold);
    display: inline-block;
    text-align: center;
    margin: 30px;
    padding: 40px;
}

.topics-listing-page .site-header {
    padding-bottom: 65px;
}

.custom-block-topics-listing-info {
    margin: 30px 20px 20px 30px;
}

.custom-block-topics-listing {
    height: inherit;
}

.custom-block-topics-listing .custom-block-image {
    width: 200px;
}

/*---------------------------------------
  PAGINATION
-----------------------------------------*/
.pagination {
    margin-top: 30px;
    margin-bottom: 20px;
    justify-content: center;
    gap: 5px;
}

.page-link {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-family: var(--title-font-family);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    margin: 0;
    padding: 8px 14px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    background-color: var(--white-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-link:hover {
    background-color: var(--custom-btn-bg-hover-color);
    border-color: var(--custom-btn-bg-hover-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(19, 84, 122, 0.2);
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(19, 84, 122, 0.25);
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    padding: 8px 12px;
    font-size: 16px;
}

.active > .page-link,
.page-link.active {
    background-color: #228df8;
    border-color: #228df8;
    color: var(--white-color);
    font-weight: var(--font-weight-semibold);
    box-shadow: 0 2px 6px rgba(19, 84, 122, 0.3);
}

.page-item.disabled .page-link {
    color: #ccc;
    background-color: #f8f9fa;
    border-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Explore Section - Publicity Channel */
.explore-section {
    background-color: var(--white-color);
}

.explore-section h2 {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.explore-section .text-muted {
    color: var(--p-color) !important;
    font-size: 15px;
}

.explore-section .btn-outline-secondary {
    border-color: var(--border-color);
    color: var(--primary-color);
    font-size: 13px;
    padding: 5px 15px;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
}

.explore-section .btn-outline-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

/*---------------------------------------
  TIMELINE
-----------------------------------------*/
.timeline-section {
    background-image: url("../images/colleagues-working-cozy-office-medium-shot.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

.timeline-container .vertical-scrollable-timeline {
    list-style-type: none;
    position: relative;
    padding-left: 0;
}

.timeline-container .vertical-scrollable-timeline .list-progress {
    width: 8px;
    height: 87%;
    background-color: var(--primary-color);
    position: absolute;
    left: 52px;
    top: 0;
    overflow: hidden;
}

.timeline-container .vertical-scrollable-timeline .list-progress .inner {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    background-color: var(--secondary-color);
    width: 100%;
}

.timeline-container .vertical-scrollable-timeline li {
    position: relative;
    padding: 20px 0px 65px 145px;
}

.timeline-container .vertical-scrollable-timeline li:last-child {
    padding-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li p {
    line-height: 40px;
}

.timeline-container .vertical-scrollable-timeline li p:last-child {
    margin-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder {
    position: absolute;
    left: 0;
    top: 0;
    width: 104px;
    height: 104px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
    transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder::before {
    content: "";
    width: 80px;
    height: 80px;
    border: 4px solid #fff;
    position: absolute;
    background-color: var(--secondary-color);
    border-radius: 50%;
    z-index: -1;
    transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder i {
    font-size: 25px;
    color: var(--white-color);
}

.timeline-container .vertical-scrollable-timeline li::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 8px;
    background-color: transparent;
    left: 52px;
    z-index: 0;
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder {
    background-color: var(--primary-color);
}

.timeline-container
    .vertical-scrollable-timeline
    li.active
    .icon-holder::before {
    background-color: var(--primary-color);
}

/*---------------------------------------
  FAQs
-----------------------------------------*/
.faq-section .accordion-item {
    border: 0;
}

.faq-section .accordion-button {
    font-size: var(--h6-font-size);
    font-weight: var(--font-weight-semibold);
}

.faq-section .accordion-item:first-of-type .accordion-button {
    border-radius: var(--border-radius-large);
}

.faq-section .accordion-button:not(.collapsed) {
    border-radius: var(--border-radius-large);
    box-shadow: none;
    color: var(--primary-color);
}

.faq-section .accordion-body {
    color: var(--p-color);
    font-size: var(--btn-font-size);
    line-height: 40px;
}

/*---------------------------------------
  NEWSLETTER
-----------------------------------------*/
.newsletter-image {
    border-radius: var(--border-radius-medium);
}

/*---------------------------------------
  CONTACT
-----------------------------------------*/
.google-map {
    border-radius: var(--border-radius-medium);
}

.contact-form .form-floating > textarea {
    border-radius: var(--border-radius-medium);
    height: 150px;
}

/*---------------------------------------
  SUBSCRIBE FORM
-----------------------------------------*/
.subscribe-form-wrap {
    padding: 50px;
}

.subscribe-form {
    width: 95%;
}

/*---------------------------------------
  CUSTOM FORM
-----------------------------------------*/
.custom-form .form-control {
    border-radius: var(--border-radius-large);
    color: var(--p-color);
    margin-bottom: 24px;
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 20px;
    outline: none;
}

.form-floating > label {
    padding-left: 20px;
}

.custom-form button[type="submit"] {
    background: var(--custom-btn-bg-color);
    border: none;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-family: var(--title-font-family);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s;
    margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
    background: var(--custom-btn-bg-hover-color);
    border-color: transparent;
}

/*---------------------------------------
  SITE FOOTER
-----------------------------------------*/
.site-footer {
    background-color: #7cb9f6;
    padding-top: 80px;
    padding-bottom: 40px;
    position: relative;
}

.site-footer::after {
    display: none;
}

.site-footer-title {
    color: var(--white-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
}

.site-footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer .dropdown-menu {
    padding: 0;
}

.site-footer .dropdown-item {
    color: var(--p-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-medium);
    padding: 4px 18px;
}

.site-footer .dropdown-item:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.site-footer .dropdown-menu li:first-child .dropdown-item {
    padding-top: 10px;
}

.site-footer .dropdown-menu li:last-child .dropdown-item {
    padding-bottom: 12px;
}

.site-footer .dropdown-toggle {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white-color);
}

.site-footer .dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white-color);
}

.site-alamat-links {
    padding-left: 0;
}

.site-alamat-link-item {
    display: block;
    list-style: none;
    line-height: normal;
    margin-bottom: 8px;
}

.site-alamat-link {
    color: rgba(0, 0, 0, 0.8);
    font-size: var(--copyright-font-size);
    font-weight: var(--font-weight-medium);
    line-height: normal;
    transition: color 0.3s ease;
}

.site-alamat-link:hover {
    color: var(--white-color);
}

.site-footer-links {
    padding-left: 0;
}

.site-footer-link-item {
    display: block;
    list-style: none;
    line-height: normal;
    margin-bottom: 8px;
}

.site-footer-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--copyright-font-size);
    font-weight: var(--font-weight-medium);
    line-height: normal;
    transition: color 0.3s ease;
}

.site-footer-link:hover {
    color: var(--white-color);
}

.copyright-text {
    font-size: var(--copyright-font-size);
    color: rgba(255, 255, 255, 0.7);
}

/*---------------------------------------
  SOCIAL ICON
-----------------------------------------*/
.social-icon {
    margin: 0;
    padding: 0;
}

.social-icon-item {
    list-style: none;
    display: inline-block;
    vertical-align: top;
}

.social-icon-link {
    background: var(--secondary-color);
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--copyright-font-size);
    display: block;
    margin-right: 10px;
    text-align: center;
    width: 35px;
    height: 35px;
    line-height: 36px;
    transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/*---------------------------------------
  RESPONSIVE STYLES
-----------------------------------------*/
@media screen and (max-width: 991px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 28px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .navbar {
        background-color: var(--secondary-color);
    }

    .navbar-nav .dropdown-menu {
        position: relative;
        left: 10px;
        opacity: 1;
        pointer-events: auto;
        max-width: 155px;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .navbar-expand-lg .navbar-nav {
        padding-bottom: 20px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0;
    }

    .nav-tabs .nav-link:first-child {
        margin-right: 5px;
    }

    .nav-tabs .nav-link {
        font-size: var(--copyright-font-size);
        padding: 10px;
    }

    .featured-section {
        border-radius: 0 0 80px 80px;
        padding-bottom: 50px;
    }

    .custom-block-topics-listing .custom-block-image {
        width: auto;
    }

    .custom-block-topics-listing > .d-flex,
    .custom-block-topics-listing-info,
    .custom-block-topics-listing a {
        flex-direction: column;
    }

    .timeline-container .vertical-scrollable-timeline .list-progress {
        height: 75%;
    }

    .timeline-container .vertical-scrollable-timeline li {
        padding-left: 135px;
    }

    .subscribe-form-wrap {
        padding-top: 30px;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 26px;
    }

    h4 {
        font-size: 22px;
    }

    h5 {
        font-size: 20px;
    }
}

/*---------------------------------------
  CUSTOM ADDITIONS FOR ETOFFICE
-----------------------------------------*/

/* Active menu styling */
.navbar-nav .nav-link.active {
    color: var(--white-color) !important;
    font-weight: var(--font-weight-medium);
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--white-color);
}

/* Active menu styling when navbar is sticky (white background) */
.sticky-wrapper.is-sticky .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.sticky-wrapper.is-sticky .navbar-nav .nav-link.active::after {
    background-color: var(--primary-color);
}

/* Logo visibility based on navbar background */
/* Default (di home/hero): navbar transparan dengan background gelap, tampilkan logo light (putih) */
.navbar-brand .logo-light {
    display: block;
}

.navbar-brand .logo-dark {
    display: none;
}

/* When navbar sticky (setelah scroll, background putih), tampilkan logo dark (berwarna) */
.sticky-wrapper.is-sticky .navbar-brand .logo-light {
    display: none;
}

.sticky-wrapper.is-sticky .navbar-brand .logo-dark {
    display: block;
}

/* CKEditor Content Styling */
.ckeditor-content h1 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #333;
}

.ckeditor-content h2 {
    font-size: 1.75em;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #333;
}

.ckeditor-content h3 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #333;
}

.ckeditor-content h4 {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #333;
}

.ckeditor-content h5 {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #333;
}

.ckeditor-content h6 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #333;
}

.ckeditor-content p {
    margin-bottom: 1em;
    line-height: 1.6;
    color: #555;
}

.ckeditor-content ul,
.ckeditor-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.ckeditor-content ul li,
.ckeditor-content ol li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.ckeditor-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 1em;
    margin: 1em 0;
    font-style: italic;
    color: #666;
}

.ckeditor-content strong {
    font-weight: bold;
}

.ckeditor-content em {
    font-style: italic;
}

.ckeditor-content img {
    max-width: 100%;
    height: auto;
    margin: 1em 0;
}

.ckeditor-content a {
    color: #13547a;
    text-decoration: underline;
}

.ckeditor-content a:hover {
    color: #0d3a52;
}

.ckeditor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.ckeditor-content table td,
.ckeditor-content table th {
    border: 1px solid #ddd;
    padding: 8px;
}

.ckeditor-content table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Application Slider Styling - Modern & Animated */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.applications-section {
    background-color: var(--section-bg-color);
    padding: 80px 0;
}

.app-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.app-slider-container {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    perspective: 1000px;
}

.app-slider {
    display: flex;
    gap: 35px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: max-content;
}

.app-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 35px 25px;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(34, 141, 248, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: slideInFromLeft 0.6s ease-out;
}

.app-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        135deg,
        rgba(34, 141, 248, 0.3),
        rgba(86, 137, 242, 0.3)
    );
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.app-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.app-card:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.02);
    box-shadow: 0 20px 50px rgba(34, 141, 248, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(34, 141, 248, 0.4);
}

.app-card:hover::before {
    opacity: 1;
}

.app-card:hover::after {
    left: 100%;
}

.app-icon {
    width: 90px;
    height: 90px;
    background: #f8f9fa;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.8rem;
    overflow: hidden;
    border: 2px solid #e9ecef;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08),
        inset 0 -2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(34, 141, 248, 0.2),
        inset 0 -2px 10px rgba(0, 0, 0, 0.05);
    border-color: rgba(169, 212, 255, 0.3);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.4s ease;
}

.app-card:hover .app-icon img {
    transform: scale(1.1);
}

.app-icon i {
    color: #228df8;
    transition: transform 0.4s ease;
}

.app-card:hover .app-icon i {
    transform: scale(1.1) rotate(-5deg);
}

.app-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    font-family: var(--title-font-family);
    transition: color 0.3s ease;
    letter-spacing: -0.5px;
}

.app-card:hover .app-name {
    color: #228df8;
}

.app-description {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.7;
    transition: color 0.3s ease;
    min-height: 48px;
}

.app-card:hover .app-description {
    color: #4a5568;
}

.app-redirect {
    color: #228df8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(34, 141, 248, 0.1);
    position: relative;
    overflow: hidden;
}

.app-redirect::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.app-redirect:hover {
    color: white;
    background: #228df8;
    box-shadow: 0 4px 15px rgba(34, 141, 248, 0.4);
    transform: translateY(-2px);
}

.app-redirect:hover::before {
    left: 100%;
}

.app-redirect i {
    transition: transform 0.3s ease;
}

.app-redirect:hover i {
    transform: translateX(4px);
}

/* Slider Navigation Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid rgba(34, 141, 248, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    color: #228df8;
}

.slider-nav-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #228df8 0%, #5689f2 100%);
    color: white;
    border-color: #228df8;
    box-shadow: 0 8px 30px rgba(34, 141, 248, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
}

.slider-nav-btn.prev {
    left: 10px;
}

.slider-nav-btn.next {
    right: 10px;
}

.slider-nav-btn i {
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.slider-nav-btn:hover:not(:disabled) i {
    transform: scale(1.2);
}

.slider-nav-btn.prev:hover:not(:disabled) i {
    animation: slideLeft 0.6s ease infinite;
}

.slider-nav-btn.next:hover:not(:disabled) i {
    animation: slideRight 0.6s ease infinite;
}

@keyframes slideLeft {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-5px);
    }
}

@keyframes slideRight {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.section-title-apps {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--title-font-family);
    font-size: 2.5rem;
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(135deg, #228df8, #5689f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle-apps {
    color: #718096;
    margin-bottom: 50px;
    font-size: 1.1rem;
    animation: fadeInUp 1s ease-out;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Responsive Design for Applications */
@media screen and (max-width: 991px) {
    .applications-section {
        padding: 60px 0;
    }

    .app-slider-wrapper {
        padding: 0 50px;
    }

    .app-card {
        min-width: 260px;
        padding: 30px 20px;
    }

    .slider-nav-btn {
        width: 50px;
        height: 50px;
    }

    .section-title-apps {
        font-size: 2rem;
    }
}

@media screen and (max-width: 575px) {
    .app-slider-wrapper {
        padding: 0 40px;
    }

    .app-card {
        min-width: 240px;
        padding: 25px 18px;
    }

    .app-icon {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }

    .app-name {
        font-size: 1.1rem;
    }

    .slider-nav-btn {
        width: 45px;
        height: 45px;
    }

    .slider-nav-btn.prev {
        left: 5px;
    }

    .slider-nav-btn.next {
        right: 5px;
    }

    .section-title-apps {
        font-size: 1.8rem;
    }

    .section-subtitle-apps {
        font-size: 1rem;
    }
}

/*---------------------------------------
  CONTACT SECTION ENHANCEMENT
-----------------------------------------*/
.contact-card {
    background: white;
    border-radius: var(--border-radius-medium);
    padding: 35px 25px;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--custom-btn-bg-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(
        135deg,
        var(--custom-btn-bg-color) 0%,
        var(--custom-btn-bg-hover-color) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(97, 176, 255, 0.4);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h5 {
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
    font-family: var(--title-font-family);
}

.contact-link {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--custom-btn-bg-hover-color);
    transform: translateX(5px);
}

.map-wrapper {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-medium);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.map-wrapper h4 {
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
    font-family: var(--title-font-family);
}

.about-company-card {
    background: white;
    border-radius: var(--border-radius-medium);
    border-left: 4px solid var(--custom-btn-bg-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-company-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.about-company-card h4 {
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
    font-family: var(--title-font-family);
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
    .contact-card {
        margin-bottom: 20px;
    }

    .map-wrapper {
        padding: 20px;
    }

    .about-company-card {
        padding: 25px !important;
    }
}

/*---------------------------------------
  MODERN POST CARDS (PUBLICITY CHANNEL)
-----------------------------------------*/
.modern-post-card {
    background: white;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--custom-btn-bg-color);
}

.modern-post-card .card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.modern-post-card:hover .post-thumbnail {
    transform: scale(1.1);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(97, 176, 255, 0.9) 0%,
        rgba(124, 185, 246, 0.9) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-post-card:hover .post-overlay {
    opacity: 1;
}

.post-overlay i {
    color: white;
    font-size: 3rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modern-post-card:hover .post-overlay i {
    transform: scale(1);
}

.post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: var(--title-font-family);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.modern-post-card:hover .post-title {
    color: var(--custom-btn-bg-color);
}

.post-excerpt {
    color: var(--p-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.meta-item {
    color: var(--p-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--custom-btn-bg-color);
    font-size: 1rem;
}

.read-more {
    color: var(--custom-btn-bg-color);
    font-weight: var(--font-weight-semibold);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.modern-post-card:hover .read-more {
    gap: 8px;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: var(--border-radius-medium);
    border: 2px dashed var(--border-color);
}

.empty-state i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 20px;
    display: block;
}

.empty-state h5 {
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--p-color);
    margin-bottom: 0;
}

/* Explore Section Enhancement */
.explore-section h2 {
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
    font-family: var(--title-font-family);
}

/* Responsive adjustments for post cards */
@media (max-width: 768px) {
    .post-thumbnail-wrapper {
        height: 200px;
    }

    .post-content {
        padding: 20px;
    }

    .post-title {
        font-size: 1.1rem;
    }

    .empty-state {
        padding: 60px 20px;
    }

    .empty-state i {
        font-size: 3rem;
    }
}
