* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: normal;
}

body {
    background-color: #ffffff;
    color: #333;
}

main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #ddd;
    color: #999;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}

.navbar-brand {
    display: flex;
}

#home-link {
    font-weight: bold;
    font-size: 1.3rem;
    text-decoration: none;
    color: #333;
}

#home-link:hover {
    color: #666;
}

.navbar-menu {
    display: flex;
}

.navbar-end {
    display: flex;
    gap: 2rem;
}

.navbar-item {
    text-decoration: none;
    color: #666;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar-item:hover {
    color: #333;
    font-weight: 500;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
}

.hero-content {
    text-align: center;
    max-width: 600px;
}

.profile-image {
    margin-bottom: 2rem;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background: #fff;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form button {
    align-self: flex-start;
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    border: none;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.12s ease;
}

.contact-form button:hover {
    background-color: #555;
    transform: translateY(-1px);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #333;
    color: #fff;
    transform: scale(1.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #ddd;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-end {
        gap: 1rem;
        justify-content: center;
    }

    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }

    .social-links {
        gap: 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Thank-you notification */
.thankyou {
    position: fixed;
    left: 50%;
    top: 1.25rem;
    transform: translateX(-50%) translateY(-8px);
    background: #111;
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
    z-index: 1200;
}

/* Icon style */
.thankyou-icon {
    width: 1.6rem;
    height: 1.6rem;
    display: inline-grid;
    place-items: center;
    background: #fff;
    color: #111;
    border-radius: 50%;
    font-size: 0.9rem;
    line-height: 1;
}

/* Visible state — toggle this class with JS after submit */
.thankyou.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    aria-hidden: false;
}

/* Auto-hide animation (optional): fade out after 3s */
.thankyou.show.auto-hide {
    animation: thankHide 3s ease forwards;
}

@keyframes thankHide {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    75% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px);
    }
}

/* Portfolio Section */
.content {
    flex-grow: 1;
}

.wrapper {
    width: 1024px;
    max-width: 90%;
    margin: 50px auto 0 auto;
    position: relative;
}

.post-card-box:first-child {
    margin-top: 25px;
}

.post-card-box {
    padding: 0;
    margin-bottom: 25px;
}

.post-card-box:last-child {
    margin-bottom: 45px;
}

.clearFix::before,
.clearFix::after {
    content: '';
    display: table;
    clear: both;
}

.post-card-box li {
    cursor: pointer;
    position: relative;
    list-style: none;
    float: left;
    width: 50%;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.post-card-box li:hover {
    opacity: 0.9;
}

.post-card-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.post-card {
    position: relative;
    margin-right: 1px;
    margin-bottom: 1px;
}

.post-card .post-card-image {
    display: block;
    width: 100%;
    min-height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.post-card .post-card-image::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.post-card .post-card-body {
    position: absolute;
    left: 5%;
    bottom: 5%;
}

.post-card .post-card-body .post-card-link {
    text-decoration: none;
    display: block;
}

.post-card .post-card-body .post-card-title {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    margin: 0 0 10px;
}

.post-card .post-card-body .post-card-title:hover {
    opacity: 0.8;
}

.post-card .post-card-body .tag {
    text-decoration: none;
    font-size: 10px;
    color: #fff;
    margin: 0;
}