/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    line-height: 1.6;
    background: #f1f5f9;
    color: #1e293b;
}

/* NAVBAR */
.navbar {
    height: 80px;
    background: #020617;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #38bdf8;
}

nav a {
    color: #e5e7eb;
    margin: 0 18px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: #38bdf8;
    border-bottom: 2px solid #38bdf8;
    padding-bottom: 5px;
}

/* COMMON SECTION */
main.page {
    min-height: calc(100vh - 80px);
    padding: 100px 80px;
}

/* HOME PAGE */
.home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: linear-gradient(120deg, #2563eb, #38bdf8);
    color: white;
}

.home-text {
    max-width: 600px;
}

.home h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.home span {
    color: #fde047;
}

.home p {
    font-size: 18px;
    margin-bottom: 20px;
}

.home button {
    padding: 14px 30px;
    font-size: 16px;
    background: #fde047;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.home button:hover {
    background: #facc15;
}

/* HOME IMAGE */
.home-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-image img {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #fde047;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ABOUT PAGE */
.about {
    background: linear-gradient(to bottom, #991e1e, #0a3266);
    color: white;
}

.about h1,
.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about .section-box {
    background: white;
    padding: 40px;
    margin-bottom: 50px;
    border-radius: 12px;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: #1e293b;
}

/* SKILLS PAGE */
.skills {
    background: linear-gradient(to bottom, #4a5fbc, #0f172a);
    color: white;
}

.skills h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.card {
    background: #1e293b;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: #334155;
}

/* CONTACT PAGE */
.contact {
    background: linear-gradient(to bottom, #f8fafc, #cbd5f5);
}

.contact h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #1e293b;
}

.contact p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #1e293b;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 5px #38bdf8;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background: #38bdf8;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #2563eb;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 15px;
    background: #020617;
    color: white;
    font-size: 14px;
}