/* Modern CSS Reset and Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --background-color: #f8f9fa;
    --card-background: rgba(255, 255, 255, 0.95);
    --spacing-unit: 1rem;
    --border-radius: 12px;
    --transition-speed: 0.3s;
}


/* Main Styling */
body {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../Images/background-forest.jpg') center/cover no-repeat fixed;
    font-family: 'Inter', 'Garamond', serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
  
    box-sizing: border-box;
}

#navbar-placeholder {
    margin: 0;
    padding: 0;
    width: 100%;
}


/* Form Container */
form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 400px;
    max-width: 80%;
    background-color: var(--card-background);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin: 0 auto;
}

.contact-header {
    color: #ffffff;
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 2);
    width: 100%;
    margin-top: 4rem;
    max-width: 800px;
}

.contact-header h1 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    letter-spacing: 1px;
}

/* Form Elements */
h1, h2 {
    text-align: center;
    color: var(--primary-color);
    margin: 0 0 calc(var(--spacing-unit) * 2);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

label {
    margin-top: calc(var(--spacing-unit) * 1.5);
    color: var(--text-color);
    font-weight: 500;
}

input, textarea {
    margin-top: calc(var(--spacing-unit) / 2);
    padding: calc(var(--spacing-unit) * 0.8);
    font-size: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: calc(var(--border-radius) / 2);
    background-color: rgba(255, 255, 255, 0.9);
    transition: border-color var(--transition-speed);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Button Container */
.button-container {
    margin-top: calc(var(--spacing-unit) * 2);
}

button {
    width: 100%;
    padding: calc(var(--spacing-unit) * 0.8);
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: calc(var(--border-radius) / 2);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        margin-top: 80px;
        padding: var(--spacing-unit);
        width: 100%;
    }

    form {
        
        max-width: 100%;
        min-width: unset;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-header {
        margin-top: 2rem;
        padding: var(--spacing-unit);
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    input, textarea {
        padding: calc(var(--spacing-unit) * 0.6);
        font-size: 0.95rem;
    }

    .button-container {
        margin-top: calc(var(--spacing-unit) * 1.5);
    }

    button {
        padding: calc(var(--spacing-unit) * 0.6);
        font-size: 0.95rem;
    }
}

/* Tablet Design */
@media (min-width: 769px) and (max-width: 1024px) {
    form {
        max-width: 90%;
    }

    .contact-header h1 {
        font-size: 2.5rem;
    }
}
