
/* =========================================
   SLiMS HOME - MODERN COMPACT DESIGN
   Soft Gradient + Background Effects
========================================= */

#slims-home {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 20px 0 45px;
    background:
        radial-gradient(
            circle at 8% 8%,
            rgba(52, 120, 246, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 32%,
            rgba(111, 168, 255, 0.12),
            transparent 30%
        ),
        linear-gradient(180deg, #f7faff 0%, #ffffff 48%, #f5f8ff 100%);
}

/* Decorative background shapes */
#slims-home::before,
#slims-home::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

#slims-home::before {
    top: 70px;
    left: -110px;
    width: 260px;
    height: 260px;
    background: radial-gradient(
        circle,
        rgba(52, 120, 246, 0.09),
        rgba(52, 120, 246, 0)
    );
}

#slims-home::after {
    top: 480px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(100, 149, 237, 0.10),
        rgba(100, 149, 237, 0)
    );
}

/* Section spacing */
#slims-home section.mt-5.container {
    position: relative;
    margin-top: 2.3rem !important;
    margin-bottom: 2.5rem;
}

/* Section heading */
#slims-home section > h4 {
    position: relative;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    color: #172b4d !important;
    font-size: 21px;
    font-weight: 750 !important;
    line-height: 1.5;
    letter-spacing: -0.35px;
}

/* Decorative underline */
#slims-home section > h4::after {
    display: block;
    width: 38px;
    height: 3px;
    margin: 10px auto 0;
    content: "";
    border-radius: 10px;
    background: linear-gradient(90deg, #3478f6, #77a9ff);
    box-shadow: 0 2px 8px rgba(52, 120, 246, 0.20);
}

/* Category and resource list */
#slims-home ul.topic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Individual item */
#slims-home ul.topic > li {
    flex: 0 1 145px;
    min-width: 125px;
    margin: 0 !important;
    padding: 0;
}

/* Compact card */
#slims-home ul.topic > li > a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    min-height: 145px;
    padding: 16px 12px;
    overflow: hidden;

    color: #34445d;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(220, 230, 245, 0.95);
    border-radius: 14px;

    box-shadow:
        0 4px 14px rgba(28, 55, 95, 0.045),
        0 1px 3px rgba(28, 55, 95, 0.025);

    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
    text-decoration: none !important;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

/* Soft light effect inside cards */
#slims-home ul.topic > li > a::before {
    position: absolute;
    top: -45px;
    right: -45px;
    width: 100px;
    height: 100px;
    content: "";
    border-radius: 50%;
    background: rgba(52, 120, 246, 0.045);
    transition: transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
}

/* Keep content above the decorative effect */
#slims-home ul.topic > li > a img {
    position: relative;
    z-index: 1;
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto 11px !important;
    object-fit: contain;
    transition: transform 0.25s ease;
}

#slims-home ul.topic > li > a {
    isolation: isolate;
}

/* Card hover */
#slims-home ul.topic > li > a:hover {
    color: #245bc4;
    background: #ffffff;
    border-color: #b9d0ff;
    box-shadow:
        0 10px 24px rgba(52, 120, 246, 0.10),
        0 3px 8px rgba(28, 55, 95, 0.035);
    transform: translateY(-3px);
}

#slims-home ul.topic > li > a:hover::before {
    background: rgba(52, 120, 246, 0.09);
    transform: scale(1.2);
}

#slims-home ul.topic > li > a:hover img {
    transform: scale(1.06);
}

/* Keyboard focus */
#slims-home ul.topic > li > a:focus-visible {
    outline: 2px solid #3478f6;
    outline-offset: 3px;
}

/* See more card */
#slims-home ul.topic > li > a[data-toggle="modal"] {
    color: #2865d9;
    background: linear-gradient(145deg, #edf4ff, #ffffff);
    border: 1px dashed #b8cdf8;
}

#slims-home ul.topic > li > a[data-toggle="modal"]:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #172b4d, #3478f6);
    border-color: transparent;
}

/* Resource logos: consistent size */
#slims-home ul.topic > li > a img {
    max-width: 100%;
}

/* TABLET */
@media (max-width: 767.98px) {
    #slims-home {
        padding: 12px 0 30px;
    }

    #slims-home section.mt-5.container {
        margin-top: 1.8rem !important;
        margin-bottom: 2rem;
    }

    #slims-home section > h4 {
        font-size: 19px;
        margin-bottom: 1.2rem !important;
    }

    #slims-home ul.topic {
        gap: 10px;
    }

    #slims-home ul.topic > li {
        flex: 0 1 130px;
        min-width: 115px;
    }

    #slims-home ul.topic > li > a {
        min-height: 130px;
        padding: 13px 9px;
        border-radius: 12px;
        font-size: 12px;
    }

    #slims-home ul.topic > li > a img {
        width: 49px;
        height: 49px;
        margin-bottom: 9px !important;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    #slims-home section.mt-5.container {
        margin-top: 1.5rem !important;
        margin-bottom: 1.6rem;
    }

    #slims-home section > h4 {
        font-size: 18px;
    }

    #slims-home ul.topic {
        gap: 9px;
    }

    #slims-home ul.topic > li {
        flex: 0 1 calc(50% - 5px);
        min-width: 0;
    }

    #slims-home ul.topic > li > a {
        min-height: 122px;
        padding: 12px 8px;
        border-radius: 11px;
        font-size: 12px;
    }

    #slims-home ul.topic > li > a img {
        width: 45px;
        height: 45px;
        margin-bottom: 8px !important;
    }

    #slims-home::before {
        width: 180px;
        height: 180px;
    }

    #slims-home::after {
        width: 200px;
        height: 200px;
    }
}

/* Accessibility: reduce animation */
@media (prefers-reduced-motion: reduce) {
    #slims-home *,
    #slims-home *::before,
    #slims-home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    #slims-home ul.topic > li > a:hover {
        transform: none;
    }
}


/* =========================================
   SLiMS HOME - MODERN COMPACT DESIGN
   Soft Gradient + Background Effects
========================================= */

#slims-home {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 20px 0 45px;
    background:
        radial-gradient(
            circle at 8% 8%,
            rgba(52, 120, 246, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 32%,
            rgba(111, 168, 255, 0.12),
            transparent 30%
        ),
        linear-gradient(180deg, #f7faff 0%, #ffffff 48%, #f5f8ff 100%);
}

/* Decorative background shapes */
#slims-home::before,
#slims-home::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

#slims-home::before {
    top: 70px;
    left: -110px;
    width: 260px;
    height: 260px;
    background: radial-gradient(
        circle,
        rgba(52, 120, 246, 0.09),
        rgba(52, 120, 246, 0)
    );
}

#slims-home::after {
    top: 480px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(100, 149, 237, 0.10),
        rgba(100, 149, 237, 0)
    );
}

/* Section spacing */
#slims-home section.mt-5.container {
    position: relative;
    margin-top: 2.3rem !important;
    margin-bottom: 2.5rem;
}

/* Section heading */
#slims-home section > h4 {
    position: relative;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    color: #172b4d !important;
    font-size: 21px;
    font-weight: 750 !important;
    line-height: 1.5;
    letter-spacing: -0.35px;
}

/* Decorative underline */
#slims-home section > h4::after {
    display: block;
    width: 38px;
    height: 3px;
    margin: 10px auto 0;
    content: "";
    border-radius: 10px;
    background: linear-gradient(90deg, #3478f6, #77a9ff);
    box-shadow: 0 2px 8px rgba(52, 120, 246, 0.20);
}

/* Category and resource list */
#slims-home ul.topic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Individual item */
#slims-home ul.topic > li {
    flex: 0 1 145px;
    min-width: 125px;
    margin: 0 !important;
    padding: 0;
}

/* Compact card */
#slims-home ul.topic > li > a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    min-height: 145px;
    padding: 16px 12px;
    overflow: hidden;

    color: #34445d;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(220, 230, 245, 0.95);
    border-radius: 14px;

    box-shadow:
        0 4px 14px rgba(28, 55, 95, 0.045),
        0 1px 3px rgba(28, 55, 95, 0.025);

    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
    text-decoration: none !important;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

/* Soft light effect inside cards */
#slims-home ul.topic > li > a::before {
    position: absolute;
    top: -45px;
    right: -45px;
    width: 100px;
    height: 100px;
    content: "";
    border-radius: 50%;
    background: rgba(52, 120, 246, 0.045);
    transition: transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
}

/* Keep content above the decorative effect */
#slims-home ul.topic > li > a img {
    position: relative;
    z-index: 1;
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto 11px !important;
    object-fit: contain;
    transition: transform 0.25s ease;
}

#slims-home ul.topic > li > a {
    isolation: isolate;
}

/* Card hover */
#slims-home ul.topic > li > a:hover {
    color: #245bc4;
    background: #ffffff;
    border-color: #b9d0ff;
    box-shadow:
        0 10px 24px rgba(52, 120, 246, 0.10),
        0 3px 8px rgba(28, 55, 95, 0.035);
    transform: translateY(-3px);
}

#slims-home ul.topic > li > a:hover::before {
    background: rgba(52, 120, 246, 0.09);
    transform: scale(1.2);
}

#slims-home ul.topic > li > a:hover img {
    transform: scale(1.06);
}

/* Keyboard focus */
#slims-home ul.topic > li > a:focus-visible {
    outline: 2px solid #3478f6;
    outline-offset: 3px;
}

/* See more card */
#slims-home ul.topic > li > a[data-toggle="modal"] {
    color: #2865d9;
    background: linear-gradient(145deg, #edf4ff, #ffffff);
    border: 1px dashed #b8cdf8;
}

#slims-home ul.topic > li > a[data-toggle="modal"]:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #172b4d, #3478f6);
    border-color: transparent;
}

/* Resource logos: consistent size */
#slims-home ul.topic > li > a img {
    max-width: 100%;
}

/* TABLET */
@media (max-width: 767.98px) {
    #slims-home {
        padding: 12px 0 30px;
    }

    #slims-home section.mt-5.container {
        margin-top: 1.8rem !important;
        margin-bottom: 2rem;
    }

    #slims-home section > h4 {
        font-size: 19px;
        margin-bottom: 1.2rem !important;
    }

    #slims-home ul.topic {
        gap: 10px;
    }

    #slims-home ul.topic > li {
        flex: 0 1 130px;
        min-width: 115px;
    }

    #slims-home ul.topic > li > a {
        min-height: 130px;
        padding: 13px 9px;
        border-radius: 12px;
        font-size: 12px;
    }

    #slims-home ul.topic > li > a img {
        width: 49px;
        height: 49px;
        margin-bottom: 9px !important;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    #slims-home section.mt-5.container {
        margin-top: 1.5rem !important;
        margin-bottom: 1.6rem;
    }

    #slims-home section > h4 {
        font-size: 18px;
    }

    #slims-home ul.topic {
        gap: 9px;
    }

    #slims-home ul.topic > li {
        flex: 0 1 calc(50% - 5px);
        min-width: 0;
    }

    #slims-home ul.topic > li > a {
        min-height: 122px;
        padding: 12px 8px;
        border-radius: 11px;
        font-size: 12px;
    }

    #slims-home ul.topic > li > a img {
        width: 45px;
        height: 45px;
        margin-bottom: 8px !important;
    }

    #slims-home::before {
        width: 180px;
        height: 180px;
    }

    #slims-home::after {
        width: 200px;
        height: 200px;
    }
}

/* Accessibility: reduce animation */
@media (prefers-reduced-motion: reduce) {
    #slims-home *,
    #slims-home *::before,
    #slims-home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    #slims-home ul.topic > li > a:hover {
        transform: none;
    }
}
/* =========================================
   SLiMS COLLECTION & TOP READER
   Theme: Navy / White / Blue
   Layout asli tetap dipertahankan
========================================= */

/* SECTION SPACING */
section.mt-5.container {
    margin-top: 3rem !important;
}

/* SECTION HEADING */
section.mt-5.container > h4,
section.mt-5.bg-white .container > h4 {
    position: relative;
    margin-bottom: 1.75rem !important;
    padding-left: 18px;
    color: #172033;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -0.45px;
}

/* ACCENT LINE */
section.mt-5.container > h4::before,
section.mt-5.bg-white .container > h4::before {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 4px;
    background: #3478f6;
    border-radius: 10px;
    content: "";
}

/* SUBTITLE */
.subtitle-section {
    display: inline-block;
    max-width: 850px;
    margin-top: 7px;
    color: #718096;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0;
}

/* SUBJECT & COLLECTION COMPONENTS */
slims-group-subject,
slims-collection,
slims-group-member {
    display: block;
    width: 100%;
    min-width: 0;
}

/* SUBJECT COMPONENT SPACING */
slims-group-subject {
    margin-bottom: 22px;
}

/* COLLECTION COMPONENT SPACING */
slims-collection {
    margin-bottom: 10px;
}

/* TOP READER SECTION */
section.mt-5.bg-white {
    margin-top: 4rem !important;
    padding-top: 12px;
    padding-bottom: 12px;
    background: #f4f7fb !important;
    border-top: 1px solid #e5eaf2;
    border-bottom: 1px solid #e5eaf2;
}

section.mt-5.bg-white .container {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* SUBTLE SECTION BACKGROUND */
section.mt-5.container {
    position: relative;
}

/* INTERACTION & SMOOTHNESS */
slims-group-subject,
slims-collection,
slims-group-member {
    transition: opacity 0.25s ease;
}

/* TABLET */
@media (max-width: 991.98px) {
    section.mt-5.container > h4,
    section.mt-5.bg-white .container > h4 {
        font-size: 23px;
    }

    .subtitle-section {
        font-size: 13px;
    }

    section.mt-5.bg-white .container {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* MOBILE */
@media (max-width: 575.98px) {
    section.mt-5.container {
        margin-top: 2.25rem !important;
    }

    section.mt-5.container > h4,
    section.mt-5.bg-white .container > h4 {
        margin-bottom: 1.25rem !important;
        padding-left: 14px;
        font-size: 20px;
        line-height: 1.45;
    }

    section.mt-5.container > h4::before,
    section.mt-5.bg-white .container > h4::before {
        width: 3px;
    }

    .subtitle-section {
        margin-top: 6px;
        font-size: 12px;
        line-height: 1.8;
    }

    section.mt-5.bg-white {
        margin-top: 2.75rem !important;
    }

    section.mt-5.bg-white .container {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    slims-group-subject {
        margin-bottom: 16px;
    }
} 

/* Maps */
.library-location-section {
    --location-primary: #2563eb;
    --location-primary-dark: #1d4ed8;
    --location-navy: #101b2d;
    --location-text: #1e293b;
    --location-muted: #64748b;
    --location-border: #e2e8f0;

    position: relative;
    overflow: hidden;
    padding: 75px 0;
    background: #f8fafc;
    font-family: inherit;
}

.library-location-section::before {
    content: "";
    position: absolute;
    top: -130px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.06);
    pointer-events: none;
}

.library-location-section .container {
    position: relative;
    z-index: 1;
}

/* SECTION HEADER */

.location-section-header {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.location-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 8px 14px;
    border: 1px solid #dbeafe;
    border-radius: 50px;
    background: #eff6ff;
    color: var(--location-primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.location-section-title {
    margin: 0 0 13px;
    color: var(--location-text);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.3;
}

.location-section-subtitle {
    max-width: 570px;
    margin: 0 auto;
    color: var(--location-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* LAYOUT */

.location-row {
    row-gap: 24px;
}

.location-map-column,
.location-info-column {
    display: flex;
    flex-direction: column;
}

/* MAP CARD */

.location-map-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--location-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.055);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.location-map-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
}

.location-map-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 21px 23px;
}

.location-map-icon,
.location-info-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #eff6ff;
    color: var(--location-primary);
    font-size: 19px;
}

.location-map-header h3 {
    margin: 0 0 5px;
    color: var(--location-text);
    font-size: 16px;
    font-weight: 700;
}

.location-map-header p {
    margin: 0;
    color: var(--location-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* RESPONSIVE MAP */

.location-map-frame {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #e2e8f0;
}

.location-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.location-map-footer {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 15px 22px;
    border-top: 1px solid #edf2f7;
    background: #ffffff;
    color: var(--location-muted);
    font-size: 12px;
    line-height: 1.7;
}

.location-map-footer i {
    margin-top: 3px;
    color: var(--location-primary);
}

/* INFORMATION CARD */

.location-info-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #243650;
    border-radius: 18px;
    background: var(--location-navy);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.13);
    color: #ffffff;
}

.location-info-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.location-info-icon {
    background: rgba(96, 165, 250, 0.13);
    color: #93c5fd;
}

.location-info-label {
    color: #93c5fd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.7;
}

.location-library-name {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.location-divider {
    width: 46px;
    height: 4px;
    margin: 18px 0 21px;
    border-radius: 20px;
    background: #60a5fa;
}

.location-description {
    color: #b9c7da;
    font-size: 13px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.location-description p {
    margin: 0 0 12px;
}

.location-description p:last-child {
    margin-bottom: 0;
}

/* SOCIAL MEDIA */

.location-social-section {
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.location-social-section h4 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.location-social-section > p {
    margin: 0 0 17px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
}

.location-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    color: #e2e8f0 !important;
    font-size: 17px;
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.location-social-link:hover {
    transform: translateY(-4px);
    color: #ffffff !important;
}

.social-facebook:hover {
    border-color: #1877f2;
    background: #1877f2;
}

.social-twitter:hover {
    border-color: #1d9bf0;
    background: #1d9bf0;
}

.social-youtube:hover {
    border-color: #ff0033;
    background: #ff0033;
}

.social-instagram:hover {
    border-color: #d946ef;
    background: linear-gradient(135deg, #f97316, #d946ef, #6366f1);
}

/* INFORMATION NOTE */

.location-info-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: auto;
    padding: 17px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.09);
    margin-top: 28px;
}

.location-info-note > i {
    margin-top: 3px;
    color: #93c5fd;
    font-size: 18px;
}

.location-info-note strong,
.location-info-note span {
    display: block;
}

.location-info-note strong {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.location-info-note span {
    color: #a9bad0;
    font-size: 11px;
    line-height: 1.8;
}

/* ACCESSIBILITY */

.library-location-section a:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

/* TABLET */

@media (max-width: 991px) {
    .library-location-section {
        padding: 60px 0;
    }

    .location-section-header {
        margin-bottom: 32px;
    }

    .location-map-frame {
        height: 350px;
    }

    .location-info-card {
        padding: 25px;
    }

    .location-library-name {
        font-size: 22px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .library-location-section {
        padding: 45px 0;
    }

    .location-section-header {
        margin-bottom: 27px;
    }

    .location-section-title {
        font-size: 25px;
    }

    .location-section-subtitle {
        font-size: 13px;
    }

    .location-map-card,
    .location-info-card {
        border-radius: 14px;
    }

    .location-map-header {
        padding: 17px;
    }

    .location-map-icon,
    .location-info-icon {
        width: 43px;
        height: 43px;
        border-radius: 11px;
        font-size: 17px;
    }

    .location-map-frame {
        height: 300px;
    }

    .location-map-footer {
        padding: 13px 16px;
    }

    .location-info-card {
        padding: 22px;
    }

    .location-info-top {
        margin-bottom: 20px;
    }

    .location-library-name {
        font-size: 21px;
    }

    .location-social-section {
        margin-top: 24px;
        padding-top: 20px;
    }
}

/* SMALL MOBILE */

@media (max-width: 400px) {
    .location-map-frame {
        height: 250px;
    }

    .location-info-card {
        padding: 18px;
    }

    .location-library-name {
        font-size: 19px;
    }

    .location-social-link {
        width: 41px;
        height: 41px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .library-location-section *,
    .library-location-section *::before,
    .library-location-section *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Floating button */
/* =========================================
   FLOATING SOCIAL MEDIA BUTTON
========================================= */

.social-floating {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Main Button */
.social-floating-toggle {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: #172033;
    border: 3px solid #ffffff;
    border-radius: 50%;

    font-size: 23px;
    cursor: pointer;

    box-shadow: 0 8px 25px rgba(23, 32, 51, 0.25);
    transition: all 0.3s ease;
}

.social-floating-toggle:hover {
    color: #ffffff;
    background: #3478f6;
    transform: scale(1.08);
}

.social-floating-toggle:focus-visible {
    outline: 3px solid rgba(52, 120, 246, 0.45);
    outline-offset: 4px;
}

/* Social Menu */
.social-floating-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

/* Show Menu */
.social-floating.is-open .social-floating-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Social Icons */
.social-floating-item {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    border-radius: 50%;
    text-decoration: none !important;

    font-size: 20px;
    box-shadow: 0 5px 15px rgba(23, 32, 51, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.social-floating-item:hover {
    color: #ffffff;
    transform: scale(1.12);
    box-shadow: 0 8px 20px rgba(23, 32, 51, 0.25);
}

/* Brand Colors */
.social-floating-item.instagram {
    background: #d62976;
}

.social-floating-item.whatsapp {
    background: #25d366;
}

.social-floating-item.gmail {
    background: #ea4335;
}

.social-floating-item.facebook {
    background: #1877f2;
}

.social-floating-item.youtube {
    background: #ff0000;
}

/* Mobile */
@media (max-width: 576px) {
    .social-floating {
        right: 16px;
        bottom: 18px;
        gap: 12px;
    }

    .social-floating-toggle {
        width: 54px;
        height: 54px;
        font-size: 21px;
    }

    .social-floating-item {
        width: 43px;
        height: 43px;
        font-size: 18px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .social-floating-toggle,
    .social-floating-item,
    .social-floating-menu {
        transition: none;
    }
}