
/* ==========================================
   A. MONISH PORTFOLIO
   DARK EDITORIAL MONOCHROME DESIGN
========================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: #0c0c0e;
    color: #f5f5f5;
    font-family: "DM Sans", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

::selection {
    background: #ffffff;
    color: #111111;
}

/* SCROLL PROGRESS */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #ffffff;
    z-index: 2000;
}

/* NAVIGATION */

.navbar {
    width: 100%;
    min-height: 82px;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12, 12, 14, 0.96);
    border-bottom: 1px solid #252527;
    backdrop-filter: blur(20px);
}

.logo {
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
}

.logo span {
    color: #a6a6ad;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-link {
    position: relative;
    color: #bfc0c5;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #555555;
    border-radius: 8px;
    background: #171719;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: #ffffff;
}

/* GENERAL SECTIONS */

.section {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 115px 7%;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading > span {
    display: block;
    color: #aaaab1;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 13px;
}

.section-heading h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(36px, 5vw, 49px);
    font-weight: 800;
    letter-spacing: -1.8px;
    line-height: 1.2;
    color: #ffffff;
}

.section-heading h2 span {
    color: #a6a6af;
}

.section-subtitle {
    max-width: 650px;
    color: #b7b7bf;
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.9;
}

/* ==========================================
   HERO
========================================== */

.hero {
    min-height: 650px;
    padding: 0 10%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 50px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #252527;
    background:
        radial-gradient(
            ellipse at 53% 43%,
            rgba(105, 105, 112, 0.19),
            transparent 45%
        ),
        #0c0c0e;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 65px 0;
}

.eyebrow {
    display: inline-block;
    color: #c1c1c7;
    border: 1px solid #333338;
    background: rgba(20, 20, 23, 0.75);
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 45px;
}

.intro-label {
    color: #a7a7af;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.hero h1 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(60px, 8vw, 105px);
    line-height: 1.04;
    letter-spacing: -5px;
    font-weight: 800;
    color: #f7f7f8;
}

.hero h1 span {
    color: #a7a7af;
}

.typing-line {
    min-height: 60px;
    margin-top: 20px;
    font-size: clamp(20px, 2.5vw, 29px);
    font-weight: 500;
    color: #dddddf;
    letter-spacing: -0.5px;
}

.typing-cursor {
    display: inline-block;
    color: #ffffff;
    animation: cursorBlink 0.8s steps(2, start) infinite;
}

@keyframes cursorBlink {
    to {
        visibility: hidden;
    }
}

.hero-description {
    max-width: 540px;
    margin-top: 18px;
    color: #b1b1b8;
    font-size: 15px;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-height: 51px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #f2f2f3;
    color: #111111;
    border-color: #f2f2f3;
}

.btn-primary:hover {
    background: #ccccd0;
    border-color: #ccccd0;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.10);
}

.btn-outline {
    color: #f2f2f3;
    border-color: #55555c;
    background: transparent;
}

.btn-outline:hover {
    background: #f2f2f3;
    color: #111111;
    border-color: #f2f2f3;
    transform: translateY(-4px);
}

.btn-text {
    color: #d0d0d5;
    padding: 0 7px;
}

.btn-text:hover {
    color: #ffffff;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #96969e;
    font-size: 12px;
    margin-top: 36px;
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d9e7dc;
    box-shadow: 0 0 12px rgba(185, 220, 193, 0.3);
}

/* RECTANGULAR PORTRAIT */

.hero-visual {
    height: 650px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-width: 0;
}

.portrait-frame {
    position: relative;
    width: min(100%, 540px);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f3f3;
    border-left: 6px solid #35353a;
    border-right: 6px solid #35353a;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    overflow: hidden;
    transform-style: preserve-3d;
    animation: portraitTurn 8s ease-in-out infinite;
}

.portrait-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: none;
    border-radius: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.portrait-frame .portrait-front {
    transform: rotateY(0deg);
}

.portrait-frame .portrait-back {
    transform: rotateY(180deg) scaleX(-1);
}

@keyframes portraitTurn {
    0%, 12% {
        transform: rotateY(0deg);
    }

    42%, 58% {
        transform: rotateY(180deg);
    }

    88%, 100% {
        transform: rotateY(360deg);
    }
}

.floating-label {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 14px 20px;
    background: rgba(28, 28, 31, 0.96);
    border: 1px solid #45454b;
    border-radius: 35px;
    color: #eeeeef;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 5;
}

/* ==========================================
   ABOUT
========================================== */

.about-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 30px;
    padding: 45px;
    background: linear-gradient(145deg, #1d1d21, #141417);
    border: 1px solid #35353a;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.about-accent {
    color: #96969f;
    font-family: "Manrope", sans-serif;
    font-size: 42px;
    font-weight: 800;
}

.about-content h3 {
    font-family: "Manrope", sans-serif;
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 20px;
}

.about-content p {
    color: #bcbcc3;
    font-size: 14px;
    line-height: 1.95;
    margin-bottom: 15px;
}

.text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #eeeeef;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
    border-bottom: 1px solid #77777e;
    padding-bottom: 6px;
}

.text-link span {
    transition: transform 0.3s ease;
}

.text-link:hover span {
    transform: translate(4px, -4px);
}

/* ==========================================
   SKILLS CARDS
========================================== */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
    margin-top: 45px;
}

.skill-card {
    position: relative;
    min-height: 245px;
    padding: 30px;
    background: linear-gradient(145deg, #202024, #151518);
    border: 1px solid #3d3d43;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.skill-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -75px;
    bottom: -75px;
    border-radius: 50%;
    background: rgba(255,255,255,0.045);
    transition: transform 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-9px);
    border-color: #8b8b94;
    background: linear-gradient(145deg, #29292e, #19191d);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.skill-card:hover::before {
    transform: scale(1.6);
}

.skill-number {
    position: absolute;
    top: 23px;
    right: 25px;
    color: #96969e;
    font-size: 11px;
    letter-spacing: 2px;
}

.skill-icon {
    width: 51px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid #5c5c64;
    border-radius: 11px;
    color: #f1f1f3;
    font-size: 24px;
    background: #29292e;
}

.skill-card h3 {
    color: #f5f5f6;
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 17px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-items span {
    color: #d7d7dc;
    background: #303036;
    border: 1px solid #4b4b53;
    border-radius: 6px;
    padding: 7px 11px;
    font-size: 12px;
}

.skills-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 35px;
    color: #9c9ca4;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.skills-footer span {
    width: 35px;
    height: 1px;
    background: #606067;
}

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

.timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.timeline-card {
    position: relative;
    padding: 35px;
    background: #19191d;
    border: 1px solid #3d3d43;
    border-radius: 13px;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-6px);
    border-color: #92929a;
}

.timeline-label {
    display: inline-block;
    color: #aaaab2;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 17px;
}

.timeline-card h3 {
    font-family: "Manrope", sans-serif;
    font-size: 21px;
    color: #f5f5f6;
    line-height: 1.5;
    margin-bottom: 12px;
}

.timeline-card h4 {
    color: #c1c1c8;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.timeline-date {
    color: #a9a9b1;
    font-size: 12px;
    margin-bottom: 18px;
}

.grade-badge {
    display: inline-block;
    background: #303036;
    border: 1px solid #55555e;
    border-radius: 5px;
    padding: 7px 12px;
    color: #eeeeef;
    font-size: 11px;
}

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

.experience-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 35px;
    padding: 40px;
    background: #19191d;
    border: 1px solid #3d3d43;
    border-radius: 14px;
    transition: border-color 0.3s ease;
}

.experience-card:hover {
    border-color: #92929a;
}

.experience-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: #c1c1c8;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.date-line {
    display: block;
    width: 35px;
    height: 2px;
    background: #85858d;
}

.experience-content h3 {
    font-family: "Manrope", sans-serif;
    font-size: 27px;
    color: #ffffff;
    margin-bottom: 5px;
}

.experience-content h4 {
    color: #c1c1c8;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 22px;
}

.experience-content p {
    color: #bcbcc3;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 13px;
}

/* ==========================================
   PROJECTS
========================================== */

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

.project-card {
    position: relative;
    padding: 35px;
    background: linear-gradient(145deg, #202024, #151518);
    border: 1px solid #3d3d43;
    border-radius: 14px;
    transition: all 0.35s ease;
    transform-style: preserve-3d;
}

.project-card:hover {
    border-color: #92929a;
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.32);
}

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 23px;
}

.project-number {
    color: #eeeeef;
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    font-weight: 800;
}

.project-category {
    color: #aaaab2;
    font-size: 9px;
    letter-spacing: 1.4px;
    text-align: right;
}

.project-line {
    width: 100%;
    height: 1px;
    background: #515159;
    margin-bottom: 25px;
}

.project-card h3 {
    min-height: 65px;
    font-family: "Manrope", sans-serif;
    font-size: 21px;
    line-height: 1.5;
    color: #f5f5f6;
    margin-bottom: 15px;
}

.project-card > p {
    color: #bcbcc3;
    font-size: 13px;
    line-height: 1.9;
    min-height: 100px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.tech-tags span {
    display: inline-block;
    color: #d9d9de;
    border: 1px solid #4b4b53;
    background: #303036;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 10px;
}

.project-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding: 0;
    background: none;
    border: none;
    color: #f0f0f2;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.project-button span {
    transition: transform 0.3s ease;
}

.project-button:hover span {
    transform: translate(4px, -4px);
}

.projects-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    color: #a0a0a8;
    font-size: 9px;
    letter-spacing: 2px;
}

.projects-note span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccccd2;
}

/* PROJECT MODAL */

.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Matches JavaScript .is-open class */

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}

.modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 620px;
    padding: 45px;
    background: #202024;
    border: 1px solid #66666e;
    border-radius: 14px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.is-open .modal-dialog {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    width: 35px;
    height: 35px;
    border: 1px solid #66666e;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    font-size: 23px;
    cursor: pointer;
}

.modal-category {
    color: #bcbcc3;
    font-size: 10px;
    letter-spacing: 2px;
}

.modal-dialog h2 {
    font-family: "Manrope", sans-serif;
    font-size: 26px;
    line-height: 1.4;
    margin: 15px 0;
    color: #ffffff;
}

.modal-dialog p {
    color: #c3c3ca;
    font-size: 14px;
    line-height: 1.9;
}

.modal-dialog h4 {
    color: #ffffff;
    margin-top: 25px;
    font-size: 13px;
}

/* ==========================================
   CERTIFICATIONS
========================================== */

.certification-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.certification-card {
    position: relative;
    min-height: 230px;
    padding: 30px;
    background: #19191d;
    border: 1px solid #3d3d43;
    border-radius: 13px;
    transition: all 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-7px);
    border-color: #92929a;
}

.certification-number {
    color: #aaaab2;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.certification-icon {
    width: 43px;
    height: 43px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0 18px;
    border: 1px solid #606068;
    border-radius: 9px;
    color: #eeeeef;
    font-size: 13px;
    background: #29292e;
}

.certification-card h3 {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #f5f5f6;
    margin-bottom: 8px;
}

.certification-card p {
    color: #bcbcc3;
    font-size: 12px;
}

/* ==========================================
   CONTACT
========================================== */

.contact-card {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 65px 45px;
    border: 1px solid #48484f;
    border-radius: 15px;
    background: radial-gradient(
        circle at top,
        #29292e 0%,
        #1b1b20 55%,
        #121215 100%
    );
}

.contact-eyebrow {
    color: #bcbcc3;
    font-size: 10px;
    letter-spacing: 3px;
}

.contact-card h3 {
    margin: 20px 0 15px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(27px, 4vw, 40px);
    letter-spacing: -1px;
    color: #ffffff;
}

.contact-card > p {
    max-width: 550px;
    margin: 0 auto 28px;
    color: #bcbcc3;
    font-size: 14px;
    line-height: 1.9;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
    color: #bcbcc3;
    font-size: 12px;
    margin-top: 35px;
}

.contact-social {
    margin-top: 22px;
}

.contact-social a {
    display: inline-block;
    color: #ffffff;
    font-size: 13px;
    border-bottom: 1px solid #aaaaaa;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.contact-social a:hover {
    color: #bbbbc2;
}

/* ==========================================
   FOOTER
   PRESERVED 3D MONISH WORDMARK
========================================== */

.footer {
    min-height: 120px;
    padding: 30px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #29292e;
    background: #09090b;
}

.footer .footer-logo {
    display: inline-block;
    color: #f4f4f5;
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;

    text-shadow:
        1px 1px 0 #bcbcc2,
        2px 2px 0 #a2a2a9,
        3px 3px 0 #898990,
        4px 4px 0 #707077,
        5px 5px 0 #55555d,
        6px 6px 0 #3d3d44,
        7px 7px 0 #29292f,
        9px 10px 12px rgba(0,0,0,0.8);

    transform: perspective(300px) rotateX(8deg);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.footer .footer-logo:hover {
    transform: perspective(300px) rotateX(0deg) translateY(-3px);
    text-shadow:
        1px 1px 0 #d0d0d5,
        2px 2px 0 #b1b1b8,
        3px 3px 0 #96969e,
        4px 4px 0 #74747d,
        5px 5px 0 #505058,
        7px 8px 15px rgba(0,0,0,0.9);
}

.footer .footer-logo span {
    color: #a7a7af;
    text-shadow:
        1px 1px 0 #a2a2a9,
        2px 2px 0 #77777e,
        3px 3px 0 #4c4c54,
        5px 6px 9px rgba(0,0,0,0.8);
}

.footer p {
    color: #9999a1;
    font-size: 11px;
}

.back-to-top {
    color: #bcbcc3;
    font-size: 10px;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: #ffffff;
}

/* ==========================================
   REVEAL
========================================== */

.reveal {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.reveal.visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* ==========================================
   SMALL PULL SWITCH
========================================== */

.pull-switch {
    position: fixed;
    top: 91px;
    right: 30px;
    z-index: 1100;
    width: 34px;
    height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pull-cord {
    display: block;
    width: 1px;
    height: 43px;
    background: #888890;
    transform-origin: top center;
    transition: height 0.2s ease, background-color 0.3s ease;
}

.pull-handle {
    display: block;
    width: 11px;
    height: 16px;
    margin-top: -1px;
    border: 1px solid #bcbcc3;
    border-radius: 4px;
    background: linear-gradient(145deg, #eeeeef, #77777f);
    box-shadow:
        0 2px 5px rgba(0,0,0,0.45),
        inset 0 1px 2px rgba(255,255,255,0.6);
    transform-origin: top center;
    transition:
        transform 0.25s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.pull-switch:hover .pull-handle {
    background: #ffffff;
    transform: scale(1.08);
}

.pull-switch:hover .pull-cord {
    background: #c9c9d0;
}

.pull-switch.pulling .pull-cord {
    height: 49px;
}

.pull-switch.pulling .pull-handle {
    transform: translateY(6px) scaleY(0.92);
}

.pull-switch:focus-visible {
    outline: 1px solid #aaaaaa;
    outline-offset: 5px;
    border-radius: 5px;
}

/* ==========================================
   ALTERNATE ACCENT COLOUR
   WARM GOLD THEME
========================================== */

.hero h1 span,
.section-heading h2 span,
.typing-cursor,
.nav-link,
.project-number,
.text-link,
.contact-social a,
.date-line,
.scroll-progress,
.btn-primary,
.pull-cord,
.pull-handle {
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

body.accent-mode .hero h1 span,
body.accent-mode .section-heading h2 span,
body.accent-mode .typing-cursor,
body.accent-mode .nav-link.active,
body.accent-mode .nav-link:hover,
body.accent-mode .project-number,
body.accent-mode .text-link,
body.accent-mode .contact-social a {
    color: #d6a66f;
}

body.accent-mode .nav-link::after,
body.accent-mode .date-line,
body.accent-mode .scroll-progress {
    background: #d6a66f;
}

body.accent-mode .project-card:hover,
body.accent-mode .skill-card:hover,
body.accent-mode .timeline-card:hover,
body.accent-mode .certification-card:hover {
    border-color: #d6a66f;
}

body.accent-mode .btn-primary {
    background: #d6a66f;
    border-color: #d6a66f;
    color: #17120d;
}

body.accent-mode .btn-primary:hover {
    background: #e3bd91;
    border-color: #e3bd91;
}

body.accent-mode .pull-cord {
    background: #d6a66f;
}

body.accent-mode .pull-handle {
    background: linear-gradient(145deg, #f0d1aa, #b77e43);
    border-color: #e3bd91;
}

/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1050px) {

    .navbar {
        padding: 0 5%;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-link {
        font-size: 11px;
    }

    .hero {
        padding-left: 7%;
        padding-right: 7%;
        gap: 25px;
    }

    .hero-visual {
        height: 590px;
    }

    .portrait-frame {
        height: 590px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section {
        padding-left: 6%;
        padding-right: 6%;
    }
}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 800px) {

    .navbar {
        min-height: 72px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 15px 7% 25px;
        background: #171719;
        border-bottom: 1px solid #444444;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 13px 0;
        font-size: 13px;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 65px 7% 75px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        padding: 20px 0;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-note {
        justify-content: center;
    }

    .hero-visual {
        height: 560px;
        min-height: 560px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .portrait-frame {
        width: 100%;
        height: 100%;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .certification-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .floating-label {
        bottom: 12px;
    }

    .pull-switch {
        top: 82px;
        right: 18px;
        transform: scale(0.9);
        transform-origin: top right;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 560px) {

    .section {
        padding: 80px 6%;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .hero {
        padding: 55px 6% 65px;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: -3px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        height: 450px;
        min-height: 450px;
    }

    .about-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 28px;
    }

    .about-accent {
        font-size: 30px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .skill-card {
        min-height: 205px;
        padding: 25px;
    }

    .timeline-card {
        padding: 27px;
    }

    .experience-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 28px;
    }

    .experience-date {
        flex-direction: row;
        align-items: center;
    }

    .date-line {
        width: 25px;
    }

    .project-card {
        padding: 26px;
    }

    .project-card h3 {
        min-height: auto;
        font-size: 19px;
    }

    .project-card > p {
        min-height: auto;
    }

    .project-category {
        max-width: 150px;
        line-height: 1.6;
    }

    .certification-grid {
        grid-template-columns: 1fr;
    }

    .certification-card {
        min-height: 195px;
    }

    .contact-card {
        padding: 45px 25px;
    }

    .contact-details {
        flex-direction: column;
        gap: 9px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        padding: 35px 6%;
        gap: 25px;
    }

    .footer .footer-logo {
        font-size: 29px;
    }

    .modal-dialog {
        padding: 35px 25px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   TECHNOLOGY LOGOS INSIDE SKILL TAGS
========================================== */

.skill-items .skill-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #d7d7dc;
    background: #303036;
    border: 1px solid #4b4b53;
    border-radius: 6px;
    padding: 7px 11px;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.skill-items .skill-item img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.skill-items .skill-item:hover {
    background: #3a3a41;
    border-color: #777780;
    transform: translateY(-2px);
}

/* ==========================================
   EDUCATION LOGO BADGES
========================================== */

.timeline-card {
    overflow: hidden;
}

.education-logo {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 66px;
    height: 66px;
    padding: 5px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #55555e;
    border-radius: 9px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
}

/* Keep the education heading clear of the logo */

.timeline-card h3 {
    padding-right: 75px;
}

/* Smaller logo badges on mobile */

@media (max-width: 560px) {

    .education-logo {
        top: 17px;
        right: 17px;
        width: 55px;
        height: 55px;
    }

    .timeline-card h3 {
        padding-right: 62px;
    }

    .skill-items .skill-item {
        font-size: 11px;
        padding: 7px 9px;
    }

    .skill-items .skill-item img {
        width: 15px;
        height: 15px;
    }

}
.timeline-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.timeline-card .education-logo {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 180px;
    height: 180px;
    object-fit: contain;
    opacity: 0.10;
    filter: grayscale(100%);
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    z-index: -1;
    pointer-events: none;
}

.timeline-card h3,
.timeline-card p,
.timeline-card span {
    position: relative;
    z-index: 1;
}

@media (max-width: 560px) {
    .timeline-card .education-logo {
        width: 130px;
        height: 130px;
        right: 5px;
    }
}

/* ==========================================
   EDUCATION LOGOS - FULL TRANSPARENT EFFECT
========================================== */

.timeline-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Full-size transparent college logos */
.timeline-card .education-logo {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);

    width: 250px;
    height: 250px;

    object-fit: contain;
    opacity: 0.14;

    filter: none;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;

    z-index: -1;
    pointer-events: none;
}

/* Keep education text clearly visible */
.timeline-card h3,
.timeline-card p,
.timeline-card span {
    position: relative;
    z-index: 1;
}

/* Mobile responsive logo size */
@media (max-width: 560px) {
    .timeline-card .education-logo {
        width: 160px;
        height: 160px;
        right: 0;
        opacity: 0.12;
    }
}

/* ==========================================
   EDUCATION CARD - FULL BACKGROUND LOGO
========================================== */

.timeline-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Logo covers the complete education card */
.timeline-card .education-logo {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    opacity: 0.13;
    filter: none;

    background: transparent;
    border: none;
    border-radius: 0;
    padding: 15px;

    box-shadow: none;
    z-index: -1;
    pointer-events: none;
}

/* Keep education content readable */
.timeline-card h3,
.timeline-card p,
.timeline-card span {
    position: relative;
    z-index: 1;
}

/* FULL-CARD EDUCATION LOGO BACKGROUND */

.timeline-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.timeline-card .education-logo {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0.12;
    filter: none;

    padding: 0;
    margin: 0;
    border: none;
    border-radius: inherit;
    background: transparent;
    box-shadow: none;

    z-index: -1;
    pointer-events: none;
}

.timeline-card > *:not(.education-logo) {
    position: relative;
    z-index: 1;
}

/* ==========================================
   EDUCATION CARDS - FULL BACKGROUND LOGOS
========================================== */

.timeline-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Full-card background logo */
.timeline-card .education-logo {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0.22;

    padding: 0;
    margin: 0;
    border: none;
    border-radius: inherit;
    background: transparent;
    box-shadow: none;

    z-index: -1;
    pointer-events: none;
}

/* Keep text above the background */
.timeline-card > *:not(.education-logo) {
    position: relative;
    z-index: 1;
}

/* ==========================================
   FULL EDUCATION CARD BACKGROUND LOGO
========================================== */

.timeline-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Logo covers the complete card */
.timeline-card .education-logo {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0.16;

    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    z-index: 0;
    pointer-events: none;
}

/* Education details stay above the logo */
.timeline-card > *:not(.education-logo) {
    position: relative;
    z-index: 1;
}
/* ==========================================
   FIXED TECHNOLOGY LOGOS
========================================== */

.skill-items .skill-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.skill-items .skill-item img,
.skill-items .skill-item svg {
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
    opacity: 1;
    visibility: visible;
}

.skill-items .skill-item svg {
    overflow: visible;
}
/* ==========================================
   FLOATING GLASS DOCK + 3D SEGMENTED NAV
========================================== */

.navbar {
    min-height: 88px;
    padding: 12px 5%;
    gap: 25px;
    background: rgba(12, 12, 14, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 15px;
    background: linear-gradient(
        145deg,
        rgba(48, 48, 54, 0.75),
        rgba(20, 20, 24, 0.88)
    );
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.10),
        inset 0 -2px 4px rgba(0, 0, 0, 0.35);
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #bfc0c5;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(145deg, #414148, #26262c);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.13);
}

.menu-toggle {
    display: none;
}

/* ==========================================
   THREE-PART ABOUT ME SECTION
========================================== */

.about-sections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.about-panel {
    position: relative;
    min-width: 0;
    padding: 32px 27px;
    overflow: hidden;
    border: 1px solid #393940;
    border-radius: 15px;
    background: linear-gradient(145deg, #202024, #141417);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.20),
        inset 0 1px 1px rgba(255, 255, 255, 0.045);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.about-panel::before {
    content: "";
    position: absolute;
    top: -65px;
    right: -65px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(180, 180, 195, 0.12),
        transparent 70%
    );
    pointer-events: none;
}

.about-panel:hover {
    transform: translateY(-7px);
    border-color: #777780;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.about-panel-top {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 25px;
}

.about-number {
    color: #a5a5ae;
    font-family: "Manrope", sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.about-kicker {
    color: #eeeeef;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
    line-height: 1.6;
}

.about-panel p {
    position: relative;
    color: #bcbcc4;
    font-size: 13px;
    line-height: 1.95;
}

/* About section contact link */

.about-connect {
    margin-top: 30px;
}

/* ==========================================
   NAVIGATION AND ABOUT - RESPONSIVE
========================================== */

@media (max-width: 1050px) {
    .navbar {
        padding-left: 4%;
        padding-right: 4%;
        gap: 15px;
    }

    .nav-menu {
        gap: 2px;
        padding: 5px;
    }

    .nav-link {
        padding: 9px 9px;
        font-size: 10px;
    }

    .about-sections {
        gap: 15px;
    }

    .about-panel {
        padding: 27px 21px;
    }
}

@media (max-width: 800px) {
    .navbar {
        min-height: auto;
        padding: 13px 5%;
        flex-wrap: wrap;
        gap: 13px;
    }

    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        gap: 4px;
        padding: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        flex: 0 0 auto;
        width: auto;
        padding: 9px 12px;
        font-size: 11px;
    }

    .menu-toggle {
        display: none;
    }

    .about-sections {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .about-panel {
        padding: 30px;
    }

    .about-panel-top {
        flex-direction: row;
        align-items: center;
        gap: 18px;
        margin-bottom: 20px;
    }

    .about-number {
        font-size: 32px;
    }
}

@media (max-width: 560px) {
    .navbar {
        padding: 12px 5%;
    }

    .nav-menu {
        gap: 3px;
    }

    .nav-link {
        padding: 8px 11px;
        font-size: 10px;
    }

    .about-panel {
        padding: 25px;
    }

    .about-panel p {
        font-size: 13px;
    }
}

/* Gold accent theme support */

body.accent-mode .nav-link.active {
    color: #d6a66f;
    border-color: rgba(214, 166, 111, 0.35);
    background: linear-gradient(145deg, #393027, #211d19);
}

body.accent-mode .nav-link:hover {
    color: #d6a66f;
}

body.accent-mode .about-panel:hover {
    border-color: #d6a66f;
}

/* ==========================================
   MONISH PORTFOLIO
   PREMIUM CAPSULE NAVIGATION - STYLE 4
========================================== */

.navbar {
    min-height: 92px;
    padding: 13px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(10, 10, 13, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* LOGO */

.navbar .logo {
    flex-shrink: 0;
    font-size: 26px;
    letter-spacing: 2.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* CAPSULE CONTAINER */

.navbar .nav-menu {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;

    padding: 7px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50px;

    background:
        linear-gradient(
            145deg,
            rgba(48, 48, 55, 0.78),
            rgba(16, 16, 20, 0.94)
        );

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.42),
        inset 0 1px 1px rgba(255, 255, 255, 0.13),
        inset 0 -3px 7px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

/* INDIVIDUAL CAPSULE LINKS */

.navbar .nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    width: auto;
    flex: 0 0 auto;

    padding: 11px 13px;

    border: 1px solid transparent;
    border-radius: 30px;

    color: #b8b8c1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1px;

    white-space: nowrap;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* ICONS */

.navbar .nav-link::before {
    display: inline-block;
    font-size: 13px;
    line-height: 1;
    opacity: 0.75;
    transition: all 0.3s ease;
}

/* Individual navigation icons */

.navbar .nav-link[href="#home"]::before {
    content: "⌂";
}

.navbar .nav-link[href="#about"]::before {
    content: "◉";
}

.navbar .nav-link[href="#skills"]::before {
    content: "⌘";
}

.navbar .nav-link[href="#education"]::before {
    content: "▤";
}

.navbar .nav-link[href="#experience"]::before {
    content: "◷";
}

.navbar .nav-link[href="#projects"]::before {
    content: "▣";
}

.navbar .nav-link[href="#certifications"]::before {
    content: "✧";
}

.navbar .nav-link[href="#contact"]::before {
    content: "✉";
}

/* REMOVE OLD UNDERLINE */

.navbar .nav-link::after {
    display: none !important;
}

/* HOVER EFFECT */

.navbar .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.navbar .nav-link:hover::before {
    opacity: 1;
    transform: scale(1.12);
}

/* ACTIVE CAPSULE */

.navbar .nav-link.active {
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #41414a,
            #25252c
        );

    border-color: rgba(255, 255, 255, 0.19);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.38),
        inset 0 1px 1px rgba(255, 255, 255, 0.18),
        inset 0 -2px 3px rgba(0, 0, 0, 0.3);
}

.navbar .nav-link.active::before {
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

/* FOCUS ACCESSIBILITY */

.navbar .nav-link:focus-visible {
    outline: 2px solid #b8c9e8;
    outline-offset: 3px;
}

/* HIDE OLD MOBILE TOGGLE */

.navbar .menu-toggle {
    display: none;
}

/* ==========================================
   GOLD ACCENT MODE
========================================== */

body.accent-mode .navbar .nav-link.active {
    color: #e5b982;

    background:
        linear-gradient(
            145deg,
            #44382b,
            #24201c
        );

    border-color: rgba(214, 166, 111, 0.42);

    box-shadow:
        0 4px 13px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(214, 166, 111, 0.18);
}

body.accent-mode .navbar .nav-link.active::before {
    color: #e5b982;
    text-shadow: 0 0 12px rgba(214, 166, 111, 0.5);
}

body.accent-mode .navbar .nav-link:hover {
    color: #e5b982;
    background: rgba(214, 166, 111, 0.09);
}

/* ==========================================
   TABLET NAVIGATION
========================================== */

@media (max-width: 1050px) {

    .navbar {
        padding-left: 3%;
        padding-right: 3%;
        gap: 14px;
    }

    .navbar .nav-menu {
        gap: 2px;
        padding: 6px;
    }

    .navbar .nav-link {
        padding: 10px 9px;
        gap: 5px;
        font-size: 10px;
    }

    .navbar .nav-link::before {
        font-size: 12px;
    }
}

/* ==========================================
   MOBILE CAPSULE NAVIGATION
========================================== */

@media (max-width: 800px) {

    .navbar {
        min-height: auto;
        padding: 13px 5%;
        flex-wrap: wrap;
        gap: 13px;
    }

    .navbar .logo {
        font-size: 23px;
    }

    .navbar .nav-menu {
        position: relative;
        top: auto;
        left: auto;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;

        width: 100%;
        max-width: 100%;

        gap: 4px;
        padding: 6px;

        overflow-x: auto;
        overflow-y: hidden;

        white-space: nowrap;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;

        border-radius: 40px;
    }

    .navbar .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .navbar .nav-link {
        flex: 0 0 auto;
        width: auto;
        padding: 10px 13px;
        font-size: 11px;
    }

    .navbar .menu-toggle {
        display: none;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .navbar {
        padding: 11px 4%;
        gap: 11px;
    }

    .navbar .logo {
        font-size: 21px;
    }

    .navbar .nav-menu {
        gap: 3px;
        padding: 5px;
    }

    .navbar .nav-link {
        gap: 5px;
        padding: 9px 11px;
        font-size: 10px;
    }

    .navbar .nav-link::before {
        font-size: 11px;
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .navbar .nav-link,
    .navbar .nav-link::before {
        transition: none !important;
    }
}
/* ==========================================
   PREMIUM MONISH BRAND LOGO
========================================== */

.navbar .logo {
    font-family: 'Manrope', sans-serif;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #f5f5f5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.35s ease,
                text-shadow 0.35s ease,
                color 0.35s ease;
    position: relative;
}

.navbar .logo span {
    color: #65b9ff;
    font-size: 2rem;
    margin-left: 2px;
    transition: text-shadow 0.35s ease;
}

.navbar .logo:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 16px rgba(101, 185, 255, 0.25);
}

.navbar .logo:hover span {
    text-shadow: 0 0 12px rgba(101, 185, 255, 0.9);
}

/* Mobile adjustment */
@media (max-width: 600px) {
    .navbar .logo {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
    }

    .navbar .logo span {
        font-size: 1.7rem;
    }
}
/* GOLD LOGO ACCENT */
.navbar .logo span {
    color: #d6ad60;
    text-shadow: 0 0 5px rgba(214, 173, 96, 0.4);
}

@keyframes dotGlow {
    0%, 100% {
        text-shadow: 0 0 3px rgba(214, 173, 96, 0.3);
        opacity: 0.85;
    }

    50% {
        text-shadow:
            0 0 8px rgba(214, 173, 96, 0.9),
            0 0 15px rgba(214, 173, 96, 0.5);
        opacity: 1;
    }
}

.navbar .logo:hover span {
    color: #f0cc85;
    text-shadow: 0 0 14px rgba(214, 173, 96, 1);
}
/* ==========================================
   FULL LOGO ANIMATION
========================================== */

.navbar .logo {
    display: inline-flex;
    align-items: center;
    animation: monishFloat 2.8s ease-in-out infinite;
    transition: text-shadow 0.3s ease;
}

/* Entire name gently floats */
@keyframes monishFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Animated gold dot */
.navbar .logo span {
    display: inline-block;
    color: #d6ad60;
    animation: goldPulse 1.8s ease-in-out infinite;
}

@keyframes goldPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 3px rgba(214, 173, 96, 0.3);
    }

    50% {
        transform: scale(1.35);
        text-shadow: 0 0 8px #d6ad60,
                     0 0 18px rgba(214, 173, 96, 0.7);
    }
}

/* Hover effect */
.navbar .logo:hover {
    text-shadow: 0 0 14px rgba(214, 173, 96, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .navbar .logo,
    .navbar .logo span {
        animation: none;
    }
}
/* ==========================================
   MONISH - SMOOTH LETTER WAVE ANIMATION
========================================== */

.navbar .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.navbar .logo .logo-letter {
    display: inline-block;
    color: #f5f5f5;
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
    animation: letterWave 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.12s);
}

@keyframes letterWave {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Gold animated dot */
.navbar .logo .logo-dot {
    display: inline-block;
    color: #d6ad60;
    font-size: inherit;
    animation: goldPulse 1.8s ease-in-out infinite;
}

@keyframes goldPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 3px rgba(214,173,96,0.3);
    }

    50% {
        transform: scale(1.3);
        text-shadow: 0 0 12px rgba(214,173,96,0.9);
    }
}
/* TEACHNOOK INTERNSHIP LOGO */

.internship-company {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 18px;
}

.internship-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    padding: 5px;
    border-radius: 9px;
    background: #ffffff;
    transition: transform 0.4s ease,
                box-shadow 0.4s ease;
}

.internship-logo:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.internship-company h4 {
    margin: 0;
}
/* ==========================================
   TEACHNOOK - LARGE VISIBLE LOGO
========================================== */

.experience-card .experience-date img.internship-logo {
    display: block !important;
    width: 110px !important;
    height: 110px !important;
    min-width: 110px;
    object-fit: contain;
    padding: 10px;
    margin-top: 18px;

    background: #ffffff;
    border: 2px solid #d6ad60;
    border-radius: 15px;

    opacity: 1 !important;
    visibility: visible !important;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.experience-card .experience-date img.internship-logo:hover {
    transform: scale(1.08);
}

/* ==========================================
   CERTIFICATION TECHNOLOGY LOGOS
========================================== */

.certification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin: 22px 0;
    padding: 14px;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(214, 173, 96, 0.3);
    border-radius: 16px;

    transition: transform 0.4s ease,
                background 0.4s ease,
                box-shadow 0.4s ease;
}

.certification-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.certification-card:hover .certification-icon {
    transform: translateY(-5px);
    background: rgba(214, 173, 96, 0.09);
    box-shadow: 0 8px 25px rgba(214, 173, 96, 0.12);
}

.certification-card:hover .certification-logo {
    transform: scale(1.12);
}
/* ==========================================
   ANIMATED EMAIL PAPER ROCKET
========================================== */

.email-rocket-link {
    display: flex;
    align-items: center;
    gap: 22px;
    text-decoration: none;
    color: #f5f5f5;
}

.rocket-track {
    position: relative;
    width: 100px;
    height: 45px;
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.email-rocket {
    position: absolute;
    width: 34px;
    height: 34px;
    color: #d6ad60;
    z-index: 2;
    animation: rocketFly 3s ease-in-out infinite;
}

.rocket-thread {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #d6ad60 0px,
        #d6ad60 4px,
        transparent 4px,
        transparent 9px
    );
    opacity: 0.65;
    animation: threadMove 1.5s linear infinite;
}

@keyframes rocketFly {
    0% {
        left: -5px;
        transform: translateY(5px) rotate(-8deg);
    }

    50% {
        left: 60px;
        transform: translateY(-5px) rotate(-8deg);
    }

    100% {
        left: 105px;
        transform: translateY(5px) rotate(-8deg);
    }
}

@keyframes threadMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 18px 0;
    }
}

.email-rocket-text {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.email-rocket-text small {
    color: #d6ad60;
    font-size: 10px;
    letter-spacing: 3px;
}

.email-rocket-text span {
    font-size: 14px;
    transition: color 0.3s ease;
}

.email-rocket-link:hover .email-rocket-text span {
    color: #d6ad60;
}

@media (prefers-reduced-motion: reduce) {
    .email-rocket,
    .rocket-thread {
        animation: none;
    }
}
/* WHITE PAPER ROCKET – SMOOTH WAVE */

.rocket-animation {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.flying-rocket {
    position: absolute;
    width: 30px;
    height: 30px;
    offset-path: path(
        "M 0 50 Q 100 -10 200 50 T 400 50 T 600 50 T 800 50"
    );
    offset-rotate: auto;
    animation: rocketWave 7s linear infinite;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

@keyframes rocketWave {
    from {
        offset-distance: 0%;
    }
    to {
        offset-distance: 100%;
    }
}

.rocket-thread {
    stroke: #ffffff;
    stroke-width: 1.5;
    stroke-dasharray: 5 7;
    fill: none;
    opacity: 0.65;
}
/* ==========================================
   FIX: TOP FLOATING CARDS IN BEIGE THEME
   ========================================== */

body.light-theme .hero {
    overflow: visible !important;
}

body.light-theme .hero-content {
    overflow: visible !important;
}

body.light-theme .hero-visual {
    overflow: visible !important;
}

body.light-theme .floating-card,
body.light-theme .welcome-card {
    overflow: visible !important;
    z-index: 20 !important;
}
/* FIX TOP HERO CARDS VISIBILITY IN ALTERNATE THEME */

body.light-theme .hero,
body.light-theme .hero-container,
body.light-theme .hero-content,
body.light-theme .hero-visual,
body.light-theme .hero-image,
body.light-theme .hero-right {
    overflow: visible !important;
}

body.light-theme .hero .floating-card,
body.light-theme .hero .welcome-card,
body.light-theme .hero .info-card,
body.light-theme .hero .hero-card {
    position: relative;
    z-index: 999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform-style: preserve-3d;
}
/* ==========================================
   HERO CARDS – BEIGE THEME VISIBILITY FIX
   ========================================== */

/* Allow the hero elements to remain visible */
body.light-theme .hero,
body.light-theme .hero-content,
body.light-theme .hero-visual {
    overflow: visible !important;
}

/* Welcome to my portfolio card */
body.light-theme .hero .eyebrow {
    display: inline-block !important;
    position: relative !important;
    z-index: 50 !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #FFF9E9 !important;
    background: #49372B !important;
    border: 1px solid #C9A45C !important;
}

/* Floating opportunity card */
body.light-theme .hero .floating-label {
    display: flex !important;
    position: absolute !important;
    z-index: 100 !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #FFF9E9 !important;
    background: #49372B !important;
    border: 1px solid #C9A45C !important;
}

/* Keep the floating card above the portrait */
body.light-theme .hero-visual {
    position: relative !important;
    z-index: 5 !important;
}

body.light-theme .portrait-frame {
    position: relative;
    z-index: 1;
}
/* ==========================================
   BEIGE THEME – HERO CARD VISIBILITY FIX
   ========================================== */

body.thread-theme-on .hero,
body.thread-theme-on .hero-content,
body.thread-theme-on .hero-visual {
    overflow: visible !important;
}

body.thread-theme-on .hero .eyebrow {
    display: inline-block !important;
    position: relative !important;
    z-index: 20 !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #FFF9E9 !important;
    background: #49372B !important;
    border: 1px solid #C9A45C !important;
}

body.thread-theme-on .hero .floating-label {
    display: flex !important;
    z-index: 30 !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #FFF9E9 !important;
    background: #49372B !important;
    border: 1px solid #C9A45C !important;
}

body.thread-theme-on .hero-visual {
    position: relative !important;
    z-index: 5 !important;
}

/* ==========================================
   BEIGE THEME - INDIVIDUAL FLOATING NAV PILLS
   Dark theme remains unchanged
========================================== */

body.thread-theme-on .navbar {
    background: rgba(233, 223, 201, 0.96) !important;
    border-bottom: 1px solid rgba(73, 55, 43, 0.14);
    box-shadow: 0 8px 25px rgba(48, 37, 31, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.thread-theme-on .navbar .logo {
    color: #30251F;
}

/* Remove the large outer capsule */
body.thread-theme-on .navbar .nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

/* Individual navigation pills */
body.thread-theme-on .navbar .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 11px 15px;
    border: 1px solid rgba(73, 55, 43, 0.22);
    border-radius: 30px;

    color: #FFF9E9;
    background: linear-gradient(145deg, #594434, #49372B);

    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;

    box-shadow:
        0 4px 9px rgba(48, 37, 31, 0.12),
        inset 0 1px 1px rgba(255, 249, 233, 0.09);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Individual pill hover */
body.thread-theme-on .navbar .nav-link:hover {
    color: #30251F;
    background: #D9B875;
    border-color: #C9A45C;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(73, 55, 43, 0.17);
}

/* Active pill */
body.thread-theme-on .navbar .nav-link.active {
    color: #30251F;
    background: linear-gradient(145deg, #E3C989, #C9A45C);
    border-color: #B88E43;
    box-shadow:
        0 5px 13px rgba(73, 55, 43, 0.20),
        inset 0 1px 1px rgba(255, 249, 233, 0.5);
}

body.thread-theme-on .navbar .nav-link.active::before {
    color: #30251F;
    text-shadow: none;
}

/* Smooth icon transitions */
body.thread-theme-on .navbar .nav-link::before {
    transition: transform 0.3s ease, color 0.3s ease;
}

body.thread-theme-on .navbar .nav-link:hover::before {
    transform: scale(1.12);
    color: #30251F;
}

/* Tablet */
@media (max-width: 1050px) {
    body.thread-theme-on .navbar .nav-menu {
        gap: 6px;
    }

    body.thread-theme-on .navbar .nav-link {
        padding: 9px 10px;
        font-size: 10px;
    }
}

/* Mobile */
@media (max-width: 800px) {
    body.thread-theme-on .navbar .nav-menu {
        justify-content: flex-start;
        gap: 7px;
        padding: 5px 2px 9px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.thread-theme-on .navbar .nav-menu::-webkit-scrollbar {
        display: none;
    }

    body.thread-theme-on .navbar .nav-link {
        flex: 0 0 auto;
        padding: 10px 13px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    body.thread-theme-on .navbar .nav-menu {
        gap: 6px;
    }

    body.thread-theme-on .navbar .nav-link {
        padding: 9px 11px;
        font-size: 10px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    body.thread-theme-on .navbar .nav-link,
    body.thread-theme-on .navbar .nav-link::before {
        transition: none !important;
    }
}


/* =====================================================
   NOVEMBER 2026 UPDATE — HERO 360° PORTRAIT + ABOUT CARDS
   Appended intentionally so these rules override older
   layout declarations without removing existing features.
===================================================== */

/* Larger hero stage and portrait */
.hero {
    min-height: 760px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
    gap: 34px;
    padding-left: 7%;
    padding-right: 7%;
}

.hero-visual {
    width: 100%;
    height: 700px;
    min-height: 700px;
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.portrait-frame {
    width: min(100%, 590px);
    height: 700px;
    max-height: 82vh;
    min-height: 600px;
    animation: portraitTurn 8s ease-in-out infinite;
    transform-style: preserve-3d;
    transform-origin: center center;
    box-shadow:
        0 28px 75px rgba(0, 0, 0, 0.42),
        0 0 42px rgba(214, 166, 111, 0.12);
}

.portrait-frame img {
    /* Keep the complete portrait visible without cropping */
    object-fit: contain;
    object-position: center;
    background: #f3f3f3;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.portrait-frame .portrait-front {
    transform: rotateY(0deg);
}

.portrait-frame .portrait-back {
    transform: rotateY(180deg) scaleX(-1);
}

/* Gold-lit details around the rotating portrait */
.hero-visual::before {
    content: "";
    position: absolute;
    width: min(74%, 480px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 153, 83, 0.16), transparent 68%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
}

.portrait-frame {
    z-index: 1;
}

.floating-label {
    z-index: 5;
}

/* About profile row */
.about-intro-row {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto 42px;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
    gap: 42px;
}

.about-photo-card {
    width: 100%;
    max-width: 230px;
    padding: 9px;
    border: 1px solid rgba(214, 166, 111, 0.48);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(214, 166, 111, 0.14), rgba(255, 255, 255, 0.025));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-photo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 166, 111, 0.82);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38), 0 0 24px rgba(214, 166, 111, 0.09);
}

.about-photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
}

.about-intro-content {
    min-width: 0;
    padding: 8px 0;
}

.about-intro-label {
    display: inline-block;
    margin-bottom: 13px;
    color: #d6ad72;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
}

.about-intro-content h3 {
    margin: 0 0 16px;
    color: #f5f5f5;
    font-family: "Manrope", sans-serif;
    font-size: clamp(27px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -1.6px;
}

.about-intro-content h3 span {
    color: #b9a17b;
}

.about-intro-content p {
    max-width: 690px;
    margin: 0 0 18px;
    color: #bcbcc4;
    font-size: 14px;
    line-height: 1.95;
}

.about-intro-content .text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #e4c18d;
    font-size: 13px;
    font-weight: 600;
    transition: gap 0.25s ease, color 0.25s ease;
}

.about-intro-content .text-link:hover {
    gap: 14px;
    color: #f4d7a8;
}

/* Three equal, aligned cards */
#about .about-sections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

#about .about-panel {
    height: 100%;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    padding: 29px 25px;
    border: 1px solid rgba(214, 166, 111, 0.22);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(35, 32, 29, 0.96), rgba(19, 19, 21, 0.98));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

#about .about-panel:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 166, 111, 0.66);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.32), 0 0 22px rgba(214, 166, 111, 0.07);
}

#about .about-panel-top {
    min-height: 82px;
    margin-bottom: 18px;
    gap: 12px;
}

#about .about-number {
    color: #c5a36f;
    font-size: 35px;
}

#about .about-kicker {
    color: #f0e7da;
    font-size: 10px;
    letter-spacing: 1.35px;
}

#about .about-panel p {
    flex: 1;
    color: #bdb9b3;
    font-size: 12.5px;
    line-height: 1.9;
}

/* Tablet */
@media (max-width: 1050px) {
    .hero {
        min-height: 700px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 22px;
    }

    .hero-visual {
        height: 620px;
        min-height: 620px;
    }

    .portrait-frame {
        width: min(100%, 520px);
        height: 620px;
        min-height: 560px;
    }

    .about-intro-row {
        gap: 30px;
    }

    #about .about-sections {
        gap: 15px;
    }

    #about .about-panel {
        padding: 25px 20px;
    }
}

/* Mobile layout */
@media (max-width: 800px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 55px;
        padding-bottom: 65px;
    }

    .hero-visual {
        width: 100%;
        max-width: 520px;
        height: 570px;
        min-height: 570px;
        margin: 0 auto;
    }

    .portrait-frame {
        width: min(100%, 480px);
        height: 570px;
        min-height: 0;
    }

    .about-intro-row {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 24px;
    }

    #about .about-sections {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #about .about-panel {
        min-height: 0;
        padding: 25px;
    }

    #about .about-panel-top {
        min-height: 0;
        flex-direction: row;
        align-items: center;
        margin-bottom: 16px;
    }
}

@media (max-width: 560px) {
    .hero-visual {
        height: 480px;
        min-height: 480px;
    }

    .portrait-frame {
        width: min(100%, 390px);
        height: 480px;
    }

    .about-intro-row {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 24px;
        margin-bottom: 30px;
    }

    .about-photo-card {
        width: 190px;
        max-width: 190px;
    }

    .about-intro-content {
        text-align: center;
    }

    .about-intro-content p {
        font-size: 13px;
    }

    #about .about-panel {
        padding: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portrait-frame {
        animation: none !important;
    }

    .about-photo-card,
    #about .about-panel {
        transition: none !important;
    }
}

/* ==========================================
   TABLET ABOUT SECTION — REFINED LAYOUT
   Applies only between 561px and 800px
========================================== */

@media (min-width: 561px) and (max-width: 800px) {

    #about .section-heading {
        text-align: center;
        margin-bottom: 42px;
    }

    .about-intro-row {
        width: 100%;
        max-width: 700px;
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 24px;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .about-photo-card {
        width: 100%;
        max-width: 190px;
        justify-self: center;
    }

    .about-intro-content {
        min-width: 0;
        text-align: left;
    }

    .about-intro-content h3 {
        font-size: clamp(23px, 3.5vw, 30px);
        letter-spacing: -1px;
    }

    .about-intro-content p {
        font-size: 12.5px;
        line-height: 1.85;
        overflow-wrap: break-word;
    }

    #about .about-sections {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
