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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #eaeaea;
}

/* Header and Navigation */
header {
    background: linear-gradient(90deg, #2c3e50, #34495e);
    color: rgb(228, 26, 26);
    padding: 10px 0;
}

header nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

header nav ul li {
    margin: 0 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #3734db;
}

/* Section Styling */
section {
    padding: 50px 20px;
}

.container {
    width: 80%;
    margin: 0 auto;
}
.img-class{
width: 50%;
margin: auto;
}

h1,
h2 {
    text-align: center;
    margin-bottom: 20px;
}

.cv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #ffffff;
    color: #2c3e50;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}

.cv-button:hover {
    background-color: #dfe9f2;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.cv-button:active {
    transform: translateY(0);
}

.home-section {
    background: linear-gradient(135deg, #2980b9, #6dd5ed);
    color: white;
    text-align: center;
    padding: 100px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
}

.home-section h1 {
    font-size: 3em;
}

.about-section,
.projects-section,
.contact-section,
.certificates-section {
    background-color: rgb(232, 242, 233);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project,
.certificate {
    margin: 20px 0;
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skills-table {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.skills-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr;
    gap: 10px;
    background: #f7f9fb;
    padding: 12px 15px;
    border-radius: 8px;
}

.skills-head {
    font-weight: bold;
    background: #2c3e50;
    color: white;
}

.project:hover,
.certificate:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.project h3,
.certificate h3 {
    margin-bottom: 10px;
}

.project a,
.certificate a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.project a:hover,
.certificate a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact-section ul {
    list-style: none;
    text-align: center;
}

.contact-section ul li {
    margin: 10px 0;
}

.contact-section ul li a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.contact-section ul li a:hover {
    text-decoration: line-through;
}

/* Form Styles */
form {
    margin-top: 20px;
}

form div {
    margin-bottom: 15px;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

form button {
    background-color: #141516;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: #1c1027;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        text-align: center;
    }

    .container {
        width: 90%;
    }
}      