/* Client Color Palette:
   Primary Blue: #0070C0
   Pink/Magenta: #ED55A5
   Yellow: #F5C542
   Light Gray: #F4F4F4
   Dark Gray: #2C2C2C
   Light Blue: #5BC8D2
   Light Pink: #FAD9E5
*/

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2C2C2C;
    background: #F4F4F4;
}

/* Hero Section - matching product page style */
.contact-page {
    background: #F4F4F4;
    min-height: 100vh;
}

.page-header {
    background-image: url('../img/hero/hero_HAAD.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 112, 192, 0.7), rgba(237, 85, 165, 0.6));
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Enhanced card styling */
.card {
    background: white;
    border-radius: 30px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 112, 192, 0.15);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 112, 192, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ED55A5, #5BC8D2);
}

/* Header styling */
.card .text-center h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 500;
    color: #2C2C2C;
    margin-bottom: 20px;
    position: relative;
    padding-top: 30px;
}

.card .text-center h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ED55A5, #5BC8D2);
    border-radius: 2px;
}

.card .text-center p {
    font-size: 16px;
    color: #0070C0;
    font-style: italic;
    margin-bottom: 40px;
}

/* Form styling */
.card-body {
    padding: 40px;
}

/* Label styling */
label {
    color: #2C2C2C;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

/* Input styling */
.form-control,
.form-select {
    border: 2px solid #5BC8D2;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #F9F9F9;
    color: #2C2C2C;
}

.form-control:focus,
.form-select:focus {
    border-color: #ED55A5;
    box-shadow: 0 0 0 0.2rem rgba(237, 85, 165, 0.25);
    background-color: white;
    outline: none;
}

.form-control::placeholder {
    color: #999;
    font-style: italic;
}

/* Input group styling */
.input-group {
    margin-bottom: 25px;
}

/* Form group styling */
.form-group {
    margin-bottom: 25px;
}

/* Textarea specific */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Character count */
#charCount {
    color: #0070C0;
    font-size: 12px;
    text-align: right;
    margin-top: 5px;
}

/* CAPTCHA container */
#captcha-container {
    margin: 25px 0;
    text-align: center;
    background: rgba(237, 85, 165, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(237, 85, 165, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

#captcha-container > div {
    margin: 0 auto;
}

/* Submit button */
.btn-outline-dark {
    background: linear-gradient(135deg, #ED55A5, #5BC8D2);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 40px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(237, 85, 165, 0.3);
}

.btn-outline-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(237, 85, 165, 0.4);
    color: white;
}

/* Flash messages */
.alert {
    border-radius: 15px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.alert-success {
    background: linear-gradient(135deg, rgba(91, 200, 210, 0.1), rgba(237, 85, 165, 0.1));
    color: #0070C0;
    border-left: 4px solid #5BC8D2;
}

.alert-error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(237, 85, 165, 0.1));
    color: #dc3545;
    border-left: 4px solid #ED55A5;
}

/* Responsive design */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 20px 60px;
    }

    .card .text-center h3 {
        font-size: 28px;
    }

    .card-body {
        padding: 30px 25px;
    }

    .form-control,
    .form-select {
        padding: 12px 15px;
        font-size: 14px;
    }

    .btn-outline-dark {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 15px 40px;
    }

    .card-body {
        padding: 25px 20px;
    }

    .card .text-center h3 {
        font-size: 24px;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Input focus effects */
.form-control:focus,
.form-select:focus {
    animation: focusPulse 0.3s ease-out;
}

@keyframes focusPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}
