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

html {
    scroll-behavior:smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height:1.6;
    color:#222;
    background-color:#ffffff;
    overflow-x:hidden;
}

header {
    height:75vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color:white;
    padding:10px;
}

header h1 { font-size:3rem; margin-bottom:10px; }
header p { font-size:1.2rem; opacity:0.9; }

section {
    padding:60px 20px;
    max-width:1000px;
    margin:auto;
}

h2 {
    margin-bottom:20px;
    font-size:2rem;
    text-align:center;
}


footer {
    text-align:center;
    padding:40px 20px;
    background:#f5f5f5;
}


/* COMPONENTS */

.about p {
    text-align:center;
    max-width:700px;
    margin:auto;
}

.btn {
    margin-top:20px;
    padding:12px 24px;
    background:white;
    color:#1e3c72;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
    transition:0.2s;
}

.btn:hover {
    opacity:0.9;
    transform:translateY(-2px);
}


.card {
    padding:20px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.card:hover {
    transform:translateY(-5px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.15);
}

.card h3 { margin-bottom:10px; }

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


.social a {
    margin:0 10px;
    text-decoration:none;
    color:#1e3c72;
    font-weight:600;
}


.timeline {
    max-width:900px;
    margin:auto;
}

.timeline-item {
    display:grid;
    grid-template-columns:150px 1fr;
    gap:20px;
    margin-bottom:30px;
}

.timeline-date {
    font-weight:600;
    color:#1e3c72;
}

.timeline-content h3 {
    margin-bottom:5px;
}

.timeline-content a {
    display:inline-block;
    margin-top:10px;
    text-decoration:none;
    color:#2a5298;
    font-weight:600;
}

.timeline-content a:hover {
    text-decoration:underline;
}

.timeline-content ul {
    margin-top:10px;
    padding-left:20px;
}

.timeline-content li {
    margin-bottom:8px;
}

.timeline-content h4 {
    color:#555;
    margin-bottom:10px;
    font-weight:500;
}

@media(max-width:600px) {
    header h1 { font-size:2rem; }

    .timeline-item {
        grid-template-columns:1fr;
    }

    .timeline-date {
        margin-bottom:5px;
    }
}



