/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f5f5;
}

/* Navigation */
header {
    background-color: #222;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    margin-left: 40vw;
}

.logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    padding: 0.5rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f4a261;
}

/* Hero Section */
.hero {
    background: url('img/code.webp') no-repeat center center/cover;
    height: 81vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: #f4a261;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #e76f51;
}

/* Main Content */
main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.intro {
    text-align: center;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    position: relative;
    width: 100%;
}
/* Resume Page */
.resume-section {
    text-align: center;
    padding: 40px 20px;
}

.resume-image {
    max-width: 50%;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.resume-image:hover {
    transform: scale(1.02);
}
/* Certificates Page */
.certificates-section {
    text-align: center;
    padding: 40px 20px;
}

.certificate-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.certificate-gallery img {
    max-width: 300px;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.certificate-gallery img:hover {
    transform: scale(1.05);
}
/* Work Samples Page */
.work-samples {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.sample {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    width: 100%;
    max-width: 1000px;
    height: auto;
    box-sizing: border-box;
}

.sample-text {
    flex: 1;
}

.image-gallery {
    flex: 1;
    text-align: center;
}

.image-gallery img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: opacity 0.3s ease-in-out;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gallery-tabs .tab {
    background: #f4a261;
    border: none;
    padding: 8px 12px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.gallery-tabs .tab:hover,
.gallery-tabs .tab.active {
    background: #e76f51;
}

/* Responsive Design */
@media (max-width: 900px) {
    .sample {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .sample-text, .image-gallery {
        width: 100%;
        max-width: 100%;
    }

    .image-gallery img {
        max-width: 90%;
    }
}

.project-link {
    margin-top: 20px;
}

.project-btn {
    display: inline-block;
    background: #f4a261;
    color: #fff;
    margin-bottom: 12px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-btn:hover {
    background: #e76f51;
    transform: translateY(-2px);
}
/* Responsive Design */
@media (max-width: 900px) {
    .sample {
        flex-direction: column;
        text-align: center;
    }

    .sample-text, .image-gallery {
        width: 100%;
    }
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .resume-image {
        max-width: 90%;
    }

    .certificate-gallery img {
        max-width: 90%;
    }

    .gallery-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }

    .gallery-tabs .tab {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .work-samples {
        padding: 10px;
    }

    .sample {
        width: 100%;
        height: auto;
    }

    .image-gallery img {
        max-width: 100%;
    }
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

header {
    background-color: #333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger div {
    width: 30px;
    height: 4px;
    background-color: #fff;
    border-radius: 5px;
    margin: 3px 0;
    margin-left: 35vw;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 2000;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -110vw;
        background-color: #333;
        width: 100vw;
        height: 100%;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }

    nav ul li {
        margin: 20px 0;
        text-align: center;
    }

    nav ul li a {
        font-size: 18px;
    }

    nav ul.active {
        right: 0;
    }
}
h3 {
    font-size: 1.1rem;
    color: #555;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.4;
    font-style: italic;
}