/* INFORMASI BED */
.bed-availability {
    background-color: #f8f9fa;
    padding: 60px 0;
    position: relative;
}

.bed-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.bed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.bed-icon {
    font-size: 2rem;
    color: #3f51b5;
    margin-bottom: 15px;
}

.bed-count {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.available-count {
    color: #27ae60;
}

.total-count {
    color: #2c3e50;
    font-size: 1.5rem;
}

.count-separator {
    margin: 0 8px;
    color: #95a5a6;
    font-weight: normal;
}

.bed-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.bed-availability-detail {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 10px;
    line-height: 1.4;
}

.bed-status-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #3f51b5;
}

.bed-card[data-bed-type="president"] .bed-status-indicator {
    background: #e74c3c;
}

.bed-card[data-bed-type="kelas"] .bed-status-indicator {
    background: #3498db;
}

.bed-card[data-bed-type="icu"] .bed-status-indicator {
    background: #e67e22;
}

.bed-card[data-bed-type="picu"] .bed-status-indicator {
    background: #f1c40f;
}

.bed-card[data-bed-type="bbrt"] .bed-status-indicator {
    background: #1abc9c;
}

.bed-card[data-bed-type="isolasi"] .bed-status-indicator {
    background: #9b59b6;
}

.bed-card[data-availability="high"] {
    border-top: 3px solid #27ae60;
}

.bed-card[data-availability="medium"] {
    border-top: 3px solid #f39c12;
}

.bed-card[data-availability="low"] {
    border-top: 3px solid #e74c3c;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-title img {
    margin-bottom: 15px;
}

.section-title p {
    color: #7f8c8d;
    font-style: italic;
}

.availability-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.legend-item {
    display: inline-flex;
    align-items: center;
}

.legend-color {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    margin-right: 8px;
}

.high-availability {
    background-color: #27ae60;
}

.medium-availability {
    background-color: #f39c12;
}

.low-availability {
    background-color: #e74c3c;
}

.legend-text {
    font-size: 0.85rem;
    color: #7f8c8d;
}

@media (max-width: 576px) {
    .availability-legend {
        flex-direction: column;
        align-items: flex-start;
    }

    .legend-item {
        margin: 3px 0;
    }
}

@media (max-width: 768px) {
    .availability-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .legend-item {
        margin: 0 !important;
    }
}

/* TESTIMONIAL */
.testimonials .avatar-initials {
    position: absolute;
    left: 30px;
    bottom: -26px;
    height: 53px;
    width: 53px;
    border-radius: 100%;
    background-color: #1a76d1;
    color: white;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ASURANSI LANDING PAGE */
.clients-slider .single-clients {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    padding: 10px;
}

.clients-slider .single-clients a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.clients-slider img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.clients-slider img:hover {
    transform: scale(1.05);
}

.owl-carousel {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .clients-slider .single-clients {
        height: 120px;
    }
}

/* ASURANSI - PAGE HALAMAN SENDIRI */
.asuransi {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section-title1 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1a2a6c;
    position: relative;
}

.section-title1::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #1a2a6c, #fdbb2d);
    margin: 0.5rem auto;
    border-radius: 2px;
}

.partners-section {
    margin: 4rem 0;
}

.partner-row {
    display: flex;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.partner-track {
    display: flex;
    animation: slide 30s linear infinite;
}

.partner-track-secondary {
    animation: slide-reverse 25s linear infinite;
}

.partner-logo {
    height: 80px;
    width: 180px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.row-label {
    position: absolute;
    top: -6px;
    left: 20px;
    background: #00a14b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.row-label-secondary {
    background: #21409a;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slide-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.partners-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.partner-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.partner-card.primary {
    border-top: 4px solid #00a14b;
}

.partner-card.secondary {
    border-top: 4px solid #21409a;
}

.card-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.partner-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a2a6c;
}

.partner-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.partner-type {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.type-primary {
    background: #00a14b;
}

.type-secondary {
    background: #21409a;
}

.partner-link {
    color: #00a14b;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.partner-link:hover {
    color: #21409a;
}

.partner-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.partner-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .partner-logo {
        height: 60px;
        width: 140px;
        margin: 0 1.5rem;
    }

    .partners-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        height: 50px;
        width: 120px;
        margin: 0 1rem;
    }
}

/* style for spinner */
#spinner {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
}

#spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.sk-cube-grid {
    width: 40px;
    height: 40px;
    margin: 100px auto;
}

.sk-cube-grid .sk-cube {
    width: 33%;
    height: 33%;
    background-color: white;
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
    animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}

.sk-cube-grid .sk-cube1 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.sk-cube-grid .sk-cube2 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.sk-cube-grid .sk-cube3 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.sk-cube-grid .sk-cube4 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.sk-cube-grid .sk-cube5 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.sk-cube-grid .sk-cube6 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.sk-cube-grid .sk-cube7 {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.sk-cube-grid .sk-cube8 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.sk-cube-grid .sk-cube9 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

@-webkit-keyframes sk-cubeGridScaleDelay {
    0%,
    70%,
    100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }

    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

@keyframes sk-cubeGridScaleDelay {
    0%,
    70%,
    100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }

    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

/*end spinner style*/

/* FLOATING BUTTON - HUBUNGI KAMI */
.floating-container {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
}

.floating-button {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00a14b 0%, #21409a 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    z-index: 1001;
}

.floating-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.floating-button.active {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.floating-menu {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    width: 280px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-height: 0;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.floating-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    max-height: 400px;
    padding: 0;
}

.menu-header {
    background: linear-gradient(135deg, #00a14b 0%, #21409a 100%);
    color: white;
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.menu-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    z-index: 1;
}

.menu-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 3px;
    position: relative;
    z-index: 2;
    padding-right: 30px;
}

.menu-subtitle {
    font-size: 0.75rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    padding-right: 30px;
}

.close-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.menu-items {
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.menu-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e9ecef;
    position: relative;
}

.menu-item:hover {
    background: white;
    border-color: #3498db;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.15);
}

.item-image {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    position: relative;
}

.online-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border: 2px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        box-shadow: 0 0 0 3px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.item-content {
    flex: 1;
    min-width: 0;
}

.item-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-subtitle {
    font-size: 0.7rem;
    color: #7f8c8d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.menu-items::-webkit-scrollbar {
    width: 4px;
}

.menu-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.menu-items::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.menu-items::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@media (max-width: 480px) {
    .floating-container {
        bottom: 100px;
        right: 10px;
    }

    .floating-menu {
        width: 260px;
        right: -5px;
    }

    .floating-button {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* PAGINATION */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination-list {
    list-style: none;
    display: flex;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.pagination-list li a,
.pagination-list li span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.pagination-list li a:hover {
    background-color: #f1f1f1;
    border-color: #bbb;
}

.pagination-list li.active a {
    background-color: #28a745;
    color: #fff;
    border-color: #28a745;
    font-weight: bold;
}

/* SEARCH TOP BAR */
.search-btn1 {
    background-color: #00a14b;
    color: #fff;
    border: none;
    padding: 0 0.6rem;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn1:hover {
    background-color: #00873d;
}

#searchInput {
    height: 40px;
    font-size: 0.85rem;
    padding: 0 0.6rem;
}

.search-suggestions {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: none;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    border-bottom: 1px solid #f1f1f1;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

/* CTA - NAV MENU TENGAH */
.footer .copyright {
    padding-bottom: 110px;
}

.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 500px;
    z-index: 9999;
    display: flex;
    overflow: hidden;
}

.bottom-navbar .nav-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.bottom-navbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
    height: 100%;
}

.bottom-navbar img {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.bottom-navbar .nav-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 4px;
    background: #1fa24b;
    border-radius: 0 0 10px 10px;
    transition: transform 0.3s ease;
}

.bottom-navbar .nav-item:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.bottom-navbar .nav-item:hover img {
    transform: scale(1.1);
}

.bottom-navbar .nav-item.active::before {
    transform: translateX(-50%) scaleX(1);
}

@media (min-width: 992px) {
    .bottom-navbar {
        bottom: 0;
    }
}

/* ASURANSI & PERUSAHAAN */
.kerjasama {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container1 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1a2a6c;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;

    margin: 0.5rem auto;
    border-radius: 2px;
}

.partners-section {
    margin: 4rem 0;
}

.partner-row {
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: 12px;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.partner-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation-name: slide;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.partner-track-secondary {
    animation-name: slide-reverse;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.partner-logo {
    height: 80px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.row-label {
    position: absolute;
    top: -6px;
    left: 20px;
    background: #00a14b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.row-label-secondary {
    background: #21409a;
    color: white;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes slide-reverse {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .partner-logo {
        height: 60px;
        width: 140px;
        margin: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        height: 50px;
        width: 120px;
        margin: 0 1rem;
    }
}

/* NAVBAR - TOP MENU (3 LEVEL) */
.nav.menu ul.dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    z-index: 999;
}

.nav.menu ul.dropdown ul.dropdown {
    left: 100%;
    top: 0;
    background: #fff;
    border: 1px solid #ddd;
}

.nav.menu li.has-children:hover > ul.dropdown {
    display: block;
}

.nav.menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav.menu > li > a:hover,
.nav.menu ul.dropdown > li > a:hover {
    background: #f0f0f0;
    color: #00a14b;
}

.nav.menu ul.dropdown ul.dropdown li a {
    color: #333;
}

.nav.menu ul.dropdown ul.dropdown li a:hover {
    color: #00a14b;
    background: #f9f9f9;
}

/* SOSIAL MEDIA ICON */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    text-decoration: none;
}

.social-icon.facebook {
    background-color: #0067f9;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.youtube {
    background-color: #ff0000;
}

.social-icon.tiktok {
    background: linear-gradient(45deg, #010101, #25f4ee);
}

.social-icon:hover {
    transform: scale(1.1);
    filter: brightness(1.15);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* CAROUSEL / SLIDER */
.carousel-item {
    height: 600px;
}

.responsive-bg {
    display: block;
    width: 100%;
    height: 100%;
    background-image: var(--desktop-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease-in-out, background-size 0.3s ease;
}

@media (max-width: 599px) {
    .responsive-bg {
        background-image: var(--mobile-bg) !important;
        height: 400px;
    }

    .carousel-item {
        height: 400px;
    }
}

@media (min-width: 600px) and (max-width: 991px) {
    .responsive-bg {
        background-image: var(--desktop-bg) !important;
        background-size: cover;
        background-position: center;
        background-color: #000;
    }
}

@media (max-width: 425px) {
    .responsive-bg {
        height: 100vh;
    }

    .carousel-item {
        height: 100vh;
    }
}

@media (max-width: 320px) {
    .responsive-bg {
        height: auto;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .carousel-item {
        height: auto;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00a14b 0%, #21409a 100%) !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a14b 0%, #21409a 100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 768px) {

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-size: 16px 16px;
        width: 16px;
        height: 16px;
    }
}

/* SCADULER */
.service-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #00a14b 0%, #21409a 100%)
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.card-3::before {
    background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%);
}

.card-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, #00a14b 0%, #21409a 100%);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .card-icon::after {
    transform: scale(1);
}

.card-3 .card-icon {
    background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: center;
}

.card-description {
    color: #718096;
    text-align: center;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-action {
    margin-top: auto;
}

.card-action a {
    color: #ffffff;
}

.card-action-hover a:hover {
    color: #ffffff;
}


.btn-service {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-service:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #00a14b 0%, #21409a 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 161, 75, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 161, 75, 0.4);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: linear-gradient(135deg, #00a14b 0%, #21409a 100%);
    border: 2px solid #00a14b;
}

.btn-service.btn-outline {
    color: black;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #00a14b 0%, #21409a 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 161, 75, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(229, 62, 62, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(229, 62, 62, 0.4);
    color: #ffffff;
}

.btn-icon {
    margin-left: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-service:hover .btn-icon {
    transform: translateX(4px);
}

@keyframes pulse-emergency {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(229, 62, 62, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
    }
}

.card-3 {
    animation: pulse-emergency 2s infinite;
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .card-content {
        padding: 2rem 1.5rem;
    }

    .card-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .health-services {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .card-content {
        padding: 1.5rem 1.25rem;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    .card-title {
        font-size: 1.25rem;
    }
}

.service-card {
    cursor: pointer;
}

.service-card:active {
    transform: translateY(-2px);
}

.btn-service:focus {
    outline: 2px solid #00a14b;
    outline-offset: 2px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}