/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef3 100%);
    color: #2c3e50;
    line-height: 1.6;
}

/* ========================================
   NAVBAR STYLES - ELEGANT & MODERN
   ======================================== */
.navbar-inverse {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: none;
    border-bottom: 3px solid #27ae60;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-inverse:hover {
    box-shadow: 0 6px 30px rgba(39, 174, 96, 0.4);
}

.navbar-brand {
    padding: 5px 15px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    height: 50px;
    width: auto;
    border-radius: 50%;
    border: 2px solid #27ae60;
    box-shadow: 0 0 15px rgba(39, 174, 96, 0.5);
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    border-color: #2ecc71;
    box-shadow: 0 0 25px rgba(46, 204, 113, 0.8);
    transform: rotate(360deg);
}

.navbar-inverse .navbar-nav > li > a {
    color: #ffffff;
    font-weight: 600;
    padding: 20px 18px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-inverse .navbar-nav > li > a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-inverse .navbar-nav > li > a:hover:before,
.navbar-inverse .navbar-nav > li.active > a:before {
    width: 80%;
}

.navbar-inverse .navbar-nav > li > a:hover {
    color: #2ecc71;
    background-color: rgba(39, 174, 96, 0.1);
}

.navbar-inverse .navbar-nav > li.active > a {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

/* Dropdown Menu */
.navbar-inverse .navbar-nav .dropdown-menu {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border: 2px solid #27ae60;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    padding: 10px 0;
}

.navbar-inverse .navbar-nav .dropdown-menu > li > a {
    color: #ffffff;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.navbar-inverse .navbar-nav .dropdown-menu > li > a:hover {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    color: #ffffff;
    padding-left: 30px;
}

.navbar-inverse .navbar-nav .dropdown-menu .divider {
    background-color: #27ae60;
    height: 2px;
}

/* Mobile Toggle Button */
.navbar-inverse .navbar-toggle {
    border-color: #27ae60;
    background-color: rgba(39, 174, 96, 0.2);
}

.navbar-inverse .navbar-toggle:hover {
    background-color: #27ae60;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #2ecc71;
}

/* ========================================
   CAROUSEL / SLIDER STYLES
   ======================================== */
.carousel-inner > .item > img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(39, 174, 96, 0.6));
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(46, 204, 113, 0.3);
}

.carousel-caption h2 {
    font-size: 48px;
    font-weight: bold;
    color: #2ecc71;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
}

.carousel-caption h3 {
    font-size: 24px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.carousel-control {
    background: linear-gradient(90deg, rgba(39, 174, 96, 0.6), transparent);
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: linear-gradient(90deg, rgba(39, 174, 96, 0.8), transparent);
}

.carousel-control.right {
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.6));
}

.carousel-control.right:hover {
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.8));
}

.carousel-indicators li {
    border: 2px solid #27ae60;
    background-color: rgba(255, 255, 255, 0.3);
}

.carousel-indicators .active {
    background-color: #27ae60;
    box-shadow: 0 0 10px #2ecc71;
}

/* ========================================
   MAIN CONTENT STYLES
   ======================================== */
.main-content {
    padding: 40px 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    margin-bottom: 40px;
}

.h3-custom {
    color: #27ae60;
    font-weight: bold;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.custom-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border: none;
    margin: 10px auto 20px;
    border-radius: 2px;
}

/* ========================================
   CARD / PANEL STYLES
   ======================================== */
.card-shadow-2 {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #27ae60;
    transition: all 0.3s ease;
}

.card-shadow-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
    border-left-width: 8px;
}

.scroll-laporan {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 10px;
}

.scroll-laporan::-webkit-scrollbar {
    width: 8px;
}

.scroll-laporan::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scroll-laporan::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #27ae60, #2ecc71);
    border-radius: 10px;
}

.scroll-laporan::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2ecc71, #27ae60);
}

.img-circle {
    border: 3px solid #27ae60;
    box-shadow: 0 0 15px rgba(39, 174, 96, 0.4);
    transition: all 0.3s ease;
}

.img-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(46, 204, 113, 0.6);
}

.img-sm {
    width: 60px;
    height: 60px;
}

.text-green {
    color: #27ae60;
}

.profil-name {
    margin-bottom: 5px;
    font-weight: bold;
}

.hr-nama {
    border-top: 2px solid #27ae60;
    margin: 10px 0;
}

/* ========================================
   SOCIAL MEDIA BOX STYLES
   ======================================== */
.box {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.box:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.1), transparent);
    transition: left 0.5s ease;
}

.box:hover:before {
    left: 100%;
}

.box:hover {
    border-color: #27ae60;
    box-shadow: 0 12px 35px rgba(39, 174, 96, 0.3);
    transform: translateY(-5px);
}

.box-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
    transition: all 0.3s ease;
}

.box:hover .box-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 8px 30px rgba(39, 174, 96, 0.6);
}

.box-icon .fa {
    color: #ffffff;
    font-size: 32px;
}

.info h3 {
    color: #27ae60;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* List Group Styles */
.list-group-item {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    transform: translateX(10px);
    border-left-color: #27ae60;
}

.list-group-item a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.list-group-item a:hover {
    color: #27ae60;
}

.list-group-item-success {
    background-color: rgba(39, 174, 96, 0.1);
    border-left-color: #27ae60;
}

.list-group-item-info {
    background-color: rgba(52, 152, 219, 0.1);
    border-left-color: #3498db;
}

.list-group-item-warning {
    background-color: rgba(243, 156, 18, 0.1);
    border-left-color: #f39c12;
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.button-green {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
    transition: all 0.3s ease;
}

.button-green:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.6);
    transform: translateY(-2px);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
#top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #ffffff;
    text-align: center;
    line-height: 55px;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
}

#top:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 8px 30px rgba(39, 174, 96, 0.7);
    transform: translateY(-5px) scale(1.1);
    text-decoration: none;
}

/* ========================================
   FOOTER STYLES - ELEGANT & MODERN
   ======================================== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 60px 20px 40px;
    margin-top: 50px;
    border-top: 5px solid #27ae60;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

.footer .row {
    max-width: 1200px;
    margin: 0 auto;
}

.footer h4 {
    color: #2ecc71;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border-radius: 2px;
}

.footer p {
    color: #cccccc;
    line-height: 1.8;
    font-size: 15px;
}

.footer .fa-top {
    color: #2ecc71;
    font-size: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.footer .list-inline {
    margin-bottom: 20px;
}

.footer .list-inline-item {
    display: inline-block;
    margin: 0 5px;
}

.btn-social {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border: 2px solid #27ae60;
    background: transparent;
    color: #2ecc71;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-social:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-social:hover:before {
    width: 100px;
    height: 100px;
}

.btn-social:hover {
    color: #ffffff;
    border-color: #2ecc71;
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.6);
}

/* ========================================
   COPYRIGHT SECTION
   ======================================== */
.copyright {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    padding: 20px;
    border-top: 2px solid #27ae60;
}

.copyright small {
    color: #cccccc;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ========================================
   MODAL STYLES
   ======================================== */
.modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
}

.bg-2 {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.modal-header {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #ffffff;
    border: none;
    padding: 25px;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    font-size: 16px;
    color: #2c3e50;
}

.modal-body a {
    color: #27ae60;
    font-weight: bold;
    text-decoration: none;
}

.modal-body a:hover {
    color: #2ecc71;
    text-decoration: underline;
}

.modal-footer {
    border: none;
    padding: 20px 30px;
    background-color: #f8f9fa;
}

/* ========================================
   SHADOWS & EFFECTS
   ======================================== */
.shadow {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .navbar-inverse .navbar-nav > li > a {
        padding: 15px 20px;
    }
    
    .carousel-caption h2 {
        font-size: 32px;
    }
    
    .carousel-caption h3 {
        font-size: 18px;
    }
    
    .footer {
        padding: 40px 15px 30px;
    }
    
    .footer h4:after {
        left: 0;
        transform: none;
    }
    
    .h3-custom {
        font-size: 24px;
    }
    
    #top {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 22px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-shadow-2 {
    animation: fadeInUp 0.6s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.box-icon {
    animation: pulse 2s infinite;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.text-muted {
    color: #7f8c8d;
}

.text-sm {
    font-size: 13px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}