/* CLEAN LAYOUT CSS - Website Pusat Mutu Poltekkes Jakarta III */
/* Professional Bootstrap 5 Implementation */

/* ====================================
   RESET & BASE STYLES
   ==================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    padding-top: 140px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#preloader:after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #6A4D8F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

/* Text color utility */
.text-color {
    color: #6A4D8F;
}

/* Background color utility */
.bg-color {
    background-color: #6A4D8F;
}

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

/* Top Info Bar */
.navbar-mini {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #6A4D8F;
    padding: 12px 0;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.navbar-mini span {
    color: #495057;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-right: 25px;
}

.navbar-mini i {
    color: #6A4D8F;
    margin-right: 8px;
    font-size: 14px;
}

/* Social Media in Top Bar */
.minisocial-group {
    display: flex;
    gap: 12px;
}

.minisocial-group a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #6A4D8F;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.minisocial-group a:hover {
    background-color: #5a4077;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 77, 143, 0.4);
}

/* Main Navigation */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 1025;
    border-bottom: 1px solid #e9ecef;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-link {
    color: #333333 !important;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #6A4D8F !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #6A4D8F;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* ====================================
   MEGA DROPDOWN MENU
   ==================================== */

.mega-dropdown {
    position: relative;
}

.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 30px 0;
    margin: 0;
    min-width: 800px;
    width: max-content;
    z-index: 1020;
}

/* Prevent mega menu from going outside viewport */
@media (max-width: 1200px) {
    .mega-menu-wrapper {
        min-width: 700px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .mega-menu-wrapper {
        min-width: 600px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.mega-menu-section {
    padding: 0 25px;
    height: 100%;
    min-height: 400px;
    border-right: 1px solid #f1f3f4;
}

.mega-menu-section:last-child {
    border-right: none;
}

.mega-menu-title {
    color: #6A4D8F;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #6A4D8F;
    position: relative;
}

.mega-menu-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ff6b35;
}

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

.mega-menu-list li {
    margin-bottom: 12px;
}

.mega-menu-list li.divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 15px 0;
}

.mega-menu-list li a {
    display: flex;
    align-items: center;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mega-menu-list li a i {
    color: #6A4D8F;
    margin-right: 10px;
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.mega-menu-list li a:hover {
    background-color: rgba(106, 77, 143, 0.1);
    color: #6A4D8F;
    transform: translateX(8px);
    padding-left: 20px;
}

/* Sub-sections in mega menu */
.mega-menu-section .text-muted.small {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    margin-top: 0;
}

.mega-menu-section .mb-3 {
    margin-bottom: 20px !important;
    padding-bottom: 15px;
    border-bottom: 1px solid #f8f9fa;
}

.mega-menu-section .mb-3:last-child {
    border-bottom: none;
    margin-bottom: 0 !important;
}

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

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    margin-top: 8px;
}

.dropdown-item {
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #6A4D8F;
    color: #ffffff;
    transform: translateX(5px);
}

/* ====================================
   CONTENT AREAS
   ==================================== */

/* Flexslider Integration - Fixed Layout */
.flexslider {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.flexslider .slides {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

.flexslider .slides li {
    position: relative !important;
    height: 600px !important;
    overflow: hidden;
    display: block !important;
    width: 100%;
}

.flexslider .slides .bg-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.flexslider .slides .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Fix for Flexslider Navigation */
.flexslider .flex-direction-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.flexslider .flex-direction-nav a {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
}

.flexslider .flex-direction-nav .flex-prev {
    left: 20px;
}

.flexslider .flex-direction-nav .flex-next {
    right: 20px;
}

.flexslider .flex-direction-nav a:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Fix for Flexslider Pagination */
.flexslider .flex-control-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.flexslider .flex-control-nav li {
    margin: 0 5px;
    display: inline-block;
}

.flexslider .flex-control-nav li a {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flexslider .flex-control-nav li a.flex-active,
.flexslider .flex-control-nav li a:hover {
    background: rgba(255, 255, 255, 1);
}

/* Section Styling - Fixed for Slider Integration */
.section-slider {
    margin-top: 0;
    padding-top: 0;
    position: relative;
    overflow: hidden;
    height: 600px;
    width: 100%;
}

.section-slider.white {
    background: #ffffff;
}

.section-empty {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-item {
    position: relative;
}

/* Content Overlay for Slider - Fixed Positioning */
.content.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
    max-width: 800px;
    text-align: center;
    color: #ffffff;
    pointer-events: none;
}

.content.overlay-content h1,
.content.overlay-content h2,
.content.overlay-content p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 10px 0;
}

.content.overlay-content a {
    pointer-events: auto;
}

/* Space helpers */
hr.space {
    border: none;
    height: 20px;
    margin: 0;
    background: transparent;
}

hr.space.s {
    height: 15px;
}

hr.space.m {
    height: 30px;
}

/* Article Cards */
.advs-box {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    border: 1px solid #f1f3f4;
    position: relative;
}

.advs-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.advs-box.advs-box-top-icon-img {
    position: relative;
}

.advs-box.niche-box-post {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.advs-box.boxed-inverse {
    background: #ffffff;
    color: #333;
}

/* Block Info (Date Display) */
.block-infos {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.block-data {
    background: rgba(106, 77, 143, 0.9);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.block-data .bd-month {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

.advs-box .img-box {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.advs-box .img-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.advs-box .img-box img.anima {
    transition: transform 0.4s ease;
}

.advs-box:hover .img-box img {
    transform: scale(1.08);
}

.advs-box-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.advs-box-content h5 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    flex: 1;
}

.advs-box-content h5 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.advs-box-content h5 a:hover {
    color: #6A4D8F;
}

.tag-row {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #6c757d;
    margin-top: auto;
}

.tag-row span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-row span a {
    color: inherit;
    text-decoration: none;
}

.tag-row span a:hover {
    color: #6A4D8F;
}

.tag-row i {
    color: #6A4D8F;
}

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

.footer-center {
    background: linear-gradient(135deg, #2c3e50 0%, #00B9AD 100%);
    color: #ffffff;
    padding: 60px 0 30px;
    position: relative;
}

.footer-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6A4D8F 0%, #00B9AD 100%);
}

.footer-section {
    height: 100%;
}

.footer-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #00B9AD;
    border-radius: 2px;
}

.footer-info p {
    color: #ecf0f1;
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-info i {
    color: #00B9AD;
    width: 20px;
    margin-right: 12px;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.8;
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #00B9AD;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    filter: grayscale(0.3) contrast(1.2);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0) contrast(1);
}

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

@media (max-width: 991.98px) {
    body {
        padding-top: 80px;
    }

    .navbar-mini {
        display: none;
    }

    .navbar {
        top: 0;
        padding: 10px 0;
    }

    .navbar-brand img {
        height: 40px;
    }

    .mega-menu-wrapper {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border-radius: 0;
        padding: 20px;
        min-width: auto;
        width: 100% !important;
        left: 0 !important;
    }

    .mega-menu-section {
        padding: 15px 0;
        border-bottom: 1px solid #e9ecef;
        border-right: none !important;
        min-height: auto;
    }

    .mega-menu-section:last-child {
        border-bottom: none;
    }

    .mega-menu-list li a {
        padding: 12px 15px;
        border-bottom: 1px solid #f8f9fa;
    }

    .mega-menu-list li a:hover {
        transform: none;
        padding-left: 15px;
    }

    .section-slider {
        margin-top: 0;
        padding-top: 0;
        height: 500px;
    }

    /* Flexslider responsive adjustments */
    .flexslider,
    .flexslider .slides li {
        height: 500px !important;
    }

    .footer-section {
        margin-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px;
    }

    .mega-menu-section {
        padding: 10px 0;
    }

    .advs-box {
        margin-bottom: 20px;
    }

    .footer-center {
        padding: 40px 0 20px;
    }

    .social-links {
        justify-content: center;
    }

    /* Mobile slider adjustments */
    .section-slider {
        height: 400px !important;
    }

    .flexslider,
    .flexslider .slides li {
        height: 400px !important;
    }

    .flexslider .flex-direction-nav a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .flexslider .flex-direction-nav .flex-prev {
        left: 10px;
    }

    .flexslider .flex-direction-nav .flex-next {
        right: 10px;
    }

    .content.overlay-content {
        max-width: 90%;
        padding: 0 15px;
    }

    .content.overlay-content h1 {
        font-size: 2rem;
    }

    .content.overlay-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {

    /* Extra small devices - slider adjustments */
    .section-slider {
        height: 300px !important;
    }

    .flexslider,
    .flexslider .slides li {
        height: 300px !important;
    }

    .content.overlay-content h1 {
        font-size: 1.5rem;
    }

    .content.overlay-content h2 {
        font-size: 1.2rem;
    }

    .content.overlay-content p {
        font-size: 0.9rem;
    }
}

/* ====================================
   ANIMATIONS & EFFECTS
   ==================================== */

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

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

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.nav-link:focus,
.dropdown-item:focus,
.mega-menu-list li a:focus {
    outline: 2px solid #6A4D8F;
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ====================================
   STATISTICS SECTION
   ==================================== */

.statistics-section {
    background: linear-gradient(135deg, #686969 0%, #00B9AD 100%);
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.stat-item {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-icon i {
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon i {
    transform: scale(1.1);
}

/* ====================================
   SERVICES SECTION
   ==================================== */

.services-section {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f1f3f4;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(106, 77, 143, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(106, 77, 143, 0.2);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-link {
    color: #6A4D8F;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #00B9AD;
    text-decoration: none;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ====================================
   CALL TO ACTION SECTION
   ==================================== */

.cta-section {
    background: linear-gradient(135deg, #ff6b35 0%, #00B9AD 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,100 100,0 100,100" fill="rgba(255,255,255,0.1)"/></svg>');
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.1rem;
}

.btn-light {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Background Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, #686969 0%, #00B9AD 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #686969 0%, #00B9AD 100%);
}

/* ====================================
   ENHANCED ARTICLE CARDS
   ==================================== */

.advs-box {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
    margin-bottom: 30px;
}

.advs-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.advs-box .img-box {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.advs-box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.advs-box:hover .img-box img {
    transform: scale(1.1);
}

.advs-box-content {
    padding: 25px;
}

.advs-box-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.advs-box-content h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.advs-box-content h5 a:hover {
    color: #6A4D8F;
}

.tag-row {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
}

.tag-row span i {
    color: #6A4D8F;
    margin-right: 5px;
}

.block-infos {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.block-data {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ====================================
   PARTNERS SECTION
   ==================================== */

.partners-section {
    background-color: #f8f9fa;
}

.partner-logo {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #6A4D8F;
}

.partner-logo img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.partner-placeholder {
    text-align: center;
    opacity: 0.5;
}

/* ====================================
   QUICK LINKS SECTION
   ==================================== */

.quick-links-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.quick-links-info h6 {
    font-weight: 600;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.btn-primary {
    background: #6A4D8F;
    border-color: #6A4D8F;
}

.btn-primary:hover {
    background: #5a3d7f;
    border-color: #5a3d7f;
    transform: translateY(-1px);
}

/* Print styles */
@media print {

    .navbar,
    .navbar-mini,
    .footer-center,
    .statistics-section,
    .services-section,
    .cta-section {
        display: none !important;
    }

    body {
        padding-top: 0 !important;
    }
}