
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
}


.navbar {
    background-color: #333;
    overflow: hidden;
}

.navbar a, .dropbtn {
    color: white;
    padding: 14px 20px;
    display: inline-block;
    border: none;
    background: none;
    cursor: pointer;
}

.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #555;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}


.slider {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 300px;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}


.about {
    display: flex;
    align-items: center;
    padding: 40px;
}

.about-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.about-text {
    margin-left: 20px;
}


.skills {
    padding: 40px;
    background-color: #f4f4f4;
    text-align: center;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.skill-card {
    background-color: white;
    padding: 20px;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.projects {
    padding: 40px;
    text-align: center;
}

.projects-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background-color: #333;
    color: white;
    padding: 20px;
    width: 220px;
    border-radius: 10px;
}

.project-card:hover {
    background-color: #555;
    transform: scale(1.05);
    transition: 0.3s;
}


.contact {
    padding: 40px;
    background-color: #f4f4f4;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 300px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact-form button {
    padding: 10px 20px;
    border: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #555;
}


.footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
}


html {
    scroll-behavior: smooth;
}
@media (max-width: 768px) {

    .about {
        flex-direction: column;
        text-align: center;
    }

    .skills-container,
    .projects-container {
        flex-direction: column;
        align-items: center;
    }

    .navbar a {
        display: block;
        text-align: center;
    }

    .about-text {
        margin-left: 0;
        margin-top: 20px;
    }
}
.skills-tags span {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    margin: 5px;
    border-radius: 20px;
    font-size: 14px;
}
.offer ul {
    list-style: none;
    padding: 0;
}

.offer li {
    margin: 10px 0;
}
.quote {
    margin-top: 20px;
    font-style: italic;
    color: #555;
}
