/* Reset */

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

body{

    font-family:Segoe UI, Arial, sans-serif;
    background:#f5f7fa;
    color:#333;
    line-height:1.6;

}

/* Navigation */

nav{

    background:#0f172a;
    color:white;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 10%;

}

nav h2{

    color:#38bdf8;

}

nav ul{

    display:flex;
    list-style:none;

}

nav li{

    margin-left:30px;

}

nav a{

    color:white;
    text-decoration:none;
    font-weight:600;

}

nav a:hover{

    color:#38bdf8;

}

/* Hero */

.hero{

    display:flex;
    justify-content:space-between;
    align-items:center;

    min-height:78vh;

    padding:20px 10% 10px;
    min-height:10vh;

}

.hero-text{

    width:55%;

}

.hero-text h1{

    font-size:40px;

}

.hero-text h2{

    font-size:60px;
    color:#2563eb;

    margin-top:10px;

}

.hero-text h3{

    margin-top:15px;
    font-size:28px;
    color:#555;

}

.hero-text p{

    margin-top:25px;
    font-size:20px;

}

.btn{

    display:inline-block;

    margin-top:40px;

    padding:15px 35px;

    background:#2563eb;

    color:white;

    text-decoration:none;

    border-radius:8px;

    font-weight:bold;

}

.btn:hover{

    background:#1d4ed8;

}

/* Profile Image */

.hero-image{

    width:35%;
    text-align:center;

}

.hero-image img{

    width:320px;
    height:320px;

    border-radius:50%;

    object-fit:cover;

    border:8px solid white;

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

}

/* Summary Cards */

.summary{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:-20px;
    margin-bottom:40px;

}

.card{

    background:white;

    width:220px;

    padding:25px;

    text-align:center;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,.1);

}

.card h2{

    color:#2563eb;

    font-size:32px;

    margin-bottom:10px;

}

/* ---------- Hero Improvements ---------- */

.intro{

    font-size:24px;
    color:#2563eb;
    margin-bottom:10px;

}

.hero h1{

    font-size:70px;
    color:#1e3a8a;
    margin-bottom:15px;

}

.hero h2{

    font-size:34px;
    color:#444;
    margin-bottom:25px;

}

.description{

    font-size:22px;
    line-height:1.8;
    max-width:650px;

}

.buttons{

    margin-top:25px;

}

.buttons .btn{

    margin-right:20px;

}

.btn-outline{

    background:white;
    color:#2563eb;
    border:2px solid #2563eb;

}

.btn-outline:hover{

    background:#2563eb;
    color:white;

}

/* ================= Skills Preview ================= */

.skills-preview{

    padding:80px 10%;

    text-align:center;

}

.skills-preview h2{

    font-size:42px;

    color:#1e3a8a;

    margin-bottom:15px;

}

.skills-preview p{

    color:#666;

    font-size:20px;

    margin-bottom:50px;

}

.tech-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.tech-card{

    background:white;

    padding:22px;

    border-radius:12px;

    font-size:22px;

    font-weight:600;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

    transition:.3s;

}

.tech-card:hover{

    transform:translateY(-8px);

    background:#2563eb;

    color:white;

}
/* Section headings inside Technical Expertise */

.skills-preview h3{

    margin-top:50px;
    margin-bottom:25px;

    font-size:30px;

    color:#1e3a8a;

    font-weight:700;

    text-align:center;

}
/* ================= Projects ================= */

.projects{

    padding:90px 10%;

}

.projects h2{

    text-align:center;

    font-size:48px;

    color:#1e3a8a;

}

.projects>p{

    text-align:center;

    font-size:20px;

    color:#666;

    margin:20px 0 60px;

}

.project-card{

    display:flex;

    gap:50px;

    background:white;

    padding:40px;

    border-radius:20px;

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

}

.project-image{

    flex:1;

}

.project-image img{

    width:100%;

    border-radius:15px;

}

.project-content{

    flex:1;

}

.project-content h3{

    color:#1e3a8a;

    font-size:34px;

}

.project-content h4{

    margin-top:25px;

    color:#2563eb;

}

.project-content p{

    margin-top:15px;

    line-height:1.8;

}

.project-content ul{

    margin-top:15px;

    margin-left:20px;

    line-height:2;

}

.project-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:20px;

}

.project-tags span{

    background:#2563eb;

    color:white;

    padding:10px 18px;

    border-radius:25px;

    font-size:15px;

}
.project-image img{

    width:100%;

    border-radius:12px;

    margin-bottom:8px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.image-caption{

    text-align:center;

    color:#666;

    font-size:14px;

    margin-bottom:25px;

    font-style:italic;

}

/* ================= Experience ================= */

.experience{

    padding:90px 10%;
    text-align:center;

}

.experience h2{

    font-size:42px;
    color:#1e3a8a;
    margin-bottom:15px;

}

.experience>p{

    max-width:850px;
    margin:0 auto 60px;
    color:#555;
    font-size:18px;

}

.timeline{

    display:flex;
    flex-direction:column;
    gap:35px;

}

.timeline-item{

    display:flex;
    gap:35px;
    align-items:flex-start;

}

.timeline-year{

    width:170px;

    background:#2563eb;
    color:white;

    padding:18px;

    border-radius:12px;

    font-weight:bold;

}

.timeline-content{

    flex:1;

    background:white;

    padding:30px;

    border-radius:15px;

    text-align:left;

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

}

.timeline-content h3{

    color:#1e3a8a;
    margin-bottom:8px;

}

.timeline-content h4{

    color:#2563eb;
    margin-bottom:15px;

}
.timeline-content ul{

    margin-top:18px;
    margin-left:22px;

}

.timeline-content li{

    margin-bottom:10px;
    line-height:1.7;

}

.timeline-content p{

    margin-top:15px;
    line-height:1.8;

}
/* ================= Career Highlights ================= */

.highlights{

    padding:100px 10%;
    text-align:center;

}

.highlights h2{

    font-size:48px;
    color:#1e3a8a;
    margin-bottom:20px;

}

.highlights>p{

    font-size:20px;
    color:#666;
    max-width:900px;
    margin:auto auto 60px;

}

.highlight-grid{

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

}

.highlight-card{

    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;

}

.highlight-card:hover{

    transform:translateY(-8px);

}

.highlight-card h3{

    font-size:30px;
    color:#2563eb;
    margin-bottom:12px;

}

.highlight-card p{

    color:#555;
    font-size:17px;

}
/* ================= Professional Training ================= */

.certifications{
    padding:100px 8%;
    background:#f5f7fb;
    text-align:center;
}

.certifications h2{
    font-size:48px;
    color:#1f3f95;
    margin-bottom:20px;
}

.certifications > p{
    max-width:900px;
    margin:0 auto 60px;
    font-size:20px;
    line-height:1.8;
    color:#666;
}

.cert-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.cert-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    text-align:left;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:0.3s;
}

.cert-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.cert-card h3{
    font-size:24px;
    color:#1f3f95;
    margin-bottom:10px;
}

.cert-card h4{
    font-size:18px;
    color:#2f65ff;
    margin-bottom:18px;
}

.cert-card p{
    color:#555;
    font-size:16px;
    line-height:1.8;
}
/* ================= CONTACT ================= */

.contact {
    max-width: 1200px;
    margin: 100px auto;
    text-align: center;
    padding: 0 20px;
}

.contact h2 {
    font-size: 48px;
    color: #1f4599;
    margin-bottom: 20px;
}

.contact p {
    max-width: 800px;
    margin: auto;
    font-size: 20px;
    line-height: 1.8;
    color: #555;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    min-width: 180px;
}
.contact-details{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:50px;
}

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

.contact-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.contact-card h4{
    color:#1f4599;
    font-size:22px;
    margin-bottom:15px;
}

.contact-card a{
    color:#555;
    text-decoration:none;
    word-break:break-word;
    font-size:17px;
}

.contact-card a:hover{
    color:#2563eb;
}
.footer{
    background:#0f172a;
    color:#cbd5e1;
    text-align:center;
    padding:35px 20px;
    margin-top:80px;
}

.footer p{
    margin:8px 0;
    font-size:16px;
}
#topBtn{
    position:fixed;
    right:25px;
    bottom:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#2563eb;
    color:#fff;
    font-size:22px;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

#topBtn:hover{
    background:#1d4ed8;
}
#topBtn{

    display:none;

    position:fixed;
    right:25px;
    bottom:25px;

    width:55px;
    height:55px;

    border:none;
    border-radius:50%;

    background:#2563eb;
    color:white;

    font-size:22px;
    cursor:pointer;

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

    z-index:999;
}
.footer-links{
    margin-top:25px;
}

.footer-btn{
    display:inline-block;
    padding:14px 32px;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.footer-btn:hover{
    background:#1d4ed8;
}