/* =========================
   NAVIGATION
========================= */

.navbar{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;

    padding:15px;
    background:#ffffff;

    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.nav-btn{
    background:#0078D4;
    color:white;
    text-decoration:none;

    padding:10px 18px;

    border-radius:8px;

    font-weight:600;

    transition:.3s;
}

.nav-btn:hover{
    background:#005fa3;
    transform:translateY(-2px);
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',Arial,sans-serif;
    background:#f5f7fa;
    color:#222;
    line-height:1.7;
}

section{
    max-width:1200px;
    margin:0 auto;
    padding:50px 20px;
}

h1,h2,h3,h4{
    margin-bottom:15px;
}

h2{
    color:#0078D4;
    font-size:2rem;
    margin-bottom:30px;
}

a{
    text-decoration:none;
}

/* =========================
   HERO
========================= */

.hero{
    background:#0078D4;
    color:#fff;
    text-align:center;
    padding:35px 20px;
}

.profile-photo{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid white;
    margin-bottom:15px;
}

.hero h1{
    color:#ffffff;
    font-size:4rem;
    margin:15px 0;
}

.hero h2{
    color:#ffffff;

    font-size:1.6rem;
    font-weight:600;

    line-height:1.5;

    max-width:1100px;

    margin:20px auto;

    text-align:center;
}

.hero p{
    font-size:1rem;
    margin-bottom:20px;
}

/* =========================
   BUTTONS
========================= */

.btn{
    display:inline-block;
    background:#fff;
    color:#0078D4;
    padding:12px 22px;
    border-radius:8px;
    font-weight:600;
    margin:5px;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
}

/* =========================
   SUMMARY
========================= */

.summary-section .card{
    max-width:1000px;
    margin:auto;
    text-align:left;
}

/* =========================
   CARDS
========================= */

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

.card{
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    text-align:center;
    transition:.3s;
}

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

.card h3{
    color:#0078D4;
}

/* =========================
   EXPERIENCE
========================= */

.timeline{
    border-left:4px solid #0078D4;
    padding-left:25px;
}

.timeline-item{
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    margin-bottom:30px;
}

.timeline-item h3{
    color:#0078D4;
}

.timeline-item ul{
    padding-left:20px;
}

.timeline-item li{
    margin-bottom:10px;
}

/* =========================
   EDUCATION
========================= */

.education-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.education-card{
    background:#fff;
    padding:20px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.education-card img{
    width:100%;
    height:350px;
    object-fit:cover;
    border-radius:8px;
    transition:.3s;
    cursor:pointer;
}

.education-card img:hover{
    transform:scale(1.03);
}

.education-card h3{
    color:#0078D4;
    margin-top:15px;
}

/* =========================
   CREDENTIALS
========================= */

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

.credential-card{
    background:#fff;
    padding:25px;
    text-align:center;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

/* =========================
   MICROSOFT
========================= */

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

.subheading{
    color:#0078D4;
    margin-top:50px;
    margin-bottom:25px;
    font-size:1.6rem;
    text-align:left;
}
/* =========================
   FOOTER
========================= */

footer{
    background:#1f2937;
    color:#fff;
    text-align:center;
    padding:40px 20px;
    margin-top:40px;
}

footer p{
    margin:8px 0;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

    .hero h1{
        font-size:2.5rem;
    }

    .hero h2{
        font-size:1.4rem;
    }

    .profile-photo{
        width:180px;
        height:180px;
    }

    section{
        padding:40px 15px;
    }
}