/* Global Styles — Anti-gravity / zero-G theme */
:root {
    --primary-color: #38bdf8;
    --secondary-color: #3b82f6;
    --accent-color: #fb923c;
    --light-color: rgba(241, 245, 249, 0.08);
    --dark-color: #020617;
    --text-color: #cbd5e1;
    --heading-color: #f1f5f9;
    --surface: rgba(15, 23, 42, 0.55);
    --surface-border: rgba(56, 189, 248, 0.14);
    --border-radius: 14px;
    --box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.06);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-blur: blur(18px);
}

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

.site-root {
    position: relative;
    z-index: 1;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(56, 189, 248, 0.12), transparent 50%),
        radial-gradient(ellipse 80% 50% at 100% 50%, rgba(59, 130, 246, 0.08), transparent 45%),
        linear-gradient(180deg, #030712 0%, #0f172a 35%, #020617 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .hero-monogram-float,
    .hero-monogram,
    header h1,
    header .subtitle {
        animation: none !important;
        -webkit-animation: none !important;
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.3;
}

ul {
    list-style: none;
}

/* Header */
header {
    background: linear-gradient(145deg, #0c1222 0%, #1a2744 42%, #0d1829 100%);
    color: white;
    text-align: center;
    padding: 110px 0 90px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
    min-height: min(72vh, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Float wrapper: WebKit ignores transform animation on gradient text + filter — animate this layer only */
.hero-monogram-float {
    position: absolute;
    left: 50%;
    top: 50%;
    width: max-content;
    max-width: min(100%, 100vw);
    pointer-events: none;
    -webkit-animation: hero-ag-monogram 5.5s ease-in-out infinite;
    animation: hero-ag-monogram 5.5s ease-in-out infinite;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-monogram {
    display: block;
    position: relative;
    font-size: clamp(8rem, 46vw, 28rem);
    font-weight: 800;
    line-height: 0.82;
    letter-spacing: -0.07em;
    user-select: none;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    pointer-events: none;
    background: linear-gradient(
        168deg,
        rgba(125, 211, 252, 0.95) 0%,
        rgba(56, 189, 248, 0.55) 45%,
        rgba(37, 99, 235, 0.35) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 40px rgba(56, 189, 248, 0.55)) drop-shadow(0 0 80px rgba(59, 130, 246, 0.35));
}

@supports not (background-clip: text) {
    .hero-monogram {
        color: rgba(125, 211, 252, 0.45);
        -webkit-text-fill-color: unset;
        background: none;
        filter: none;
        text-shadow: 0 0 40px rgba(56, 189, 248, 0.5), 0 0 80px rgba(59, 130, 246, 0.3);
    }
}

@-webkit-keyframes hero-ag-monogram {
    0%, 100% {
        -webkit-transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(0deg);
        transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(0deg);
    }
    20% {
        -webkit-transform: translate(-50%, -50%) translate3d(14px, -32px, 0) rotate(1.2deg);
        transform: translate(-50%, -50%) translate3d(14px, -32px, 0) rotate(1.2deg);
    }
    45% {
        -webkit-transform: translate(-50%, -50%) translate3d(-12px, -18px, 0) rotate(-1deg);
        transform: translate(-50%, -50%) translate3d(-12px, -18px, 0) rotate(-1deg);
    }
    70% {
        -webkit-transform: translate(-50%, -50%) translate3d(8px, -40px, 0) rotate(0.7deg);
        transform: translate(-50%, -50%) translate3d(8px, -40px, 0) rotate(0.7deg);
    }
}

@keyframes hero-ag-monogram {
    0%, 100% {
        -webkit-transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(0deg);
        transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(0deg);
    }
    20% {
        -webkit-transform: translate(-50%, -50%) translate3d(14px, -32px, 0) rotate(1.2deg);
        transform: translate(-50%, -50%) translate3d(14px, -32px, 0) rotate(1.2deg);
    }
    45% {
        -webkit-transform: translate(-50%, -50%) translate3d(-12px, -18px, 0) rotate(-1deg);
        transform: translate(-50%, -50%) translate3d(-12px, -18px, 0) rotate(-1deg);
    }
    70% {
        -webkit-transform: translate(-50%, -50%) translate3d(8px, -40px, 0) rotate(0.7deg);
        transform: translate(-50%, -50%) translate3d(8px, -40px, 0) rotate(0.7deg);
    }
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(56,189,248,0.08)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,133.3C672,139,768,181,864,197.3C960,213,1056,203,1152,170.7C1248,139,1344,85,1392,58.7L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 0.85;
    pointer-events: none;
}

header::after {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    width: 120%;
    height: 80%;
    z-index: 0;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.15), transparent 70%);
    pointer-events: none;
}

.header-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    isolation: isolate;
}

header h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 6px;
    color: white;
    position: relative;
    text-shadow: 0 2px 4px rgba(2, 6, 23, 0.85), 0 4px 32px rgba(56, 189, 248, 0.35);
    letter-spacing: -0.02em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* .fadeInUp uses transform — would override float; use opacity-only entrance + anti-gravity */
header h1.fadeInUp {
    -webkit-animation: header-fade-in 0.6s ease-out forwards, ag-float-title 6s ease-in-out 0.65s infinite;
    animation: header-fade-in 0.6s ease-out forwards, ag-float-title 6s ease-in-out 0.65s infinite;
}

header .header-pronouns {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(186, 230, 253, 0.75);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 6px rgba(2, 6, 23, 0.6);
}

header .header-meta {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 400;
    color: rgba(226, 232, 240, 0.82);
    margin-top: 14px;
    line-height: 1.5;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(2, 6, 23, 0.65);
}

header .subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    opacity: 0.92;
    font-weight: 300;
    position: relative;
    color: #bae6fd;
    text-shadow: 0 2px 8px rgba(2, 6, 23, 0.75), 0 0 40px rgba(56, 189, 248, 0.25);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

header .subtitle.fadeInUp {
    -webkit-animation: header-fade-in-subtitle 0.6s ease-out forwards, ag-float-subtitle 6.5s ease-in-out 0.65s infinite;
    animation: header-fade-in-subtitle 0.6s ease-out forwards, ag-float-subtitle 6.5s ease-in-out 0.65s infinite;
}

@keyframes header-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@-webkit-keyframes header-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes header-fade-in-subtitle {
    from { opacity: 0; }
    to { opacity: 0.92; }
}

@-webkit-keyframes header-fade-in-subtitle {
    from { opacity: 0; }
    to { opacity: 0.92; }
}

@-webkit-keyframes ag-float-title {
    0%, 100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    33% { -webkit-transform: translate3d(0, -10px, 0); transform: translate3d(0, -10px, 0); }
    66% { -webkit-transform: translate3d(0, -4px, 0); transform: translate3d(0, -4px, 0); }
}

@keyframes ag-float-title {
    0%, 100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    33% { -webkit-transform: translate3d(0, -10px, 0); transform: translate3d(0, -10px, 0); }
    66% { -webkit-transform: translate3d(0, -4px, 0); transform: translate3d(0, -4px, 0); }
}

@-webkit-keyframes ag-float-subtitle {
    0%, 100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    50% { -webkit-transform: translate3d(0, -8px, 0); transform: translate3d(0, -8px, 0); }
}

@keyframes ag-float-subtitle {
    0%, 100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    50% { -webkit-transform: translate3d(0, -8px, 0); transform: translate3d(0, -8px, 0); }
}

/* Navigation */
#navbar {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid var(--surface-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

#navbar ul {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

#navbar li {
    margin: 0 15px;
}

#navbar a {
    color: #e2e8f0;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

#navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

#navbar a:hover::after, #navbar a.active::after {
    width: 80%;
}

#navbar a:hover, #navbar a.active {
    color: var(--secondary-color);
}

/* Main Content */
main {
    padding: 30px 0;
}

.section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-info {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--surface-border);
    border-top: 4px solid var(--primary-color);
}

.profile-info:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.profile-info h3 {
    color: var(--heading-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.profile-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 3px;
    background-color: var(--secondary-color);
}

.profile-info > p + p {
    margin-top: 1.1rem;
}

.contact-info, .social-links, .languages {
    margin-top: 30px;
}

.contact-info p, .social-links a {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i, .social-links i {
    margin-right: 15px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
    font-size: 1.2rem;
}

.social-links a {
    display: inline-flex;
    margin-right: 20px;
    font-weight: 600;
    padding: 10px 15px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: #e2e8f0;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-color: transparent;
}

.languages h4 {
    margin-bottom: 15px;
    color: var(--heading-color);
}

/* Education Section */
.education-item {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--surface-border);
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.education-item:hover {
    transform: translateY(-5px);
}

.education-item h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.institution, .period, .location {
    margin-bottom: 10px;
}

.institution {
    font-weight: 600;
    font-size: 1.1rem;
}

.period, .location {
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.period::before, .location::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--secondary-color);
}

.period::before {
    content: '\f073'; /* calendar icon */
}

.location::before {
    content: '\f3c5'; /* map marker icon */
}

.education-focus {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
}

/* Certifications */
.certifications-list {
    max-width: 800px;
    margin: 0 auto;
}

.cert-item {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--surface-border);
}

.cert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color), var(--secondary-color));
}

.cert-item:hover {
    transform: translateY(-5px);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: rgba(251, 146, 60, 0.12);
    border: 1px solid rgba(251, 146, 60, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.8rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cert-item h3 {
    color: var(--heading-color);
    font-size: 1.35rem;
    margin-bottom: 12px;
    line-height: 1.35;
}

.cert-issuer {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.cert-meta,
.cert-id {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.cert-id {
    font-family: ui-monospace, monospace;
    font-size: 0.85rem;
}

/* Experience Section */
.experience-item {
    overflow: hidden;
}

.experience-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--accent-color);
}

.experience-item:hover {
    transform: translateY(-5px);
}

.experience-item h3 {
    color: var(--heading-color);
    font-size: 1.8rem;
}

.experience-item .period, .experience-item .description {
    margin-bottom: 15px;
}

.experience-item .description {
    font-weight: 600;
    color: var(--secondary-color);
}

.experience-item ul {
    padding-left: 20px;
    list-style-type: none;
}

.experience-item li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.experience-item li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Projects Section */
.project-item {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
    transition: var(--transition);
    border: 1px solid var(--surface-border);
    border-top: 4px solid var(--accent-color);
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.project-item h3 {
    color: var(--heading-color);
    font-size: 1.8rem;
}

.project-type {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.project-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    color: white;
}

.project-link i {
    margin-left: 8px;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--surface-border);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category--featured::before {
    background: linear-gradient(to right, var(--accent-color), var(--primary-color), var(--secondary-color));
}

.skill-category--featured .skill-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.skill-category h3 {
    color: var(--heading-color);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skills-list li {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.15);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    color: #e2e8f0;
}

.skills-list li:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
    border-color: transparent;
}

/* Hobbies Section */
.hobbies-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.hobby-item {
    text-align: center;
    width: 150px;
    padding: 25px 15px;
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--surface-border);
}

.hobby-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.hobby-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.hobby-item:hover i {
    color: var(--accent-color);
    transform: scale(1.2);
}

.hobby-item p {
    font-weight: 600;
    color: var(--heading-color);
}

/* Footer */
footer {
    background: linear-gradient(145deg, #020617 0%, #0f172a 50%, #020617 100%);
    color: white;
    text-align: center;
    padding: 36px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(56, 189, 248, 0.12);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" fill-opacity="1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,202.7C672,203,768,181,864,181.3C960,181,1056,203,1152,208C1248,213,1344,203,1392,197.3L1440,192L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: top;
}

footer p {
    position: relative;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 80px 0 56px;
        min-height: min(62vh, 500px);
    }

    .hero-monogram {
        font-size: clamp(5.5rem, 44vw, 17rem);
        letter-spacing: -0.06em;
    }

    .hero-monogram-float {
        -webkit-animation-duration: 4.8s;
        animation-duration: 4.8s;
    }

    header h1 {
        font-size: 2.5rem;
    }
    
    header .subtitle {
        font-size: 1.2rem;
    }
    
    #navbar ul {
        flex-direction: column;
        align-items: center;
    }
    
    #navbar li {
        margin: 5px 0;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .project-item, .experience-item, .education-item, .cert-item, .profile-info, .skill-category {
        padding: 25px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .profile-info {
        flex: 1;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.25);
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    filter: brightness(1.1);
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(56, 189, 248, 0.5);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #030712;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(56, 189, 248, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
} 

/* Language level bars */
.language-item {
    margin-bottom: 15px;
}

.language-item span {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.language-level {
    height: 8px;
    background: rgba(148, 163, 184, 0.15);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.level-bar {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 4px;
}

.level-text {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Education icon */
.education-icon {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.8rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Timeline for experience */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.35), rgba(59, 130, 246, 0.15));
    left: 30px;
    margin-left: -2px;
    border-radius: 4px;
}

.experience-date {
    position: absolute;
    width: auto;
    min-width: 140px;
    left: -190px;
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--box-shadow);
    text-align: center;
    white-space: nowrap;
}

.experience-item {
    margin-left: 30px;
    position: relative;
    margin-bottom: 50px;
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--surface-border);
}

.experience-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-color);
    left: -40px;
    top: 20px;
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.2);
}

/* Projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.project-tech span {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #cbd5e1;
}

/* Skill icon */
.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Social links in footer */
.social-links-footer {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links-footer a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.social-links-footer a:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Profile Image */
.profile-image {
    flex: 0 0 300px;
    margin-right: 30px;
    margin-bottom: 30px;
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--box-shadow), 0 0 0 1px rgba(56, 189, 248, 0.15);
    transition: var(--transition);
    border: 3px solid rgba(56, 189, 248, 0.35);
}

.profile-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
    }
    
    .profile-image {
        margin-right: 0;
        max-width: 300px;
        margin: 0 auto 30px;
    }
}

/* Responsive adjustments for timeline */
@media (max-width: 768px) {
    .timeline {
        padding-left: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .experience-item {
        margin-left: 40px;
        padding: 25px;
    }
    
    .experience-item::before {
        left: -30px;
    }
    
    .experience-date {
        position: relative;
        left: 0;
        width: auto;
        margin-bottom: 15px;
        display: inline-block;
        white-space: normal;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
} 

/* Experience content */
.experience-content {
    position: relative;
    z-index: 2;
}

.experience-content h3 {
    color: var(--heading-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.experience-content .description {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.experience-meta {
    font-size: 0.92rem;
    color: #94a3b8;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.experience-meta i {
    color: var(--secondary-color);
}

.experience-summary {
    margin-top: 1rem;
    line-height: 1.75;
    color: #cbd5e1;
} 