@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; 
}
header {
    background-color: #f0f0f0;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px ;
}
.logo{
    text-decoration: none;
    color: #3a6cf4;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
}
.navigation a{
    color: #3a6cf4;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 30px;
}
.navigation a:hover{
    color: #601cfc;
}
section {
    padding: 100px 200px;
}
.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(images/1.png) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 60px;
}
.text-content {
    flex: 1;
}
.main .profile-pic-wrapper {
    width: 380px;
    height: 380px;
    margin: 0 0 0 auto; 
    background: #3a6cf4;
    transition: all 0.5s ease;
    box-shadow: 0 0 20px rgba(58, 108, 244, 0.4);
    position: relative;
    z-index: 2;
}
.main .profile-pic-wrapper:hover {
    background: linear-gradient(45deg, #3a6cf4, #601cfc, #ff3399);
    box-shadow: 
        0 0 35px rgba(58, 108, 244, 0.7),
        0 0 70px rgba(96, 28, 252, 0.5);
}
@keyframes mainPulseGlow {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}
.main h2 {
    color: #fff;
    font-size: 1.4em;
    font-weight: 500;
}
.main h2 span {
    display: inline-block;
    margin-top: 10px;
    color: #4e9eff;
    font-size: 3em;
    font-weight: 600;
}
.main h3 {
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
}
.main-btn {
    color: #fff;
    background-color: #3a6cf4;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9375em 2.1875em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    transition: 0.7s ease;
}
.main-btn:hover {
    background-color: #0a49f6;
    transform: scale(1.1);
}
.social-icons a {
    color: #fff;
    font-size: 1.7em;
    padding-right: 30px;
}
.social-icons a:hover{
     color: #601cfc;
     transform: scale(1.2);
}
.title {
    display: flex;
    justify-content: center;
    color: #3a6cf4;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}
.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}
.card {
    background-color: #fff;
    width: 22rem;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
}
.card:hover {
    transform: scale(1.1);
}
.card .icon {
    color: #3a6cf4;
    font-size: 8em;
    text-align: center;
}

.info {
    text-align: center;
}
.info h3{
    color: #3a6cf4;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}
.projects {
    background-color: #000016;
}
.projects .content{
    margin-top: 30px;
}
.project-card {
    background-color: #fff;
    border: 1px solid #fff;
    min-height: 14em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
}
.project-card:hover {
   transform: scale(1.1);
}
.project-card:hover .project-image {
    opacity: 0.9;
 }
.project-image img{
    width: 100%
}
.project-info {
    padding: 1em;
}
.project-category {
    font-size: 0.8em;
    color: #000;
}
.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}
.more-details {
    text-decoration: none;
    color: #3a6cf4;
}
.more-details:hover {
    color: #601cfc;
}
.contact .icon{
    font-size: 4.5em;
}
.contact .info h3 {
    color: #000;
}
.contact .info p {
    font-size: 1.5em;
}
.footer {
    background-color: #000016;
    color: #fff;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}
.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}
.footer-title span {
    color: #3a6cf4;
}
.footer .social-icons a{
    font-size: 1.3em;
    padding: 0 12px 0 0;
}
@media (max-width:1023px){
    header{
        padding: 12px 20px;
    }
    .navigation a{
        padding-left: 10px;
    }
    .title{
        font-size: 1.8em;
    }
    section{
        padding: 80px 20px;
    }
    .main-content {
        flex-direction: column-reverse; 
        text-align: center;
        gap: 30px;
    }
    .main .profile-pic-wrapper {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    .text-content {
        width: 100%;
    }
    .main-content h2{
        font-size: 1em;
    }

    .main-content h3{
        font-size: 1.6em;
    }
    .content{
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width:641px){
    body{
        font-size: 12px;
    }
    .main-content h2{
        font-size: 0.8em;
    }
    .main-content h3{
        font-size: 1.4em;
    }
}
@media (max-width:300px){
    body{
        font-size: 10px;   
    }
}
/* about me */
.about {
    background-color: #f9f9f9;
}

.about .content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about .card {
    width: 100%;
    text-align: left;
    padding: 40px;
}

/* Profile picture with hover effect */
.profile-pic-wrapper {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 20px auto;
    border-radius: 50%;
    padding: 6px;
}
.profile-pic-wrapper:hover {
    background: linear-gradient(45deg, #3a6cf4, #601cfc, #ff3399);
    box-shadow:  0 0 25px #3a6cf44d,0 0 50px #601cfc;
}
.profile-pic-wrapper:active {
    background: linear-gradient(45deg, #ff3399, #601cfc, #3a6cf4);
    transform: scale(0.98);
}
.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
}
@keyframes borderGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.about .info h3 {
    color: #3a6cf4;
    font-size: 1.6em;
    margin-bottom: 10px;
    margin-top: 25px;
}
.about .info p {
    font-size: 1.1em;
    line-height: 1.6em;
    color: #333;
}
.skills-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}
.skills-list li {
    font-size: 1.1em;
    color: #444;
    margin: 8px 0;
    display: flex;
    align-items: center;
}
.skills-list i {
    color: #3a6cf4;
    margin-right: 10px;
    font-size: 1.2em;
}
.about-grid{
    gap: 30px;
    align-items: stretch;
}
.skills-panel{
    
    flex: 2 1 520px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid rgba(58,108,244,0.08);
}
.about-panel{
    flex: 2 1 520px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    border: 1px solid rgba(0,0,0,0.04);
}
.skills-panel h3, .about-panel h3{
    color: #183b9a;
    font-size: 1.4em;
    margin-bottom: 6px;
}
.muted{
    color: #6b7280;
    font-size: 0.95em;
    margin-bottom: 16px;
}
.skills-panel{
    flex: 1 1 480px;
    max-width: 520px;
    background: #eeeeef;
    border: 1px solid #3a6cf414;
    display: flex;
    flex-direction: column;
}
.about-panel{
    flex: 1 1 520px;
    max-width: 780px;
    background: #eeeeef;
    border: 1px solid #0000000a;
    display: flex;
    flex-direction: column;
}
.skill-bar span{
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #3a6cf4, #601cfc);
    border-radius: 10px;
    transition: width 0.9s ease;
}

.about-panel, .skills-panel, .card {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal{
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.about-meta p{
    color: #334155;
    margin: 8px 0;
}
.cta-row{
    margin-top: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}
@media (min-width: 900px){
    .about .content{        
        flex-direction: row;
        align-items: stretch; 
        
    }
    .skills-panel, .about-panel{
        max-width: 100%;
        width: 100%;
    }
}
@media (max-width: 800px){
    .about .content{
        flex-direction: column;
    }
    .skills-panel, .about-panel{
        max-width: 100%;
        width: 100%;
    }
}

