:root {
    --primary-color: #ffffff;
    --secondary-color: #FFD700;
    --background-color: #040B14;
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.title {
    font-family: 'Caveat', cursive;
    font-size: 4rem;
    /* Increased size for better handwriting appearance */
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-transform: none;
    /* Removed uppercase for better handwriting look */
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Caveat', cursive;
    color: var(--secondary-color);
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    text-transform: none;
    letter-spacing: 1px;
}

.skill-card h3 {
    font-family: 'Caveat', cursive;
    font-size: 2.4rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px var(--secondary-color);
    transition: all 0.3s ease;
}

.skill-card:hover h3 {
    text-shadow: 3px 3px 6px var(--secondary-color);
    transform: translateY(-2px);
}
    text-shadow: 1px 1px 0px var(--secondary-color),
        2px 2px 0px rgba(255, 215, 0, 0.3),
        3px 3px 5px rgba(0, 0, 0, 0.4);
    transform: perspective(300px) rotateX(5deg);
    transition: all 0.3s ease;
}

.skill-card:hover h3 {
    transform: perspective(300px) rotateX(0deg) translateY(-2px);
    text-shadow: 1.5px 1.5px 0px var(--secondary-color),
        3px 3px 0px rgba(255, 215, 0, 0.3),
        4px 4px 8px rgba(0, 0, 0, 0.4);
}

.logo {
    font-family: 'Caveat', cursive;
    font-size: 2.4rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 768px) {
    .title {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .skill-card h3 {
        font-size: 2.2rem;
    }

    .logo {
        font-size: 2rem;
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: capitalize;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.background: var(--gradient-1);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

.skills {
    padding: 8rem 0;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.card-inner {
    padding: 3rem;
    text-align: center;
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.card-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact {
    padding: 8rem 0;
    text-align: center;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button:hover {
    background: var(--secondary-color);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem;
    }

    .nav-links a {
        margin-left: 1rem;
    }

    .title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .intro {
        font-size: 1.2rem;
        max-width: 600px;
        margin: 0 auto 3rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.8;
        font-weight: 300;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .skill-card h3 {
        font-size: 1.5rem;
    }
}

.profile-img {
    width: 250px;
    height: 250px;
    margin: 2rem auto 3rem;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(45deg, var(--secondary-color), transparent);
    position: relative;
    overflow: hidden;
}

.profile-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--secondary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--background-color);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
    margin-top: 4rem;
}

.profile-img {
    width: 300px;
    height: 300px;
    margin: 2rem auto 3rem;
    border-radius: 50%;
    padding: 15px;
    background: linear-gradient(45deg, var(--secondary-color), transparent);
    position: relative;
    overflow: hidden;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--background-color);
    transform: scale(0.85);
    /* This will make the image appear smaller/further away */
}

.profile-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--secondary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--background-color);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 4rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icon {
    color: var(--secondary-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
    opacity: 1;
}
}

.profile-img {
    width: 250px;
    height: 250px;
    margin: 2rem auto 3rem;
    border-radius: 50%;
    padding: 8px;
    /* Reduced from 10px to 8px */
    background: linear-gradient(45deg, var(--secondary-color), transparent);
    position: relative;
    overflow: hidden;
}

.profile-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    padding: 3px;
    /* Reduced from 5px to 3px */
    background: linear-gradient(45deg, var(--secondary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--background-color);
    /* Reduced from 3px to 2px */
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 4rem;
}

.footer {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-icon {
    color: var(--secondary-color);
    font-size: 2rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
    opacity: 1;
}

.copyright {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem;
    }

    .footer-social {
        gap: 1.5rem;
    }

    .footer-icon {
        font-size: 1.5rem;
    }

    .copyright {
        font-size: 0.9rem;
    }
}
}

.profile-img {
    width: 250px;
    height: 250px;
    margin: 2rem auto 3rem;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(45deg, var(--secondary-color), transparent);
    position: relative;
    overflow: hidden;
}

.profile-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--secondary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--background-color);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 4rem;
}