/* ==========================================================
   style.css
   Premium Executive Portfolio
   Mark Babu Mande
========================================================== */

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

body{
    font-family:'Poppins',sans-serif;
    background:#08121f;
    color:#ffffff;
    overflow-x:hidden;
    line-height:1.7;
}

/* Animated Background */

body::before{
    content:"";
    position:fixed;
    width:600px;
    height:600px;
    background:#0ea5e9;
    filter:blur(220px);
    opacity:.12;
    top:-220px;
    left:-220px;
    z-index:-2;
}

body::after{
    content:"";
    position:fixed;
    width:500px;
    height:500px;
    background:#facc15;
    filter:blur(220px);
    opacity:.10;
    bottom:-180px;
    right:-180px;
    z-index:-2;
}

/* Navigation */

nav{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    background:rgba(8,18,31,.88);
    backdrop-filter:blur(15px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    z-index:999;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#facc15;
    letter-spacing:2px;
}

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

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

nav ul li a:hover{
    color:#facc15;
}

/* Hero */

.hero{
    min-height:100vh;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:60px;
    padding:120px 8% 70px;
}

.hero h3{
    color:#38bdf8;
    font-size:22px;
}

.hero h1{
    font-size:58px;
    margin:15px 0;
    font-weight:800;
}

.hero h2{
    color:#facc15;
    font-size:30px;
    margin-bottom:20px;
}

.hero p{
    color:#d4d4d4;
    max-width:650px;
}

.buttons{
    margin-top:35px;
}

.btn,
.btn2{
    display:inline-block;
    text-decoration:none;
    padding:14px 35px;
    border-radius:50px;
    transition:.4s;
    margin-right:15px;
    font-weight:600;
}

.btn{
    background:#facc15;
    color:#08121f;
}

.btn:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 40px rgba(250,204,21,.4);
}

.btn2{
    border:2px solid #38bdf8;
    color:#38bdf8;
}

.btn2:hover{
    background:#38bdf8;
    color:#08121f;
}

/* Profile */

.profile-box{
    width:360px;
    height:360px;
    margin:auto;
    border-radius:30px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(12px);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    transition:.4s;
}

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

.profile-box img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.profile-box p{
    padding:12px;
    color:#ccc;
}

/* Sections */

section{
    padding:90px 8%;
}

.section-title{
    text-align:center;
    font-size:42px;
    margin-bottom:60px;
    color:#facc15;
    position:relative;
}

.section-title::after{
    content:"";
    width:100px;
    height:4px;
    background:#38bdf8;
    position:absolute;
    bottom:-15px;
    left:50%;
    transform:translateX(-50%);
}

/* About */

.about-grid{
    display:grid;
    grid-template-columns:350px 1fr;
    gap:60px;
    align-items:center;
}

.about-image{
    background:rgba(255,255,255,.05);
    border-radius:25px;
    overflow:hidden;
    text-align:center;
}

.about-image img{
    width:100%;
}

.about-image p{
    padding:10px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:35px;
}

.card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:25px;
    transition:.35s;
}

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

.card h4{
    font-size:34px;
    color:#38bdf8;
}

/* Skills */

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

.skill-box{
    text-align:center;
    padding:35px 20px;
    border-radius:22px;
    background:rgba(255,255,255,.05);
    transition:.35s;
}

.skill-box:hover{
    background:#facc15;
    color:#08121f;
    transform:translateY(-10px);
}

.skill-box i{
    font-size:45px;
    margin-bottom:18px;
}

/* Timeline */

.timeline{
    border-left:4px solid #38bdf8;
    margin-left:20px;
}

.timeline-item{
    position:relative;
    margin-bottom:45px;
    padding-left:35px;
}

.timeline-item::before{
    content:"";
    position:absolute;
    width:18px;
    height:18px;
    background:#facc15;
    border-radius:50%;
    left:-11px;
    top:6px;
}

.timeline-item h3{
    color:#38bdf8;
    margin-bottom:10px;
}

/* Gallery */

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

.gallery-item{
    overflow:hidden;
    border-radius:18px;
}

.gallery-item img{
    width:100%;
    display:block;
    transition:.5s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

/* Contact */

.contact-box{
    max-width:700px;
    margin:auto;
}

.contact-box input,
.contact-box textarea{
    width:100%;
    margin-bottom:20px;
    padding:18px;
    border:none;
    outline:none;
    border-radius:15px;
    background:#13243a;
    color:#fff;
    font-size:16px;
}

.contact-box textarea{
    height:180px;
    resize:none;
}

.contact-box button{
    width:100%;
    padding:18px;
    border:none;
    border-radius:50px;
    background:#facc15;
    color:#08121f;
    font-size:18px;
    cursor:pointer;
    transition:.35s;
    font-weight:700;
}

.contact-box button:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 40px rgba(250,204,21,.35);
}

/* Footer */

footer{
    padding:40px 8%;
    background:#06101c;
    text-align:center;
}

footer h2{
    color:#facc15;
    margin-bottom:12px;
}

.social{
    margin:25px 0;
}

.social i{
    font-size:26px;
    margin:0 12px;
    transition:.35s;
    cursor:pointer;
}

.social i:hover{
    color:#38bdf8;
    transform:translateY(-5px);
}

/* Scrollbar */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-thumb{
    background:#facc15;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#08121f;
}

/* Responsive */

@media(max-width:992px){

.hero{
grid-template-columns:1fr;
text-align:center;
}

.about-grid{
grid-template-columns:1fr;
}

.profile-box{
width:300px;
height:300px;
}

.hero h1{
font-size:46px;
}

.hero h2{
font-size:24px;
}

nav{
flex-direction:column;
gap:15px;
}

nav ul{
flex-wrap:wrap;
justify-content:center;
}

}

@media(max-width:600px){

.hero h1{
font-size:36px;
}

.section-title{
font-size:32px;
}

.logo{
font-size:22px;
}

.cards{
grid-template-columns:1fr;
}

.buttons a{
display:block;
margin-bottom:15px;
}

}