:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-bg: #fff;
    --nav-bg: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

.dark-mode {
    --primary-color: #4895ef;
    --secondary-color: #4361ee;
    --text-color: #f8f9fa;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --nav-bg: #1a1a1a;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}
body1 {
    background-color: #f0f2f5;
            color: #111b21;
            height: 100vh;
        }

.alpicon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: var(--nav-bg);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

/* Toggle Theme Styles */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 20px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: var(--border-radius);
}

.theme-toggle i {
    color: var(--text-color);
    font-size: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Nav Menu Styles */
.nav-menu {
    flex-grow: 1;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a:hover {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.nav-menu li.active a {
    background-color: var(--primary-color);
    color: white;
}

.nav-menu li a i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.badge {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    position: absolute;
    right: 15px;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    width: 300px;
}

.search-bar i {
    margin-right: 10px;
    color: #777;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    color: var(--text-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification {
    position: relative;
    cursor: pointer;
}

.notification .badge {
    top: -5px;
    right: -5px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.content {
    padding: 30px;
    flex: 1;
}

.content h1 {
    margin-bottom: 30px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.card1 {
    background-color: non;
    padding: 180px;
    transition: var(--transition);
}
.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    transition: var(--transition);
}

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

.dark-mode .card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15pxd;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 10px;
}

.card-header h3 {
    font-size: 1.1rem;
    color: var(--text-color);
}

.card-body h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.card-body p {
    color: #777;
    font-size: 0.9rem;
}

.charts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.chart-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.chart-container h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 15px;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
}
.wa-button {
  background-color: #6e8efb;
  color: black;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
}
.wa-button1 {
  background-color: orange;
  color: white;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
transition: background 0.3s ease;
}
.button-alpi {
  background-color: #FF0800;
  color: white;
  width: 200px;
  height: 50px;
  justify-content: center;
  align-items: bottom;
  top: 200px;
  left: 245px;
  position: relative;
padding: 10px 20px;
border-radius: 30px;
text-decoration: none;
transition: background 0.3s ease;
}
.project-imagegg {
    width: 630px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);

    /* Tambahan untuk kontrol posisi */
    position: relative;
    /*relative/fixed tergantung konteks */
    top: -1px;   /* Atur sesuai keinginan */
    left: -1px; /* Atur sesuai keinginan */
}
.project-image {
    width: 287px;
    height: 140px;
    object-fit: cover; /* Untuk memastikan gambar terisi proporsional */
    border-radius: 8px; /* Optional: tambahkan rounded corners */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Optional: tambahkan shadow */
    
}
/* footer section*/
.footer_section1 {
  background-color: var(--bg-color);
  color: var(--text-color);
}
.footer_section {
  position: relative;
  background-color: #ffffff;
  text-align: center;
}

.footer_section p {
  color: #00204a;
  padding: 25px 0;
  margin: 0;
}
.footer_section p a {
  color: inherit;
}
.profile-pic {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 10px solid white;
    background-color: #ddd;
    position: absolute;
    left: 63%;
    top: 80px;
    transform: translateX(-50%);
    overflow: hidden;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.alpicontainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}