:root {
    --deep-blue: #0a2342;
    --ocean-blue: #f5f5dc ;
    --accent-gold: #ffd700;
    --text-dark: #2c3e50;
	--navbar-top:#0c0c36;
}

/* Styling Awal Navbar (Transparan) */
.navbar-custom {
    padding: 20px 0;
    transition: all 0.5s ease-in-out; /* Transisi lebih halus */
    background-color: var(--navbar-top);
}

/* Styling Navbar saat di-scroll (Midnight Blue) */
.navbar-custom.scrolled {
    padding: 12px 0;
    background-color: #191970 !important; /* Midnight Blue Color */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #ffd700; /* Garis bawah emas tipis untuk pemisah */
}

/* Memastikan teks tetap putih dan terbaca */
.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: 0.3s;
}

.navbar-custom .nav-link:hover {
    color: #ffd700 !important;
}

/* Menyesuaikan logo saat scroll */
.navbar-custom.scrolled .navbar-brand span {
    color: #ffffff !important;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark);
    margin: 0;
}


/* --- HERO SECTION REVISI --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    /* Efek Parallax di Hero */
    background: linear-gradient(rgba(10, 35, 66, 0.5), rgba(10, 35, 66, 0.5)), 
                url('../img/IMG20211116081012_2-scaled.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    background: rgba(220, 220, 220, 0.25);
    padding: 3.5rem 2rem;
    border-radius: 15px;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--accent-gold);
    backdrop-filter: blur(8px);
    max-width: 850px;
    z-index: 2;
}

/* --- SECTION UMUM --- */
.section-title {
    font-weight: 700;
    color: var(--deep-blue);
    border-bottom: 3px solid var(--accent-gold);
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 10px;
}

.bg-light-blue { background-color: #fffdd0; }

/* Pastikan row memiliki padding bawah agar tidak menempel ke section selanjutnya */
.row.g-4 {
    padding-bottom: 20px;
}

/* Memastikan kartu selalu memiliki tinggi penuh di dalam kolom */
.card-berakhlak {
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #ffffff;
}

/* Hover effect tetap dipertahankan namun lebih smooth */
.card-berakhlak:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(10, 35, 66, 0.15);
}

/* Reset margin icon agar seragam */
.icon-box {
    flex-shrink: 0;
    margin-bottom: 1rem;
}


/* --- CARDS MAKNA --- */
.card-berakhlak {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.4s;
    height: 100%;
}

.card-berakhlak:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(10, 35, 66, 0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #2C3E50; /* solid deep navy-gray */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* --- PARALLAX SECTION REVISI --- */
.parallax-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-image: url('../img/IMG20211116081012_2-scaled.jpg');
    background-attachment: fixed; /* Kunci gambar di tempat saat scroll */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-overlay-dark {
    background: rgba(10, 35, 66, 0.85); /* Overlay untuk kontras teks */
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 80px 0;
    color: white;
}

/* Styling Dasar Tujuan Item */
.tujuan-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Transisi smooth */
    cursor: pointer;
    position: relative;
}

/* Animasi Raised-Up saat Hover */
.tujuan-card:hover {
    transform: translateY(-15px); /* Mengangkat box ke atas */
    background: rgba(255, 255, 255, 0.2); /* Sedikit lebih terang */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); /* Efek bayangan dalam */
    border-color: var(--accent-gold); /* Mengubah warna border menjadi emas */
}

/* Animasi tambahan untuk icon di dalam box saat hover */
.tujuan-card:hover i {
    transform: scale(1.7); /* Icon membesar sedikit */
    color: #ffffff !important; /* Icon berubah jadi putih (opsional) */
    transition: all 0.3s ease;
}
/* Menghilangkan dekorasi link standar */
.imp-card-link {
    text-decoration: none !important;
    display: block; /* Membuat link memenuhi seluruh kolom */
    height: 100%;
}

/* Container Implementasi Flex-box */
.imp-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background-color: #536895; /* UCLA BLUE */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border-left: 5px solid transparent;
    height: 100%;
}

/* Efek Hover pada Card saat Link disentuh */
.imp-card-link:hover .imp-card {
    transform: translateX(10px);
    background-color: #43547a; /* Gelap sedikit */
    box-shadow: 0 8px 25px rgba(83, 104, 149, 0.4);
    border-left: 5px solid #ffd700; /* Aksen Gold */
}

/* Styling Nomor */
.imp-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    margin-right: 20px;
    line-height: 1;
    transition: all 0.3s ease;
}

.imp-card-link:hover .imp-number {
    color: #ffd700;
    transform: scale(1.1);
}

.imp-content {
    flex: 1;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}



/* Menjaga teks tetap terbaca */
.tujuan-card {
    font-weight: 500;
    line-height: 1.5;
}


.tujuan-item {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    height: 100%;
}



/* Container Implementasi menggunakan Flex-box */
.imp-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background-color: #536895; /* UCLA BLUE */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border-left: 5px solid transparent;
    height: 100%;
}

/* Styling Nomor Urut */
.imp-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(255,228,205, 0.2);
    margin-right: 20px;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Efek Hover pada Card */
.imp-card:hover {
    transform: translateX(10px); /* Bergeser sedikit ke kanan */
    background-color: #43547a; /* Warna sedikit lebih gelap saat hover */
    box-shadow: 0 8px 25px rgba(83, 104, 149, 0.4);
    border-left: 5px solid var(--accent-gold); /* Menambahkan aksen gold */
}

/* Efek Hover pada Nomor */
.imp-card:hover .imp-number {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* Memastikan konten teks tetap rapi */
.imp-content {
    flex: 1;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* --- IMPLEMENTASI --- */
/* Container Implementasi menggunakan Flex-box */
.imp-card {
    display: Flex-box;
    align-items: center;
    padding: 1.5rem;
    background-color: #436b95 ; /* UCLA BLUE */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border-left: 5px solid transparent;
    height: 100%;
}

/* Styling Nomor Urut */
.imp-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(200, 200, 200, 0.2);
    margin-right: 20px;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Efek Hover pada Card */
.imp-card:hover {
    transform: translateX(10px); /* Bergeser sedikit ke kanan */
    background-color: #43547a; /* Warna sedikit lebih gelap saat hover */
    box-shadow: 0 8px 25px rgba(83, 104, 149, 0.4);
    border-left: 5px solid var(--accent-gold); /* Menambahkan aksen gold */
}

/* Efek Hover pada Nomor */
.imp-card:hover .imp-number {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* Memastikan konten teks tetap rapi */
.imp-content {
    flex: 1;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.imp-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ocean-blue);
    margin-right: 20px;
    opacity: 0.4;
}
/* Styling Tambahan untuk Image di Footer */
.footer-img-wrapper img {
    width: 100%;
    max-height: 150px; /* Membatasi tinggi agar tetap elegan */
    object-fit: cover; /* Memastikan gambar tidak gepeng */
    border-radius: 8px;
    transition: transform 0.3s ease;
    filter: brightness(0.8); /* Sedikit lebih gelap agar senada dengan footer */
}

.footer-img-wrapper img:hover {
    transform: scale(1.03);
    filter: brightness(1);
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--ocean-blue);
    color: var(--accent-gold);
    transform: translateY(-3px);
}


/* --- FOOTER --- */
.footer {
    background: #06162b;
    color: #cbd5e0;
    padding: 70px 0 20px;
}

.footer-link {
    color: #cbd5e0;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-link:hover { color: var(--accent-gold); padding-left: 5px; }