body {
    background: linear-gradient(to right, rgb(1, 34, 70), #060001, #002944);
    margin: 0 auto;
    padding-top:50px;
    color: rgb(255, 255, 255);
    max-width: 800px;
    box-sizing: border-box;
}

img {
    height: 150px;
    width: 150px;
    border-radius: 500px;
    margin-left: 20px;
}

.in {
    display: flex;
    padding-top: 50px;
    background: linear-gradient(to right, rgb(1, 34, 70), #0e0027, #002944);
    padding: 20px;
    border-radius: 20px;
}

h2 {

    color: white;
}

.about b {
    font-size: 1.30rem;
}

.abo {
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 1.15rem;
    letter-spacing: 1px;
    background: linear-gradient(to right, rgb(1, 34, 70), #0e0027, #002944);
    padding: 20px;
    border-radius: 20px;
}

.edu {
    height: 150px;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    background: linear-gradient(to right, rgb(1, 34, 70), #0e0027, #002944);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.skills {
    border-radius: 20px;
    background: linear-gradient(to right, rgb(1, 34, 70), #0e0027, #002944);
    padding: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
   
}
.div{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:20px;
    margin-top:50px;
}
.hdiv {
    background-color: linear-gradient(to right, rgb(1, 34, 70), #0e0027, #002944);
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    box-sizing: border-box;
    color: rgb(104, 103, 103);
    box-shadow: 0 5px 15px rgba(47, 1, 252, 0.1);
    border-left: 5px solid rgb(4, 68, 137);
    flex: 1;
    min-width: 160px;
    max-width: 210px;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    font-size: 1rem;
}

.hdiv:hover {
    background: #f5f5f5;
    transform: scale(1.10);
    box-shadow: 0 8px 20px rgba(251, 251, 251, 0.2);
    border-left-color: #667eea;
}

.hdiv span {
    display: inline-block;
    color: #feffff;
    font-size: 1.10rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hdiv h2 {
    color: #123c4a;
    font-size: 1rem;
    margin: 6px 0 8px;
}

.hdiv p {
    color: #52616b;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}
.projects{
    border-radius: 20px;
    background: linear-gradient(to right, rgb(1, 34, 70), #0e0027, #002944);
    padding: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 8px;
}

.projects > h2,
.projects > h1 {
    grid-column: 1 / -1;
    margin: 0;
}
.projects .a{
    margin-top:20px;
}
.projects .a,
.projects .b {
    display: contents;
}
.pro {
    background-color:linear-gradient(to right, rgb(1, 34, 70), #0e0027, #002944);
    border-radius: 10px;
    width: 300px;
    min-height: 170px;
    padding: 16px;
    text-align: center;
    box-sizing: border-box;
    color:white;
    box-shadow: 0 50px 105px rgba(1, 102, 102, 0.1);
    border-left: 5px solid rgb(1, 63, 117);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    font-size: 1rem;    
    margin-right: 20px;
}

.pro:hover {
    background: #002f5b;
    transform: scale(1.10);
    box-shadow: 5px 5px 5px 5px  rgb(136, 136, 136);
    border-left-color: #667eea;
}

.pro span {
    display: inline-block;
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.pro h2 {
    color: #abe7fa;
    font-size: 1rem;
    margin: 6px 0 8px;
}

.pro p {
    color: #52616b;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}
.pro button{
    color:white;
    background-color: rgb(34, 165, 251);
    border-radius:20px;
    padding:10px;
    margin:20px;
    border:2px solid navy
}
.pro button:hover{
    transform:scale(1.1);
    transition: 0.4s;
}

.contact{
    border-radius: 20px;
    background: linear-gradient(to right, rgb(1, 34, 70), #0e0027, #002944);
    padding: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.contact h2 {
    margin-bottom: 18px;
}

.contact p {
    margin: 12px 0;
}

.contact a {
    color: #ffffff;
    text-decoration: none;
}

.contact a:hover {
    color: #7cabf8;
    text-decoration: underline;
}

.contact form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.contact input{
    width: 300px;
    height: 50px;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #7cabf8;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #123c4a;
    font-size: 0.95rem;
}

.contact input:focus {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

.contact button {
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background-color: #22a5fb;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
}

.contact button:hover {
    background-color: #014671;
    transform: scale(1.1);
}

html {
    scroll-behavior: smooth;
}
