@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Apply custom font to the body */
body {
    font-family: 'League Spartan', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    /* Default weight */
    font-style: normal;
}

/* Full-screen video background */
.video-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    /* 16:9 aspect ratio (height-based) */
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
    /* Disable video controls */
}

/* Adjust video width for wider screens */
@media (min-aspect-ratio: 16/9) {
    .video-background iframe {
        width: 100vw;
        height: 56.25vw;
        /* 16:9 aspect ratio (width-based) */
    }
}

/* Gradient overlay with 80-90% transparency */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0));
    /* 80% transparency */
    z-index: 1;
}

/* Content styling */
.content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
    max-width: 800px;
}

.content h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.content p {
    font-family: 'League Spartan', sans-serif;
    font-weight: 100;
    font-size: 1.2rem;
    line-height: 1.2;
}

.download-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-family: 'League Spartan', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0);
    position: relative;
}

.download-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.download-button:active {
    background-color: #004080;
    transform: translateY(0);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.download-button i {
    margin-right: 8px;
}

/* Navigation Bar Styles */
.navbar {
    position: fixed;
    top: 20px;
    right: 70px;
    z-index: 1000;
}

/* Hamburger Menu Button */
.nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: white;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 25px;
    height: 3px;
    background-color: white;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Animation for Hamburger to X */
.nav-menu-visible .hamburger {
    background-color: transparent;
    /* Hide the middle line */
}

.nav-menu-visible .hamburger::before {
    transform: rotate(45deg);
    /* Rotate to form the X */
}

.nav-menu-visible .hamburger::after {
    transform: rotate(-45deg);
    /* Rotate to form the X */
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    top: 40px;
    right: 0;
    overflow: hidden;
    /* Hide overflowing content during animation */
}

.nav-menu-visible {
    display: flex;
    animation: slideDown 0.5s ease forwards;
}

.nav-item {
    margin: 10px 0;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 0.5s ease forwards;
}

.nav-item:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-item:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-item:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-family: 'League Spartan', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007BFF;
}

/* Keyframes for Slide Down Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section Styles */
.about-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    /* Light background */
    color: #333;
    /* Dark text */
    text-align: center;
}

.about-section h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-section p {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animated Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 20px;
    /* Position at the bottom of the video section */
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
    /* Bounce animation */
    cursor: pointer;
    z-index: 2;
    /* Ensure it's above the video */
}

/* Bounce Animation */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
        /* Start and end position */
    }

    40% {
        transform: translateX(-50%) translateY(-20px);
        /* Move up */
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
        /* Move down slightly */
    }
}

/* Experiences Section */
.experiences-section {
    position: absolute;
    bottom: 20px;
    /* Position below the Download button */
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0);
    /* Semi-transparent background */
    color: white;
    text-align: center;
    z-index: 3;
    /* Ensure it's above the video */
}

.experiences-section h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Horizontal Timeline */
.horizontal-timeline {
    display: flex;
    justify-content: center;
    /* Center the timeline */
    gap: 20px;
    /* Space between items */
    position: relative;
}

/* Horizontal Line */
.timeline-line {
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #007BFF;
    z-index: 0;
}

/* Timeline Items */
.timeline-item {
    position: relative;
    z-index: 1;
}

/* Timeline Cards */
.timeline-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    /* Fixed width */
    height: 250px;
    /* Fixed height */
    color: #333;
    /* Dark text for readability */
    overflow: hidden;
    /* Ensure content stays within the card */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Space out content */
}

.timeline-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Card Content */
.timeline-card h3 {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.timeline-card .company {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.2rem;
    color: #007BFF;
    margin-bottom: 5px;
}

.timeline-card .duration {
    font-family: 'League Spartan', sans-serif;
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.timeline-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0;
    flex-grow: 1;
    /* Allow the list to take up remaining space */
    overflow-y: auto;
    /* Add scrollbar if content overflows */
}

.timeline-card ul li {
    font-family: 'League Spartan', sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.timeline-card ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #007BFF;
}

/* Style for the special card */
.special-card {
    background-color: #007BFF; /* Blue background to make it stand out */
    color: white; /* White text for contrast */
    text-align: center; /* Center-align content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer; /* Show pointer cursor on hover */
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* Remove underline from the link */
}

.special-card:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-5px); /* Slight lift effect on hover */
    text-decoration: none; /* Ensure no underline on hover */
}

.special-card h3 {
    font-size: 1.5rem; /* Larger heading */
    margin-bottom: 10px;
    text-decoration: none; /* Remove underline from heading */
}

.special-card p {
    font-size: 1rem; /* Smaller text */
    margin-bottom: 15px;
    text-decoration: none; /* Remove underline from paragraph */
}

.special-card i {
    font-size: 1.5rem; /* Larger icon */
    margin-top: 10px;
    text-decoration: none; /* Remove underline from icon */
}


/* Footer Section Styles */
.footer-section {
    background-color: #090F0D; /* Dark background to match the theme */
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.footer-section h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-section p {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'League Spartan', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-family: 'League Spartan', sans-serif;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing of the textarea */
}

.submit-button {
    display: inline-block;
    padding: 10px 20px;
    font-family: 'League Spartan', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* Social Media Links Styles */
.social-links {
    margin-top: 30px;
}

.social-links .social-link {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links .social-link:hover {
    color: #007BFF;
}



/* Existing CSS remains the same until the responsive section */

/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {

    /* Apply custom font to the body */
    body {
        font-family: 'League Spartan', sans-serif;
        font-optical-sizing: auto;
        background-color: #090F0D;
    }

    /* Adjust video background for mobile */
    .video-background {
        height: 40vh;
        /* Reduce height for mobile */
        position: relative;
        /* Ensure video stays at the top */
    }

    .video-background iframe {
        width: 100vw;
        /* Full width for mobile */
        height: 56.25vw;
        /* Maintain 16:9 aspect ratio */
    }

    /* Adjust gradient overlay for mobile */
    .overlay {
        display: none;
        /* Hide the overlay on mobile */
    }

    /* Move content below the video */
    .content {
        position: static;
        /* Remove absolute positioning */
        margin-top: 20px;
        /* Add space between video and content */
        padding: 20px;
        /* Add padding for better spacing */
        text-align: center;
        /* Center-align text for mobile */
        color: #333;
        /* Dark text for readability */
    }

    .content h1 {
        font-size: 2rem;
        /* Smaller heading for mobile */
        color: white;
        margin-top: 50%;
    }

    .content p {
        font-size: 1rem;
        color: white;
        /* Smaller text for mobile */
    }

    /* Move experiences section below the about section */
    .experiences-section {
        position: static;
        /* Remove absolute positioning */
        margin-top: 40px;
        /* Add space between about and experiences */
        background-color: transparent;
        /* Remove semi-transparent background */
        color: #333;
        /* Dark text for readability */
        padding: 20px;
        /* Add padding for better spacing */
    }

    .horizontal-timeline {
        flex-direction: column;
        /* Stack timeline items vertically */
        align-items: center;
        /* Center items */
        gap: 20px;
        /* Add space between items */
    }

    .timeline-line {
        display: none;
        /* Hide the timeline line on mobile */
    }

    .timeline-card {
        width: 100%;
        /* Full width for mobile */
        max-width: 300px;
        /* Limit card width */
        height: auto;
        /* Allow height to adjust based on content */
        padding: 15px;
        /* Reduce padding for smaller screens */
        background-color: #fff;
        /* White background for cards */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        /* Add shadow for better visibility */
    }

    .timeline-card h3 {
        font-size: 1.2rem;
        /* Smaller heading for mobile */
    }

    .timeline-card .company,
    .timeline-card .duration {
        font-size: 1rem;
        /* Smaller text for mobile */
    }

    .timeline-card ul li {
        font-size: 0.9rem;
        /* Smaller list items for mobile */
    }

    /* Adjust about section for mobile */
    .about-section {
        padding: 40px 20px;
        /* Reduce padding for mobile */
        margin-top: -60%;
        background-color: #090F0D;
        color: white;
    }

    .about-section h2 {
        font-size: 2rem;
        /* Smaller heading for mobile */
    }

    .about-section p {
        font-size: 1rem;
        /* Smaller text for mobile */
    }

    /* Adjust download button for mobile */
    .download-button {
        font-size: 0.9rem;
        /* Smaller button text for mobile */
        padding: 8px 16px;
        /* Smaller padding for mobile */
        margin-top: 10px;
        /* Reduce margin for mobile */
    }

    /* Adjust scroll-down arrow for mobile */
    .scroll-down-arrow {
        display: none;
        /* Hide arrow on mobile since content is below */
    }

    .special-card {
        background-color: #007BFF; /* Blue background to make it stand out */
        color: white; /* White text for contrast */
        text-align: center; /* Center-align content */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer; /* Show pointer cursor on hover */
        transition: background-color 0.3s ease, transform 0.3s ease;
        text-decoration: none; /* Remove underline from the link */
    }
}