/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

a {
    color: #28a745;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.button.primary {
    background-color: #28a745;
    color: #fff;
    border: 1px solid #28a745;
}

.button.primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
    text-decoration: none;
}

.button.secondary {
    background-color: #6c757d;
    color: #fff;
    border: 1px solid #6c757d;
}

.button.secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    text-decoration: none;
}

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

header h1 a {
    color: #333;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

/* Hero Section */
.hero {
    background: url('../image/eaa003e5dff5a1647b25ab3d8a7e60da.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-buttons .button {
    margin: 0 10px;
}

/* Stats Section */
.stats {
    background-color: #e9ecef;
    padding: 40px 0;
    text-align: center;
}

.stats h3 {
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-item h4 {
    font-size: 32px;
    color: #28a745;
    margin-bottom: 10px;
}

/* Filter Search Section */
.filter-search {
    padding: 40px 0;
    background-color: #fff;
}

.filter-search h3 {
    text-align: center;
    margin-bottom: 30px;
}

.filter-search form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group select, .form-group input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-actions {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}

.form-actions .button {
    margin: 0 10px;
}

/* Experience List Section */
.experience-list {
    padding: 40px 0;
}

.experience-list h3 {
    text-align: center;
    margin-bottom: 20px;
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.experience-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.experience-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.experience-item .meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.experience-item .tags span {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 10px;
}

#keyword{
    width:95%;
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.required {
    color: #dc3545;
}

/* Tags */
.tags {
    margin-bottom: 10px;
    line-height: 20px;
}

.tags span {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
}

/* Post Form Section */
.post-form {
    padding: 40px 0;
    background-color: #fff;
}

.post-form h2 {
    text-align: center;
    margin-bottom: 30px;
}

.post-form form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.post-form .form-group {
    margin-bottom: 15px;
}

.post-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.post-form .form-group input[type="text"],
.post-form .form-group textarea,
.post-form .form-group select {
    width: calc(100% - 16px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.post-form textarea {
    resize: vertical;
}

.post-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.post-form button[type="submit"]:hover {
    background-color: #218838;
}

/* Experience Detail Section */
.experience-detail {
    padding: 40px 0;
    background-color: #fff;
}

.experience-detail h2 {
    text-align: center;
    margin-bottom: 30px;
}

.experience-detail .detail-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.experience-detail .detail-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #28a745;
}

.experience-detail .detail-content .meta {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.experience-detail .detail-content .meta span {
    margin-right: 15px;
}

.experience-detail .detail-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.experience-detail .detail-content .tags {
    margin-bottom: 15px;
}

.experience-detail .detail-content .back-link {
    margin-top: 30px;
    text-align: center;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    header .container {
        flex-direction: column;
    }

    header nav ul {
        margin-top: 10px;
    }

    header nav ul li {
        margin: 0 10px;
    }

    .hero h2 {
        font-size: 28px;
    }

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

    .hero-buttons .button {
        margin: 10px 0;
    }

    .stats-grid, .filter-search form, .experiences-grid {
        grid-template-columns: 1fr;
    }

    .form-actions .button {
        width: 100%;
        margin: 10px 0;
    }
}

