:root {
    /* Refire Palette */
    --bg-ice: #AFDDE5;
    --text-deep-teal: #003135;
    --text-dark-teal: #024950;
    --accent-rust: #964734;
    --accent-cyan: #0FA4AF;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(0, 49, 53, 0.1);
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, #AFDDE5 0%, #ffffff 100%);
    color: var(--text-deep-teal);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.glass:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 49, 53, 0.2);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px !important;
}

nav a {
    text-decoration: none;
    color: var(--text-dark-teal);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-rust);
    margin-bottom: 2rem;
    box-shadow: var(--glass-shadow);
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dark-teal);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.btn-cta {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-rust);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(150, 71, 52, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(150, 71, 52, 0.6);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-dark-teal);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-rust);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-card i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--text-deep-teal);
}

.skill-card span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--accent-rust);
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -1px;
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-rust);
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(150, 71, 52, 0.2);
    z-index: 1;
}

.job-card {
    padding: 30px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.company-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 15px;
    vertical-align: middle;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.company-name {
    color: var(--accent-rust);
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.job-date {
    font-size: 0.85rem;
    background: rgba(150, 71, 52, 0.1);
    color: var(--accent-rust);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.job-details ul {
    list-style-type: none;
    padding: 0;
}

.job-details li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.job-details li::before {
    content: '▹';
    color: var(--accent-rust);
    position: absolute;
    left: 0;
}

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

.project-card {
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-deep-teal);
}

.project-desc {
    font-size: 0.95rem;
    color: var(--text-dark-teal);
    margin-bottom: 20px;
    flex-grow: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(15, 164, 175, 0.1);
    color: var(--text-dark-teal);
    border-radius: 12px;
    font-weight: 600;
}

.btn-project {
    text-align: center;
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--accent-rust);
    color: var(--accent-rust);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-project:hover {
    background: var(--accent-rust);
    color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: var(--text-dark-teal);
    font-size: 0.9rem;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        padding-left: 45px;
    }

    nav {
        width: 95%;
        padding: 10px 20px;
    }
}