/* custom.css */
body {
    font-family: Arial, sans-serif !important;
    overflow-x: hidden !important;
}

header {
    position: relative !important;
    background-size: cover !important;
    background-position: center !important;
    height: 800px !important;
    color: white !important;
    overflow: hidden !important;
}

.navbar {
    background-color: transparent !important;
    z-index: 2 !important;
    position: absolute !important;
    top: 0 !important;
    width: 100% !important;
}

.collapse.show {
    display: block !important;
    background-color: rgba(45, 159, 184, 0.9); /* Opsional */
    padding: 1rem;
}

header > .container {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1 !important;
    text-align: center !important;
}

header::before {
    content: "";
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 0 !important;
}

.goog-te-combo {
    background: #000;
    color: #fff;
    font-weight: bold;
    border: 1px solid #333;
    padding: 5px;
    border-radius: 5px;
}

.goog-te-gadget {
    font-size: 0;
}

.goog-te-gadget span {
    display: none;
}

.goog-te-banner-frame {
    display: none !important;
}

.dropdown-menu.bg-dark {
    background-color: #000 !important;
    border: 1px solid #333;
}

.dropdown-menu.bg-dark select {
    color: #fff;
}

/* Language Selector */
.language-selector {
    background-color: white !important;
    border-radius: 5px !important;
    padding: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.language-selector select {
    border: none !important;
    background: transparent !important;
    outline: none !important;
}

.language-selector img {
    margin-right: 10px !important;
}

/* Navbar */
.navbar-nav .nav-link {
    color: white !important;
    transition: color 0.3s ease !important;
}

.navbar-nav .nav-link:hover {
    color: #20c997 !important;
}

.icon-circle {
    background-color: #2d9fb8; /* Warna background */
    width: 60px; /* Diameter lingkaran */
    height: 60px; /* Diameter lingkaran */
    border-radius: 50%; /* Membentuk lingkaran */
    display: flex; /* Untuk memusatkan ikon */
    align-items: center; /* Vertikal tengah */
    justify-content: center; /* Horizontal tengah */
    margin: 0 auto 10px; /* Tengah dan margin bawah */
    color: #fff; /* Warna ikon */
    font-size: 24px; /* Ukuran ikon */
}

.info-box {
    text-align: center; /* Pusatkan teks */
}

.info-box h5 {
    margin-top: 10px;
    font-weight: bold;
}

.social-title {
    font-weight: bold;
    font-size: 1.5rem;
}

.network-text {
    color: #00b4d8;
}

.social-icons {
    padding: 20px 0;
    min-height: 160px; /* Memberikan ruang untuk pergerakan vertikal */
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px; /* Ukuran lebih besar */
    height: 70px; /* Ukuran lebih besar */
    background-color: #0072bc;
    border-radius: 50%;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-icons a i {
    font-size: 1.8rem; /* Ukuran icon lebih besar */
}

.social-icons a:hover {
    transform: translateY(-3px);
    background-color: #005999;
}

/* Posisi dinamis untuk setiap icon */
.social-icons a:nth-child(1) {
    /* X/Twitter */
    transform: translateY(0);
}

.social-icons a:nth-child(2) {
    /* Instagram */
    transform: translateY(20px);
}

.social-icons a:nth-child(3) {
    /* YouTube */
    transform: translateY(-10px);
}

.social-icons a:nth-child(4) {
    /* LinkedIn */
    transform: translateY(15px);
}

.social-icons a:nth-child(5) {
    /* Facebook */
    transform: translateY(5px);
}

/* Hover effect yang mempertahankan posisi Y asli */
.social-icons a:nth-child(1):hover {
    transform: translateY(-3px);
}

.social-icons a:nth-child(2):hover {
    transform: translateY(17px);
}

.social-icons a:nth-child(3):hover {
    transform: translateY(-13px);
}

.social-icons a:nth-child(4):hover {
    transform: translateY(12px);
}

.social-icons a:nth-child(5):hover {
    transform: translateY(2px);
}

.btn-custom-outline {
    color: black; /* Warna teks awal */
    border: 2px solid #2d9fb8; /* Outline dengan warna custom */
    background-color: #fff; /* Latar belakang putih */
    font-weight: bold; /* Teks tebal */
    transition: all 0.3s ease-in-out; /* Transisi yang halus */
    border-radius: 25px; /* Menambahkan rounded pada tombol */
    padding: 10px 20px; /* Penyesuaian padding untuk tombol */
}

.btn-custom-outline:hover {
    color: #fff; /* Ubah teks menjadi putih saat hover */
    background-color: #2d9fb8; /* Latar belakang menjadi warna custom */
    border-color: #2d9fb8; /* Border tetap warna custom */
}

/* Buttons */
.btn-blue {
    background-color: #00bfff !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
}

.btn-blue:hover {
    background-color: #1e90ff !important;
    transform: scale(1.05) !important;
}

.btn-tosca {
    background-color: #2d9fb8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-tosca:hover {
    background-color: #2d9fb8;
    transform: scale(1.05);
}

/* Cards */
.card {
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.card:hover {
    background-color: #2d9fb8;
    color: white;
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.card:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* Horizontal Rules */
hr {
    border: none;
    height: 5px;
    background-color: #2d9fb8;
    width: 100%;
    margin: 20px auto;
}

.double-hr {
    border: none;
    border-top: 4px double #28a745;
    width: 80%;
}

.shadow-hr {
    border: none;
    height: 1px;
    background-color: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    margin: 20px 0;
}

/* Captcha */
.captcha-container {
    text-align: center;
}

.captcha-image img {
    width: 250px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Footer */
footer {
    background-color: black;
    color: white;
    padding: 20px 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #20c997;
}

/* Featured Categories */
.featured-card {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.featured-card h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-card h6 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.featured-card .category-description {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.featured-card .featured-link {
    display: inline-block;
    background-color: #2d9fb8;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.featured-card .featured-link:hover {
    background-color: #fff;
    color: #2d9fb8;
    transform: translateY(-2px);
}

/* Contact Cards Buttons */
.contact-card .btn-outline-primary {
    transition: all 0.3s ease;
    border-color: #2d9fb8;
    color: #2d9fb8;
}

.contact-card .btn-outline-primary:hover {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #2d9fb8 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card Hover Effect - Button tetap terlihat */
.contact-card:hover .btn-outline-primary {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #2d9fb8 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
