@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes profileScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes profileGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(13, 59, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(13, 59, 102, 0);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f5f7fa;
    min-height: 100vh;
    padding: 0;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.navbar-logo {
    font-weight: 700;
    font-size: 1.5em;
    color: #0d3b66;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item .nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: #0d3b66;
    border-bottom-color: #0d3b66;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    animation: fadeIn 0.6s ease-out;
}

h1 {
    color: #0d3b66;
    margin-bottom: 10px;
    font-size: 2.8em;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: slideInLeft 0.7s ease-out;
}

h2 {
    color: #0d3b66;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.1em;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out 0.1s both;
}

.intro-text {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
    margin: 40px 0;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

p {
    margin-bottom: 20px;
    font-size: 1em;
    line-height: 1.8;
    color: #374151;
}

.contact-info {
    background: #f9fafb;
    padding: 30px;
    border-left: 3px solid #0d3b66;
    margin: 30px 0;
    border-radius: 6px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.contact-info strong {
    color: #0d3b66;
    font-weight: 600;
    min-width: 120px;
}

.contact-info a {
    color: #0d3b66;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-info a:hover {
    color: #1e5a96;
    border-bottom: 1px solid #0d3b66;
}

.profile-photo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out 0s both;
}

.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(13, 59, 102, 0.15);
    border: 3px solid white;
    animation: profileScaleIn 0.8s ease-out 0.1s both, profileGlow 3s ease-in-out 1.5s infinite;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-photo:hover {
    transform: scale(1.05);
}

.social-section {
    margin-top: 40px;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out 0.5s both;
}

.social-label {
    color: #0d3b66;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 20px;
    display: block;
}

.social-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: #f0f4f8;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #0d3b66;
}

.social-links a:hover {
    background: #0d3b66;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(13, 59, 102, 0.15);
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.btn {
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.btn-primary {
    background: #0d3b66;
    color: white;
}

.btn-primary:hover {
    background: #1e5a96;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(13, 59, 102, 0.15);
}

.btn-secondary {
    background: transparent;
    color: #0d3b66;
    border: 2px solid #0d3b66;
}

.btn-secondary:hover {
    background: #0d3b66;
    color: white;
    transform: translateY(-2px);
}

/* Form */
.form-group {
    margin-bottom: 25px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0d3b66;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #0d3b66;
    box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: #0d3b66;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: #1e5a96;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(13, 59, 102, 0.15);
}

.form-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    display: block;
}

.form-status.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

/* Footer */
footer {
    background: #0d3b66;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

footer p {
    color: white;
    margin: 0;
}

/* About Page */
.about-content {
    line-height: 1.9;
}

.about-content section {
    margin-bottom: 40px;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.skill-item {
    background: #f9fafb;
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid #0d3b66;
}

.skill-item strong {
    color: #0d3b66;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 30px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .skills-list {
        grid-template-columns: 1fr;
    }
}
