/* General Styles */
:root {
    --primary-color: #090;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 56px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #09e0ff;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen p {
    color: white;
    margin-top: 20px;
    font-size: 1.2rem;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(100deg, #c6f2fd 0%, #00cfd8 100%);
    color: black;
}

.profile-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* About Section */
.skill-item .progress {
    height: 10px;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content h4 {
    margin-bottom: 5px;
}

.timeline-content h5 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Portfolio Section */
.portfolio-item {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    height: 100%;
}

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

.portfolio-item .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Comments Section */
#disqus_thread {
    margin-top: 50px;
}

/* Contact Section */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

/* Bounce Animation */
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .profile-img {
        width: 250px;
        height: 250px;
        margin-top: 30px;
    }

    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 56px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -30px;
    }
}
.fab {
    padding-bottom: 5px;
}
.klik {
    border: none;
    border-radius: 5px;
    font-size: 16px;
    color: white;
    background: #00d310;
    height: 35px;
}
