:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --text-dark: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* Back to Top Styling */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.4s ease;
    
    /* Sembunyikan secara default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* Navbar */
/* Penyesuaian Navbar Height */
.navbar {
    height: 90px; /* Sedikit lebih tinggi untuk menampung logo & tagline */
    background: var(--white);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 5px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Sembunyikan icon menu di desktop */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Responsif untuk Logo di Mobile */
/* Tampilan Mobile (Max-width 768px) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Munculkan icon menu */
    }

    .nav-links {
        position: absolute;
        top: 90px; /* Sesuai tinggi navbar */
        left: -100%; /* Sembunyikan di samping kiri */
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.4s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    /* Class untuk memunculkan menu saat diklik */
    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    padding: 10px 20px;
    transition: 0.3s;
    font-weight: 500;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
/* Hero Section Updated with Tech Background */
.hero {
    /* Menggunakan gambar bertema Datacenter/Technology yang profesional */
    background: linear-gradient(rgba(20, 30, 48, 0.7), rgba(36, 59, 85, 0.7)), 
                url('server.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Memberikan efek parallax sederhana */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* Penyesuaian tombol agar lebih kontras di atas background baru */
.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px; /* Bentuk pill yang lebih modern */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--white);
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.bg-light { background: var(--light-bg); }

/* Grid Layouts */
.infra-grid, .services-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.infra-card, .service-box {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.infra-card:hover, .service-box:hover {
    transform: translateY(-10px);
}

.infra-card i, .service-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Pricing Cards */
.price-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #ddd;
    position: relative;
}

.price-card.featured {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0;
    color: var(--secondary-color);
}

.price-card ul {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
}

.price-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* Mobile Responsive 
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}*/
/* Subscription Styles */
.sub-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.sub-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.featured-sub {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.sub-header {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.sub-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.sub-price span {
    font-size: 1rem;
    color: #888;
    font-weight: normal;
}

.sub-note {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-style: italic;
    margin-bottom: 20px;
}

.sub-list {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.sub-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.sub-list li i {
    color: #27ae60;
    margin-right: 10px;
}

.info-note {
    background: #eef2f3;
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
}
/* Menghilangkan dekorasi link agar teks tetap sama dengan layanan lain */
.service-link {
    text-decoration: none;
    color: inherit; /* Mengikuti warna teks utama (var(--text-dark)) */
    display: block;
}

.service-link:hover {
    text-decoration: none; /* Memastikan tidak ada garis bawah saat hover */
}

/* Standarisasi semua service box */
.service-box {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid transparent;
}

/* Efek hover yang seragam untuk semua kotak */
.service-box:hover, 
.service-link:hover .service-box {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
text-decoration: none;
}
/* WhatsApp Floating Button Styling */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    background-color: #25d366;
    padding: 10px 15px 10px 20px;
    border-radius: 50px;
    box-shadow: 2px 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.whatsapp-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-right: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.whatsapp-content i {
    color: white;
    font-size: 30px;
}

/* Efek saat di-hover */
.whatsapp-float:hover .whatsapp-content {
    background-color: #128c7e;
    transform: scale(1.05);
}

/* Penyesuaian untuk tampilan Mobile agar tidak terlalu lebar */
@media (max-width: 480px) {
    .whatsapp-text {
        display: none; /* Sembunyikan tulisan di HP agar tidak menutupi konten */
    }
    .whatsapp-content {
        padding: 15px;
    }
}
