/* ========================================
   RAFI MUSIC SCHOOL LANDING PAGE STYLES
   ======================================== */

/* Variables */
:root {
    --primary: #4834d4;
    --primary-dark: #2d1f8e;
    --secondary: #f5a623;
    --accent: #00b4d8;
    --dark: #1a1a2e;
    --topbar-bg: #f5a623;
    --nav-bg: #2d2b55;
    --footer-bg: #1a1a2e;
}

/* General */
body {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    color: #555;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #222;
}

p {
    line-height: 1.8;
}

img {
    max-width: 100%;
}

.f-13 { font-size: 13px; }
.f-15 { font-size: 15px; }
.f-17 { font-size: 17px; }
.f-18 { font-size: 18px; }

.title-color h3 span,
h3 span {
    color: var(--primary);
}

/* Preloader */
.atf-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atf-status {
    display: flex;
    gap: 5px;
}

.atf-status .line {
    width: 4px;
    height: 30px;
    background: var(--primary);
    animation: pulse 1s infinite ease-in-out;
}

.atf-status .line:nth-child(2) { animation-delay: 0.1s; }
.atf-status .line:nth-child(3) { animation-delay: 0.2s; }
.atf-status .line:nth-child(4) { animation-delay: 0.3s; }
.atf-status .line:nth-child(5) { animation-delay: 0.4s; }
.atf-status .line:nth-child(6) { animation-delay: 0.5s; }
.atf-status .line:nth-child(7) { animation-delay: 0.6s; }
.atf-status .line:nth-child(8) { animation-delay: 0.7s; }
.atf-status .line:nth-child(9) { animation-delay: 0.8s; }
.atf-status .line:nth-child(10) { animation-delay: 0.9s; }

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

/* Back to top */
#back_to_top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

#back_to_top.active {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   TOP HEADER BAR - Orange/Yellow
   ========================================= */
.atf_header_top {
    background: var(--topbar-bg);
    padding: 12px 0;
}

.atf_header_top_left {
    display: flex;
    gap: 30px;
    align-items: center;
}

.atf-header-address {
    display: flex;
    align-items: center;
    gap: 12px;
}

.atf-header-icon {
    color: #fff;
    font-size: 22px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atf-header-location span {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    display: block;
}

.atf-header-location p {
    color: #fff;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

/* Book Online Button in header */
.atf_header_top .atf-themes-btn {
    background: var(--nav-bg);
    border-color: var(--nav-bg);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 15px;
}

.atf_header_top .atf-themes-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* =========================================
   NAVIGATION - Dark bar below top header
   ========================================= */
.atf-top-header {
    padding: 0;
    transition: all 0.3s;
    background: #2d2b55;
    box-shadow: none;
    border: none;
}

.atf_header_top,
.atf-top-header {
    position: relative;
    z-index: 1000;
}

.atf-top-header .container {
    position: relative;
}

.atf-sticky-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.atf-top-header.sticky-nav {
    background: #2d2b55;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

/* Nav inner flex layout */
.atf-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 45px;
    width: auto;
}

.logo-black { display: none; }
.logo-white { display: inline-block !important; }

/* Desktop menu */
.atf-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.atf-nav-menu ul li a {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    padding: 24px 14px;
    display: block;
    transition: all 0.3s;
    white-space: nowrap;
}

.atf-nav-menu ul li a:hover,
.atf-nav-menu ul li.current a {
    color: var(--secondary);
}

/* CTA button in nav */
.atf-nav-cta a {
    background: var(--secondary);
    border-radius: 6px;
    padding: 10px 22px !important;
    margin-left: 10px;
}

.atf-nav-cta a:hover {
    background: var(--primary-dark);
    color: #fff !important;
}

/* Hamburger toggle */
.atf-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.atf-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.atf-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.atf-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.atf-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   RESPONSIVE NAV - Mobile / Tablet
   ========================================= */
@media (max-width: 991px) {
    .atf-nav-toggle {
        display: flex;
    }

    .atf-nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2d2b55;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }

    .atf-nav-menu.open {
        max-height: 80vh;
        overflow-y: auto;
    }

    .atf-nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
    }

    .atf-nav-menu ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .atf-nav-menu ul li a {
        padding: 14px 24px;
    }

    .atf-nav-cta a {
        background: transparent;
        margin: 8px 24px;
        text-align: center;
        border: 1px solid var(--secondary);
    }
}

/* =========================================
   HERO SECTION
   ========================================= */
.atf-header-area {
    position: relative;
}

.atf-hero-slider .item {
    min-height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center center;
}

.atf-hero-slider .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.atf-hero-slider .item .container {
    position: relative;
    z-index: 2;
}

.atf-hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

.atf-hero-slider .owl-dot span {
    background: rgba(255,255,255,0.5);
}

.atf-hero-slider .owl-dot.active span {
    background: #fff;
}

.atf-single-details h5 {
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--accent);
    display: inline-block;
    padding: 8px 25px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.atf-single-details h2 {
    color: #fff;
    font-size: 55px;
    margin-top: 10px;
    text-transform: none;
    font-weight: 700;
}

.atf-single-details h2 span {
    color: #fff;
}

.atf-single-details p {
    color: rgba(255,255,255,0.85);
}

/* Main Button */
.atf-themes-btn {
    background: var(--primary);
    color: #fff;
    padding: 14px 35px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary);
    font-size: 15px;
}

.atf-themes-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

/* =========================================
   SECTION PADDING & TITLES
   ========================================= */
.atf-section-padding {
    padding: 80px 0;
}

.atf-section-title {
    margin-bottom: 10px;
}

.atf-section-title h3 {
    font-size: 36px;
    margin-bottom: 15px;
}

.atf-section-title h3 span {
    color: var(--primary);
}

.atf_sec_icon {
    margin: 15px 0;
}

.atf_sec_icon img {
    width: 30px;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.atf-singl-video {
    position: relative;
}

.waves-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.iq-video {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    animation: pulse-border 1.5s ease-out infinite;
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(72, 52, 212, 0.7); }
    100% { box-shadow: 0 0 0 30px rgba(72, 52, 212, 0); }
}

.border-left {
    border-left: 3px solid var(--primary);
}

.atf-about-img img {
    border-radius: 10px;
}

/* =========================================
   BG COLOR SECTIONS (Private, Event, etc.)
   ========================================= */
.bg-color {
    background: var(--dark);
}

.bg-color h3 {
    color: #fff;
}

/* =========================================
   GROUPS / FEATURES
   ========================================= */
.atf-single-feature {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s;
    margin-bottom: 30px;
    background: #fff;
}

.atf-single-feature:hover,
.atf-single-feature.box-shadow-active {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.atf-feature-icon img {
    width: 100%;
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

.atf-feature-text h5 {
    font-size: 18px;
}

.atf-feature-text h5 a {
    color: #222;
}

.atf-feature-text h5 a:hover {
    color: var(--primary);
}

/* =========================================
   CTA / HIRE SECTION
   ========================================= */
.atf-hire {
    position: relative;
}

.atf-hire-overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* =========================================
   FACILITIES
   ========================================= */
.atf-facilities-services {
    margin-bottom: 20px;
}

.atf-facilities-img img {
    width: 60px;
    height: 60px;
}

.about-us-info-wrap h5.sub-title {
    color: var(--primary);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* =========================================
   SERVICES CAROUSEL
   ========================================= */
.atf-single-service {
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 10px;
    transition: all 0.3s;
}

.atf-single-service:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.atf-service-icon img {
    width: 60px;
    height: 60px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* =========================================
   COUNTER / STATS
   ========================================= */
.counter {
    text-align: center;
    padding: 20px;
}

.counter-value {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
}

.counter-value.red {
    color: var(--secondary);
}

.counter h3 {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    margin-top: 10px;
    font-weight: 400;
}

/* =========================================
   BLOG
   ========================================= */
.post-slide {
    margin-bottom: 30px;
}

.post-slide .post-img img {
    width: 100%;
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

.post-info {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.post-info li {
    font-size: 13px;
    color: #777;
}

.post-info li i {
    color: var(--primary);
    margin-right: 5px;
}

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

.post-title a {
    color: #333;
}

.post-title a:hover {
    color: var(--primary);
}

.post-slide1 {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.post-slide1:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* =========================================
   TESTIMONIAL
   ========================================= */
.atf-testimonial-area {
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 30px;
}

.testimonial .pic img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
}

.testimonial .description {
    color: rgba(255,255,255,0.9);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.testimonial .title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 5px;
}

.testimonial .post {
    color: var(--secondary);
    font-size: 14px;
}

/* Testimonial Nav */
.atf-testimonial-area .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.atf-testimonial-area .owl-prev,
.atf-testimonial-area .owl-next {
    pointer-events: all;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 18px;
    transition: all 0.3s;
}

.atf-testimonial-area .owl-prev:hover,
.atf-testimonial-area .owl-next:hover {
    background: var(--primary) !important;
}

/* =========================================
   TEAM
   ========================================= */
.our-team {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.our-team .pic {
    position: relative;
    overflow: hidden;
}

.our-team .pic img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.3s;
}

.our-team:hover .pic img {
    transform: scale(1.05);
}

.our-team .over-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(72, 52, 212, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.our-team:hover .over-layer {
    opacity: 1;
}

.social-link {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.social-link li a {
    color: #fff;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link li a:hover {
    background: #fff;
    color: var(--primary);
}

.team-content {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.team-content h3 {
    font-size: 18px;
    margin: 0;
}

.team-content h3 small {
    display: block;
    font-size: 14px;
    color: #777;
    font-weight: 400;
    margin-top: 5px;
}

/* =========================================
   CONTACT
   ========================================= */
.atf-contact-form .form-group {
    margin-bottom: 15px;
}

.atf-contact-form .form-control {
    height: 50px;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
}

.atf-contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(72, 52, 212, 0.1);
}

.atf-contact-form textarea.form-control {
    height: auto;
}

.atf-contact-btn .atf-themes-btn {
    border: none;
    cursor: pointer;
}

#atf-map-area {
    height: 100%;
    min-height: 400px;
}

#atf-map-area iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* =========================================
   BRAND / PARTNER
   ========================================= */
.atf-brand-area {
    padding: 60px 0;
}

.atf-brand-overlay {
    position: relative;
}

.atf-brand-active img {
    max-height: 60px;
    opacity: 0.7;
    transition: all 0.3s;
    filter: brightness(0) invert(1);
}

.atf-brand-active img:hover {
    opacity: 1;
}

/* =========================================
   PORTFOLIO / GALLERY
   ========================================= */
.atf-portfolio-area {
    padding: 0;
}

.portfolio {
    position: relative;
    overflow: hidden;
}

.portfolio img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s;
}

.portfolio:hover img {
    transform: scale(1.1);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    opacity: 0;
    transition: all 0.3s;
    transform: translateY(10px);
}

.portfolio:hover .portfolio-content {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-content .icon {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.portfolio-content .icon li a {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.portfolio-content .icon li a:hover {
    background: var(--secondary);
}

.portfolio-content .title {
    color: #fff;
    font-size: 18px;
    margin: 0;
}

.portfolio-content .title a {
    color: #fff;
}

/* =========================================
   FOOTER
   ========================================= */
.atf-footer-area {
    background: var(--footer-bg);
    color: #ccc;
}

.atf-mailchamp-headding h2 {
    font-size: 28px;
}

.atf-mailchamp-subscribe {
    position: relative;
}

.atf-mailchamp-subscribe .form-control {
    height: 55px;
    border-radius: 5px;
    border: none;
    padding-right: 60px;
}

.atf-mailchamp-subscribe .btn {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 45px;
    width: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 5px;
}

.atf-mailchamp-subscribe .btn:hover {
    background: var(--primary-dark);
}

.atf-footer-box h5 a {
    color: #fff;
    font-size: 22px;
}

.atf-footer-social-icon {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.atf-footer-social-icon .icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.atf-footer-social-icon .icon i {
    color: #fff;
    line-height: 1;
}

.atf-footer-social-icon .icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.atf-footer-social-icon .icon:hover i {
    color: #fff;
}

.atf-footer-link h5 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

.atf-list-menu {
    list-style: none;
    padding: 0;
}

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

.atf-list-menu li a {
    color: #ccc;
    font-size: 14px;
}

.atf-list-menu li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.atf-list-menu li a i {
    color: var(--primary);
    margin-right: 5px;
}

.atf-footer-link img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin: 3px;
    transition: all 0.3s;
}

.atf-footer-link img:hover {
    opacity: 0.8;
}

.atf-footer-boottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
}

.atf-footer-boottom p {
    margin: 0;
    color: #ccc;
}

.atf-footer-boottom a {
    color: var(--primary);
}

.atf-footer-boottom .fa-heart {
    color: #e74c3c;
}

/* =========================================
   OWL CAROUSEL DOTS & NAV
   ========================================= */
.owl-dots {
    text-align: center;
    margin-top: 25px;
}

.owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-dot span {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    display: block;
    transition: all 0.3s;
}

.owl-dot.active span {
    background: var(--primary);
    transform: scale(1.3);
}

/* =========================================
   SUB HEADING BORDER
   ========================================= */
.sub-heading-border .atf-section-title.text-center::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1199px) {
    .atf-nav-menu ul li a { padding: 22px 10px; font-size: 14px; }
}

@media (max-width: 991px) {
    .d-991 { display: none !important; }
    .atf-single-details h2 { font-size: 36px; }
    .atf-section-title h3 { font-size: 28px; }
    .atf_header_top_left { gap: 15px; flex-wrap: wrap; }
    .atf-hero-slider .item { min-height: 65vh; }
}

@media (max-width: 1024px) {
    .d-1024 { display: none !important; }
}

@media (max-width: 767px) {
    .atf-hero-slider .item { min-height: 60vh; }
    .atf-single-details h2 { font-size: 28px; }
    .atf-section-padding { padding: 50px 0; }
    .atf-section-title h3 { font-size: 24px; }
    .atf_header_top_left { gap: 10px; }
    .atf-header-address { gap: 8px; }
    /* Stack contact info + book button */
    .atf_header_top .row > div { text-align: center; }
    .atf_header_top .text-end { text-align: center !important; margin-top: 8px; }
}

@media (max-width: 575px) {
    .atf_header_top { display: none; }
    .atf-single-details h2 { font-size: 24px; }
    .atf-single-details h5 { font-size: 12px; padding: 6px 16px; }
    .atf-single-details p { font-size: 14px !important; }
    .container { padding-left: 18px; padding-right: 18px; }
}


/* =========================================
   PAGINATION (Bootstrap 5 paginator)
   ========================================= */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e6e6ef;
    border-radius: 10px;
    color: var(--primary);
    background: #fff;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.pagination .page-item .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(72,52,212,0.35);
}

.pagination .page-item.disabled .page-link {
    color: #b9b9c6;
    background: #f5f5fa;
    border-color: #ececf4;
    box-shadow: none;
    cursor: not-allowed;
}

/* Font Awesome arrows for the prev/next SVG-less fallback */
.pagination .page-item .page-link[aria-label="pagination.previous"],
.pagination .page-item .page-link[aria-label="pagination.next"],
.pagination .page-item .page-link[rel="prev"],
.pagination .page-item .page-link[rel="next"] {
    font-size: 16px;
}

/* Hide the raw "pagination.previous"/"pagination.next" text if it ever leaks, keep arrows */
.pagination .page-link svg {
    width: 18px;
    height: 18px;
}


/* =========================================
   BLOG SIDEBAR WIDGETS
   ========================================= */
.blog-sidebar .sidebar-widget {
    border-radius: 14px;
}

.blog-sidebar .widget-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f6;
}

.blog-sidebar .widget-post {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f2f7;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-sidebar .widget-post:last-child {
    border-bottom: none;
}

.blog-sidebar .widget-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.blog-sidebar .widget-thumb-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(72,52,212,0.08);
    color: var(--primary);
    font-size: 20px;
}

.blog-sidebar .widget-post-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-sidebar .widget-post-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.blog-sidebar .widget-post:hover .widget-post-title {
    color: var(--primary);
}

@media (max-width: 991px) {
    .blog-sidebar {
        margin-top: 40px;
    }
}
