/*
 * CSS for Veera Narasimha Yuva Committee - Contact Page
 * New Theme: Saffron, Crimson, and Navy. Focus on Form design.
 */

/* General Styles */
body {
    font-family: 'Teko', sans-serif;
    margin: 0;
    background: #fff8e6; /* Soft Ochre background */
    color: #333;
    line-height: 1.6;
}

/* --- Header & Navigation (UPDATED FOR SPACING) --- */
.nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
    gap: 15px; /* Uniform spacing */
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.login-btn {
    background: #a30000; 
    color: #fff !important; 
    padding: 8px 15px;
    border-radius: 5px;
    margin-left: 5px; /* Reduced from 20px to let gap do the work */
    font-weight: 700;
}
/* --- Hero Section --- */
.hero {
    background: linear-gradient(to right, #ffde7d, #ffcc33); /* Saffron Gradient */
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5em; 
    color: #333;
    font-weight: 700;
}

.hero p {
    font-size: 1.5em; 
    color: #444; 
    font-family: sans-serif;
}

/* --- Contact Form Section (The main container) --- */
.contact-form {
    width: 85%;
    max-width: 700px;
    margin: 60px auto;
    background: #fff; /* Clean white background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    text-align: center;
}

.contact-form h2 {
    color: #a30000; /* Deep Crimson Heading */
    font-size: 3em;
    margin-bottom: 5px;
}

.contact-form > p {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 30px;
    font-family: sans-serif;
}

/* Form Styling */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    text-align: left;
}

#contactForm input[type="text"],
#contactForm input[type="phone"],
#contactForm textarea {
    /* Consistent styling for inputs and textareas */
    padding: 12px 15px;
    border: 1px solid #ffde7d; /* Light Saffron border */
    border-radius: 5px;
    font-size: 1em;
    font-family: sans-serif; 
    background: #fff;
    transition: border-color 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    /* Highlight focus state with Crimson */
    border-color: #a30000;
    outline: none;
    box-shadow: 0 0 5px rgba(163, 0, 0, 0.5);
}

/* Submit Button */
.contact-form .btn {
    /* Primary Crimson Button */
    display: inline-block;
    width: 100%; 
    background: #a30000;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.3em;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background 0.3s ease, transform 0.2s;
}

.contact-form .btn:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

/* --- Call to Action (CTA) --- */
.cta {
    background: #ffcc33;
    text-align: center;
    padding: 50px 20px;
    margin-top: 60px;
}

.cta h2 {
    color: #333;
    font-size: 2.8em;
}

.cta .btn {
    /* Reusing the primary CTA button style */
    background: #a30000;
    color: #fff;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.3em;
}

/* --- Footer --- */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-family: sans-serif;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .contact-form {
        width: 95%;
        padding: 20px;
    }
}
