
/* =========================================
   AKHIRANANDH — PREMIUM PORTFOLIO
========================================= */

:root {
    --bg: #090a13;
    --bg-soft: #10121e;
    --card: rgba(18, 20, 33, 0.75);
    --red: #ff3935;
    --orange: #ff7949;
    --gold: #ffb477;
    --white: #f7f7fa;
    --muted: #a7a9b7;
    --border: rgba(255, 255, 255, 0.09);
    --font: "DM Sans", sans-serif;
    --display: "Space Grotesk", sans-serif;
}

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

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

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font);
    overflow-x: hidden;
}

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

::selection {
    background: var(--red);
    color: white;
}


/* BACKGROUND */

.ambient-background {
    position: fixed;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 48, 46, .055), transparent 36%),
        radial-gradient(circle at 15% 70%, rgba(255, 113, 60, .035), transparent 35%),
        var(--bg);
}

#particle-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: .28;
}


/* LOADER */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #090a13;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transition: opacity .7s ease, visibility .7s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font: 700 52px var(--display);
    letter-spacing: -4px;
}

.loader-logo span,
.logo span {
    color: var(--red);
}

.loader-line {
    width: 180px;
    height: 2px;
    background: rgba(255,255,255,.12);
    overflow: hidden;
}

.loader-line span {
    display: block;
    height: 100%;
    width: 45%;
    background: linear-gradient(90deg, var(--red), var(--gold));
    animation: loaderMove 1.1s ease-in-out infinite;
}

.page-loader p {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 3px;
}

@keyframes loaderMove {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(330%); }
}


/* NAVIGATION */

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 82px;
    display: flex;
    align-items: center;
    background: rgba(7, 8, 18, .78);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    transition: .3s ease;
}

.navbar.scrolled {
    height: 70px;
    background: rgba(7, 8, 18, .95);
    border-color: var(--border);
}

.nav-container {
    width: min(1450px, 92%);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font: 700 27px var(--display);
    letter-spacing: -1.5px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.8vw, 28px);
}

.nav-links a {
    position: relative;
    color: #c7c8d1;
    font-size: 13px;
    font-weight: 600;
    transition: color .25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--orange));
    transition: width .3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

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

.nav-socials {
    display: flex;
    gap: 9px;
}

.nav-socials a {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    transition: .3s ease;
}

.nav-socials a:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 6px;
    transition: .3s ease;
}


/* HERO */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 850px;
    height: 100vh;
    max-height: 1100px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px max(7%, calc((100% - 1450px)/2));
    background:
        radial-gradient(ellipse at 78% 48%, rgba(255, 75, 45, .075), transparent 38%),
        #090a13;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .07;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 65px 65px;
}

.hero-glow {
    position: absolute;
    z-index: -1;
    width: 650px;
    height: 650px;
    right: 6%;
    top: 10%;
    border-radius: 50%;
    background: rgba(255, 45, 30, .09);
    filter: blur(155px);
    animation: glowPulse 7s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes glowPulse {
    from { transform: scale(.9); opacity: .4; }
    to { transform: scale(1.08); opacity: .75; }
}


/* HERO CONTENT */

.hero-content {
    position: relative;
    z-index: 5;
    width: 54%;
    max-width: 720px;
    padding-bottom: 35px;
    animation: heroTextIn 1s .2s both;
}

@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.tag-line {
    width: 35px;
    height: 2px;
    background: var(--orange);
}

.hero-title {
    font: 700 clamp(46px, 5vw, 70px)/1.06 var(--display);
    letter-spacing: -3px;
}

.hero-name {
    display: block;
    margin-top: 5px;
    background: linear-gradient(100deg, #ff3935, #ff7049 60%, #ffad6d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-role {
    margin-top: 26px;
    color: #f2f0f5;
    font-size: clamp(14px, 1.25vw, 17px);
    font-weight: 600;
    line-height: 1.8;
}

.hero-role span {
    color: var(--orange);
    padding: 0 5px;
}

.hero-description {
    max-width: 520px;
    margin-top: 18px;
    color: #b7b8c4;
    font-size: 15px;
    line-height: 1.9;
}


/* BUTTONS */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.primary-button,
.secondary-button {
    min-height: 54px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.primary-button {
    color: white;
    border: 1px solid #ff634a;
    background: linear-gradient(110deg, #ff3935, #d91e2b);
    box-shadow: 0 5px 22px rgba(255, 48, 46, .15);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 45, 35, .3);
}

.secondary-button {
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.015);
}

.secondary-button:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-3px);
}

.button-arrow {
    font-size: 18px;
    transition: transform .3s ease;
}

.primary-button:hover .button-arrow,
.secondary-button:hover .button-arrow {
    transform: translateX(4px);
}


/* STATS */

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 42px;
}

.stat-item {
    min-width: 100px;
    padding-right: 23px;
    border-right: 1px solid rgba(255,255,255,.13);
}

.stat-item:last-child {
    border: 0;
}

.stat-item h3 {
    color: var(--orange);
    font: 700 29px var(--display);
}

.stat-item p {
    color: #b7b8c4;
    font-size: 12px;
    margin-top: 4px;
}


/* PORTRAIT */

.hero-visual {
    position: absolute;
    z-index: 3;
    right: 5%;
    top: 50%;
    width: min(50vw, 700px);
    height: min(82vh, 790px);
    transform: translateY(-47%);
    display: grid;
    place-items: center;
    pointer-events: none;
}

.portrait-aura {
    position: absolute;
    width: 65%;
    height: 65%;
    border-radius: 50%;
    background: rgba(255, 60, 30, .13);
    filter: blur(100px);
    animation: auraPulse 6s ease-in-out infinite alternate;
}

@keyframes auraPulse {
    from { opacity: .35; transform: scale(.9); }
    to { opacity: .7; transform: scale(1.08); }
}

.portrait-image-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 4;
}

.hero-portrait {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 0 25px rgba(255, 85, 50, .09));
    animation: portraitReveal 1.5s .3s both, portraitFloat 8s 2s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes portraitReveal {
    from { opacity: 0; transform: translateY(35px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes portraitFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
}


/* SUBTLE HUD RINGS */

.hud-ring {
    position: absolute;
    left: 50%;
    top: 43%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ring-one {
    width: 67%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 75, 40, .48);
    border-left-color: transparent;
    border-bottom-color: rgba(255, 75, 40, .12);
    box-shadow: 0 0 18px rgba(255, 65, 35, .1);
    animation: ringRotate 32s linear infinite;
}

.ring-two {
    width: 57%;
    aspect-ratio: 1;
    border: 1px dashed rgba(255, 115, 65, .30);
    animation: ringRotate 45s linear infinite reverse;
}

@keyframes ringRotate {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}


/* FLOATING LABELS */

.tech-label {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #f5f1f4;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(255, 112, 75, .28);
    border-radius: 10px;
    background: rgba(12, 13, 24, .68);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
    animation: labelFloat 7s ease-in-out infinite;
}

.tech-icon {
    color: var(--orange);
    font-size: 19px;
    font-weight: 700;
}

.label-one {
    top: 27%;
    right: 3%;
}

.label-two {
    top: 66%;
    right: 0;
    animation-delay: -3s;
}

@keyframes labelFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.portrait-caption {
    position: absolute;
    bottom: 7%;
    right: 20%;
    z-index: 7;
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--gold);
}

.caption-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--orange);
}


/* SCROLL INDICATOR */

.scroll-indicator {
    position: absolute;
    z-index: 7;
    bottom: 22px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 2px;
}

.scroll-mouse {
    width: 19px;
    height: 30px;
    border: 1px solid var(--orange);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-mouse span {
    width: 3px;
    height: 7px;
    border-radius: 5px;
    background: var(--orange);
    animation: scrollMove 1.3s infinite;
}

@keyframes scrollMove {
    to { transform: translateY(9px); opacity: 0; }
}


/* GENERAL SECTIONS */

.section {
    position: relative;
    z-index: 2;
    width: min(1250px, 88%);
    margin: auto;
    padding: 110px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .035);
}

.section-heading {
    text-align: center;
    margin-bottom: 52px;
}

.section-kicker {
    color: var(--orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

.section-heading h2 {
    margin-top: 13px;
    font: 700 clamp(34px, 4vw, 48px) var(--display);
    letter-spacing: -1.5px;
}

.section-heading h2 span {
    color: var(--orange);
}

.section-heading > p {
    margin-top: 13px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.glass-card {
    border: 1px solid var(--border);
    background: linear-gradient(140deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
    backdrop-filter: blur(12px);
    border-radius: 16px;
}


/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 22px;
}

.about-main,
.about-side {
    padding: 36px;
}

.card-index {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 700;
}

.about-main h3,
.about-side h3 {
    margin: 24px 0 17px;
    font: 600 26px var(--display);
}

.about-main p,
.about-side p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    margin-top: 12px;
}

.about-symbol {
    margin-top: 26px;
    color: var(--orange);
    font: 700 55px var(--display);
}


/* PROJECTS */

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

.project-card {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 16px;
    background: rgba(15, 17, 29, .78);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    transform-style: preserve-3d;
}

.project-card:hover {
    border-color: rgba(255, 105, 70, .35);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .2);
    transform: translateY(-6px);
}

.project-top {
    display: flex;
    justify-content: space-between;
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 2px;
}

.project-art {
    height: 145px;
    margin: 20px 0;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font: 700 62px var(--display);
    letter-spacing: -5px;
    color: rgba(255,255,255,.9);
}

.art-one { background: radial-gradient(circle at 50% 50%, #54202a, #161020 75%); }
.art-two { background: radial-gradient(circle at 50% 50%, #173b4d, #101522 75%); }
.art-three { background: radial-gradient(circle at 50% 50%, #422b56, #151020 75%); }
.art-four { background: radial-gradient(circle at 50% 50%, #52391f, #151020 75%); }

.project-card h3 {
    font: 600 20px var(--display);
    margin-bottom: 12px;
}

.project-card > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 21px;
}

.project-tags span {
    color: #ffb18a;
    background: rgba(255, 75, 40, .07);
    border: 1px solid rgba(255, 100, 55, .17);
    border-radius: 30px;
    padding: 7px 11px;
    font-size: 10px;
}


/* EXPERIENCE */

.timeline {
    max-width: 850px;
    margin: auto;
    padding-left: 28px;
    border-left: 1px solid rgba(255, 100, 55, .35);
}

.timeline-item {
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: -35px;
    top: 35px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 15px rgba(255, 70, 40, .5);
}

.timeline-card {
    padding: 34px;
}

.timeline-date {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 2px;
}

.timeline-card h3 {
    font: 600 22px var(--display);
    margin: 17px 0 7px;
}

.timeline-card h4 {
    color: var(--orange);
    font-weight: 500;
}

.timeline-card p,
.timeline-card li {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.timeline-card p {
    margin-top: 16px;
}

.timeline-card ul {
    padding-left: 20px;
    margin-top: 14px;
}


/* EDUCATION */

.education-card {
    max-width: 850px;
    margin: auto;
    padding: 34px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.education-year {
    color: var(--orange);
    font: 600 17px var(--display);
    white-space: nowrap;
}

.education-card h3 {
    font: 600 23px var(--display);
}

.education-card h4 {
    margin-top: 8px;
    color: var(--orange);
    font-weight: 500;
}

.education-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.education-status {
    display: inline-block;
    margin-top: 18px;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
}


/* ACHIEVEMENTS */

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.achievement-card {
    padding: 28px;
    transition: .3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 100, 55, .35);
}

.achievement-card > span {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 2px;
}

.achievement-card h3 {
    margin: 17px 0 9px;
    font: 600 19px var(--display);
}

.achievement-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}


/* SKILLS */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.skill-card {
    padding: 25px;
    transition: .3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 100, 55, .35);
}

.skill-symbol {
    color: var(--orange);
    font: 700 29px var(--display);
}

.skill-card h3 {
    margin-top: 17px;
    font: 600 17px var(--display);
}

.skill-card p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}


/* CONTACT */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 22px;
}

.contact-info,
.contact-form-container {
    padding: 32px;
}

.contact-info h3 {
    margin-top: 27px;
    font: 600 25px var(--display);
    line-height: 1.4;
}

.contact-info p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    margin-top: 17px;
}

.contact-accent {
    margin-top: 35px;
    font: 700 55px var(--display);
    color: white;
}

.contact-accent span {
    color: var(--red);
}

.contact-form p {
    margin-bottom: 17px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #d7d7df;
    font-size: 12px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    display: block;
    width: 100%;
    padding: 13px 14px;
    color: white;
    background: rgba(0,0,0,.22);
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    transition: border .25s ease, box-shadow .25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 15px rgba(255, 80, 40, .1);
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form .primary-button {
    border: 0;
    cursor: pointer;
}

.success-message {
    margin-bottom: 20px;
    padding: 13px;
    color: #a8f0c2;
    background: rgba(40, 180, 100, .1);
    border: 1px solid rgba(40, 180, 100, .3);
    border-radius: 9px;
    font-size: 13px;
}


/* FOOTER */

.footer {
    position: relative;
    z-index: 2;
    padding: 45px 6%;
    text-align: center;
    border-top: 1px solid var(--border);
    background: rgba(5,6,14,.6);
}

.footer p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
}

.footer .copyright {
    margin-top: 20px;
    font-size: 10px;
}


/* SCROLL REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* RESPONSIVE */

@media (max-width: 1100px) {
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 11px; }
    .hero-visual { right: 0; width: 52vw; }
    .hero-content { width: 55%; }
}

@media (max-width: 850px) {
    .navbar { height: 72px; }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .nav-socials { display: none; }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 22px 6%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 23px;
        background: rgba(8,9,20,.98);
        border-bottom: 1px solid var(--border);
    }

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

    .hero {
        height: auto;
        min-height: 1050px;
        padding: 125px 7% 80px;
        align-items: flex-start;
    }

    .hero-content {
        width: 100%;
        max-width: 650px;
    }

    .hero-visual {
        position: absolute;
        top: auto;
        bottom: 0;
        right: -3%;
        width: 75%;
        height: 570px;
        transform: none;
        opacity: .9;
    }

    .hero-title {
        font-size: clamp(48px, 10vw, 72px);
    }

    .hero-description { max-width: 480px; }
    .hero-stats { margin-top: 32px; }
    .scroll-indicator { display: none; }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .logo { font-size: 23px; }

    .hero {
        min-height: 1050px;
        padding: 125px 6% 60px;
    }

    .hero-tag {
        font-size: 10px;
        letter-spacing: 3px;
        margin-bottom: 24px;
    }

    .hero-title {
        font-size: 46px;
        letter-spacing: -2px;
    }

    .hero-role {
        font-size: 13px;
        line-height: 1.9;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons { gap: 10px; }

    .primary-button,
    .secondary-button {
        min-height: 49px;
        padding: 0 15px;
        font-size: 12px;
    }

    .hero-stats { gap: 14px; }

    .stat-item {
        min-width: 0;
        padding-right: 13px;
    }

    .stat-item h3 { font-size: 23px; }
    .stat-item p { font-size: 10px; }

    .hero-visual {
        width: 100%;
        height: 520px;
        right: -8%;
        bottom: -5px;
        opacity: .88;
    }

    .tech-label {
        font-size: 9px;
        padding: 8px;
    }

    .tech-icon { font-size: 17px; }

    .label-one { right: 2%; }
    .label-two { right: 0; }

    .portrait-caption { display: none; }

    .section {
        width: 88%;
        padding: 80px 0;
    }

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

    .education-card {
        flex-direction: column;
        gap: 18px;
        padding: 25px;
    }

    .about-main,
    .about-side,
    .contact-info,
    .contact-form-container {
        padding: 24px;
    }

    .timeline-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
