* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #080909;
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
}




/* Header */
#header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #080909;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.name {
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
}

.logo img {
    height: 40px;
}



/* Nav Links */
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    gap: 50px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #068FFF;
}




/* Work Experience */
.work-experience-section {
    padding: 120px 0 50px 0;
    min-height: 100vh;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.experience-item {
    margin-bottom: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #404040;
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-subheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-title-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

    .company-logo img:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(6, 143, 255, 0.5);
    }

.job-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 0 3.5rem;
}

.company-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.date-range {
    font-size: 0.95rem;
    color: #a0a0a0;
    font-weight: 500;
}

.job-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #d0d0d0;
    margin: 1.5rem 3.5rem 1.5rem 3.5rem;
    text-align: justify;
}




/* Tools */
.tools-section {
    padding: 0;
    margin-bottom: 2rem;
}

.tools-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
}

.tools-container {
    overflow-x: auto;
    padding: 3rem 0;
}

.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 2rem;
    justify-items: center;
    align-items: center;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-5px);
}

.tool-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tool-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.tool-name {
    font-size: 0.9rem;
    color: #d0d0d0;
    font-weight: 500;
}

.t3-logo {
    background: linear-gradient(135deg, #380086, #141430);
}




/* Certificates */
.certificates-section {
    padding: 60px 0;
}

.certificate-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4rem;
}

.certificate-display {
    width: 80%;
    max-width: 900px;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.certificate-item {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    max-height: 100%;
    max-width: 100%;
}

.certificate-item.active {
    opacity: 1;
    position: relative;
}

.carousel-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.carousel-btn:hover {
    transform: scale(1.2);
}



@media (max-width: 768px) {
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title {
        font-size: 2rem;
    }

    .job-title {
        font-size: 1.3rem;
    }

    .nav-item {
        margin-left: 1rem;
    }
}

@media (max-width: 576px) {
    .work-experience-section {
        padding: 100px 0 60px 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-item {
        margin-left: 0;
    }

    .work-experience-section {
        padding: 100px 0 60px 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-item {
        margin-left: 0;
    }

    .tools-list {
        gap: 1.5rem;
    }

    .tool-logo {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}