/* --- Font Awesome Import --- */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* --- Base Styles & Mobile Stability Fix --- */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    /* Texture grid halus agar background tidak flat */
    background-image: radial-gradient(#1e3a8a08 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    overflow-x: hidden; /* Tambahan fix agar animasi AOS tidak memicu scrollbar horizontal */
}

/* Jarak scroll anchor untuk navbar fixed-top */
#projects-section,
#about-section,
#team-section,
#campusjaya-section {
    scroll-margin-top: 80px;
}

.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* --- Navbar (Branding & Layout Fix) --- */
.navbar {
    transition: all 0.4s ease;
    padding: 20px 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.6rem !important; /* Memperbesar tulisan Campus Jaya */
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background-color: #0f172a !important;
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(15, 23, 42, 0.98) !important; 
        margin-top: 15px;
        padding: 20px;
        border-radius: 15px;
    }
    .nav-item {
        text-align: center;
        padding: 10px 0;
    }
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-text h1 {
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

/* Logo Hero (Static & Selaras) */
.hero-logo-static {
    max-width: 90%;
    border-radius: 24px;
    /* Memberikan aura cahaya agar logo tidak terlihat seperti 'tempelan' */
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
    transition: all 0.4s ease;
}

.hero-logo-static:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 50px rgba(59, 130, 246, 0.6));
}

/* --- About Section (Background & Glassmorphism) --- */
.about-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f9fa 0%, #eef2ff 50%, #f8f9fa 100%);
    padding: 100px 0;
}

/* Dekorasi Bulat Blur di Background About */
.about-wrapper::before, .about-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.15;
}

.about-wrapper::before { width: 450px; height: 450px; background: #3b82f6; top: -100px; left: -100px; }
.about-wrapper::after { width: 300px; height: 300px; background: #1e3a8a; bottom: -50px; right: -50px; }

/* Modern Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 30px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    position: relative;
}

.glass-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1) !important;
}

/* Icon Box menggunakan Logo Campus Jaya */
.icon-box {
    width: 65px;
    height: 65px;
    background-image: url('../images/icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 18px;
    margin-bottom: 25px;
}

/* --- Project & Team Utilities --- */
.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #1e3a8a, #3b82f6);
    border-radius: 2px;
    margin: 0 auto 20px auto;
}

.project-card {
    transition: all 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.team-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-item:hover .team-img {
    border-color: #1e3a8a;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.5);
}

.misi-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    list-style: none;
    text-align: left;
}

.misi-list li::before {
    content: '\f058'; /* Icon Check Circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #1e3a8a;
}

/* Wave Decoration */
.wave-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    line-height: 0;
}

.wave-container svg {
    width: 100%;
    height: auto;
}

/* Utility Class */
.text-primary {
    color: #3b82f6 !important;
}