
/* =====================================================
   MD ABDUR ROB Portfolio - style.css
   Version 1.0
   ===================================================== */

:root{
    --primary:#0d6efd;
    --secondary:#00c2ff;
    --dark:#081b33;
    --card:#102d52;
    --light:#f8f9fa;
    --text:#dbe7ff;
    --white:#ffffff;
    --shadow:0 15px 35px rgba(0,0,0,.25);
    --radius:18px;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Segoe UI",Arial,sans-serif;
    background:var(--dark);
    color:var(--text);
    overflow-x:hidden;
    transition:.35s;
}

.dark{
    background:#050d1d;
}

a{text-decoration:none}

section{
    padding:90px 0;
}

/* ---------- Navbar ---------- */

.glass{
    background:rgba(8,27,51,.92);
    backdrop-filter:blur(10px);
    padding:14px 0;
}

.navbar-brand{
    font-size:2rem;
    font-weight:800;
    color:#fff!important;
}

.navbar-nav{
    gap:18px;
}

.nav-link{
    color:#fff!important;
    font-weight:600;
    transition:.3s;
}

.nav-link:hover{
    color:#27c6ff!important;
}

.navbar .btn{
    border-radius:30px;
}

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

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding-top:90px;
    padding-bottom:40px;
    background:linear-gradient(135deg,#081b33,#2d6cdf);
    overflow:hidden;
}

.hero h1{
    font-size:4rem;
    font-weight:800;
    color:#fff;
}

.hero h3{
    margin:18px 0;
}

.hero p{
    font-size:1.15rem;
    line-height:1.8;
    max-width:700px;
}
.hero .row{
    align-items:center;
}

.hero .col-lg-5{
    display:flex;
    justify-content:center;
    align-items:center;
}

#titleText{
    font-size:2.2rem;
    font-weight:700;
    color:#fff;
    min-height:70px;
    transition:opacity .35s ease;
    margin:20px 0;
}
#typing{
    display:block;
    min-height:60px;
    font-size:2rem;
    font-weight:700;
    color:#fff;
    transition:opacity .3s ease;
}

.hero .btn{
    padding:14px 28px;
    border-radius:50px;
}

.profile{
    max-width:400px;
    width:100%;
    height:auto;
    object-fit:contain;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.35);
    display:block;
    margin:auto;
}

.profile:hover{
    transform:translateY(-6px);
}

/* ---------- About ---------- */

#about{
    background:#fff;
    color:#333;
}

#about h2{
    color:#081b33;
    margin-bottom:20px;
}

/* ---------- Skills ---------- */

.skill-card{
    background:var(--card);
    border-radius:var(--radius);
    padding:30px;
    text-align:center;
    height:100%;
    color:#fff;
    transition:.35s;
    box-shadow:var(--shadow);
}

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

.skill-card i{
    font-size:46px;
    color:var(--secondary);
    margin-bottom:15px;
}

/* ---------- Timeline ---------- */

.timeline{
    border-left:4px solid var(--primary);
    padding-left:35px;
    position:relative;
}

.entry{
    position:relative;
    margin-bottom:45px;
}

.entry::before{
    content:"";
    position:absolute;
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--secondary);
    left:-46px;
    top:5px;
}

/* ---------- Cards ---------- */

.card{
    border:none;
    border-radius:var(--radius);
    transition:.35s;
    overflow:hidden;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow);
}

/* ---------- Certifications ---------- */

.cert{
    background:var(--dark);
    color:#fff;
    padding:28px;
    border-radius:14px;
    font-weight:700;
    transition:.3s;
}

.cert:hover{
    background:var(--primary);
}

/* ---------- Contact ---------- */

form .form-control{
    padding:14px;
    border-radius:12px;
}

form .form-control:focus{
    box-shadow:none;
    border-color:var(--primary);
}

/* ---------- Footer ---------- */

footer{
    background:#050d1d;
    color:#fff;
    text-align:center;
    padding:25px;
}

/* ---------- Floating Buttons ---------- */

.theme-btn{
    position:fixed;
    top:20px;
    right:20px;
    z-index:999;
}

.whatsapp{
    position:fixed;
    bottom:25px;
    right:25px;
    width:58px;
    height:58px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#25d366;
    color:#fff;
    font-size:28px;
    box-shadow:var(--shadow);
}

#topBtn{
    position:fixed;
    bottom:95px;
    right:28px;
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    display:none;
    background:var(--primary);
    color:#fff;
}

/* ---------- Responsive ---------- */

@media(max-width:992px){

.hero{
    text-align:center;
}

#typing{
    min-width:100%;
    white-space:normal;
    min-height:90px;
    font-size:1.6rem;
}

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

.profile{
    margin-top:40px;
    max-width:320px;
}

}

@media(max-width:576px){

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

.hero p{
    font-size:1rem;
}

#typing{
    font-size:1.3rem;
}

section{
    padding:60px 0;
}

.skill-card{
    margin-bottom:20px;
}

}
