        /* Base Styles */
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --primary-color: #1f64e4;
            --primary-dark: #b3240b;
            --primary-light: #e84118;
            --accent-color: #ffa502;
            --text-color: #f1f1f1;
            --dark-bg: #5e3b3b;
            --darker-bg: #010118;
            --card-bg: rgba(25, 25, 25, 0.9);
            --border-color: rgba(223, 212, 209, 0.3);
            --name-color: #da2e10;
        }

        /* Initially hide elements */
.hidden {
    opacity: 0;
    transform: translateY(20px); /* Slightly move elements down */
    transition: all 0.6s ease-out; /* Smooth transition */
}

/* When elements are visible */
.visible {
    opacity: 1;
    transform: translateY(0); /* Reset position */
}
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        @keyframes slideInLeft {
            from { transform: translateX(-100px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        
        @keyframes slideInRight {
            from { transform: translateX(100px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        
        @keyframes skillProgress {
            from { width: 0; }
        }
        
        @keyframes glowing {
            0% { box-shadow: 0 0 5px var(--primary-color); }
            50% { box-shadow: 0 0 20px var(--primary-color); }
            100% { box-shadow: 0 0 5px var(--primary-color); }
        }
        
        /* Stars background */
        .stars {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background-color: var(--darker-bg);
            overflow: hidden;
        }
        
        .star {
            position: absolute;
            background-color: #fff;
            border-radius: 50%;
            opacity: 0.8;
            animation: twinkle ease infinite;
        }
        
        @keyframes twinkle {
            0% { opacity: 0.2; }
            50% { opacity: 0.8; }
            100% { opacity: 0.2; }
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--dark-bg);
            position: relative;
        }
        
        a {
            text-decoration: none;
            color: var(--primary-light);
            transition: color 0.3s;
        }
        
        a:hover {
            color: var(--primary-color);
            text-decoration: none;
        }
        
        /* Layout */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header */

        /* Smooth transition for header visibility */

        /* Glowing effect for active navigation link */
nav ul li a.active {
    color: var(--primary-color); /* Highlight color */
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    font-weight: bold; /* Optional: Make it bold */
}
header {
    transition: transform 0.5s ease-in-out;
}
        header {
            background-color: rgba(10, 10, 10, 0.9);
            box-shadow: 0 2px 10px rgba(0,0,0,0.5);
            position: sticky;
            top: 0px;
            z-index: 100;
            border-bottom: 1px solid var(--border-color);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }

        @keyframes typing {
            from {
                width: 0;
            }
            to {
                width: 100%;
            }
        }
        
        @keyframes blink {
            50% {
                border-color: transparent;
            }
        }
        
        .logo {
            display: inline-block;
            font-size: 22px;
            font-weight: 750;
            color: var(--name-color);
            white-space: nowrap; /* Prevent text wrapping */
            overflow: hidden; /* Hide the overflowing text during animation */
            border-right: 2px solid var(--name-color); /* Simulate a cursor */
            animation: typing 4s steps(30, end), blink 0.7s step-end infinite;
            animation-fill-mode: forwards; /* Ensure the final state of the animation persists */
            text-align: left; /* Align text to the left */
            max-width: 350px; /* Limit the width to prevent the cursor from moving too far */
        }

        /* Adjust the size of the logo image */
.logo-image {
    width: 115px; /* Set the desired width */
    height: auto; /* Maintain aspect ratio */
    display: inline-block; /* Ensure it aligns properly */
    margin-right: 10px; /* Add some spacing between the logo and the text */
}
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 30px;
        }
        
        nav ul li a {
            color: var(--text-color);
            font-weight: 500;
            transition: all 0.3s;
            position: relative;
            padding-bottom: 5px;
        }
        
        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: width 0.3s;
        }
        
        nav ul li a:hover {
            color: var(--primary-color);
        }
        
        nav ul li a:hover::after {
            width: 100%;
        }
        
        .tagline {
            font-size: 16px;
            font-weight: 500;
            color: var(--accent-color); /* Use a contrasting color */
            text-align: center;
            margin-top: 5px; /* Add spacing between the name and tagline */
            letter-spacing: 2px; /* Add some spacing between letters */
        }

        /* Hero Section */
        .hero {
            padding: 120px 0;
            background-color: rgba(0, 0, 0, 0.5);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .hero-content {
            animation: fadeIn 1s ease-out;
            position: relative;
            z-index: 2;
        }
        
        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            color: var(--primary-color);
            animation: float 6s ease-in-out infinite;
        }
        
        .hero p {
            font-size: 20px;
            max-width: 600px;
            margin: 0 auto 30px;
            color: var(--text-color);
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
            animation-delay: 0.5s;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 20px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 30px;
            font-weight: 500;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            z-index: 1;
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
            animation-delay: 1s;
        }
        
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: all 0.6s;
            z-index: -1;
        }
        
        .btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
        
        .btn:hover::before {
            left: 100%;
        }
        
        /* About Section */
        .about {
            padding: 80px 0;
            position: relative;
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }
        
        .about-image {
            flex: 1;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(194, 54, 22, 0.3);
            opacity: 0;
            animation: slideInLeft 1s ease-out forwards;
            border: 2px solid var(--border-color);
            transition: all 0.3s;
        }
        
        .about-image:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 30px rgba(194, 54, 22, 0.5);
        }
        
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s;
        }
        
        .about-image:hover img {
            transform: scale(1.05);
        }
        
        .about-text {
            flex: 1;
            opacity: 0;
            animation: slideInRight 1s ease-out forwards;
            animation-delay: 0.3s;
        }
        
        .section-title {
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--primary-color);
            position: relative;
            display: inline-block;
            padding-bottom: 10px;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--primary-color);
            transition: width 0.3s;
        }
        
        .section-title:hover::after {
            width: 100%;
        }
        
        /* Update styles for the Certificates section */
#certificates {
    padding: 50px 0;
    background-color: transparent; /* Example background color */
}

#certificates .certificates-title {
    text-align: center;
    margin-bottom: 30px;
}

#certificates .certificates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#certificates .certificate-item {
    width: 300px;
    text-align: center;
    background: #111141;
    border: 1px solid #000000;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#certificates .certificate-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
            opacity: 0;
        }
        
        .timeline-item.left {
            left: 0;
            animation: slideInLeft 1s ease-out forwards;
        }
        
        .timeline-item.right {
            left: 50%;
            animation: slideInRight 1s ease-out forwards;
        }
        
        .timeline-item:nth-child(1) { animation-delay: 0.2s; }
        .timeline-item:nth-child(2) { animation-delay: 0.4s; }
        .timeline-item:nth-child(3) { animation-delay: 0.6s; }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background-color: var(--darker-bg);
            border: 4px solid var(--primary-color);
            border-radius: 50%;
            top: 15px;
            z-index: 1;
            transition: all 0.3s;
            animation: pulse 3s infinite;
        }
        
        .timeline-item.left::after {
            right: -10px;
        }
        
        .timeline-item.right::after {
            left: -10px;
        }
        
        .timeline-item:hover::after {
            background-color: var(--primary-color);
            transform: scale(1.2);
        }
        
        .timeline-content {
            padding: 20px;
            background-color: var(--card-bg);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            transition: all 0.3s;
            border: 1px solid var(--border-color);
        }
        
        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(194, 54, 22, 0.3);
        }
        
        .timeline-content h3 {
            color: var(--primary-color);
            margin-bottom: 10px;
        }
        
        .timeline-date {
            color: #aaa;
            font-style: italic;
            margin-bottom: 10px;
        }
        
        /* Skills Section */
        .skills {
            padding: 80px 0;
            position: relative;
        }
        
        .skills-title {
            text-align: center;
            margin-bottom: 50px;
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
        }
        
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .skill-category {
            background-color: var(--card-bg);
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            transition: all 0.3s;
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
            border: 1px solid var(--border-color);
        }
        
        .skill-category:nth-child(1) { animation-delay: 0.2s; }
        .skill-category:nth-child(2) { animation-delay: 0.4s; }
        .skill-category:nth-child(3) { animation-delay: 0.6s; }
        
        .skill-category:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(194, 54, 22, 0.3);
        }
        
        .skill-category h3 {
            color: var(--primary-color);
            margin-bottom: 20px;
            text-align: center;
        }
        
        .skill-item {
            margin-bottom: 15px;
        }
        
        .skill-name {
            margin-bottom: 5px;
            font-weight: 500;
            display: flex;
            justify-content: space-between;
        }
        
        .skill-bar {
            height: 10px;
            background-color: rgba(255,255,255,0.1);
            border-radius: 5px;
            overflow: hidden;
            position: relative;
        }
        
        .skill-progress {
            height: 100%;
            background-color: var(--primary-color);
            border-radius: 5px;
            position: relative;
            animation: skillProgress 1.5s ease-out forwards;
            background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
        }
        
        .skill-progress::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: shine 2s infinite;
        }
        
        @keyframes shine {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        /* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); 
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%; /* Limit the image size */
    max-height: 90%; /* Limit the image size */
    border: 2px solid white;
    border-radius: 10px;
    animation: popup 0.5s ease-out; /* Animation for popup */
}

.modal-content.pop-out {
    animation: popOut 0.4s ease-in; /* Pop-out animation when closing */
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Popup animation */
@keyframes popup {
    0% {
        transform: scale(0.5); /* Start small */
        opacity: 0; /* Fully transparent */
    }
    100% {
        transform: scale(1); /* Full size */
        opacity: 1; /* Fully visible */
    }
}

@keyframes popOut {
    0% {
        transform: scale(1); /* Full size */
        opacity: 1; /* Fully visible */
    }
    100% {
        transform: scale(0.5); /* Shrink */
        opacity: 0; /* Fully transparent */
    }
}
        
        /* Contact Section */
        .contact {
            padding: 80px 0;
            background-color: rgba(12, 12, 12, 0.7);
            position: relative;
        }
        
        .contact-title {
            text-align: center;
            margin-bottom: 50px;
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
        }
        
        .contact-content {
            display: flex;
            gap: 50px;
        }
        
        .contact-info {
            flex: 1;
            background-color: var(--card-bg);
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            transition: all 0.3s;
            opacity: 0;
            animation: slideInLeft 1s ease-out forwards;
            animation-delay: 0.3s;
            border: 1px solid var(--border-color);
        }
        
        .contact-info:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(194, 54, 22, 0.3);
        }
        
        .contact-form {
            flex: 1;
            background-color: var(--card-bg);
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            transition: all 0.3s;
            opacity: 0;
            animation: slideInRight 1s ease-out forwards;
            animation-delay: 0.3s;
            border: 1px solid var(--border-color);
        }
        
        .contact-form:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(194, 54, 22, 0.3);
        }
        
        .contact-info h3,
        .contact-form h3 {
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 12px;
            background-color: rgba(255,255,255,0.05);
            border: 1px solid var(--border-color);
            border-radius: 5px;
            font-family: inherit;
            font-size: 16px;
            color: var(--text-color);
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 10px rgba(194, 54, 22, 0.3);
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        /* Footer */
        footer {
            background-color: var(--darker-bg);
            color: white;
            padding: 30px 0;
            text-align: center;
            border-top: 1px solid var(--border-color);
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .social-links a {
            color: var(--text-color);
            font-size: 20px;
            transition: all 0.3s;
            display: inline-block;
        }
        
        .social-links a:hover {
            color: var(--primary-color);
            transform: translateY(-5px);
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .about-content {
                flex-direction: column;
            }
            
            .contact-content {
                flex-direction: column;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 50px;
                padding-right: 0;
            }
            
            .timeline-item.right {
                left: 0;
            }
            
            .education-timeline::after {
                left: 20px;
            }
            
            .timeline-item.left::after,
            .timeline-item.right::after {
                left: 10px;
            }
        }

        /* Ensure Hero section takes full viewport height on desktop */
/* Ensure Hero section takes full viewport height on desktop */
@media (min-width: 992px) {
    .hero {
        height: 85vh; /* Full height of the viewport */
        display: flex;
        align-items: center; /* Center content vertically */
        justify-content: center; /* Center content horizontally */
        overflow: hidden; /* Prevent content overflow */
        position: relative;
        padding: 0; /* Remove any extra padding */
    }

    .hero-content {
        text-align: center; /* Center text horizontally */
        margin: 0; /* Remove any extra margins */
    }
}

        @media (min-width: 769px) {
            /* Add offset for sections to prevent header overlap */
section {
    scroll-margin-top: 80px; /* Adjust this value to match your header height */
}
        }
        
        @media (max-width: 768px) {

            
            .header-content {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }

            header nav ul {
                display: flex;
                flex-wrap: nowrap; /* Prevent wrapping */
                justify-content: space-between; /* Distribute space evenly */
                overflow-x: auto; /* Allow horizontal scrolling if necessary */
            }
            
            .logo {
                font-size: 22px;
                font-weight: 750;
                color: var(--name-color);
                white-space: nowrap; /* Prevent text wrapping */
                overflow: hidden; /* Hide overflowing text during animation */
                text-align: center; /* Center-align the text */
                margin: 0 auto; /* Center the name horizontally */
                animation: typing 2s steps(30, end), blink 0.7s step-end infinite;
                animation-fill-mode: forwards; /* Ensure the final state persists */
                max-width: 100%; /* Allow full width for centering */
            }

            .logo::after {
                content: ''; /* Simulate the cursor */
                display: inline-block;
                animation: blink 0.7s step-end infinite;
                color: var(--name-color);
            }
        
            .tagline {
                margin-top: 1px; /* Reduce the space between the name and tagline */
            }

            .hero {
                height: 55vh; /* Full height of the viewport */
                display: flex;
                align-items: center; /* Center content vertically */
                justify-content: center; /* Center content horizontally */
                padding: 0; /* Remove any extra padding */
            }
        
            .hero-content {
                margin: 0; /* Remove any extra margins */
                text-align: center; /* Center text horizontally */
            }
        }
            
            nav ul {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                padding : 0;
                margin: 0;
                gap: 5px;
            }
            
            nav ul li {
                margin: 0;
                padding: 5px 5px;
                font-size: 15px;
            }
            
        
            .social-links {
                justify-content: center; /* Center social links */
                gap: 15px; /* Add spacing between social icons */
            }
            .hero h1 {
                font-size: 36px;
            }
            
            .section-title {
                font-size: 28px;
            }

            .logo.typing-complete::after {
                content: ''; /* Remove the cursor */
                animation: none; /* Stop blinking animation */
            }


/* Popup message styles */
.popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: rgb(0, 0, 0);
    padding: 30px 40px; /* Adjust padding for better spacing */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Loading animation */
.loading-animation {
    width: 80px; /* Increased size for better visibility */
    height: 80px;
    border: 4px solid #ccc;
    border-top: 4px solid #28a745; /* Green color for the spinner */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 15px; /* Add spacing between spinner and text */
    background-color: transparent; /* Transparent by default */
}

/* Green circular background for the tick mark */
.loading-animation.tick {
    border: none; /* Remove spinner border */
    background-color: transparent; /* Remove green background */
    animation: none; /* Stop the spinner animation */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tick mark image */
.tick-mark-image {
    width: 70px; /* Adjust size for better visibility */
    height: 70px;
    display: none; /* Hidden by default */
    animation: tickAppear 0.5s ease-out forwards; /* Add animation */
    position: absolute; /* Center the tick mark inside the spinner */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the tick mark */
}

/* Tick mark animation */
@keyframes tickAppear {
    0% {
        transform: scale(0) translate(-50%, -50%); /* Start small from the center */
        opacity: 0;
    }
    100% {
        transform: scale(1) translate(-50%, -50%); /* Full size from the center */
        opacity: 1;
    }
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* Exit animation for the popup */
@keyframes popupExit {
    0% {
        transform: translate(-50%, -50%) scale(1); /* Start at full size */
        opacity: 1; /* Fully visible */
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8); /* Shrink slightly */
        opacity: 0; /* Fully transparent */
    }
}

/* Add animation class for the popup exit */
.popup-message.exit {
    animation: popupExit 0.5s ease-out forwards; /* Smooth exit animation */
}

            /* Space Background */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #001d3d, #000428, #000000); /* Dark blue to black gradient */
    overflow: hidden;
}



@keyframes twinkle {
    0% { opacity: 0.2; }
    50% { opacity: 0.8; }
    100% { opacity: 0.2; }
}

nav ul li a.active {
    color: var(--primary-color); /* Highlight color */
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    font-weight: bold; /* Optional: Make it bold */
}

/* Zoom-In and Staggered Fade-In Animation */
@keyframes zoomInFade {
    0% {
        opacity: 0;
        transform: scale(0.8); /* Start smaller */
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05); /* Slightly overshoot */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* Settle into place */
    }
}

@keyframes staggeredFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px); /* Start below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Settle into place */
    }
}

/* Apply animation to the body */
body.animate {
    opacity: 0; /* Start hidden */
    animation: zoomInFade 1.5s ease-out forwards; /* Zoom-in and fade-in */
}

/* Header animation */
header {
    opacity: 0;
    animation: staggeredFadeIn 1s ease-out forwards;
    animation-delay: 0.2s; /* Slight delay for staggered effect */
}

/* Add a class to stop animation after it's complete */
header.animation-complete {
    animation: none; /* Disable animation after it's complete */
    opacity: 1; /* Ensure the header remains visible */
    transform: translateY(0); /* Reset position */
}

/* Hero section animation */
.hero-content {
    opacity: 0;
    animation: staggeredFadeIn 1.2s ease-out forwards;
    animation-delay: 0.4s; /* Slight delay for staggered effect */
}

/* About section animation */
.about {
    opacity: 0;
    animation: staggeredFadeIn 1.4s ease-out forwards;
    animation-delay: 0.6s; /* Slight delay for staggered effect */
}

/* Footer animation */
footer {
    opacity: 0;
    animation: staggeredFadeIn 1.6s ease-out forwards;
    animation-delay: 0.8s; /* Slight delay for staggered effect */
}

