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

body {
    font-family: 'Poppins', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #ffffff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #1e293b;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: #38bdf8;
}

.back-btn {
    background-color: #38bdf8;
    color: #1e293b !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    background-color: #f1f5f9;
    padding: 80px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    min-height: 500px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.hero h2 span {
    color: #0284c7;
}

.hero h3 {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 400;
    margin-bottom: 15px;
}

.hero p {
    margin-bottom: 25px;
    color: #475569;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    display: block;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0284c7;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    background-color: #0369a1;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #0284c7;
    border: 2px solid #0284c7;
}

.btn-outline:hover {
    background-color: #0284c7;
    color: #ffffff;
}

.container {
    padding: 60px 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.bg-gray {
    background-color: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #0f172a;
}

.about-content p {
    margin-bottom: 15px;
    font-size: 1rem;
}

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

.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #0f172a;
}

.card .category {
    font-size: 0.8rem;
    color: #0284c7;
    font-weight: 600;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    color: #64748b;
}

.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.skill-box {
    flex: 1;
    min-width: 280px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 6px;
}

.skill-box h3 {
    margin-bottom: 15px;
    color: #0284c7;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 5px;
}

.skill-box ul {
    list-style-position: inside;
}

.skill-box li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-info i {
    color: #0284c7;
    margin-right: 8px;
}

.contact-info a {
    color: #0284c7;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0284c7;
}

.contact-form button {
    padding: 10px;
    background-color: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background-color: #0369a1;
}

#responseMsg {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #16a34a;
    font-weight: 600;
}

footer {
    background-color: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
}

footer a {
    color: #38bdf8;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1e293b;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 60px 5%;
        gap: 30px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        flex: none;
    }

    .hero-image img {
        width: 220px;
        height: 220px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero h3 {
        font-size: 1.1rem;
    }

    .hero p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-image img {
        width: 190px;
        height: 190px;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

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

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