/* ================================
   SUSHMA R — PORTFOLIO
   Warm Butter Yellow Theme
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8f1dc;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    transition: background 0.4s ease, color 0.4s ease;
}


/* ================================
   VERTICAL BORDERS
================================ */

body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
    z-index: -1;
}

body::before {
    left: 9%;
}

body::after {
    right: 9%;
}


/* ================================
   NAVIGATION
================================ */

.navbar {
    position: fixed;

    top: 24px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 1000;

    display: flex;
    align-items: center;

    gap: 30px;

    padding: 13px 22px;

    background: rgba(250, 247, 239, 0.92);

    border: 1px solid rgba(0, 0, 0, 0.07);

    border-radius: 14px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(12px);

    transition: background 0.4s ease;
}

.nav-link {
    position: relative;

    color: #777;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 3px;

    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #111;
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -11px;

    transform: translateX(-50%);

    width: 4px;
    height: 4px;

    background: #111;

    border-radius: 50%;
}


/* ================================
   THEME SWITCH
================================ */

.theme-toggle {
    width: 34px;
    height: 18px;

    border-radius: 20px;

    background: #111;

    margin-left: 2px;

    padding: 3px;

    cursor: pointer;
}

.theme-toggle span {
    display: block;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #f8f1dc;

    margin-left: 15px;

    transition: transform 0.3s ease;
}

body.dark-mode .theme-toggle span {
    transform: translateX(-15px);
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 120px 20px 80px;
}

.profile-placeholder {
    width: 92px;
    height: 92px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 42px;

    border-radius: 50%;

    background: #eadcae;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 42px;

    border: 5px solid rgba(255, 255, 255, 0.65);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.eyebrow {
    font-size: 13px;

    letter-spacing: 5px;

    color: #888;

    text-transform: uppercase;

    margin-bottom: 22px;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(70px, 10vw, 150px);

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -6px;

    margin: 0;
}

.intro {
    max-width: 610px;

    margin: 48px auto 0;

    color: #777;

    font-size: 18px;

    line-height: 1.75;
}

.hero-buttons {
    display: flex;

    gap: 16px;

    margin-top: 42px;
}


/* ================================
   BUTTONS
================================ */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 175px;

    padding: 16px 25px;

    border-radius: 40px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 2px;

    transition: all 0.3s ease;
}

.button.primary {
    background: #111;

    color: #fff;
}

.button.primary:hover {
    transform: translateY(-3px);
}

.button.secondary {
    background: transparent;

    color: #111;

    border: 1px solid rgba(0, 0, 0, 0.15);
}

.button.secondary:hover {
    background: #fff;
}


/* ================================
   GENERAL SECTION HEADING
================================ */

.section-heading h2,
.work h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-weight: 400;

    font-size: clamp(55px, 7vw, 95px);

    line-height: 0.95;

    letter-spacing: -4px;

    margin-bottom: 80px;
}


/* ================================
   ABOUT
================================ */

.about {
    max-width: 1200px;

    margin: 0 auto;

    padding: 140px 45px 160px;

    border-top: 1px solid rgba(0, 0, 0, 0.08);

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;
}

.about-content {
    max-width: 570px;

    padding-top: 10px;
}

.about-content p {
    color: #777;

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 28px;
}

.about-content .about-lead {
    font-family: Georgia, "Times New Roman", serif;

    color: #222;

    font-size: 28px;

    line-height: 1.45;
}


/* ================================
   EXPERIENCE
================================ */

.experience {
    max-width: 1200px;

    margin: 0 auto;

    padding: 140px 45px 160px;

    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.experience-list {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.experience-item {
    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 45px;

    padding: 55px 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.experience-number {
    color: #999;

    font-size: 12px;

    letter-spacing: 2px;
}

.experience-main {
    max-width: 800px;
}

.experience-main h3 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 42px;

    font-weight: 400;

    line-height: 1.1;

    margin-bottom: 10px;
}

.experience-role {
    color: #555;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 3px;
}

.experience-date {
    color: #999;

    font-size: 12px;

    margin-top: 4px;

    margin-bottom: 25px;
}

.experience-description {
    color: #707070;

    font-size: 16px;

    line-height: 1.8;

    max-width: 720px;
}


/* ================================
   WORK
================================ */

.work {
    max-width: 1200px;

    margin: 0 auto;

    padding: 140px 45px 160px;

    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.work > .eyebrow {
    text-align: center;
}

.work h2 {
    text-align: center;

    margin-bottom: 150px;
}


/* ================================
   PROJECT
================================ */

.project {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

    margin-bottom: 180px;
}

.project.reverse .project-info {
    order: 2;
}

.project.reverse .project-image {
    order: 1;
}

.project-info h3 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 48px;

    font-weight: 400;

    margin-bottom: 14px;
}

.project-meta {
    color: #888;

    font-size: 12px;

    letter-spacing: 3px;

    margin-bottom: 28px;
}

.project-description {
    color: #707070;

    font-size: 17px;

    line-height: 1.8;

    max-width: 520px;
}

.project-image {
    overflow: hidden;

    border-radius: 4px;

    background: #eee5c8;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.08);
}

.project-image img {
    display: block;

    width: 100%;

    height: auto;

    transition: transform 0.6s ease;
}

.project-image:hover img {
    transform: scale(1.025);
}


/* ================================
   TAGS
================================ */

.tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 28px;

    margin-bottom: 30px;
}

.tags span {
    padding: 8px 13px;

    border: 1px solid rgba(0, 0, 0, 0.12);

    border-radius: 3px;

    font-size: 10px;

    letter-spacing: 1.5px;
}


/* ================================
   PROJECT LINK
================================ */

.project-link {
    display: inline-block;

    color: #111;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2px;

    border-bottom: 1px solid #111;

    padding-bottom: 5px;
}

.project-link:hover {
    opacity: 0.55;
}


/* ================================
   SKILLS
================================ */

.skills {
    max-width: 1200px;

    margin: 0 auto;

    padding: 140px 45px 160px;

    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.skills-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.skill-group {
    padding: 40px;

    min-height: 170px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.skill-group:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.skill-group h3 {
    font-size: 11px;

    letter-spacing: 3px;

    margin-bottom: 18px;
}

.skill-group p {
    color: #707070;

    font-size: 17px;

    line-height: 1.8;
}


/* ================================
   EDUCATION
================================ */

.education {
    max-width: 1200px;

    margin: 0 auto;

    padding: 140px 45px 160px;

    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.education-card {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 45px;

    border: 1px solid rgba(0, 0, 0, 0.13);

    border-radius: 4px;
}

.education-date {
    color: #999;

    font-size: 11px;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.education-card h3 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 34px;

    font-weight: 400;

    margin-bottom: 8px;
}

.education-field {
    color: #777;

    font-size: 15px;
}

.education-score {
    text-align: center;
}

.education-score span {
    display: block;

    color: #999;

    font-size: 10px;

    letter-spacing: 2px;
}

.education-score strong {
    display: block;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 55px;

    font-weight: 400;

    line-height: 1;
}


/* ================================
   CERTIFICATIONS
================================ */

.certifications {
    max-width: 1200px;

    margin: 0 auto;

    padding: 140px 45px 160px;

    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.certification-list {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.certification-item {
    display: grid;

    grid-template-columns: 70px 1fr;

    gap: 30px;

    padding: 42px 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.certification-item > span {
    color: #999;

    font-size: 12px;

    letter-spacing: 2px;
}

.certification-item h3 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 27px;

    font-weight: 400;

    line-height: 1.3;

    margin-bottom: 8px;
}

.certification-item p {
    color: #777;

    font-size: 13px;
}

.certification-item .certification-issuer {
    color: #222;

    font-weight: 600;

    margin-bottom: 4px;
}


/* ================================
   CONTACT
================================ */

.contact {
    min-height: 70vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(75px, 10vw, 145px);

    font-weight: 400;

    letter-spacing: -7px;

    line-height: 0.9;

    margin-bottom: 55px;
}


/* ================================
   FOOTER
================================ */

footer {
    max-width: 1200px;

    margin: 0 auto;

    padding: 25px 45px 35px;

    border-top: 1px dashed rgba(0, 0, 0, 0.12);

    display: flex;

    justify-content: space-between;

    align-items: center;
}

footer a {
    color: #777;

    text-decoration: none;

    font-size: 11px;

    letter-spacing: 2px;
}

.socials {
    display: flex;

    gap: 12px;
}

.socials a {
    border: 1px solid rgba(0, 0, 0, 0.1);

    padding: 10px 14px;

    border-radius: 4px;

    color: #222;
}

.socials a:hover {
    background: #fff;
}


/* ================================
   DARK MODE
================================ */

body.dark-mode {
    background: #161616;

    color: #f5f0df;
}

body.dark-mode::before,
body.dark-mode::after {
    background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .navbar {
    background: rgba(30, 30, 30, 0.94);

    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .nav-link {
    color: #999;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
    color: #fff;
}

body.dark-mode .nav-link.active::after {
    background: #fff;
}

body.dark-mode .theme-toggle {
    background: #f5f0df;
}

body.dark-mode .theme-toggle span {
    background: #161616;
}

body.dark-mode .profile-placeholder {
    background: #2c2c2c;

    color: #f5f0df;

    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .eyebrow {
    color: #999;
}

body.dark-mode .intro,
body.dark-mode .about-content p,
body.dark-mode .experience-description,
body.dark-mode .project-description,
body.dark-mode .skill-group p,
body.dark-mode .education-field,
body.dark-mode .certification-item p {
    color: #999;
}

body.dark-mode .about-content .about-lead {
    color: #f5f0df;
}

body.dark-mode .experience-role,
body.dark-mode .certification-item .certification-issuer {
    color: #f5f0df;
}

body.dark-mode .project-meta,
body.dark-mode .experience-date,
body.dark-mode .education-date,
body.dark-mode .education-score span,
body.dark-mode .certification-item > span {
    color: #999;
}

body.dark-mode .button.primary {
    background: #f5f0df;

    color: #111;
}

body.dark-mode .button.secondary {
    color: #f5f0df;

    border-color: rgba(255, 255, 255, 0.18);
}

body.dark-mode .button.secondary:hover {
    background: #222;
}

body.dark-mode .tags span {
    border-color: rgba(255, 255, 255, 0.18);
}

body.dark-mode .project-link {
    color: #f5f0df;

    border-color: #f5f0df;
}

body.dark-mode .education-card {
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .socials a {
    color: #f5f0df;

    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .socials a:hover {
    background: #222;
}

body.dark-mode .about,
body.dark-mode .experience,
body.dark-mode .work,
body.dark-mode .skills,
body.dark-mode .education,
body.dark-mode .certifications,
body.dark-mode .contact,
body.dark-mode footer {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .experience-list,
body.dark-mode .experience-item,
body.dark-mode .skills-grid,
body.dark-mode .skill-group,
body.dark-mode .certification-list,
body.dark-mode .certification-item {
    border-color: rgba(255, 255, 255, 0.12);
}


/* ================================
   TABLET
================================ */

@media (max-width: 900px) {

    .navbar {
        gap: 20px;
    }

    .nav-link {
        font-size: 11px;

        letter-spacing: 2px;
    }

    .about {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .project,
    .project.reverse {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .project.reverse .project-info,
    .project.reverse .project-image {
        order: initial;
    }

}


/* ================================
   MOBILE
================================ */

@media (max-width: 800px) {

    body::before {
        left: 4%;
    }

    body::after {
        right: 4%;
    }

    .navbar {
        top: 12px;

        width: calc(100% - 24px);

        gap: 15px;

        padding: 12px 16px;

        overflow-x: auto;

        justify-content: center;
    }

    .nav-link {
        font-size: 9px;

        letter-spacing: 1.8px;

        white-space: nowrap;
    }

    .theme-toggle {
        flex-shrink: 0;
    }


    .hero {
        padding: 120px 20px 80px;
    }

    .profile-placeholder {
        width: 82px;
        height: 82px;

        font-size: 36px;

        margin-bottom: 35px;
    }

    .eyebrow {
        font-size: 10px;

        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: 70px;

        letter-spacing: -4px;

        white-space: normal;
    }

    .intro {
        font-size: 15px;

        margin-top: 35px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;

        max-width: 250px;
    }


    .about,
    .experience,
    .work,
    .skills,
    .education,
    .certifications {
        padding: 100px 25px 120px;
    }


    .section-heading h2,
    .work h2 {
        font-size: 58px;

        letter-spacing: -3px;

        margin-bottom: 80px;
    }


    .experience-item {
        grid-template-columns: 1fr;

        gap: 12px;

        padding: 42px 0;
    }

    .experience-main h3 {
        font-size: 34px;
    }


    .project {
        margin-bottom: 110px;
    }

    .project-info h3 {
        font-size: 40px;
    }


    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-group:nth-child(odd) {
        border-right: none;
    }


    .education-card {
        flex-direction: column;

        align-items: flex-start;

        gap: 30px;

        padding: 30px;
    }

    .education-card h3 {
        font-size: 29px;
    }


    .certification-item {
        grid-template-columns: 40px 1fr;

        gap: 15px;
    }

    .certification-item h3 {
        font-size: 22px;
    }


    .contact {
        min-height: 60vh;

        padding: 80px 20px;
    }

    .contact h2 {
        font-size: 75px;

        letter-spacing: -4px;
    }


    footer {
        flex-direction: column;

        gap: 25px;

        padding: 25px;
    }

    .socials {
        flex-wrap: wrap;

        justify-content: center;
    }

}