:root {
    --bg-color: #FBEFEF;
    --text-color: #2A3B4C;
    --text-muted: #5C6B7B;
    --accent-color: #81A6C6;
    --accent-gradient: linear-gradient(135deg, #AACDDC, #81A6C6, #D2C4B4);
    --nav-bg: rgba(251, 239, 239, 0.8);
    --border-color: rgba(129, 166, 198, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

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

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

.menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    animation: fadeInUp 0.8s ease backwards 0.4s;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    aspect-ratio: 4/5;
    background: var(--bg-color);
    border: 8px solid rgba(255, 255, 255, 0.4);
}

.greeting {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    animation: fadeInDown 0.8s ease backwards;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease backwards 0.2s;
}

.hero-subtitle {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease backwards 0.4s;
}

.hero-subtitle span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    max-width: 600px;
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease backwards 0.6s;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease backwards 0.8s;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-color);
    background: rgba(0, 0, 0, 0.03);
}

/* Shapes Background */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(129, 166, 198, 0.6);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(170, 205, 220, 0.5);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes float {

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

    33% {
        transform: translate(30px, -50px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

/* Sections */
.section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.subsection-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 2rem;
    display: inline-block;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.4);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.skill-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.skill-card p,
.skill-card ul {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.skill-card ul {
    list-style: none;
    padding-left: 0;
}

.skill-card ul li {
    margin-bottom: 0.25rem;
    position: relative;
    padding-left: 1.25rem;
}

.skill-card ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.ai-card {
    grid-column: 1 / -1;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--nav-bg);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.cert-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.cert-info h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cert-info span {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        align-items: center;
    }

    .menu-btn {
        display: flex;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2.5rem;
        padding-top: 7rem;
    }

    .hero-image {
        width: 100%;
        justify-content: center;
    }

    .hero-image img {
        max-width: 250px;
        aspect-ratio: 1/1;
        border-radius: 50%;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        text-align: center;
        width: 100%;
    }
}