@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 ,h5, h6 {
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #4f46e5;
    transition: all 0.3s ease;
}

a:hover {
    color: #3730a3;
}

img {
    max-width: 100%;
    height: auto;
}


.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4f46e5;
    color: #fff;
    border: 2px solid #fff;
}

.btn-primary:hover {
    background-color: #3730a3;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #4f46e5;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    columns: #333;
    margin-bottom: 15px;
}

.section-title .divider {
    width: 100px;
    height: 3px;
    background-color: #4f46e5;
    margin: 0 auto 20px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/*navigation*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-left: 0px;
}

.logo span {
    color: #4f46e5;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    position: relative;
}

.nav-links a::hover {
    color: #4f46e5;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #4f46e5;
    transition: width 0.3s ease;
}

.nav-links a::after::hover {
    width: 100%;
}

/*intro section*/
.intro {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.intro-text {
    flex: 1;
    max-width: 600px;
    width: 100%;
    line-height: 1.0;
}

.intro-text h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.intro-text h2 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.intro-buttons {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: right;
    width: 100%;
}

.profile-blob {
    background-color: #5532d4;
    border-radius: 50%;
    padding: 30px;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    width: 100%;
    max-width: 430px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/*about section*/
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-cards {
    background-color: #f0f4ff;
    border-radius: 15px;
    padding: 30px;
    border: 2px solid #e0e7ff;
}

.about-card h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.services {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease; 
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #4f46e5;
    font-size: 20px;
}

/*project*/
.projects {
        background-color: #f8f9fa;
    }
    
.projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
    
.project-card {
        background-color: #fff;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }
    
.project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
.project-image {
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 40px;
    }
    
.project-image.bg-1 {
        background-color: #4f46e5;
    }
    
.project-image.bg-2 {
        background-color: #7c3aed;
    }
    
.project-image.bg-3 {
        background-color: #2563eb;
    }
    
.project-info {
        padding: 25px;
    }
    
.project-info h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
.project-info p {
        color: #666;
        margin-bottom: 20px;
    }
    
.project-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }
    
.project-tag {
        background-color: #f0f4ff;
        color: #4f46e5;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 14px;
    }
    
.project-links {
        display: flex;
        justify-content: space-between;
    }
    
.project-links a:last-child {
        color: #666;
    }
    
.project-links a:last-child:hover {
        color: #333;
    }
    
/*skills*/
.skills {
    background-color: #fff;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.skill-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: scale(1.05);
}

.skill-icon {
    width: 70px;
    height: 70px;
    background-color: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #4f46e5;
    font-size: 30px;
}

.skill-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center
}


/*contacts*/
.contact {
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #4f46e5;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    transition: all 0.3s ease;
}
        
.social-link:hover {
    background-color: #4f46e5;
    color: #fff;
}
        
.contact-form {
    flex: 1;
    min-width: 300px;
}
        
.form-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
        
.form-card h3 {
    font-size: 24px;
    margin-bottom: 25px;
}
        
.form-group {
    margin-bottom: 20px;
}
        
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}
        
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}
        
.form-control:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}
        
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
        
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #3730a3;
}

/*footer*/
.footer {
    background-color: #1f2937;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.footer-logo span {
    color: #a5b4fc;
}
        
.footer-text {
    color: #9ca3af;
    margin-bottom: 0;
}
        
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
        
.footer-links a {
    color: #9ca3af;
}
        
.footer-links a:hover {
    color: #fff;
}
        
.footer-social {
    display: flex;
    gap: 15px;
}
        
.footer-social a {
    color: #9ca3af;
}
        
.footer-social a:hover {
    color: #fff;
}
        
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #6b7280;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .intro {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    

    .intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    }

    .logo {
        margin-left: 1px;
    }

    .intro-text {
        flex: 1;
        max-width: 600px;
        width: 100%;
        line-height: 1.0;
    }

    .intro-text h1 {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .intro-text h2 {
        font-size: 28px;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .intro-text p {
        font-size: 18px;
        margin-bottom: 30px;
        opacity: 0.9;
    }

    .intro-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        width: 100%;
        margin: 0 auto 20px auto;
    }

    .profile-blob {
        width: 350px;
        height: 345px;
        margin: 24px auto;
        border-radius: 50%;
        padding: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .intro-image {
        width: 410px;
        height: 150%;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 25px;
        
    }

    body {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

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

    .project-info p {
        color: #666;
        margin-bottom: 20px;
    }

    .project-card {
        background-color: #fff;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    section {
        padding: 50px 0;
    }

    .about-card, .contact-content, .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 2fr));
    gap: 25px;
    }

    .skill-name {
        font-size: 14px;
    }

    .services {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 10px;
    }

    .about-cards {
        background: white;
        border-radius: 25px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        width: 100%;                /* Makes cards responsive */
        max-width: 800px;          /* Optional max size */
        padding: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color:#e0e7ff;
    }

    .about-card p {
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 10px;
        margin: 0 auto;
        max-width: 100%;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .contact-card {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .social-links {
        justify-content: center;
        width: 100%;
    }
}








/*.profile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
}*/
        