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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top left, #1b1b3a, #0f0f1a 40%),
                radial-gradient(circle at bottom right, #1a0033, #0f0f1a 40%);
    background-color: #0f0f1a;
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.about-section{
    padding: 80px 20px;
    color: white;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: auto;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.about-text p {
    font-size: 1.3rem;
    line-height: 1.9;
    max-width: 600px;
}

@media (max-width: 768px) {
    .about-container {
    flex-direction: column;
    gap: 25px;
    text-align: center;
    }
    .about-image img {
    width: 180px;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: #121225;
    position: sticky;
    top: 0;
    z-index: 9999;
}

header h1 {
    font-size: 1.5rem;
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s ease;
}

nav a:hover {
    color: #00bfff;
}

.hero {
    text-align: center;
    padding: 140px 20px;
}

.hero-name {
    font-size: 4rem;
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

hero h2 {
    font-size: 1.5rem;
    margin-top: 15px;
    color: #aaa;
}

hero p {
    margin-top: 15px;
    color: #aaa;
}

section {
    padding: 80px 10%;
}

section h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.project-card {
    position: relative;
    background: #181830;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    transition: 0.3s ease;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0);
    overflow: hidden;
}

.project-review {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    color: white;
    padding: 20px;
    font-size: 0.9rem;
    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.2);
}

.project-card:hover .project-review {
    bottom: 0;
}

.project-card h3 {
    margin-bottom: 10px;
}

.project-card p {
    color: #bbb;
    margin-bottom: 15px;
}

.project-link {
    text-decoration: none;
    font-weight: bold;
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.5s ease;
}

.project-link:hover {
    opacity: 0.7;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #aaa; /* Soft gray to match your hero description */
    margin-top: -20px; /* Pulls it closer to the 'Selected Work' title */
    margin-bottom: 40px; /* Creates consistent breathing room above the cards */
    letter-spacing: 1px;
    font-weight: 300;
    position: relative;
}

/* Optional: Add a very thin decorative line under the subtitle */
.section-subtitle::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    margin: 15px auto 0;
    border-radius: 2px;
    opacity: 0.6;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 1024px) {
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-container {
    grid-template-columns: 1fr;
    }
}

.project-card {
    width: 100%;
    min-height: 220px;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {

    .project-overlay {
    opacity: 1;
    background: rgba(0,0,0,0.75);
    }

}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image {
    position: relative;
    width: 100%;
    height: 200px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.88);
    color: white;
    width: 100%;
    height: 100%;
    opacity: 0;

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

    text-align: center;
    padding: 20px;

    transition: opacity 0.3s ease;
    }

.project-image:hover .project-overlay {
    opacity: 1;
    }

.project-overlay a {
    margin-top: 10px;
    color: #00bfff;
    text-decoration: none;
}

.project-overlay a {
    padding: 8px 18px;
    border-radius: 6px;

    font-size: 0.85rem;
    font-weight: 500;

    color: white;
    background: linear-gradient(90deg, #2095bc, #611f9f);

    text-decoration: none;

    transition: all 0.25s ease;
}

    .project-overlay a:hover {
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    transform: translateY(-2px);
}

.project-card h3 {
    padding: 15px;
    text-align: center;
}



form {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

@media (max-width: 768px) {
    form {
        padding: 40px 15px;
        flex-direction: column;
        align-items: center;
    }

    form button {
        width: 100%;
        max-width: 300px;
    }
}

form input, form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(2, 6, 23, 0.6);
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
}

form input:focus, form textarea {
    border-color: #8b5cf6;
    box-shadow:
        0 0 8px rgba(139, 92, 246, 0.6),
        0 0 18px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

form button {
    width: 60%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    cursor: pointer;
    transition: all 0.25s ease;
}

form button:hover {
    opacity: 0.8s;
    transform: translateY(-2px);
}

.logo-profie {
    display: flex;
    align-items: center;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #00bfff; 
    object-fit: cover;
    transition: 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.1);
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero-cta {
    margin-top: 30px;
}

.btn-download {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 12px 30px;
    border-radius: 8px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s ease;
    display: inline-block;
}

.btn-download:hover {
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 191, 255, 0.2);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.skill-box {
    background: #181830; 
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(138, 43, 226, 0.1);
    transition: 0.3s ease;
    text-align: center;
}

.skill-box:hover {
    transform: translateY(-5px);
    border-color: #00bfff;
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.1);
}

.skill-box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00bfff, #8a2be2); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-box p {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.6;
}

.skill-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px; 
}

.skill-list li {
    color: #ccc;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1); /* divider */
    transition: 0.3s ease;
}

.skill-list li:hover {
    color: #00bfff;
    padding-left: 5px; /* The Slide effect */
}

.skill-box {
    background: #181830; 
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.skill-box:hover {
    transform: translateY(-8px); 
    border-color: #8b5cf6;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.skill-box h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.about-split {
    padding: 100px 10% 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
}


.about-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-border {
    position: relative;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bfff, #8a2be2);
}

.profile-pic-new {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 4px solid #0f0f1a; 
}

/* Styling for the TExt */
.about-text-side {
    flex: 1.5;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #aaa;
    margin: 10px 0 20px;
}

.about-bio {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #ccc;
    border-left: 3px solid #00bfff;
    padding-left: 20px;
    margin-bottom: 30px;
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-text-side {
        text-align: center;
    }

    .about-bio {
        border-left: none;
        border-top: 2px solid #00bfff;
        padding-left: 0;
        padding-top: 20px;
    }

    .profile-pic-new {
        width: 220px;
        height: 220px;
    }
}