* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f3f3f3;
    padding: 10px 20px;
}

.logo {
    font-size: 24px;
    color: #ff6b35;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border: 2px solid transparent;
    transition: 0.3s;
}

.nav-links li a:hover {
    border-top-color: #f4a523;
    border-bottom-color: #f4a523;
   padding: 5px;
}

.contact-btn {
    background-color: #ff6b35;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: transparent;
    color: black;
    border: 2px solid #ff6b35;
}

/* Profile Container */
.container {
    max-width: 1000px;
    height: 600px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.profile {
    display: flex;
    margin-top: 100px;
}

.profile-image img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    border: 3px solid #ff6b35;
    margin-right: 20px;
}

.profile-info h2 {
    font-size: 28px;
    color: #ff6b35;
    margin-bottom: 15px;
}

.description {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.details {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    color: #f2f2f2;
    margin-bottom: 20px;
}

.details div {
    width: 50%;
    margin-bottom: 10px;
}

.download-btn {
    text-decoration: none;
    padding: 12px 20px;
    font-size: 16px;
    color: #121212;
    background-color: #ff6b35;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.download-btn a{
    text-decoration: none;
    color: white;
}

.download-btn:hover {
    background-color: transparent;
    color: #fff;
    border: #ff6b35 solid 2px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}


/* General Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    background-color: #222;
    padding: 15px 0;
}

/* Carousel Track */
.carousel {
    display: flex;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Individual Card Styling */
.card {
    flex: 0 0 25%; /* Each card takes up 25% of the track */
    padding: 10px;
    box-sizing: border-box;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    border-radius: 50%;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}



@media (max-width: 768px) {
    /* Hide regular nav-links by default on mobile */
    .nav-links {
        display: none;
        position: absolute;
        top: 49px;
        right: 0;
        background-color: #f3f3f3;
        width: 50%;
        height: calc(100vh - 60px);
        flex-direction: column;
        gap: 50px;
        padding-top: 20px;
        
    }

    /* Show nav-links when .show class is added */
    .nav-links.show {
        display: flex;
    }

    /* Display hamburger menu icon */
    .hamburger {
        display: flex;
    }

    /* Hide contact button on mobile */
    .contact-btn {
        display: none;
    }

    /* Profile section adjustments for mobile */
    .container {
        max-width: 100%;
        margin: 20px;
        padding: 15px;
        height: 990px;
    }

    .profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .profile-image img {
        width: 80%;
    }

    .profile-info h2 {
        font-size: 24px;
    }

    .description {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .details {
        font-size: 14px;
        text-align: left;
    }

    .details div {
        width: 100%;
    }

    .download-btn {
        width: 40%;
        font-size: 16px;
        padding: 10px;
    }
}
