/* =============================================
   DAWN VARUGHESE – PORTFOLIO
   Elegant Navy & Gold Luxury Theme
   ============================================= */

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

:root {
    --bg: #08081a;
    --bg2: #0d0d24;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-h: rgba(255, 255, 255, 0.065);
    --bdr: rgba(255, 255, 255, 0.06);
    --bdr-h: rgba(212, 175, 85, 0.25);
    --txt: #ededf5;
    --txt2: #9e9eb8;
    --txt3: #5b5b74;
    --gold: #d4af55;
    --gold-l: #e8cc7a;
    --warm: #f0a050;
    --rose: #d4637a;
    --navy: #1e2a4a;
    --grad-g: linear-gradient(135deg, #d4af55 0%, #e8cc7a 50%, #f0a050 100%);
    --grad-n: linear-gradient(135deg, #1e2a4a 0%, #2a3a60 100%);
    --glow-g: 0 0 50px rgba(212, 175, 85, 0.1);
    --r: 14px;
    --r2: 20px;
    --r3: 28px;
    --ff: 'DM Sans', -apple-system, sans-serif;
    --fd: 'Playfair Display', Georgia, serif;
    --t: .35s cubic-bezier(.4, 0, .2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff);
    background: var(--bg);
    color: var(--txt);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

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

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

/* ===== BACKGROUND DÉCOR ===== */
.bg-decor {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 20%, rgba(212, 175, 85, .06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(30, 42, 74, .15) 0%, transparent 60%);
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: .03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.bg-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 85, .06);
    animation: ringDrift 30s ease-in-out infinite;
}

.bg-ring-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -8%;
}

.bg-ring-2 {
    width: 450px;
    height: 450px;
    bottom: 5%;
    left: -6%;
    animation-delay: -15s;
}

@keyframes ringDrift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0)
    }

    50% {
        transform: translate(20px, -20px) rotate(10deg)
    }
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--t);
}

.nav.fixed {
    padding: 10px 0;
    background: rgba(8, 8, 26, .9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bdr);
}

.nav-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--fd);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--grad-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-list a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--txt2);
    transition: var(--t);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--txt);
    background: var(--surface);
}

.nav-accent {
    background: var(--grad-g) !important;
    color: var(--bg) !important;
    font-weight: 600 !important;
}

.nav-accent:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--txt);
    border-radius: 2px;
    transition: var(--t);
}

.menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.menu-btn.open span:nth-child(2) {
    opacity: 0
}

.menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 120px 24px 60px;
}

.hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 55px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.hero-name {
    font-family: var(--fd);
    font-size: clamp(2.6rem, 5.2vw, 4.4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -.01em;
}

.hero-name span {
    display: block;
    background: var(--grad-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.02rem;
    color: var(--txt2);
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 24px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-chips span {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 500;
    background: var(--surface);
    border: 1px solid var(--bdr);
    color: var(--txt2);
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-gold {
    padding: 14px 32px;
    border-radius: var(--r);
    font-weight: 700;
    font-size: .92rem;
    background: var(--grad-g);
    color: var(--bg);
    transition: var(--t);
    box-shadow: 0 4px 24px rgba(212, 175, 85, .18);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 36px rgba(212, 175, 85, .28);
}

.btn-ghost {
    padding: 14px 32px;
    border-radius: var(--r);
    font-weight: 600;
    font-size: .92rem;
    border: 1.5px solid var(--bdr);
    color: var(--txt);
    transition: var(--t);
}

.btn-ghost:hover {
    border-color: var(--gold);
    background: var(--surface);
    transform: translateY(-2px);
}

/* Hero image */
.hero-col-img {
    display: flex;
    justify-content: center;
    position: relative;
}

.img-container {
    width: 290px;
    height: 290px;
    position: relative;
}

.img-profile {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 3px solid var(--bg);
    background: var(--bg2);
}

.img-frame {
    position: absolute;
    inset: -7px;
    border-radius: 28px;
    background: var(--grad-g);
    z-index: 1;
    opacity: .7;
}

.fly {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 18px;
    border-radius: var(--r);
    background: rgba(8, 8, 26, .92);
    backdrop-filter: blur(14px);
    border: 1px solid var(--bdr);
    z-index: 3;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
    animation: flyFloat 5s ease-in-out infinite;
}

.fly-num {
    font-family: var(--fd);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold);
}

.fly-txt {
    font-size: .62rem;
    color: var(--txt3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fly-1 {
    top: 0;
    right: -5%;
    animation-delay: 0s;
}

.fly-2 {
    bottom: 15%;
    left: -8%;
    animation-delay: -2s;
}

.fly-3 {
    bottom: -8%;
    right: 8%;
    animation-delay: -3.5s;
}

@keyframes flyFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

.hero-scroll {
    margin-top: auto;
    padding-top: 32px;
    display: flex;
    justify-content: center;
}

.scroll-bar {
    width: 24px;
    height: 40px;
    border: 2px solid var(--txt3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-thumb {
    width: 4px;
    height: 10px;
    background: var(--gold);
    border-radius: 4px;
    animation: sThumb 2s ease-in-out infinite;
}

@keyframes sThumb {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1
    }

    50% {
        transform: translateY(10px);
        opacity: .3
    }
}

/* ===== SECTIONS ===== */
.sec {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.sec-dark {
    background: rgba(255, 255, 255, .012);
}

.sec-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--txt3);
    margin-bottom: 8px;
}

.sec-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 10px;
    background: var(--grad-g);
    color: var(--bg);
    font-size: .7rem;
    font-weight: 800;
}

.sec-title {
    font-family: var(--fd);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 48px;
    letter-spacing: -.01em;
}

/* ===== ABOUT ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text p {
    color: var(--txt2);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 14px;
}

.about-text strong {
    color: var(--txt);
}

.about-side {
    background: var(--surface);
    border: 1px solid var(--bdr);
    border-radius: var(--r2);
    padding: 28px;
    backdrop-filter: blur(10px);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--bdr);
}

.detail-row:last-child {
    border-bottom: none;
}

.dr-label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--txt3);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.dr-val {
    font-size: .88rem;
    font-weight: 600;
    color: var(--txt);
    text-align: right;
}

/* ===== EXPERIENCE ===== */
.exp-block {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 36px;
    margin-bottom: 36px;
    position: relative;
}

.exp-sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 4px;
    position: relative;
}

.exp-date {
    font-size: .8rem;
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
    text-align: right;
}

.exp-line {
    width: 2px;
    flex: 1;
    margin-top: 12px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    border-radius: 2px;
}

.exp-body {
    padding: 32px;
    border-radius: var(--r2);
    background: var(--surface);
    border: 1px solid var(--bdr);
    backdrop-filter: blur(10px);
    transition: var(--t);
}

.exp-body:hover {
    background: var(--surface-h);
    border-color: var(--bdr-h);
    box-shadow: var(--glow-g);
}

.exp-heading {
    margin-bottom: 16px;
}

.exp-heading h3 {
    font-family: var(--fd);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.exp-sub {
    font-size: .88rem;
    color: var(--txt2);
    font-weight: 500;
}

.exp-co {
    font-size: .82rem;
    color: var(--txt3);
    margin-top: 2px;
}

.exp-now {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 14px;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(212, 175, 85, .12);
    color: var(--gold);
}

.exp-ul {
    margin-top: 4px;
}

.exp-ul li {
    position: relative;
    padding-left: 18px;
    font-size: .88rem;
    color: var(--txt2);
    line-height: 1.75;
    margin-bottom: 7px;
}

.exp-ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.exp-ul strong {
    color: var(--txt);
    font-weight: 600;
}

.exp-achievements {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exp-ach {
    padding: 10px 16px;
    border-radius: var(--r);
    background: rgba(212, 175, 85, .06);
    border: 1px solid rgba(212, 175, 85, .12);
    font-size: .82rem;
    color: var(--gold-l);
    font-weight: 500;
}

/* ===== STRENGTHS ===== */
.str-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.str-card {
    padding: 28px 22px;
    border-radius: var(--r2);
    background: var(--surface);
    border: 1px solid var(--bdr);
    backdrop-filter: blur(10px);
    transition: var(--t);
}

.str-card:hover {
    background: var(--surface-h);
    transform: translateY(-5px);
    box-shadow: var(--glow-g);
    border-color: var(--bdr-h);
}

.str-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 85, .1), rgba(30, 42, 74, .15));
    color: var(--gold);
    margin-bottom: 14px;
}

.str-card h3 {
    font-family: var(--fd);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.str-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.str-tags span {
    padding: 5px 12px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 500;
    background: rgba(212, 175, 85, .06);
    border: 1px solid rgba(212, 175, 85, .1);
    color: var(--txt2);
    transition: var(--t);
}

.str-tags span:hover {
    background: rgba(212, 175, 85, .14);
    color: var(--txt);
}

/* ===== EDUCATION ===== */
.edu-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.edu-card {
    padding: 36px 28px;
    border-radius: var(--r2);
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--bdr);
    backdrop-filter: blur(10px);
    transition: var(--t);
}

.edu-card:hover {
    background: var(--surface-h);
    transform: translateY(-4px);
    box-shadow: var(--glow-g);
}

.edu-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 16px;
    background: var(--grad-g);
    color: var(--bg);
    font-family: var(--fd);
    font-size: 1.1rem;
    font-weight: 900;
}

.edu-card h3 {
    font-family: var(--fd);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.edu-card h4 {
    font-size: .92rem;
    font-weight: 500;
    color: var(--txt2);
    margin-bottom: 6px;
}

.edu-card p {
    font-size: .82rem;
    color: var(--txt3);
    margin-bottom: 14px;
}

.edu-gpa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 20px;
    background: rgba(212, 175, 85, .08);
    border-radius: 100px;
    font-size: .85rem;
}

.edu-gpa span {
    color: var(--txt3);
    font-weight: 500;
}

.edu-gpa strong {
    color: var(--gold);
    font-weight: 700;
}

.cert-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.cert-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--bdr);
    font-size: .85rem;
    font-weight: 600;
    color: var(--txt);
    transition: var(--t);
}

.cert-chip:hover {
    background: var(--surface-h);
    border-color: var(--bdr-h);
}

.cert-chip svg {
    color: var(--gold);
    flex-shrink: 0;
}

.cert-tag {
    padding: 2px 10px;
    border-radius: 100px;
    font-size: .65rem;
    font-weight: 700;
    background: rgba(212, 175, 85, .12);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ===== AWARDS ===== */
.award-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.award-tile {
    padding: 36px 24px;
    border-radius: var(--r2);
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--bdr);
    backdrop-filter: blur(10px);
    transition: var(--t);
}

.award-tile:hover {
    background: var(--surface-h);
    transform: translateY(-6px);
    box-shadow: var(--glow-g);
    border-color: var(--bdr-h);
}

.at-emoji {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.award-tile h3 {
    font-family: var(--fd);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.award-tile p {
    font-size: .82rem;
    color: var(--txt3);
}

/* ===== CONTACT ===== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cc {
    padding: 36px 24px;
    border-radius: var(--r2);
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--bdr);
    backdrop-filter: blur(10px);
    transition: var(--t);
    cursor: default;
}

a.cc {
    cursor: pointer;
}

.cc:hover {
    background: var(--surface-h);
    transform: translateY(-5px);
    box-shadow: var(--glow-g);
    border-color: var(--bdr-h);
}

.cc-ic {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 85, .1), rgba(30, 42, 74, .1));
    color: var(--gold);
}

.cc h3 {
    font-family: var(--fd);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cc p {
    font-size: .82rem;
    color: var(--txt3);
    word-break: break-word;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid var(--bdr);
}

.ft-name {
    font-family: var(--fd);
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--grad-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ft-sub {
    color: var(--txt3);
    font-size: .82rem;
    margin-top: 3px;
}

.ft-rule {
    width: 40px;
    height: 2px;
    background: var(--bdr);
    margin: 18px auto;
}

.ft-copy {
    font-size: .72rem;
    color: var(--txt3);
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--t), transform .7s var(--t);
}

.fade-up.vis {
    opacity: 1;
    transform: translateY(0);
}

.fade-up.d1 {
    transition-delay: .1s;
}

.fade-up.d2 {
    transition-delay: .2s;
}

.fade-up.d3 {
    transition-delay: .3s;
}

.fade-up.d4 {
    transition-delay: .4s;
}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-col-img {
        order: -1;
    }

    .hero-tagline {
        margin: 0 auto 24px;
    }

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

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

    .img-container {
        width: 240px;
        height: 240px;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

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

    .exp-block {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .exp-sidebar {
        align-items: flex-start;
        flex-direction: row;
        gap: 12px;
    }

    .exp-line {
        display: none;
    }
}

@media(max-width:768px) {
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: rgba(8, 8, 26, .96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 40px;
        transition: right .4s var(--t);
        border-left: 1px solid var(--bdr);
    }

    .nav-list.open {
        right: 0;
    }

    .menu-btn {
        display: flex;
        z-index: 1001;
    }

    .sec {
        padding: 70px 0;
    }

    .hero {
        padding: 100px 20px 40px;
    }

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

    .edu-row {
        grid-template-columns: 1fr;
    }

    .award-strip {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .cert-row {
        flex-direction: column;
        align-items: stretch;
    }

    .exp-body {
        padding: 24px 20px;
    }
}

@media(max-width:480px) {
    .hero-name {
        font-size: 2.2rem;
    }

    .fly-2 {
        left: -2%;
    }

    .img-container {
        width: 200px;
        height: 200px;
    }
}

::selection {
    background: rgba(212, 175, 85, .25);
    color: #fff;
}