/* 1. Typography System */
body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: #171614;
    /* Main text color: Dark Brown */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-lora {
    font-family: 'Lora', serif;
}

/* 2. Layout & Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

/* 3. Page Title */
.page-title {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title h1 {
    /* font-size: 2.25rem;
    font-weight: 700;
    color: #171614; */

    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px #ffc024c9;
    font-family: "Mozilla Headline", sans-serif;
}

.page-title p {
    font-size: 1.125rem;
    color: #b22222;
    margin-top: 0.75rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* 4. Main Contact Card */
.contact-card {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.75);
    display: flex;
    flex-direction: column;
}

/* 5. Members & Form Panels */
.members-panel {
    width: 100%;
    background-color: rgba(236, 117, 5, 0.05);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.form-panel {
    width: 100%;
    padding: 2rem;
}

.panel-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #171614;
    margin-bottom: 2rem;
}

/* 6. Member Card Styling */
.member-cards-container {
    display: grid;
    gap: 1.5rem;
}

.member-card {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.3s ease;
}

.member-card:hover {
    background-color: rgba(243, 244, 246, 0.6);
}

.member-card img {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.member-info {
    margin-left: 1rem;
    flex-grow: 1;
}

.member-info h3 {
    font-weight: 600;
    font-size: 1.125rem;
    color: #171614;
}

.member-info p {
    font-size: 0.875rem;
    color: #b22222;
}

.member-info a {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #ec7505;
    font-weight: 500;
    margin-top: 0.25rem;
    text-decoration: none;
}

.member-info a svg {
    margin-right: 0.375rem;
    transition: transform 0.3s ease;
}

.member-info a:hover svg {
    transform: translateX(4px);
}

.member-info a span {
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.member-info a:hover span {
    text-decoration: underline;
}

/* 7. Form Styling */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem 1.5rem;
}

.form-group {
    margin-bottom: 0.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #171614;
    margin-bottom: 0.25rem;
}

.form-input {
    display: block;
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #ec7505;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(236, 117, 5, 0.1);
}

.form-textarea {
    resize: vertical;
}

.form-actions {
    margin-top: 1.5rem;
    text-align: right;
}

/* 8. Professional Button System */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    background-color: #ec7505;
    color: white;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 15px -5px rgba(236, 117, 5, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: #d46804;
    box-shadow: 0 7px 20px -5px rgba(236, 117, 5, 0.6);
}

.btn-primary svg {
    margin-left: 0.5rem;
}

/* 9. Success Message */
.success-message-container {
    display: none;
    /* Hidden by default */
    margin-top: 1.5rem;
    text-align: center;
}

.success-message {
    display: inline-flex;
    align-items: center;
    padding: 1.5rem;
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 0.5rem;
}

.success-message-icon {
    color: #22c55e;
}

.success-message-text {
    margin-left: 1rem;
    text-align: left;
}

.success-message-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #14532D;
}

.success-message-text p {
    color: #166534;
}

/* 10. Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 6rem 1rem;
    }

    .page-title h1 {
        font-size: 3rem;
    }

    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .contact-card {
        flex-direction: row;
    }

    .members-panel {
        width: 40%;
        padding: 2.5rem;
    }

    .form-panel {
        width: 60%;
        padding: 2.5rem;
    }
}

/* 11. Subtle Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Social Container Styling  */

.socials {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    margin-top: 20px;
}

.socials a {
    color: #333;
    font-size: 24px;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: #0056b3;
    /* Darker blue for hover */
    transform: scale(1.1);
    /* Slightly enlarge on hover */
}

/* * Responsive adjustments  */
@media (max-width: 768px) {
    .socials {
        flex-wrap: wrap;
        gap: 15px;
    }

    .socials a {
        font-size: 20px;
    }

    .members-panel {
        height: 487px;
    }
}

@media (max-width: 480px) {
    .socials a {
        font-size: 18px;
    }
}

/* Maps Container Styling  */

.map-container {
    width: 100%;
    height: 450px;
    margin-top: 40px;
}

.map-container h2 {
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px #ffc024c9;
    font-family: 'Lora', serif;
    text-align: center;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* --- A Senior UI Designer's Approach (Pure CSS) --- */