/* --- RESET & FONTS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgba(80, 200, 160, 0.2);
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- NAVIGATION (Consistent) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #000000;
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.6);
}

.logo { 
    font-size: 1.5rem; 
    font-weight: bold; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: white;
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
}

.nav-links a { 
    text-decoration: none; 
    color: white; 
    transition: all 0.3s;
    font-weight: 500;
}

.nav-links a:hover, .active { 
    color: #00d2ff;
    transform: translateY(-2px);
}

/* --- PAGE LAYOUT --- */
.main-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* --- STORY SECTION --- */
.story-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.story-section h1 {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 3px solid #00d2ff;
    display: inline-block;
    padding-bottom: 10px;
}

.story-section p {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* --- TEAM SECTION --- */
.team-section {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 60px;
    text-align: center;
}

.team-section h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #222;
}

.team-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Makes the image a circle */
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.team-member:hover img {
    transform: scale(1.1);
    border-color: #00d2ff;
}

.team-member h3 { margin-top: 15px; color: #333; }
.team-member p { color: #777; font-style: italic; font-size: 0.9rem; }

/* --- CONTACT FORM SECTION --- */
.contact-section {
    margin-top: 40px;
}

.form-container {
    background: #2c3e50; /* Dark background for form area */
    color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.form-container h2 { text-align: center; margin-bottom: 10px; }
.form-container p { text-align: center; margin-bottom: 30px; color: #ccc; }

/* --- SUCCESS MESSAGE --- */
.success-message {
    background-color: #27ae60;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    border-left: 5px solid #229954;
    display: none;
}

.success-message p {
    margin: 0;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

/* Focus Effect: Blue outline when clicking */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 3px solid #00d2ff;
}

.send-btn {
    width: 100%;
    padding: 15px;
    background: #00d2ff;
    color: #222;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.send-btn:hover {
    background: white;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px 0 20px;
    color: #888;
    font-size: 0.9rem;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 600px) {
    .team-grid { flex-direction: column; }
    .form-container { padding: 20px; }
    .story-section h1 { font-size: 2rem; }
}