* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
section {
    scroll-margin-top: 2rem;
}
.logo {
    font-family: "Noto Serif Devanagari", serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgb(138, 146, 168);
    cursor: pointer;
}

.logo-icon {
    display: none;
    font-size: 1.4rem;
}

.logo:hover .logo-text {
    display: none;
}

.logo:hover .logo-icon {
    display: inline;
}
body {
    font-family: system-ui, sans-serif;
    line-height: 1;
    color: #222222;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 1rem;
}

.header {
    position: sticky;
    top: 0;
    background: #2d363a;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "Noto Serif Devanagari", serif;
    color: #fff;
    font-size: 1.1rem;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
.nav-links a {
    color: #fff;
    text-decoration: none;
}

.hero {
    display: grid;
    place-items: center;
    min-height: 60vh;
    text-align: center;
}

.section {
    margin-top: 3rem;
}

.grid {
    display: grid;
    gap: 1rem;
}

.card {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
}

input,
textarea {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.7rem;
    border: 1px solid #ccc;
}

button {
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 0.7rem;
    cursor: pointer;
}

.footer {
    text-align: center;
    padding: 1rem;
    background: #1e9191;
    color: #fff;
    margin-top: 3rem;
}

.hero {
    min-height: 90vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1a86aa);
    color: #fff;
}

.hero-container {
    max-width: 1100px;
    padding: 2rem;
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 2rem;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.hero-text h1 span {
    color: #ff9800;
}

.hero-text h2 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    max-width: 500px;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.7rem 1.6rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

.primary {
    background: #ff9800;
    color: #000;
}

.secondary {
    border: 2px solid #ff9800;
    color: #ff9800;
}

.hero-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.hero-socials a:hover {
    background: #ff9800;
    color: #000;
    transform: translateY(-4px);
}

.hero-image img {
    width: 100%;
    max-width: 320px;
    border-radius: 50%;
    border: 4px solid #ff9800;
    justify-self: center;
}




.about {
    padding: 1rem;
    background: #f9fafb;
}

.about .container {
    max-width: 1100px;
    margin: auto;
}

.heading {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 3rem;
}

.heading span {
    color: #ff9800;
}



/* About related css */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 360px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.about-image img:hover {
    transform: translateY(-10px);
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-content .tag {
    display: inline-block;
    background: #ff9800;
    color: #000;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.about-content .info {
    margin: 1.5rem 0;
}

.about-content .info p {
    margin-bottom: 0.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    background: #111;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: #ff9800;
    color: #000;
    transform: translateY(-3px);
}



/* related to skills */

.skills {
    padding: 1rem;
    background: #fff;
}

.skills .container {
    max-width: 1100px;
    margin: auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.skill-card i {
    font-size: 2.5rem;
    color: #ff9800;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.skill-card ul {
    list-style: none;
    padding: 0;
}

.skill-card ul li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
    color: #444;
}

/* =========================
   EXPERIENCE
========================= */

.experience {
    padding: 1rem;
    background: #f9fafb;
}

.experience .container {
    max-width: 900px;
    margin: auto;
}

.experience .timeline {
    position: relative;
    margin-top: 3rem;
    padding-left: 30px;
}

.experience .timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #ff9800;
}

.experience .timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.experience .timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.experience .timeline-dot {
    position: absolute;
    left: 1px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #ff9800;
    border-radius: 50%;
}

.experience .timeline-content {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.experience .timeline-content .company {
    font-weight: 600;
    color: #ff9800;
}

.experience .timeline-content .date {
    font-size: 0.85rem;
    color: #777;
}

/* =========================
   EDUCATION
========================= */

.education {
    padding: 1rem;
    background: #ffffff;
}

.education .container {
    max-width: 900px;
    margin: auto;
}

.education .timeline {
    position: relative;
    margin-top: 3rem;
    padding-left: 30px;
}

.education .timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #673ab7;
    /* different color */
}

.education .timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.education .timeline-dot {
    position: absolute;
    left: 1px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #673ab7;
    border-radius: 50%;
}

.education .timeline-content {
    background: #f9fafb;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.education .timeline-content .company {
    font-weight: 600;
    color: #673ab7;
}

.education .timeline-content .date {
    font-size: 0.85rem;
    color: #555;
}

timeline-content p,h3,span {
    line-height: 2rem;
}

/* cssfor projects */

.projects {
    padding: 1rem;
    background: #fff;
}

.projects .container {
    max-width: 1100px;
    margin: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card h3 {
    margin-bottom: 0.4rem;
}

.project-card p {
    color: #444;
    margin: 0.8rem 0;
    line-height: 1.6;
}

.project-card ul {
    padding-left: 1.2rem;
}

.project-card ul li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.3rem;
}

/* Project tags */
.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.fintech {
    background: #ff9800;
    color: #000;
}

.internal {
    background: #2196f3;
    color: #fff;
}

.enterprise {
    background: #4caf50;
    color: #fff;
}

.backend {
    background: #673ab7;
    color: #fff;
}

.academic {
    background: #009688;
    color: #fff;
}

.projects-cta {
    margin-top: 3rem;
    text-align: center;
}

.github-btn {
    background: #24292e;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.github-btn i {
    font-size: 1.2rem;
}

.github-btn:hover {
    background: #ff9800;
    transform: translateY(-4px);
}


/* Contact css */

.contact {
    padding: 1rem;
    background: #f9fafb;
}

.contact .container {
    max-width: 1100px;
    margin: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #555;
    margin-bottom: 1.5rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-info ul i {
    color: #ff9800;
}

.contact-info a {
    color: #111;
    text-decoration: none;
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.8rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    font-size: 0.95rem;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 10px;
    background: #fff;
    padding: 0 0.3rem;
    color: #777;
    transform: translateY(-50%);
    pointer-events: none;
    transition: 0.3s ease;
}

.input-group textarea+label {
    top: 18px;
}

.input-group input:focus+label,
.input-group input:valid+label,
.input-group textarea:focus+label,
.input-group textarea:valid+label {
    top: -8px;
    font-size: 0.75rem;
    color: #ff9800;
}

.submit-btn {
    width: 100%;
    background: #ff9800;
    color: #000;
    border-radius: 30px;
    font-weight: 600;
}
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #111;
    color: #fff;
}


/* footer related ones  */


.footer {
    background: #111;
    color: #eee;
    text-align: center;
    padding: 1rem 1rem;
}

.footer .shlok {
    font-family: "Noto Serif Devanagari", serif;
    font-size: 0.95rem;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer .copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}


