:root {
    --bg-dark: #020813;
    --bg-card: #0a1829;
    --primary-blue: #0d6efd;
    --accent-blue: #0ea5e9;
    --text-muted: #94a3b8;
    --light-bg: #f8fafc;
}

body {
    background-color: var(--bg-dark);
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Typography & Titles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #e2e8f0;
}

.section-title span::before,
.section-title span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: #0ea5e9;
}

.section-title span::before {
    left: -80px;
}

.section-title span::after {
    right: -80px;
}

.title-line {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: #0ea5e9;
    vertical-align: middle;
    margin-left: 15px;
}

/* Navbar */
.custom-navbar {
    background-color: rgba(2, 8, 19, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.logo-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.custom-navbar .nav-link {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 12px;
    position: relative;
    transition: color 0.2s;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: #ffffff;
}

.custom-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0ea5e9;
    border-radius: 2px;
}

.btn-portal {
    border-radius: 4px;
    font-weight: 600;
    padding: 8px 24px;
    background-color: #0b61d6;
    border: none;
    box-shadow: 0 4px 14px rgba(11, 97, 214, 0.3);
}

.btn-portal:hover {
    background-color: #0d6efd;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=2000&q=80') center center / cover no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(2, 8, 19, 0.6) 0%, rgba(2, 8, 19, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
    color: #f8fafc;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 30px;
    line-height: 1.7;
    font-weight: 300;
}

.btn-explore {
    background-color: #0b61d6;
    border: none;
    padding: 14px 34px;
    font-weight: 600;
    border-radius: 4px;
    font-size: 1.05rem;
    box-shadow: 0 4px 14px rgba(11, 97, 214, 0.3);
    color: #fff;
    transition: all 0.3s;
}

.btn-explore:hover {
    background-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
    color: #fff;
}

.btn-contact {
    border: 1px solid #0b61d6;
    color: #fff;
    padding: 13px 34px;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 15px;
    background-color: transparent;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: #0b61d6;
    color: #fff;
    border-color: #0b61d6;
    box-shadow: 0 6px 20px rgba(11, 97, 214, 0.4);
}

/* Stats Bar */
.stats-bar-wrapper {
    background: rgba(10, 24, 41, 0.4);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    position: relative;
    z-index: 3;
    margin-top: -85px;
    /* Pull it slightly into the hero */
}

.stat-item {
    font-weight: 600;
    color: #f8fafc;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.text-blue {
    color: #38bdf8;
    font-size: 1.4rem;
}

.text-blue-glow {
    color: #38bdf8;
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Services */
.services-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #061121 100%);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(14, 165, 233, 0.3);
}

.card-img-placeholder {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 24, 41, 0) 0%, var(--bg-card) 100%);
}

.img-connectivity {
    background-image: url('../img/service_connectivity.png');
}

.img-datacenter {
    background-image: url('../img/service_datacenter.png');
}

.img-managed {
    background-image: url('../img/service_managed.png');
}

.img-cloud {
    background-image: url('../img/service_cloud.png');
}

.service-card-body {
    padding: 10px 30px 35px 30px;
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #f8fafc;
}

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

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.service-list li::before {
    content: '•';
    color: #0ea5e9;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Coverage */
.coverage-section {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.coverage-text {
    padding-right: 40px;
}

.coverage-subtitle {
    color: #64748b;
    font-size: 1.15rem;
    margin-top: 15px;
}

.city-list ul {
    list-style: none;
    padding: 0;
}

.city-list li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: #f1f5f9;
}

.dark-list li {
    color: #334155;
    font-weight: 500;
    font-size: 0.90rem;
}

.city-list .dot {
    width: 6px;
    height: 6px;
    background-color: #0ea5e9;
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 8px 3px rgba(14, 165, 233, 0.4), 0 0 2px 1px #0ea5e9;
}

.map-container {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.slanted-map {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
    .slanted-map {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
        min-height: 220px;
    }
}

/* Trusted Section */
.trusted-section {
    background-color: var(--bg-dark);
    color: #e2e8f0;
    padding: 80px 0;
}

/* Batas lebar yang berbeda untuk masing-masing slider sesuai kotak hijau */
#tech-slider {
    max-width: 950px;
    margin: 0 auto;
}

#trusted-slider {
    max-width: 1800px;
    margin: 0 auto;
}

.ds-title {
    color: #f1f5f9;
    font-size: 1.7rem;
    letter-spacing: -0.5px;
}

.logo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.logo-slide-track {
    display: flex;
    width: fit-content;
    white-space: nowrap;
    animation: scroll-logos 40s linear infinite;
}

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

.logo-slide-track:hover {
    animation-play-state: paused;
}

.tech-track {
    animation-duration: 30s;
    animation-direction: reverse;
}

.trusted-track {
    animation-duration: 160s;
    /* much slower because of many logos */
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.3rem;
    color: #0f172a;
    padding: 15px 30px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 70px;
    min-width: 140px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    background: #f8fafc;
}

.partner-logo img {
    opacity: 1;
    filter: none;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.08);
}

div.partner-logo.tech {
    height: 80px;
    padding: 15px 35px;
}

div.partner-logo.tech:hover {
    opacity: 1;
}

.line-side {
    display: inline-block;
    width: 60px;
    height: 1px;
    background: #cbd5e1;
    vertical-align: middle;
    margin: 0 15px;
}

/* Bottom CTA section */
.bottom-cta-section {
    position: relative;
    padding: 100px 0 80px;
    background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=80') center center / cover no-repeat;
    background-attachment: fixed;
}

.bottom-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 8, 19, 0.95) 0%, rgba(10, 24, 41, 0.85) 100%);
    backdrop-filter: blur(3px);
}

.bottom-cta-section .container {
    position: relative;
    z-index: 2;
}

.stat-big-icon {
    font-size: 3rem;
    color: #0ea5e9;
    margin-bottom: 15px;
}

.stat-big-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #f8fafc;
}

.stat-big-text {
    color: #94a3b8;
    font-size: 1.15rem;
}

.cta-box {
    margin-top: 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

/* Contact Section */
.contact-section {
    background-color: #020617;
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0ea5e9;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon-box {
    background: #0ea5e9;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.4);
}

.contact-form-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.contact-form-card .form-control {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
}

.contact-form-card .form-control:focus {
    background: rgba(15, 23, 42, 1);
    border-color: #0ea5e9;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
    outline: none;
}

.contact-form-card .form-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background-color: #01040a;
    padding: 40px 0;
    color: #64748b;
    font-size: 0.95rem;
    border-top: 1px solid rgba(14, 165, 233, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .stat-item {
        padding: 15px 0;
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .stats-bar-wrapper {
        margin-top: 0;
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .badges-row {
        grid-template-columns: 1fr 1fr;
    }

    .logos-row {
        border-bottom: none;
    }

    .cta-buttons {
        text-align: left !important;
        margin-top: 20px;
    }

    .btn-contact {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
    }

    .section-padding {
        padding: 60px 0;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* New Unified Hubungi Kami Section */
.unified-contact-section {
    position: relative;
    padding: 100px 0;
    background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=80') center center / cover no-repeat;
    background-attachment: fixed;
    text-align: center;
}

.unified-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 8, 19, 0.98) 0%, rgba(10, 24, 41, 0.92) 100%);
    backdrop-filter: blur(5px);
}

.unified-contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-card-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
    align-items: stretch;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    border-radius: 20px;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-info-card:hover {
    background: rgba(14, 165, 233, 0.05);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-10px);
}

.contact-info-card i {
    font-size: 2rem;
    color: #0ea5e9;
    margin-bottom: 20px;
    display: block;
}

.contact-info-card h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-card p,
.contact-info-card a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-info-card a:hover {
    color: #0ea5e9;
}

.unified-cta-buttons {
    margin-top: 50px;
}

.btn-large {
    padding: 15px 40px;
    font-weight: 700;
    border-radius: 12px;
}

.contact-item-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
    gap: 10px;
}

.contact-item-label {
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.contact-item-value {
    color: #0ea5e9;
    text-align: right;
    word-break: break-all;
}

/* Optimization for Small Mobile Devices */
@media (max-width: 576px) {
    .navbar-brand .logo-title {
        font-size: 1rem;
    }

    .navbar-brand .logo-subtitle {
        font-size: 0.7rem;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem !important;

        br {
            display: none;
        }

        /* Prevent forced breaks in long sentences on mobile */
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn-large {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }

    .contact-info-card {
        width: 100% !important;
        min-width: 0 !important;
    }

    .contact-item-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2px;
    }

    .contact-item-value {
        text-align: center;
    }
}

/* Fix for Button Sejajar in Hero on Mobile */
@media (max-width: 768px) {
    .hero-buttons {
        gap: 10px;
    }

    .btn-large {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Custom Container Width Override for Desktop */
@media (min-width: 992px) {
    .container {
        max-width: 96% !important;
    }

    .hero-content {
        padding-left: 3%;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 96% !important;
    }

    .hero-content {
        padding-left: 6%;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 97% !important;
    }

    .hero-content {
        padding-left: 10%;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 98% !important;
    }

    .hero-content {
        padding-left: 15%;
    }
}