@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
    overflow-x: hidden;
}

.hero-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.card-hover {
    transition: all 0.3s ease;
}

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

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.skill-bar {
    height: 8px;
    background-color: #334155;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    border-radius: 4px;
    transition: width 1.5s ease;
}

.project-card {
    perspective: 1000px;
    cursor: pointer; /* Add pointer cursor for better UX */
}

.project-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.project-card.flipped .project-inner {
    transform: rotateY(180deg);
}

.project-front,
.project-back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-back {
    transform: rotateY(180deg);
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    bottom: -8px;
    left: 0;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    border-radius: 2px;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

.blob-1 {
    top: -200px;
    right: -200px;
}

.blob-2 {
    bottom: -200px;
    left: -200px;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #334155;
}

.timeline-dot {
    position: absolute;
    left: 15px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

img {
    filter: brightness(0.8); /* Adjust the value as needed (0.8 reduces brightness by 20%) */
}

.dashboard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.dashboard-button:hover {
    background-color: #2563eb;
}

.dashboard-button:active {
    transform: scale(0.95);
}

.dashboard-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.hidden {
    display: none;
}

#home {
    padding-top: 80px; /* Adjust this value based on your header height */
}

nav {
    height: 80px; /* Set a fixed height for the header */
    line-height: 80px; /* Vertically align content */
}

#notification {
    z-index: 1000;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    10%, 90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(20px); }
}

@media (max-width: 768px) {
    #home {
        padding-top: 80px; /* Adjust for mobile header height */
    }
}