/* ===========================
   GOOGLE FONT
=========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fb;
    color:#222;
    line-height:1.7;
}

/* ===========================
   NAVBAR
=========================== */

nav{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 10%;
    box-shadow:0 2px 12px rgba(0,0,0,.08);
    z-index:1000;
}

.logo{
    font-size:24px;
    font-weight:700;
    color:#2563eb;
}

nav ul{
    list-style:none;
    display:flex;
    gap:28px;
}

nav ul li a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#2563eb;
}

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

.hero{
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:120px 10% 70px;
    gap:60px;
}

.hero-text{
    flex:1;
}

.hero-text h1{
    font-size:54px;
    color:#2563eb;
}

.hero-text h2{
    margin-top:10px;
    font-size:28px;
}

.hero-text h3{
    margin-top:10px;
    color:#555;
}

.hero-text p{
    margin-top:18px;
    color:#666;
    font-size:18px;
}

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:320px;
    height:320px;
    border-radius:50%;
    object-fit:cover;
    border:8px solid white;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

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

.buttons{
    margin-top:35px;
}

.btn{
    display:inline-block;
    background:#2563eb;
    color:white;
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    margin-right:15px;
    transition:.3s;
}

.btn:hover{
    background:#1d4ed8;
    transform:translateY(-3px);
}

.secondary{
    background:#444;
}

.secondary:hover{
    background:#222;
}

/* ===========================
   SOCIAL
=========================== */

.social{
    margin-top:30px;
}

.social a{
    font-size:28px;
    color:#2563eb;
    margin-right:18px;
    transition:.3s;
}

.social a:hover{
    color:#1d4ed8;
    transform:scale(1.2);
}

/* ===========================
   SECTIONS
=========================== */

section{
    padding:90px 10%;
}

section h2{
    text-align:center;
    font-size:38px;
    margin-bottom:45px;
    color:#2563eb;
}

section p{
    margin-bottom:20px;
}

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

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

.card{
    background:white;
    padding:25px;
    text-align:center;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
    font-weight:600;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

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

.timeline{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.timeline-item{
    background:white;
    padding:30px;
    border-left:6px solid #2563eb;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.timeline-item h3{
    color:#2563eb;
    margin-bottom:8px;
}

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

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

.experience-card{
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.experience-card h3{
    color:#2563eb;
    margin-bottom:10px;
}

.experience-card ul{
    margin-left:20px;
    margin-top:20px;
}

.experience-card li{
    margin-bottom:12px;
}

/* ===========================
   COMING SOON BOX
=========================== */

.coming{
    text-align:center;
    background:white;
    padding:35px;
    border-radius:12px;
    font-size:18px;
    color:#666;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

/* ===========================
   CONTACT
=========================== */

#contact{
    text-align:center;
}

#contact p{
    font-size:20px;
    margin:15px 0;
}

#contact i{
    color:#2563eb;
    margin-right:12px;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background:#2563eb;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:40px;
}

/* ===========================
   ANIMATION
=========================== */

.fade{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.fade.show{
    opacity:1;
    transform:translateY(0);
}

/* ===========================
   DARK MODE
=========================== */

body.dark{
    background:#111827;
    color:white;
}

body.dark nav{
    background:#1f2937;
}

body.dark .card,
body.dark .timeline-item,
body.dark .experience-card,
body.dark .coming{
    background:#1f2937;
    color:white;
}

body.dark footer{
    background:#0f172a;
}

body.dark nav ul li a{
    color:white;
}

body.dark p{
    color:#ddd;
}

/* ===========================
   MOBILE
=========================== */

@media(max-width:900px){

.hero{
    flex-direction:column-reverse;
    text-align:center;
}

.hero-text h1{
    font-size:42px;
}

.hero-image img{
    width:250px;
    height:250px;
}

nav{
    flex-direction:column;
}

nav ul{
    margin-top:15px;
    flex-wrap:wrap;
    justify-content:center;
}

section{
    padding:80px 8%;
}

}
