/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #171717;
    background-color: #ffffff;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    position: relative;
    background-color: #171717;
    padding: 4rem 0;
    overflow: hidden;
}

.header-background {
    position: absolute;
    inset: 0;
    background-image: url('new_tech_mining.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(23, 23, 23, 0.8), 
        rgba(23, 23, 23, 0.7), 
        rgba(23, 23, 23, 0.9));
}

.header-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img {
    height: 12rem;
    width: auto;
    margin-bottom: 1.5rem;
}

.header-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.025em;
    text-align: center;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d4d4d4;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.location-icon {
    width: 16px;
    height: 16px;
}

/* Main Content */
.main-content {
    padding: 4rem 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    margin-bottom: 5rem;
}

.about-container {
    max-width: 48rem;
    margin: 0 auto;
}

.about-title {
    font-size: 2.25rem;
    font-weight: 300;
    color: #171717;
    margin-bottom: 2rem;
    text-align: center;
}

.about-text {
    font-size: 1.125rem;
    color: #404040;
    line-height: 1.75;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Flags Section */
.flags-section {
    margin-bottom: 5rem;
}

.flags-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.flag-img {
    height: 9rem;
    width: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
    margin-bottom: 5rem;
}

.contact-container {
    max-width: 42rem;
    margin: 0 auto;
}

.contact-title {
    font-size: 1.875rem;
    font-weight: 300;
    color: #171717;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-subtitle {
    color: #525252;
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-form {
    background-color: #fafafa;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e5e5;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #404040;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d4d4d4;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
    background-color: #ffffff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    ring: 2px solid #f59e0b;
    border-color: transparent;
}

.form-textarea {
    resize: none;
}

.submit-btn {
    width: 100%;
    background-image: url('aboriginal_art.jpg');
    background-size: cover;
    background-position: center;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1.125rem;
}

.submit-btn:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.submit-btn-text {
    background-color: #ffffff;
    color: #000000;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #000000;
}

.send-icon {
    width: 22px;
    height: 22px;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    display: none;
}

.form-message.success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.form-message.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.form-message.show {
    display: block;
}

/* Acknowledgement Section */
.acknowledgement-section {
    margin-bottom: 3rem;
}

.acknowledgement-box {
    max-width: 56rem;
    margin: 0 auto;
    background-color: #fafafa;
    border-left: 4px solid #d97706;
    padding: 2rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.acknowledgement-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.acknowledgement-text {
    color: #404040;
    line-height: 1.75;
}

/* Footer */
.footer {
    background-color: #171717;
    color: #a3a3a3;
    padding: 2rem 0;
}

.footer-text {
    text-align: center;
    font-size: 0.875rem;
}

/* Captcha Modal */
.captcha-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.captcha-modal.show {
    display: flex;
}

.captcha-content {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-width: 28rem;
    width: 100%;
    padding: 2rem;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.captcha-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.captcha-icon svg {
    background-color: #fef3c7;
    color: #d97706;
    padding: 0.75rem;
    border-radius: 9999px;
}

.captcha-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #171717;
    text-align: center;
    margin-bottom: 0.5rem;
}

.captcha-subtitle {
    color: #525252;
    text-align: center;
    margin-bottom: 1.5rem;
}

.captcha-challenge {
    background-color: #fafafa;
    border: 2px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.captcha-question {
    text-align: center;
    font-size: 1.875rem;
    font-weight: 700;
    color: #171717;
    margin-bottom: 1rem;
}

.captcha-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d4d4d4;
    border-radius: 0.375rem;
    font-size: 1.125rem;
    text-align: center;
    transition: all 0.2s;
}

.captcha-input:focus {
    outline: none;
    ring: 2px solid #f59e0b;
    border-color: transparent;
}

.captcha-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: none;
}

.captcha-error.show {
    display: block;
}

.captcha-buttons {
    display: flex;
    gap: 0.75rem;
}

.captcha-btn-cancel,
.captcha-btn-verify {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
}

.captcha-btn-cancel {
    border: 1px solid #d4d4d4;
    color: #404040;
    background-color: #ffffff;
}

.captcha-btn-cancel:hover {
    background-color: #fafafa;
}

.captcha-btn-verify {
    background-color: #d97706;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.captcha-btn-verify:hover {
    background-color: #b45309;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 8rem;
    }

    .about-title {
        font-size: 1.75rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .flag-img {
        height: 6rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2rem 0;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .flags-container {
        gap: 1rem;
    }

    .flag-img {
        height: 5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
