* {
    margin: 0%;
    padding: 0px;
    outline: 0px;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;

}

html {
    scroll-behavior: smooth;
}

body {
    height: 100svh;
    max-width: 100svw;
    position: relative;
    background-color: #0F172A;
    color: #F8FAFC;
    font-family: "Outfit", sans-serif;
    font-weight: 500px;
    text-transform: capitalize;
    opacity: 0;
    animation: body 1s ease forwards;
    transform: translateY(30px);
}

@keyframes body {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body::selection {
    background-color: #8B5CF6;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin: 10px 20px;
}

nav ul li a {
    color: #F8FAFC;
}

nav ul li a:hover {
    background-color: #0F172A;
    color: #8B5CF6;
    border: 1px solid #8B5CF6;
    border-radius: 10px;
    padding: 8px;
    transition: 0.3s;
    transform: scale(1.08);
}

nav ul {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 100px;
    height: 90px;
}


.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.home {
    padding: 20px 40px;
    margin: 10px 20px;
}

.firstLine {
    position: relative;
    top: 20px;
    left: 6px;
}

.home h1 {
    font-size: 90px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1em;
    text-align: start;

}

.front {
    /* color: rgb(110, 6, 242); */
    color: #8B5CF6;
}

.data {
    max-width: 40%;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-right: 10px;
    gap: 20px;


}

.selfImg {
    max-width: 40%;
    height: 400px;
    border-radius: 200px;
    outline: 1px solid #f8fafc33;
    padding: 20px;
    margin-left: 10px;

}

.btns {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.btn {
    padding: 10px 15px;
    background-color: #8B5CF6;
    border-radius: 9px;
    border: 1px solid #8B5CF6;
    font-size: 14px;
    font-weight: 550;
}

.btn a {
    color: #F8FAFC;
}

.btn:hover {
    background-color: #0F172A;
    border: 1px solid #8B5CF6;
    color: #8B5CF6;
    transition: 0.3s;
    transform: scale(1.08);
}

.about {
   display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: start;
    gap: 5px;
    padding: 60px 40px;
    margin: 30px 10px;
    line-height: 1.5em;
    width: 60%;
}

.about h2 {
    color: #8B5CF6;
}
.education{
    width: 90%;
    margin: 120px auto;
}

.section-title{
    font-size: 3rem;
    color: #8B5CF6;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.education-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    gap: 30px;
}

.edu-card{
    background: #161f2dbf;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-left: 5px solid #8B5CF6;
    transition: .35s;
    cursor: pointer;
}

.edu-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(139,92,246,.25);
}

.icon{
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(139,92,246,.15);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon i{
    color: #8B5CF6;
    font-size: 1.6rem;
}

.content h3{
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.content h4{
    color: #22D3EE;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.content span{
    color: #94A3B8;
    font-size: .95rem;
}

.section-divider {
    width: 180px;
    height: 4px;
    margin: 70px auto;
    border-radius: 50px;
    background: linear-gradient(90deg, #8B5CF6, #22D3EE);
}


.skills {
    padding: 100px 10%;
    background-color: #0F172A;
    margin: 10px 30px;
}

.cards {
    /* display: flex;
    flex-wrap: wrap;
    justify-content: center; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;

}

.card {
    height: 250px;
    width: 250px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    transition: .4s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #8B5CF6;
}

.card p {
    color: #94A3B8;
    line-height: 1.2;
    padding: 20px;

}

.skills h2 {
    text-align: center;
    color: white;
    font-size: 40px;
    margin-bottom: 60px;
}

.card h4 {
    color: white;
    margin-bottom: 12px;
}

.skills img {
    max-width: 80px;
}






.pro img {
    width: 200px;
}

.projects {
    padding: 100px 10%;
    background-color: #0F172A;
    margin: 10px 20px;
}

.containerCard {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;

}

.pro {
    width: 350px;
    height: 430px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid #8a5cf65b;
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    transition: .4s;

}

 .containerCard .pro:hover{
      transform: scale(1.03);
    border-color: #8B5CF6;
    backdrop-filter: blur(10px);

    box-shadow: 0px 0px 10px gainsboro;

}

.pro .proButton button{
    
    padding: 5px;
    background-color: #8a5cf6b6;
    border: 1px solid #8a5cf6a5;
    border-radius: 10px;

}
.pro .proButton button:hover{
     transform: scale(1.1);
     margin: 3px;
}
.pro button a{
    color: #F8FAFC;
}

.pro p {
    color: #94A3B8;
    line-height: 1.2;
    padding: 10px;
 text-align: left;
}

.projects h2 {
    text-align: center;
    color: white;
    font-size: 40px;
    margin-bottom: 60px;
}

.pro h4 {
    color: white;
    margin-bottom: 12px;
}

.pro img {
    max-width: 100%;
}

 .contcatUs{
    padding:100px 20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:40px;
}

.contcatUs h2{
    font-size:40px;
    font-weight:700;
    color:#fff;
    position:relative;
}

.contcatUs h2::after{
    content:"";
    width:80px;
    height:4px;
    background:#8B5CF6;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-12px;
    border-radius:20px;
}

.contact{
    width:100%;
    display:flex;
    justify-content:center;
}

.contact form{
    width:100%;
    max-width:650px;
    padding:40px;
    display:flex;
    flex-direction:column;
    gap:20px;

    background:rgba(255,255,255,.04);
    border:1px solid rgba(139,92,246,.35);
    border-radius:20px;
    backdrop-filter:blur(15px);

    box-shadow:
    0 0 25px rgba(139,92,246,.18);
}

.contact form input{
    width:100%;
    padding:18px 20px;
    border-radius:15px;
    border:1px solid rgba(255,255,255,.15);
    outline:none;
    background:rgba(255,255,255,.08);

    color:white;
    font-size:16px;

    transition:.4s;
}

.contact form input::placeholder{
    color:#bcbcbc;
}

.contact form input:focus{
    border-color:#8B5CF6;
    box-shadow:0 0 15px rgba(139,92,246,.4);
}

/* .final_input{
    height:150px;
} */

.send{
    width:180px;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#8B5CF6;
    color:white;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:.4s;
    align-self:center;
}

.send:hover{
    transform:translateY(-5px);
    background:#6d3ee6;
    box-shadow:0 10px 20px rgba(139,92,246,.4);
}
textarea{
    resize:none;
    width:100%;
    padding:18px 20px;
    border-radius:15px;
    border:1px solid rgba(255,255,255,.15);
    outline:none;
    background:rgba(255,255,255,.08);
    color:white;
    font-size:16px;
    transition:.4s;
}

textarea::placeholder{
    color:#bcbcbc;
}

textarea:focus{
    border-color:#8B5CF6;
    box-shadow:0 0 15px rgba(139,92,246,.4);
}

iframe {
    width: 40%;
    height: 300px;
}
footer{
    background-color: #8757f86e;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
}
footer p{
    font-size: small;
}
.links {
    display: flex;
    gap: 15px;
}
.links .social a{
    color: #F8FAFC;
}

@media (max-width: 427px) {
    header {
    display: flex;
    flex-direction:column;
     max-width:100%;
}
a .chat{
    visibility: hidden;
}

    .home{
        align-items: center;
        text-align:left;
        gap: 30px;
        padding: 30px 20px;
        min-height: auto;
    }

    .data{
        width: 100%;
    }
    .home h1{
        font-size: 34px;
        line-height: 1.3;
    }

    .selfImg{
        width: 250px;
        height: 250px;
        object-fit: cover;
    }

    .btns{
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .btn{
        width: 140px;
    }

    .btn a{
        width: 100%;
        padding: 10px 5px;
    }

}
