/* ===== FONT CONFIGURATION ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

:root {
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    line-height: 1.6;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}

nav a:hover {
    color: #00d4ff;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 2rem 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 153, 204, 0.1), transparent);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
}

.floating-shape {
    position: absolute;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    animation: float-particle 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.hero-content .subtitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    animation: slideUp 0.8s ease-out 0.1s both;
}

.hero-content p {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: #b0b0ff;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: slideUp 0.8s ease-out 0.3s both;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.secondary-button {
    padding: 1rem 2.5rem;
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.secondary-button:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

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

.about {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title .highlight {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.about-text p {
    margin-bottom: 1rem;
    color: #b0b0ff;
}

.about-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 204, 0.15));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    overflow: hidden;
    position: relative;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 13px;
}

.expertise {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.expertise-container {
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.05));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s;
}

.expertise-card:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
}

.expertise-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.expertise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #00d4ff;
}

.expertise-card p {
    color: #b0b0ff;
    font-size: 0.95rem;
}

.soft-skills {
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    margin: 0 auto;
}

.soft-skills h3 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.skill-item {
    color: #b0b0ff;
    padding-left: 1.5rem;
    position: relative;
}

.skill-item::before {
    content: '▸';
    color: #00d4ff;
    position: absolute;
    left: 0;
}

.portfolio {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.02), rgba(0, 153, 204, 0.02));
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.05));
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.portfolio-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    color: #00d4ff;
    font-size: 1.1rem;
}

.portfolio-info p {
    color: #b0b0ff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #00d4ff;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
    border-top: 2px solid rgba(0, 212, 255, 0.15);
    margin-top: auto;
}

.code-btn {
    flex: 1;
    position: relative;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
    letter-spacing: 0.5px;
}

.code-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.code-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.5);
    letter-spacing: 1.5px;
}

.code-btn:hover::before {
    left: 100%;
}

.code-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.journey {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.journey-container {
    max-width: 1200px;
    margin: 0 auto;
}

.journey-category {
    margin-bottom: 3rem;
}

.journey-category h3 {
    color: #00d4ff;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.3rem;
}

.journey-category h3::before {
    content: '';
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
}

.journey-item {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.05));
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #00d4ff;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.journey-content h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.journey-content p {
    color: #b0b0ff;
    margin-bottom: 0.5rem;
}

.journey-date {
    color: #00d4ff;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.journey-details {
    list-style: none;
    padding-left: 1rem;
    margin-top: 1rem;
}

.journey-details li {
    color: #b0b0ff;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.journey-details li::before {
    content: '✓';
    color: #00d4ff;
    position: absolute;
    left: 0;
}

.contact {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.05));
    text-align: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8080a0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

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

.contact-info {
    text-align: left;
}

.contact-info h3 {
    color: #00d4ff;
    margin-bottom: 2rem;
}

.contact-detail {
    margin-bottom: 2rem;
}

.contact-detail strong {
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-detail a {
    color: #b0b0ff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: #00d4ff;
}

footer {
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

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

    nav ul {
        gap: 1rem;
        font-size: 0.85rem;
    }

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

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

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

    .journey-item {
        grid-template-columns: 1fr;
    }

    .journey-date {
        text-align: left;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button,
    .secondary-button {
        width: 100%;
        max-width: 300px;
    }
}