body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
}

.container {
    max_width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.container.wide {
    max_width: 900px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    color: #333;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.btn {
    display: block;
    width: 100%;
    background-color: #28a745;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover {
    background-color: #218838;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #007bff;
    text-decoration: none;
}

.btn-small {
    text-decoration: none;
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

/* --- NEW HEADER STYLES --- */
.main-header {
    background-color: #ffffff;
    padding: 15px 30px;
    display: flex; /* Aligns Logo and Text side-by-side */
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border-bottom: 3px solid #007bff; /* Blue accent line */
}

.logo-img {
    height: 80px; /* Adjust this to change logo size */
    width: auto;
    margin-right: 20px;
}

.header-text h1 {
    margin: 0;
    font-size: 28px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-text p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

/* Mobile Responsiveness for Header */
@media (max-width: 600px) {
    .main-header {
        flex-direction: column;
        text-align: center;
    }
    .logo-img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* --- GALLERY STYLES --- */
.gallery-section {
    max_width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.gallery-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.thumbnail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.thumb-link {
    display: block;
    width: 150px;
    height: 100px;
    overflow: hidden;
    border-radius: 5px;
    border: 2px solid #ddd;
    transition: transform 0.2s, border-color 0.2s;
}

.thumb-link:hover {
    transform: scale(1.05);
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the box without stretching */
}

/* --- IMAGE LINKS SECTION --- */
.image-links-section {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
}

.image-links-section h2 {
    border-bottom: 2px solid #007bff;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
    color: #333;
}

.link-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.link-card {
    width: 200px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.link-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.link-card img {
    width: 100%;
    height: 120px;
    object-fit: cover; /* Keeps images neat */
    border-radius: 6px;
    margin-bottom: 15px;
}

.link-card h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #444;
}

.link-card:hover h4 {
    color: #007bff;
}


/* --- SOCIAL MEDIA SECTION --- */
.social-section {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa; /* Light gray background */
    border-top: 1px solid #e9ecef;
    margin-top: 40px;
}

.social-section h3 {
    color: #444;
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Space between icons */
}

.social-link img {
    width: 48px; /* Icon size */
    height: 48px;
    transition: transform 0.3s ease, filter 0.3s;
}

.social-link:hover img {
    transform: scale(1.2); /* Zoom effect on hover */
    filter: brightness(1.1);
}
/* ------------------------- */