* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #1f2933;
    background: #f1f5f9;
    line-height: 1.6;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 90px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero h2 {
    font-weight: 400;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.hero p {
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #e2e8f0;
}

.hero-links a {
    display: inline-block;
    margin: 8px;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 30px;
    background: #3b82f6;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-links a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.hero-links .secondary {
    background: transparent;
    border: 1px solid #3b82f6;
}

/* SECTIONS */
.section {
    padding: 70px 20px;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 45px;
    font-size: 32px;
    position: relative;
}

.section h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #3b82f6;
    display: block;
    margin: 10px auto 0;
    border-radius: 3px;
}

.gray {
    background: #ffffff;
}

/* ABOUT */
.section p {
    max-width: 800px;
    margin: auto;
    font-size: 17px;
    color: #374151;
}

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

.skills div {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.skills div:hover {
    transform: translateY(-5px);
}

.skills h3 {
    margin-bottom: 12px;
    color: #2563eb;
}

.skills ul {
    padding-left: 18px;
}

/* PROJECTS */
.project {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 14px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.project h3 {
    margin-top: 0;
    color: #111827;
}

.project p {
    margin: 15px 0;
}

.project span {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #475569;
}

.project a {
    text-decoration: none;
    color: white;
    background: #3b82f6;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.project a:hover {
    background: #2563eb;
}

/* CONTACT */
#contact p {
    text-align: center;
    font-size: 16px;
}

#contact a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 25px;
    background: #0f172a;
    color: #cbd5e1;
    font-size: 14px;
}
