:root {
    --main-blue: #4169e1;
    --offwhite: #f8f9fa;
    --dark-text: #333;
    --highlight: rgb(241, 97, 97);
    --my-fonts: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* --alt-blue: #3a5fcc; - might use this later */
}

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

body {
    font-family: var(--my-fonts);
    color: var(--dark-text);
    line-height: 1.64;
    background-color: white;
    /* overflow-x: hidden; - removed this as we need overflowwwww  */
}

a {
    text-decoration: none;
    color: var(--main-blue);
}


/* Header stuff */

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
    /* px bayek aaru le sath diyena*/
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--main-blue);
    /* text-shadow: 1px 1px 1px rgba(0,0,0,0.1); */
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--main-blue);
}

.nav-links a.active {
    border-bottom: 2px solid var(--main-blue);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 5%;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
    position: relative;
    text-align: center;
}

.hero-image {
    width: 760px;
    height: 525px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
}


/* naam ko lagi hai ta*/

.hero h1 {
    font-size: 40px;
    margin-bottom: 0.5rem;
    color: var(--main-blue);
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.08); */
}

.tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--highlight);
    margin-bottom: 16px;
}

.intro {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: #471ecc;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 2rem;
    border-left: 4px solid #7f5af0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.A404 {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: #471ecc;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}


/*  */

.btn {
    display: inline-block;
    background-color: var(--main-blue);
    color: white !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #3050c5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    /* letter-spacing: 0.5px; */
}


/* tools section */

.tools {
    margin-bottom: 3rem;
    text-align: center;
}

.tools h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--main-blue);
}

.tools-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}


/* naam xa toolbox tara ho skillssss */

.tool {
    background-color: var(--offwhite);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tool:hover {
    background-color: var(--main-blue);
    color: white;
    transform: translateY(-2px);
}


/* Projects Page  */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    margin-bottom: 8px;
    color: var(--main-blue);
}

.project-info p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}


/* Contact page - new new  */

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    align-items: center;
}


/* circle image */

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.contact-info {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.contact-item h3 {
    color: var(--main-blue);
    margin-bottom: 0.5rem;
}


/* About Me page */

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 8px;
    color: var(--main-blue);
}

.page-header p {
    font-size: 18px;
    color: var(--dark-text);
}

.page-header .inspiration {
    margin-top: 16px;
    font-style: italic;
    padding: 8px 24px;
    background-color: var(--offwhite);
    display: inline-block;
    border-left: 3px solid var(--highlight);
    transition: all 0.3s cubic-bezier(0.44, -0.07, 0.3, 0.65);
}

.page-header .inspiration a {
    font-weight: bold;
}

.page-header .inspiration:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    margin-bottom: 64px;
}

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

.about-text h2 {
    color: var(--main-blue);
    margin-bottom: 24px;
    font-size: 28px;
}

.about-text p {
    margin-bottom: 16px;
    line-height: 1.7;
}


/*ye kyaaaaa  */

footer {
    background-color: var(--offwhite);
    text-align: center;
    padding: 32px 0;
    margin-top: 48px;
}

@media (prefers-color-scheme: dark) {
    /*😁 😁 */
}