* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", sans-serif;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s;
    background: linear-gradient(to right, #192335, #000000);
    color: #ffffff;
}
.Info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow-y: auto;
}
.my-image {
    flex: 1;
    margin-right: 2rem;
}
.my-image img {
    border-radius: 10%;
    height: auto;
    max-width: 100%;
    width: 300px;
}
#About h1{
    color: #ffb700;
}
.title {
    flex: 2;
    text-align: left;
}
.title h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.title h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffb700;
}
.title p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}
.title .btn {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
}
#Skills .d-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 1rem;
}
.Skills {
    border-radius: 10px;
    padding: 1.5rem;
    flex: 1 1 calc(25% - 2rem);
    min-width: 200px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.Skills h3 {
    font-size: 1.5rem;
    color: #ffb700;
    margin-bottom: 1rem;
    text-align: center;
}
.Skills ul {
    list-style: none;
    padding: 0;
}
.Skills ul li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
}
li{
    list-style: none;
}
#Projects .d-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 1rem;
}
#Experience .d-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 1rem;
}
#Certificates .d-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 1rem;
}
.project-card {
    border-radius: 10px;
    padding: 1.5rem;
    flex: 1 1 calc(33.33% - 2rem); 
    min-width: 280px; 
    max-width: 320px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.project-card h3 {
    font-size: 1.5rem;
    color: #ffb700;
    margin-bottom: 1rem;
    text-align: center;
}
.project-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}
#contact h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #ffb700;
    margin-bottom: 2rem;
}
#contact .d-flex {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
}
#contact .d-flex p {
    font-size: 1.2rem;
    margin: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#contact .d-flex p i {
    color: #ffb700;
    font-size: 1.5rem;
}
#contact .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}
#contact .social-links span {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#contact .social-links span i {
    color: #ffb700;
    font-size: 1.5rem;
}
#contact .social-links a {
    /* color: #ffb700; */
    text-decoration: none;
    transition: color 0.3s ease;
}
/* strong {
    color: #ffb700;
} */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}
.navbar ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.navbar ul li {
    border-radius: 20px;
    margin: 5px;
}
.navbar ul li a {
    color: #fefefe;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.3rem 0.8rem;
    display: block;
    font-size: 14px;
}
.navbar ul a {
    color: #fefefe;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.3rem 0.8rem;
    display: block;
    font-size: 14px;
}
.navbar ul li i {
    color: #fefefe;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem;
}
.slider-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.slider {
    display: flex;
    width: 300%;
    height: 100vh;
    transition: transform 0.5s ease-in-out;
}
.slide {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1rem;
}
.d-none {
    display: none;
}
.fade-in {
    animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.hamburger-menu {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
}
@media (max-width: 1025px) {
    .hamburger-menu {
        display: block;
    }
    .navbar {
        transform: translateX(-100%);
    }
    .navbar.active {
        transform: translateX(0);
    }
    .navbar ul {
        flex-direction: column;
        align-items: center;
        background: rgba(0, 0, 0, 0.9);
        padding: 1rem;
    }
    .navbar ul li {
        margin: 10px 0;
    }
    .Info {
        font-size: 20px;
    }
    .my-image img {
        width: 150px;
    }
    .title {
        margin-top: 5rem;
    }
}
@media (max-width: 480px) {
    .Info {
        font-size: 18px;
    }
    .my-image img {
        width: 120px;
    }
    .navbar ul li a {
        padding: 0.1rem 0.3rem;
        font-size: 10px;
    }
    .navbar ul a {
        padding: 0.1rem 0.3rem;
        font-size: 10px;
    }
    .title {
        margin-top: 4rem;
    }
}
@media (max-width: 768px) {
    .Info {
        flex-direction: column; 
        text-align: center; 
        padding: 1rem;
    }
    .my-image {
        margin-right: 0;
        margin-bottom: 1.5rem; 
    }
    .my-image img {
        width: 200px;
    }
    .title {
        text-align: center;
    }
    .title h1 {
        font-size: 2rem;
    }
    .title h3 {
        font-size: 1.25rem;
    }
    .title p {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .my-image img {
        width: 150px;
    }
    .title h1 {
        font-size: 1.75rem;
    }
    .title h3 {
        font-size: 1rem;
    }
    .title p {
        font-size: 0.8rem;
    }
}
@media (max-width: 1024px) {
    .Skills {
        flex: 1 1 calc(33.33% - 2rem);
    }
}
@media (max-width: 768px) {
    .Skills {
        flex: 1 1 calc(50% - 2rem);
    }
}
@media (max-width: 480px) {
    .Skills {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .Skills h3 {
        font-size: 1.25rem;
    }
    .Skills ul li {
        font-size: 0.9rem;
    }
}
@media (max-width: 1024px) {
    .project-card {
        flex: 1 1 calc(50% - 2rem);
    }
}
@media (max-width: 768px) {
    .project-card {
        flex: 1 1 calc(50% - 2rem);
    }
}
@media (max-width: 480px) {
    .project-card {
        flex: 1 1 100%; 
        max-width: 100%;
    }
    .project-card h3 {
        font-size: 1.25rem;
    }
    .project-card p {
        font-size: 0.9rem;
    }
}
@media (max-width: 768px) {
    #contact h1 {
        font-size: 2rem;
    }

    #contact .d-flex p {
        font-size: 1rem;
    }

    #contact .social-links span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #contact h1 {
        font-size: 1.75rem;
    }

    #contact .d-flex p {
        font-size: 0.9rem;
    }

    #contact .social-links span {
        font-size: 0.9rem;
    }
}
/*
.light-mode {
    background: #f4f4f4;
    color: #333;
}
.switch {
    position: fixed;
    top: 10px;
    right: 50px;
    width: 40px;
    height: 20px;
    z-index: 1001;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.mode-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    transition: .4s;
    border-radius: 25px;
}
.mode-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background: url('../images/dark.jpg') no-repeat center center;
    background-size: cover;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .mode-slider {
    background-color: #000000;
}
input:checked + .mode-slider:before {
    transform: translateX(20px);
    background: url('../images/light.jpg') no-repeat center center;
    background-size: cover;
}*/