/* Root Variables */
:root {
    --accent: #ff4757;
    --dark: #2c3e50;
    --light: #f4f4f9;
    --primary: #ff6b6b;
    --secondary: #4ecdc4;
    --font-size-large: 2rem;
    --font-size-medium: 1.5rem;
    --font-size-small: 1rem;
}

/* General Body Styles */
body {
    background: #ff6b6b; /* Fallback */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    min-height: 100vh;
    padding: 0;
}

/* Header Styles */
header {
    background: #000; /* Fallback */
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: var(--font-size-large);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navigation Menu Styles */
nav {
    align-items: center;
    background: #000; /* Fallback */
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 1rem;
}

nav a {
    border-radius: 5px;
    color: white;
    font-size: var(--font-size-small);
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

nav a:hover {
    background: var(--accent);
    color: white;
    text-decoration: none;
}

/* Page Containers */
.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
}

/* Contact Form Styling */
.contact-container {
    background: #fff; /* Fallback */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 1200px;
    padding: 2rem;
    text-align: left;
    width: 80%;
}

h2 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: var(--font-size-large);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    color: white;
    display: block;
    font-size: var(--font-size-medium);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    background: #fff; /* Fallback */
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 10px;
    box-sizing: border-box;
    color: var(--dark);
    font-size: var(--font-size-small);
    padding: 1.5rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    outline: none;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

button[type="submit"] {
    background: var(--accent);
    border: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    color: white;
    cursor: pointer;
    display: block;
    font-size: var(--font-size-medium);
    margin: 0 auto;
    padding: 1.5rem 3rem;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.6);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #000; /* Fallback */
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    margin-top: auto;
    padding: 1rem;
    text-align: center;
}

footer a {
    border-bottom: 1px dashed #fff; /* Fallback */
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

footer a:hover {
    border-bottom-style: solid;
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-medium);
    }

    .contact-container {
        padding: 2rem;
    }

    h2 {
        font-size: var(--font-size-medium);
    }

    .form-group input,
    .form-group textarea {
        font-size: var(--font-size-small);
        padding: 1.2rem;
    }

    button[type="submit"] {
        font-size: var(--font-size-small);
        padding: 1.2rem 2rem;
    }
}