:root {
    --primary-gradient: linear-gradient(135deg, #005697 0%, #00b8c8 100%);
    --accent-blue: #0089e0;
    --text-color: #333333;
    --light-bg: #f9fdfd;
    --white: #ffffff;
    --border-color: #e1edf3;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-family);
    background-color: #f4f7f6;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Fixed Logo Top Left (UPDATED) */
.fixed-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 80px; /* Adjust size as needed */
    height: auto;
    z-index: 1000;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2));
    transition: transform 0.3s ease; /* ADDED FOR ANIMATION */
}

/* ADDED LOGO HOVER EFFECT */
.fixed-logo:hover {
    transform: scale(1.08); /* Slightly enlarges the logo on hover */
    cursor: pointer;
}

/* Header & Banner */
.main-header {
    background: var(--primary-gradient);
    background-image: url('images/banner.jpg'); /* Your banner image */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay; /* Darkens image slightly so text is readable */
    background-color: rgba(0, 86, 151, 0.7);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
    border-bottom: 4px solid var(--accent-blue);
}

.main-header h1 { font-size: 2.8rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); margin-bottom: 10px;}
.tagline { font-size: 1.2rem; font-weight: bold; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }

/* Form Container */
.form-container {
    max-width: 800px;
    margin: -40px auto 60px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    z-index: 10;
    flex: 1; /* Pushes the footer to the bottom */
}

.form-container h2 {
    color: var(--accent-blue);
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.form-row { display: flex; gap: 20px; }
.form-row .input-group { flex: 1; }

.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-weight: bold; margin-bottom: 8px; color: #555; }
.input-group input[type="text"], 
.input-group input[type="number"], 
.input-group input[type="email"], 
.input-group input[type="tel"], 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.input-group textarea { resize: vertical; }

/* Blinking Service Buttons */
@keyframes softBlink {
    0% { box-shadow: 0 0 0 0 rgba(0, 137, 224, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 137, 224, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 137, 224, 0); }
}

.service-selection { display: flex; flex-direction: column; gap: 15px; margin-bottom: 25px; }

.service-card {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.service-card.blinking {
    animation: softBlink 2s infinite;
    border-color: var(--accent-blue);
}

.service-card:hover, .service-card input:checked + .service-details {
    background-color: var(--light-bg);
    border-color: var(--accent-blue);
}

.service-card input[type="radio"] { margin-top: 5px; transform: scale(1.2); cursor: pointer; }

.service-details h4 { color: var(--accent-blue); margin-bottom: 5px;}
.service-details p { font-size: 0.9rem; color: #666; margin-bottom: 5px;}
.price { font-weight: bold; color: #d9534f; font-size: 1.1rem;}

.payment-instructions {
    background: #eef8ff;
    border-left: 5px solid var(--accent-blue);
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 4px;
}
.payment-instructions h3 { margin-bottom: 10px; color: var(--accent-blue); }
.highlight { font-weight: bold; font-size: 1.2rem; color: #000; background: #fff; padding: 2px 6px; border-radius: 4px;}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 30px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}
.checkbox-group input { transform: scale(1.3); margin-top: 3px; cursor: pointer; }

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-submit:disabled { background: #cccccc; cursor: not-allowed; animation: none;}
.btn-submit:not(:disabled):hover { opacity: 0.9; }

/* NEW FOOTER STYLES */
.main-footer {
    width: 100%;
    text-align: center;
    background-color: var(--white);
    margin-top: auto; /* Pushes footer to the bottom of the screen */
}

.contact-info {
    padding: 20px 15px;
    font-size: 1rem;
    color: var(--text-color);
}

.contact-info a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

.copyright-bar {
    background-color: #222222; /* Dark background */
    color: #ffffff;
    padding: 15px;
    font-size: 0.9rem;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .main-header { padding: 60px 15px; }
    .main-header h1 { font-size: 2.2rem; }
    
    .form-container {
        margin: -20px 15px 40px; 
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .fixed-logo {
        width: 50px; 
        top: 10px; /* UPDATED for mobile top alignment */
        left: 10px;
    }

    .main-header h1 { font-size: 1.8rem; }
    .tagline { font-size: 1rem; }

    .form-container {
        margin: -15px 10px 40px; 
        padding: 20px 15px;
    }

    .form-row { flex-direction: column; gap: 0; } 
    
    .service-card { flex-direction: column; align-items: flex-start; gap: 10px; }
}