.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #222;
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

}
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f39c12;
    color: blue;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

#scrollTopBtn:hover {
    background: #e67e22;
}
.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-item {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-left: 5px solid #f39c12;
    width: 80%;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}
.sidebar {
    position: fixed;
    left: 0; /* Initially hidden */
    margin-top: 50px;
    width: 250px;
    height: 100%;
    background: #222;
    color: white;
    transform: translateX(-250px);
    transition: transform 250ms ease-in-out; /* Smooth sliding */
    padding-top: 20px;
    z-index: 1000; /* Ensure it's above other elements */
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

.menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    z-index: 1100; /* Ensure menu button is above sidebar */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
}

@media (max-width: 768px) {
    .sidebar {
        width: 80%; /* Adjust for smaller screens */
    }
}

/* Hero Section */
.hero {
    background: url('background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: blue;
    text-align: center;
}

/* Sections */
section {
    padding: 50px;
    background: white;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.project-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.project-card {
    width: 250px;
    height: 300px;
    perspective: 1000px;
}

.project-card .project-front,
.project-card .project-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    transition: transform 0.6s;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.project-card .project-front {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-card .project-front img {
    width: 100%;
    height: 60%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.project-card .project-back {
    background: #f39c12;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project-card:hover .project-front {
    transform: rotateY(180deg);
}

.project-card:hover .project-back {
    transform: rotateY(360deg);
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f39c12;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #e67e22;
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 10px;
    text-align: center;
}
