/* --- Root Variables & Reset --- */
:root {
    --primary: #002147;      /* Deep Navy */
    --secondary: #D4AF37;   /* Metallic Gold */
    --accent: #003366;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --bg-light: #fdfdfd;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-light); color: var(--text-main); line-height: 1.7; }

.container { width: 88%; max-width: 1200px; margin: 0 auto; }

/* --- Navbar Modern --- */
.navbar { 
    background: var(--white); 
    padding: 1.2rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 20px rgba(0,0,0,0.05); 
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: -1px; }
.logo span { color: var(--secondary); }

.nav-links { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.nav-links a:hover { color: var(--secondary); }
.btn-nav { 
    background: var(--primary); 
    color: var(--white) !important; 
    padding: 0.7rem 1.6rem; 
    border-radius: 4px; 
    font-weight: 600 !important; 
}

/* --- Hero Section --- */
.hero { 
    padding: 120px 0; 
    background: linear-gradient(135deg, #001529 0%, #003366 100%); 
    color: var(--white); 
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2; }
.hero h1 span { color: var(--secondary); }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 2.5rem; opacity: 0.8; font-weight: 300; }

.btn-group { display: flex; justify-content: center; gap: 1rem; }
.btn { 
    padding: 1rem 2.5rem; 
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: var(--transition); 
    cursor: pointer;
    display: inline-block;
}
.btn-gold { background: var(--secondary); color: var(--primary); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* --- Content Cards --- */
.section-padding { padding: 100px 0; }
.grid-services { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    margin-top: -80px; /* Overlap effect */
}
.card { 
    background: var(--white); 
    padding: 3rem 2rem; 
    border-radius: 8px; 
    box-shadow: var(--shadow); 
    text-align: center;
    border-top: 4px solid transparent;
    transition: var(--transition);
}
.logo img {
    height: 50px; /* Atur tinggi sesuai keinginan */
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05); /* Efek sedikit membesar saat di-hover */
}

/* Jika kamu ingin logo tetap di tengah secara vertikal di navbar */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card:hover { border-top: 4px solid var(--secondary); transform: translateY(-5px); }
.card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; }

/* --- Table & Form (Absensi) --- */
.attendance-box { background: var(--white); padding: 3rem; border-radius: 8px; box-shadow: var(--shadow); }
.form-control { width: 100%; padding: 0.9rem; margin-bottom: 1.2rem; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; }
.table-modern { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.table-modern th { background: #f8f9fa; padding: 1.2rem; text-align: left; font-weight: 600; color: var(--primary); border-bottom: 2px solid #eee; }
.table-modern td { padding: 1.2rem; border-bottom: 1px solid #eee; }

/* --- Footer --- */
.main-footer { background: #001529; color: rgba(255,255,255,0.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 50px; }
.footer-col h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.5rem; font-weight: 700; }
.footer-col p { font-size: 0.9rem; line-height: 1.8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 0.85rem; }