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

}
/* .........nav.. */
nav {
    background: #333;
    padding: 10px 0;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;

}

nav ul li {
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
}

nav ul li:hover {
    background: #007bff;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/*figure section.... */
.figure {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background: linear-gradient(to right, #6a9fb5, #b3d1dc);
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1000px;
    position: relative;
}

/* name....*/
.name {
    max-width: 50%;
}

.name h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
}

.name span {
    color: #ffcc00;
}

.name p {
    font-size: 18px;
    color: #555;
}

/* image */
.figure img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* responsive*/
@media (max-width: 768px) {
    .figure {
        flex-direction: column;
        text-align: center;
    }

    .name {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .figure img {
        width: 200px;
        height: 200px;
    }
}
.description{
    background-color:#f9f9f9;
}
footer{
    display: flex;

    height: 60px;
    background-color: rgb(198, 172, 138);
    justify-content: center;
    align-items: center;
}
#about{
    padding-top: 20px;
    max-width: 600px;
    align-content: center;

}
#skills{
    padding :25px;

}
#skills {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

#skills h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

/* skill layout */
#skills ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    padding: 0;
    list-style: none;
}

/* Skill card */
#skills li {
    background: #f1f3f5;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    color: #444;
    transition: 0.3s;
    cursor: pointer;
}

/* Hover effect */
#skills li:hover {
    background: #007bff;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* form */
#contact {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}
/* Container */
.description {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    font-family: Arial, sans-serif;
}

/* About section card */
#about {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

/* Hover effect */
#about:hover {
    transform: translateY(-5px);
}

/* Heading */
#about h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

/* Paragraph */
#about p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    text-align: center;
}

/* Highlight name */
#about span {
    color: #007bff;
    font-weight: bold;
    font-size: 18px;
}

/* Heading */
#contact h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Labels */
#contact label {
    font-weight: 600;
    color: #555;
}

/* Inputs & textarea */
#contact input,
#contact textarea {
    width: 100%;
    padding: 10px 12px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
}

/* Focus effect */
#contact input:focus,
#contact textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

/* Buttons */
#contact input[type="submit"],
#contact input[type="reset"] {
    width: 48%;
    cursor: pointer;
    border: none;
    font-weight: bold;
    transition: 0.3s;
}

/* Submit button */
#contact input[type="submit"] {
    background: #007bff;
    color: white;
}

/* Reset button */
#contact input[type="reset"] {
    background: #6c757d;
    color: white;
}

/* Button hover */
#contact input[type="submit"]:hover {
    background: #0056b3;
}

#contact input[type="reset"]:hover {
    background: #5a6268;
}

/* Button alignment */
#contact form {
    display: flex;
    flex-direction: column;
}

#contact input[type="submit"],
#contact input[type="reset"] {
    display: inline-block;
}

#contact input[type="submit"] {
    margin-right: 4%;
}

/* Responsive */
@media (max-width: 600px) {
    #contact input[type="submit"],
    #contact input[type="reset"] {
        width: 100%;
        margin: 5px 0;
    }
}