/* Basic Reset */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header & Navigation */
header {
    background: #004d40;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: url('hero-bg.jpg') no-repeat center center/cover;
    color: #000000;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 249, 192, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Main Content Sections */
main {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

.content-section, .gallery-section {
    background: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h3 {
    color: #004d40;
    margin-bottom: 1rem;
    border-bottom: 2px solid #004d40;
    padding-bottom: 0.5rem;
}

.card-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.card {
    background: #e0f2f1;
    padding: 1rem;
    border-radius: 8px;
    flex: 1 1 200px;
    text-align: center;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

.social-links a {
    color: #fff;
    margin: 0 0.5rem;
    text-decoration: none;
}





/* Container for the scrolling effect */
.scrolling-container {
    width: 100%;
    overflow: hidden; /* Hides the extra content outside the box */
    white-space: nowrap; /* Prevents images from wrapping to the next line */
    background-color: #f0f0f0;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* The element that contains all the scrolling images */
.scrolling-content {
    display: inline-block;
    animation: scroll-left 40s linear infinite; /* Adjust duration to change speed */
}

/* Individual logo styles */
.logo-item {
    display: inline-block;
    padding: 0 20px; /* Spacing between logos */
    vertical-align: middle;
}

.logo-item img {
    height: 80px; /* Adjust height to your preference */
    width: auto;
    max-width: 150px;
    object-fit: contain;
   
    opacity: 0.7;
    transition: opacity 0.3s ease;
}



/* The keyframes for the scrolling animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Moves the content left by 50% of its width */
    }
}



.staff-table-container {
    width: 90%;
    margin: 40px auto;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

th, td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

thead th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: bold;
    font-size: 1.1em;
}

thead th:first-child,
tbody td:first-child {
    color: #000000; /* Red color for the first column */
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

td {
    font-family: 'Arial Unicode MS', sans-serif;
}


/* Existing .card-container and .card styles (from previous response) remain the same */
/* ... */

/* New CSS for the photos within the cards */
.admin-card-photo {
    width: 200px; /* Set a fixed width for the photo */
    height: 200px; /* Set a fixed height for the photo */
    border-radius: 50%; /* Makes the image circular */
    /* object-fit: cover; Ensures the image covers the area without distortion, cropping if necessary */
    margin-bottom: 15px; /* Adds space between the photo and the text below it */
    border: 3px solid #004d40; /* Optional: adds a border around the photo */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: adds a subtle shadow to the photo */
}

/* Existing .card h4 and .card p styles remain the same */
/* ... */




/* --- Footer Section --- */

footer {
    background-color: #004d40; /* Dark green background */
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1 1 250px; /* Adjusts width and wrapping on different screen sizes */
    margin: 10px;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    border-bottom: 2px solid #55a89d;
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    line-height: 1.8;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

/* --- Footer Bottom Section (Designed By) --- */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    font-size: 0.9em;
    opacity: 0.7;
}



.xmega-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    transition: opacity 0.3s;
}

.xmega-link:hover {
    opacity: 0.9;
}

.xmega-logo {
    height: 25px; /* Adjust logo size */
    width: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

.designer-info {
    /* No change needed here */
    display: flex;
    align-items: center;
    gap: 10px;
}