* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, sans-serif;
}

body {
    background-color: #f4f6f8;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #0f172a;
    padding: 15px 0;
}

nav {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    color: #fff;
    font-size: 26px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #38bdf8;
}

.main  {
    background: linear-gradient(to left, #020617, #1e293b); 
    width: 90%;
    margin: auto;
    color: #fff;
    text-align: center;
    padding: 90px  ;
}




.main h2 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #fff;
}

.main p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #f4f6f8;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #38bdf8;
    color: #000;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #0ea5e9;
    transform: translateY(-2px);
}

section {
    width: 90%;
    margin: auto;
    padding: 70px 0;
}

section h2 {
    text-align: center;
    font-size: 34px;
    margin-bottom: 40px;
    color: #0f172a;
}

.about p {
    max-width: 800px;
    margin: auto;
    text-align: center;
    font-size: 16px;
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background-color: #fff;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.projects .card h3 {
    margin-bottom: 10px;
    color: #020617;
}

.contact {
    text-align: center;
}

.contact p {
    font-size: 16px;
    margin-bottom: 8px;
}

footer {
    background-color: #0f172a;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}
