/* ===============================
   GOOGLE FONT & RESET
==================================*/

*{

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

}

body{

    font-family:'Poppins',sans-serif;
    background:#081B33;
    color:#ffffff;
    line-height:1.6;

}

html{

    scroll-behavior:smooth;

}

img{

    width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}


/* ===============================
   COMMON
==================================*/

section{

    padding:100px 10%;

}

.section-title{

    text-align:center;
    font-size:42px;
    margin-bottom:60px;

}

.section-title span{

    color:#3B82F6;

}

.btn,
.btn2{

    display:inline-block;
    padding:12px 28px;
    border-radius:8px;
    font-weight:600;
    transition:.3s;

}

.btn{

    background:#2563EB;
    color:#ffffff;

}

.btn:hover{

    background:#1D4ED8;

}

.btn2{

    border:2px solid #2563EB;
    color:#ffffff;
    margin-left:15px;

}

.btn2:hover{

    background:#2563EB;

}


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

header{

    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;

    background:#081B33;
    box-shadow:0 5px 15px rgba(0,0,0,.2);

}

.navbar{

    width:90%;
    margin:auto;

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

    height:80px;

}

.logo{

    color:#ffffff;
    font-size:30px;
    font-weight:700;

}

.logo span{

    color:#3B82F6;

}

.navbar ul{

    display:flex;
    gap:35px;

}

.navbar ul li a{

    color:#ffffff;
    font-weight:500;
    transition:.3s;

}

.navbar ul li a:hover{

    color:#3B82F6;

}


/* ===============================
   HOME
==================================*/

.home{

    min-height:100vh;

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

    gap:70px;

}

.home-text{

    flex:1;

}

.home-text h4{

    color:#60A5FA;
    font-size:22px;

}

.home-text h1{

    font-size:60px;
    margin:15px 0;

}

.home-text h1 span{

    color:#3B82F6;

}

.home-text h3{

    font-size:28px;
    margin-bottom:20px;
    color:#D1D5DB;

}

.home-text p{

    max-width:550px;
    color:#CBD5E1;
    margin-bottom:35px;

}

.home-buttons{

    margin-bottom:35px;

}

.social-icons{

    display:flex;
    gap:20px;

}

.social-icons a{

    width:45px;
    height:45px;

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

    border-radius:50%;

    background:#102A4C;

    color:#ffffff;

    transition:.3s;

    font-size:18px;

}

.social-icons a:hover{

    background:#2563EB;
    transform:translateY(-5px);

}

.home-image{

    flex:1;
    display:flex;
    justify-content:center;

}

.home-image img{

    width:380px;
    height:380px;

    object-fit:cover;

    border-radius:50%;

    border:8px solid #2563EB;

    box-shadow:0 0 30px rgba(37,99,235,.35);

}
/* ===============================
   ABOUT
==================================*/

.about-container{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;

}

.about-text h3{

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

}

.about-text p{

    color:#CBD5E1;
    margin-bottom:18px;
    text-align:justify;

}

.about-cards{

    display:grid;
    gap:25px;

}

.card{

    background:#102A4C;
    padding:25px;
    border-radius:15px;

    transition:.3s;

    border:1px solid rgba(255,255,255,.08);

}

.card:hover{

    transform:translateY(-8px);

    border-color:#3B82F6;

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

}

.card i{

    font-size:35px;

    color:#3B82F6;

    margin-bottom:15px;

}

.card h3{

    margin-bottom:12px;

    font-size:22px;

}

.card p{

    color:#CBD5E1;

}


/* ===============================
   SKILLS
==================================*/

.skills-container{

    display:grid;

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

    gap:30px;

}

.skill-card{

    background:#102A4C;

    padding:25px;

    border-radius:15px;

    border:1px solid rgba(255,255,255,.08);

    transition:.3s;

}

.skill-card:hover{

    transform:translateY(-6px);

    border-color:#3B82F6;

}

.skill-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:15px;

    font-weight:600;

}

.skill-title span:first-child{

    color:#ffffff;

}

.skill-title span:last-child{

    color:#60A5FA;

}

.progress{

    width:100%;

    height:10px;

    background:#203A5F;

    border-radius:20px;

    overflow:hidden;

}

.progress-bar{

    height:100%;

    background:linear-gradient(90deg,#2563EB,#60A5FA);

    border-radius:20px;

}

/* Skill Width */

.html{

    width:90%;

}

.css{

    width:85%;

}

.javascript{

    width:75%;

}

.python{

    width:70%;

}

.sql{

    width:65%;

}

.ml{

    width:45%;

}

.git{

    width:70%;

}

.electron{

    width:35%;

}
/* ===============================
   PROJECTS
==================================*/

.project-container{

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

}

.project-card{

    background:#102A4C;
    border-radius:15px;
    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

    transition:.4s;

}

.project-card:hover{

    transform:translateY(-10px);

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

    border-color:#3B82F6;

}

.project-card img{

    width:100%;
    height:220px;
    object-fit:cover;

}

.project-card h3{

    padding:20px 20px 10px;
    font-size:22px;

}

.project-card p{

    padding:0 20px;
    color:#CBD5E1;

}

.project-btn{

    display:inline-block;

    margin:20px;

    padding:10px 22px;

    background:#2563EB;

    color:#ffffff;

    border-radius:8px;

    transition:.3s;

}

.project-btn:hover{

    background:#1D4ED8;

}


/* ===============================
   CERTIFICATES
==================================*/

.certificate-text{

    text-align:center;

    color:#CBD5E1;

    margin-bottom:50px;

}

.certificate-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.certificate-card{

    background:#102A4C;

    border-radius:15px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

    transition:.4s;

}

.certificate-card:hover{

    transform:translateY(-10px);

    border-color:#3B82F6;

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

}

.certificate-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.certificate-card h3{

    padding:18px;

    text-align:center;

}

.certificate-button{

    text-align:center;

    margin-top:45px;

}

.certificate-button button{

    padding:14px 35px;

    background:#2563EB;

    color:#ffffff;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-size:16px;

    transition:.3s;

}

.certificate-button button:hover{

    background:#1D4ED8;

}

.hidden-certificates{

    display:none;

    margin-top:35px;

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

.contact-text{

    text-align:center;
    color:#CBD5E1;
    margin-bottom:50px;

}

.contact-container{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:start;

}

.contact-info{

    background:#102A4C;
    padding:35px;
    border-radius:15px;
    border:1px solid rgba(255,255,255,.08);

}

.contact-info h3{

    font-size:28px;
    margin-bottom:30px;
    color:#60A5FA;

}

.info-box{

    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:25px;

}

.info-box i{

    width:55px;
    height:55px;

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

    background:#2563EB;
    color:#fff;

    border-radius:50%;
    font-size:20px;

}

.info-box h4{

    margin-bottom:4px;

}

.info-box p{

    color:#CBD5E1;

}

.contact-social{

    margin-top:30px;
    display:flex;
    gap:15px;

}

.contact-social a{

    width:45px;
    height:45px;

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

    background:#203A5F;

    color:#fff;

    border-radius:50%;

    transition:.3s;

}

.contact-social a:hover{

    background:#2563EB;
    transform:translateY(-5px);

}

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

.contact-form{

    background:#102A4C;
    padding:35px;
    border-radius:15px;
    border:1px solid rgba(255,255,255,.08);

}

.contact-form h3{

    text-align:center;
    color:#60A5FA;
    margin-bottom:25px;

}

.contact-form input,
.contact-form textarea{

    width:100%;
    padding:15px;

    margin-bottom:18px;

    border:none;
    outline:none;

    border-radius:8px;

    background:#203A5F;

    color:white;

    font-size:15px;

}

.contact-form input::placeholder,
.contact-form textarea::placeholder{

    color:#CBD5E1;

}

.contact-form button{

    width:100%;

    padding:15px;

    border:none;

    border-radius:8px;

    background:#2563EB;

    color:#fff;

    cursor:pointer;

    font-size:16px;

    transition:.3s;

}

.contact-form button:hover{

    background:#1D4ED8;

}

#successMessage{

    margin-top:15px;
    text-align:center;
    color:#4ADE80;
    font-weight:600;

}


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

footer{

    background:#06101F;

    text-align:center;

    padding:50px 10% 30px;

    margin-top:100px;

}

footer h2{

    color:#ffffff;

    margin-bottom:10px;

}

footer p{

    color:#CBD5E1;

}

.copyright{

    margin-top:20px;
    font-size:14px;
    color:#94A3B8;

}
/* ===============================
   RESPONSIVE DESIGN
==================================*/

@media (max-width:992px){

    .home{

        flex-direction:column-reverse;
        text-align:center;

    }

    .home-text p{

        margin:auto;
        margin-bottom:30px;

    }

    .home-buttons{

        display:flex;
        justify-content:center;

    }

    .social-icons{

        justify-content:center;

    }

    .about-container{

        grid-template-columns:1fr;

    }

    .skills-container{

        grid-template-columns:1fr;

    }

    .contact-container{

        grid-template-columns:1fr;

    }

}

@media (max-width:768px){

    section{

        padding:80px 7%;

    }

    .navbar{

        flex-direction:column;
        height:auto;
        padding:20px 0;

    }

    .navbar ul{

        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
        margin-top:20px;

    }

    .home-text h1{

        font-size:42px;

    }

    .home-text h3{

        font-size:22px;

    }

    .section-title{

        font-size:34px;

    }

    .home-image img{

        width:280px;
        height:280px;

    }

}

@media (max-width:576px){

    .btn,
    .btn2{

        display:block;

        width:100%;

        text-align:center;

        margin:10px 0;

    }

    .project-card img{

        height:180px;

    }

    .certificate-card img{

        height:180px;

    }

}