/* Navbar */
.navbar-transparent {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: background-color 0.3s ease;
    z-index: 1050;
}

/* Hero Slider Styles */
.hero-slider {
    width: 100%;
    height: calc(100vh - 76px); /* Subtract navbar height */
    margin-top: 0; /* Remove negative margin */
    padding-top: 0; /* Remove padding top */
}

.slider-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slider-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.slider-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-slider {
        height: 70vh;
    }

    .slider-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }

    .slider-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

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

    .slider-content p {
        font-size: 1.1rem;
    }
}

/* Package slider */
.paket-slider {
    overflow: hidden;
    padding: 10px;
}

.swiper-slide {
    height: auto;
}

/* Active tab indicator */
.btn-group .btn.active {
    font-weight: 600;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ========== PACKAGE CARD STYLES ========== */
.paket-internet {
    height: 440px;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    color: #333; /* Base text color */
}

.paket-internet:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Card Header Styles */
.internet-card {
    height: 8rem; /* Equivalent to h-32 */
    padding: 1.25rem 1rem 0 1rem; /* Equivalent to px-4 pt-5 */
    border-top-left-radius: 0.5rem; /* rounded-t-lg */
    border-top-right-radius: 0.5rem;
    color: white;
    font-weight: bold;
}

/* Category-specific background gradients - Updated with darker colors and better gradients */
.internet-card.internet-only {
    background: linear-gradient(
        135deg,
        #1a4fb3 0%,
        #0d3a8c 100%
    ); /* Darker blue gradient */
}

.internet-card.internet-stream {
    background: linear-gradient(
        135deg,
        #5a2dbe 0%,
        #3d1d8f 100%
    ); /* Darker purple gradient */
}

.internet-card.internet-tv {
    background: linear-gradient(
        135deg,
        #04724d 0%,
        #035c3e 100%
    ); /* Darker green gradient */
}

/* Card Content Styles */
.paket-price {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 1rem;
    margin-top: 1rem;
}

.paket-price-value {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1rem;
    color: #333;
}

.paket-price-note {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Features List */
.list-paket-point {
    padding: 0 1rem;
    flex-grow: 1;
    overflow-y: auto;
}

.list-paket-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.list-paket-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.list-paket-text {
    font-size: 0.875rem;
    color: #333;
    margin: 0;
}

/* Divider */
.paket-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 0.75rem 1rem;
}

/* CTA Buttons - Base Styles */
.cta-paket-buttons {
    display: flex;
    padding: 0 1rem 1rem 1rem;
    gap: 0.5rem;
}

.btn-subscribe {
    flex: 1;
    color: white;
    text-align: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-info {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: none;
}

/* Category-Specific Button Colors - Updated with darker colors */
.internet-only {
    --primary-color: #1a4fb3;
    --primary-light: #2563eb;
    --hover-light: #93c5fd;
    --text-color: #ffffff;
}

.internet-stream {
    --primary-color: #5a2dbe;
    --primary-light: #7c3aed;
    --hover-light: #c4b5fd;
    --text-color: #ffffff;
}

.internet-tv {
    --primary-color: #04724d;
    --primary-light: #059669;
    --hover-light: #6ee7b7;
    --text-color: #ffffff;
}

/* Button Styles */
.btn-subscribe {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background-color: var(--hover-light);
    color: var(--primary-color);
    border-color: var(--hover-light);
}

.btn-info {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background-color: var(--hover-light);
    border-color: var(--hover-light);
}

/* Ensure SVG images inside btn-info remain visible */
.btn-info img {
    filter: brightness(0) saturate(100%) invert(26%) sepia(89%) saturate(2010%)
        hue-rotate(210deg) brightness(93%) contrast(91%);
}

.internet-only .btn-info img {
    filter: brightness(0) saturate(100%) invert(39%) sepia(98%) saturate(1589%)
        hue-rotate(202deg) brightness(93%) contrast(91%);
}

.internet-stream .btn-info img {
    filter: brightness(0) saturate(100%) invert(33%) sepia(95%) saturate(1015%)
        hue-rotate(239deg) brightness(95%) contrast(93%);
}

.internet-tv .btn-info img {
    filter: brightness(0) saturate(100%) invert(42%) sepia(96%) saturate(459%)
        hue-rotate(107deg) brightness(94%) contrast(87%);
}

/* Swipper Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .paket-internet {
        height: auto;
        min-height: 420px;
    }
}

.footer-custom {
    background-color: #f8f9fa;
    color: #333;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-custom a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom a:hover,
.footer-custom a.hover-underline:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.footer-custom h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
}

.footer-custom p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.footer-custom ul {
    padding-left: 0;
}

.footer-custom ul li {
    margin-bottom: 0.5rem;
}

.footer-custom ul li i {
    color: #0d6efd;
}

.footer-custom hr {
    border-color: #dee2e6;
    border-width: 1.5px;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-custom #copyright-content {
    font-size: 0.85rem;
    user-select: none;
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.footer-custom #copyright-content.copyright-text {
    color: #000000;
}

.footer-custom #copyright-content.mitra-text {
    color: #0b2e65;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .footer-custom .row > div {
        margin-bottom: 1.5rem;
    }

    .footer-custom h5 {
        font-size: 1.1rem;
    }
    #loginModal .modal-content {
        padding: 1.5rem;
    }
    #loginModal img {
        max-height: 60px;
    }
}
