/* BASIC RESET & SETUP */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* HEADER & NAVIGATION */
header {
    background: #2c3e50; /* Dark Blue */
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #1abc9c; /* Accent Color */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    transition: background 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background: #1abc9c;
    border-radius: 4px;
}

/* MAIN CONTENT LAYOUT */
main {
    padding: 20px 5%;
    min-height: 70vh;
}

/* HERO SECTION (HOME PAGE) */
.hero {
    background: url('images/hero-bg.jpg') no-repeat center center/cover; /* Replace with your image */
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 8px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero button {
    background: #1abc9c;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.hero button:hover {
    background: #16a085;
}

/* GENERAL SECTIONS */
.page-header, .content-block, .group-photo-section, .services-list, .video-showcase {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.group-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
    border-radius: 8px;
}

/* SERVICES PAGE VIDEO EMBED */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    margin-top: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* TEAM PAGE GRID */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    padding: 20px 0;
}

.team-member {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* Makes photos circular */
    margin-bottom: 10px;
    border: 4px solid #1abc9c;
}

.team-member h3 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.team-member .position {
    font-style: italic;
    color: #7f8c8d;
}

/* FOOTER */
footer {
    background: #34495e; /* Darker Blue */
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

/* MOBILE RESPONSIVENESS - Essential for the task! */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        width: 100%;
        flex-direction: column;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        padding: 10px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}