: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 */
.fixed-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 80px;
    height: auto;
    z-index: 1000;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2));
    transition: transform 0.3s ease; /* ADDED TRANSITION FOR SMOOTH 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');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    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;
}

.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 textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.input-group textarea { resize: vertical; }

/* -------------------------------------- */
/* NEW STAR RATING SYSTEM CSS             */
/* -------------------------------------- */
.star-rating {
    display: flex;
    flex-direction: row-reverse; /* Reverses order so hover works correctly */
    justify-content: flex-end;
    gap: 5px;
}

.star-rating input {
    display: none; /* Hide the default radio buttons */
}

.star-rating label {
    font-size: 2.5rem;
    color: #ccc; /* Default grey star */
    cursor: pointer;
    transition: color 0.2s;
    margin-bottom: 0;
}

/* Color stars gold when checked or hovered */
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f39c12; 
}
/* -------------------------------------- */

.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;
    margin-top: 15px;
}

.btn-submit:disabled { background: #cccccc; cursor: not-allowed; }
.btn-submit:not(:disabled):hover { opacity: 0.9; }

/* FOOTER STYLES */
.main-footer {
    width: 100%;
    text-align: center;
    background-color: var(--white);
    margin-top: auto;
}

.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;
    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; 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; } 
}