/* General styles for the page */
        body {
            overflow-x: hidden; /* Prevent horizontal scrollbar during scaling */
            font-family: 'Epilogue', Arial, sans-serif;
            background-color: #10172D;
        }
        .hero-section {
            position: relative;
            height: 100vh;
            min-height: 400px;
            display: flex;
            align-items: center;
            padding-top: 5%;
            overflow: hidden; /* This is crucial for clipping the circle */
        }
        .hero-bg-circle {
            position: absolute;
            left: 50%;
            top: 50%; /* Initial position: centered vertically */
            transform: translate(-50%, -50%) scale(1); /* Initial transform: centered and at base scale */
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle at 50% 10%, #F97316 10%, #10172D 55%, #012BD3 60%, #006FFF 75%, #83FFF0 80%);
            z-index: 0;
            will-change: transform, top, filter; /* Optimize for these changes */
            filter: blur(30px); /* Blur awal untuk desktop */
            /* Media query untuk blur awal di mobile */
            @media (max-width: 768px) {
                filter: blur(15px); /* Blur awal untuk mobile */
            }
        }
        .hero-text {
            position: relative;
            z-index: 1;
            color: #fff;
            line-height: 0.5;
            text-shadow: 0 4px 24px rgba(0,0,0,0.18);
            margin-left: 30px;
            margin-bottom: 30px;
            white-space: pre-line;
            font-family: 'Epilogue', Arial, sans-serif;

            /* Gaya awal untuk animasi muncul */
            opacity: 0;
            transform: translateY(20px); /* Mulai sedikit di bawah */
            animation: fadeInRise 1s ease-out forwards; /* Durasi 1s, ease-out, tetap pada frame akhir */
            animation-delay: 0.5s; /* Tunda animasi 0.5 detik setelah halaman dimuat */
        }
        /* Navbar Styles */
        .navbar-custom {
            background-color: var(--white);
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1050;
            width: 95%;
            max-width: 1536px;
            padding: 10px 20px;
            border-radius: 50px;
            background-color: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(20px);
            color: #fff;
            -webkit-backdrop-filter: blur(20px);
        }
        .fullscreen-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: rgba(255, 255, 255, 0.05);
            z-index: 1050;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: opacity 0.3s ease;
            background-color: rgba(0, 0, 0, 0.11);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }
        .fullscreen-menu ul {
            list-style: none;
            padding: 0;
        }
        .fullscreen-menu .nav-link {
            font-size: 2rem;
            margin: 1rem 0;
            color: #ffffff;
        }
        .fullscreen-menu .close-btn {
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 4rem;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--blue);
        }
        /* Gaya awal untuk bagian utama */
        /* Latar belakang tetap gelap */
        .color-changing-section {
            min-height: auto; /* Memastikan bagian ini setidaknya setinggi viewport */
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px; /* Sudut membulat */
            margin-bottom: 20px; /* Jarak bawah */
            /* Tidak ada transisi untuk background atau shadow di sini, karena tetap */
        }

        /* Konten placeholder untuk membuat halaman dapat digulir */
        .placeholder-content {
            min-height: 150vh; /* Membuat body lebih tinggi dari section agar bisa digulir */
            background-color: #212529; /* Konten placeholder juga gelap */
            color: #adb5bd; /* Warna teks placeholder */
            border-radius: 10px; /* Sudut membulat */
        }

        .text-overlay {
            text-align: left; /* Teks rata kiri sesuai gambar */
            background-color: #ffffff17;
            padding: 2rem;
            margin: 2rem;
            border-radius: 30px;
            border: 1px solid #ffffff38;
        }

        /* Gaya untuk teks "Hi!" */
        .hi-text {
            font-size: 3.5rem; /* Ukuran font besar */
            font-weight: 700; /* Tebal */
            color: #adb5bd; /* Warna abu-abu default sebelum digulir */
            margin-bottom: 10px;
            transition: color 0.5s ease; /* Transisi warna teks */
        }

        /* Perubahan warna teks "Hi!" saat section digulir */
        .color-changing-section.scrolled .hi-text {
            color: #007bff; /* Warna biru saat digulir */
        }

        /* Gaya dasar untuk setiap kata */
        .word {
            display: inline-block; /* Penting agar transisi bekerja dengan baik pada setiap kata */
            color: #adb5bd5d; /* Warna abu-abu default untuk semua kata */
            transition: color 0.5s ease; /* Transisi halus untuk perubahan warna kata */
            line-height: inherit; /* Memastikan line-height tetap sama */
            white-space: pre-wrap; /* Mempertahankan spasi antar kata */
        }

        /* Kelas yang ditambahkan ke kata saat digulir */
        .word.scrolled-word {
            color: #f8f9fa; /* Warna putih saat kata digulir */
        }

        /* Gaya untuk teks utama (parent dari kata-kata) */
        .main-text {
            font-size: 2.5rem; /* Ukuran font sesuai gambar */
            line-height: 1.4;
            margin-bottom: 20px;
            color: inherit; /* Mewarisi warna dari .word, tidak perlu transisi di sini */
            text-align: justify; /* Membuat teks rata kiri-kanan (justify) */
        }

        /* Gaya untuk paragraf menengah (parent dari kata-kata) */
        .medium-gray-text {
            font-size: 1.5rem; /* Ukuran font menengah */
            line-height: 1.6;
            margin-bottom: 15px;
            color: inherit; /* Mewarisi warna dari .word */
        }

        /* Gaya untuk paragraf paling bawah (parent dari kata-kata) */
        .darker-gray-text {
            font-size: 1.1rem; /* Ukuran font lebih kecil */
            line-height: 1.8;
            color: inherit; /* Mewarisi warna dari .word */
        }
        #whatWeDo {
            min-height: 100vh; /* Memastikan section ini setidaknya setinggi viewport */
            display: flex;
            align-items: center;
        }
        .custom-link {
            transition: color 0.3s ease; /* Transisi halus hanya untuk perubahan warna teks */
            color: #adb5bd5d; /* Warna teks default abu-abu muda */
            background-color: transparent; /* Latar belakang transparan secara default */
            padding: 0.25rem; /* Padding untuk setiap tautan */
            margin: 0.25rem; /* Margin di sekitar setiap tautan */
            border-radius: 0.375rem; /* Sudut membulat untuk tautan */
            text-decoration: none; /* Menghilangkan garis bawah */
            font-size: 2rem;
            display: inline-block; /* Memastikan padding dan margin diterapkan dengan benar */
            cursor: pointer; /* Menunjukkan bahwa elemen dapat diklik */
        }
        .custom-link:hover,
        .custom-link:active,
        .custom-link:focus {
            color: #ffffff; /* Warna teks putih saat di-hover/aktif/fokus */
            background-color: transparent; /* Tetap transparan */
        }

        /* Gaya untuk overlay */
        .overlay {
            position: absolute; /* Posisi absolut di dalam kontainer relatif */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;background-color: rgba(64, 69, 87, 0.904);
            border: 1px solid #ffffff29;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: flex-start; /* Konten di bagian atas */
            align-items: flex-start; /* Konten di kiri */
            padding: 2rem;
            border-radius: 30px;
            box-sizing: border-box; /* Memastikan padding tidak menambah ukuran total */
            opacity: 0; /* Awalnya tidak terlihat */
            visibility: hidden; /* Awalnya tersembunyi */
            transform: translateX(-100%); /* Posisikan overlay di luar layar ke kiri */
            transition: transform 0.5s ease-out, opacity 0.3s ease, visibility 0.3s ease; /* Transisi untuk slide, fade, dan visibility */
            z-index: 10; /* Pastikan overlay di atas tautan */
        }

        .overlay.active {
            opacity: 1; /* Terlihat saat aktif */
            visibility: visible; /* Terlihat saat aktif */
            transform: translateX(0); /* Geser overlay ke posisi aslinya (dari kiri ke kanan) */
        }

        .overlay-content {
            width: 100%; /* Pastikan konten overlay memenuhi lebar overlay */
        }

        .overlay-content h2 {
            font-size: 2.5rem; /* Ukuran font judul */
            font-weight: bold;
            margin-bottom: 1rem;
        }

        .overlay-content p {
            font-size: 1.125rem; /* Ukuran font paragraf */
            line-height: 1.6;
            max-width: 80%; /* Batasi lebar teks agar tidak terlalu panjang */
        }

        .back-button {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background-color: transparent;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 0.375rem;
            transition: background-color 0.3s ease;
        }

        .back-button:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        /* Wrapper untuk efek masking (mengontrol lebar area terlihat) */
        .animated-text-container {
            position: relative; /* Penting untuk penempatan kursor */
            display: inline-block; /* Untuk mengatur lebar dan tinggi */
            overflow: hidden; /* Menyembunyikan bagian teks yang keluar dari area */
            white-space: nowrap; /* Mencegah teks melompat ke baris baru */
            vertical-align: middle; /* Menjaga alignment vertikal dengan teks di sekitarnya */
            height: 1.2em; /* Atur tinggi agar cukup untuk teks dan kursor, sesuaikan jika perlu */
            width: 0; /* Mulai dengan lebar 0 untuk efek masking */
            transition: width 0.8s ease-in-out; /* Transisi untuk lebar */
        }

        /* Span untuk teks yang sebenarnya */
        #animated-text {
            display: inline-block; /* Penting untuk transform */
            opacity: 0; /* Mulai dengan tidak terlihat */
            color: #0d6efd; /* Warna teks animasi */
            font-weight: bold; /* Teks animasi tebal */
            /* Transisi untuk opasitas saja, tidak ada transform */
            transition: opacity 0.8s ease-in-out;
        }

        /* Efek kursor berkedip */
        .typing-cursor {
            border-right: 2px solid; /* Efek kursor */
            animation: blink-caret .75s step-end infinite;
        }
        .what-we-do-section{
            background-image: url(../images/background/bg-1.svg);
            background-size: cover;
            background-position: top right;
        }
        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: #0d6efd; } /* Warna kursor */
        }
        /* Keyframes untuk animasi fade-in dan rise */
        @keyframes fadeInRise {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* New styles for scroll-triggered animations */
        .animated-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .animated-on-scroll.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        body.dragging {
            cursor: grabbing; /* Ubah kursor menjadi grabbing saat menyeret */
        }

        /* Kontainer marquee untuk mengontrol overflow dan lebar */
        .marquee-container {
            width: 100%;
            overflow: hidden; /* Sembunyikan konten yang melampaui batas */
            position: relative;
            padding: 20px 0; /* Tambahkan padding vertikal */
        }

        /* Konten marquee yang akan digulirkan */
        .marquee-content {
            display: flex; /* Gunakan flexbox untuk menata logo secara horizontal */
            flex-wrap: nowrap; /* Pastikan semua logo berada dalam satu baris */
            will-change: transform; /* Beri tahu browser bahwa properti transform akan berubah */
            transition: transform 0.1s ease-out; /* Transisi halus saat menyeret */
        }

        /* Gaya untuk gambar logo di dalam marquee */
        .marquee-content img {
            height: 60px; /* Tinggi logo, sesuaikan sesuai kebutuhan */
            margin: 0 40px; /* Spasi antara logo */
            filter: grayscale(100%) brightness(200%); /* Ubah logo menjadi putih/terang */
            opacity: 0.7; /* Sesuaikan opasitas jika diinginkan */
            object-fit: contain; /* Pastikan gambar pas dalam dimensinya */
            flex-shrink: 0; /* Cegah logo menyusut */
        }
        .gradient-container {
            position: relative; /* Penting untuk positioning absolut overlay */
            overflow: hidden; /* Memastikan overlay tidak keluar dari batas kontainer */
            background-image: url(../images/background/bg-2.svg);
            background-position: top left;
            background-size: contain; /* Pastikan gambar latar belakang tidak terdistorsi */ 	
            background-repeat: no-repeat; /* Mencegah pengulangan gambar latar belakang */
        }
        .gradient-text-wrapper {
            margin-top: 50px;
            text-align: justify; /* Rata kiri dan kanan */
            line-height: 2.5; /* Jarak antar baris */
            font-size: 1.5rem; /* Ukuran font */
            color: #f8f9fa; /* Warna teks putih penuh */
            position: relative; /* Agar teks berada di bawah overlay */
            z-index: 1; /* Pastikan teks di bawah overlay */
            opacity: 0.5;
        }
        .fade-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%; /* Overlay menutupi seluruh area teks */
            /* Gradasi overlay: dari transparan di atas ke #10172D dengan 75% opasitas di bawah */
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(16, 23, 45, 0.75) 100%);
            z-index: 2; /* Pastikan overlay berada di atas teks */
            pointer-events: none; /* Memungkinkan interaksi dengan teks di bawahnya jika ada */
        }
        .nav-top-links a {
        color: #ffffff;
        text-decoration: none;
        margin-left: 25px; /* Spacing between top navigation items */
        transition: color 0.3s ease;
        font-size: 0.95rem; /* Slightly smaller font for top nav */
        }
        .nav-top-links a:first-child {
        margin-left: 0;
        }
        hr{
            border:3px solid #007bff;
        }
        .nav-top-links a:hover {
        color: #007bff;
        }
        .social-icons a {
        color: #ffffff;
        font-size: 1.5rem;
        margin-left: 15px; /* Spacing between social icons */
        transition: color 0.3s ease;
        }
        .social-icons a:hover {
        color: #007bff; /* A subtle hover effect */
        }
        hr {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        .navbar-toggler-icon{
            filter: brightness(10);
        }
        .footer-logo {
            max-height: 50px; /* Max height for the logo */
            border-radius: 0.5rem; /* Rounded corners for the logo */
        }
        .contact-group {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%; /* Ensure groups take full height for alignment */
        }
        .contact-group p {
            margin-bottom: 0.2rem; /* Reduce margin between contact lines */
        }
        /* Adjust spacing for the main content rows */
        .footer-main-content {
            padding-bottom: 3rem; /* More space between main content and horizontal rule */
        }
        /* Responsif untuk layar yang lebih kecil */
        @media (max-width: 768px) {
            .marquee-content img {
                height: 45px; /* Kurangi tinggi logo untuk perangkat seluler */
                margin: 0 20px; /* Kurangi spasi antara logo */
            }
        }

        @media (max-width: 1024px) {
            .custom-link{
                font-size: x-large; /* Ukuran font sedang untuk mobile */
            }
            .gradient-text-wrapper{
                font-size: x-large;
            }
        }
        @media (max-width: 768px) {
            .main-text{
                font-size: 1.5rem; /* Ukuran font lebih kecil untuk mobile */
            }
            .custom-link{
                font-size: medium; /* Ukuran font sedang untuk mobile */
            }
            .gradient-text-wrapper{
                font-size: medium; /* Ukuran font sedang untuk mobile */
            }
            .hero-section {
                height: 100vh;
                min-height: 250px;
                padding-bottom: 30px;
            }
            .hero-bg-circle {
                width: 250px;
                height: 250px;
            }
            .hero-text {
                margin-left: 15px;
                margin-bottom: 15px;
            }
        }