/* Color Theme */
:root {
    --primary-color: #d4705f;
    --primary-dark: #b8564a;
    --primary-light: #e8a89f;
    --secondary-color: #f5e6d3;
    --accent-gold: #d4a574;
    --text-dark: #3d2817;
    --text-light: #6b5344;
}

/* Form Container and Card Styling */
.form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(212, 112, 95, 0.15);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
    border: 1px solid rgba(212, 112, 95, 0.1);
}

.gradient-bg {
    background: linear-gradient(135deg, #d4705f 0%, #b8564a 100%);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Header */
.form-header {
    background: linear-gradient(135deg, #d4705f 0%, #b8564a 100%);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo-icon {
    font-size: 3rem;
    color: #f5e6d3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.form-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Form Body */
form {
    padding: 2.5rem 2rem;
}

/* Form Labels */
.form-label {
    color: #3d2817;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: #d4705f;
    font-size: 1.1rem;
}

/* Input and Select Styling */
.form-control,
.form-select {
    border: 2px solid #e0d5c7;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #faf8f5;
    color: #3d2817;
}

.form-control:focus,
.form-select:focus {
    border-color: #d4705f;
    box-shadow: 0 0 0 0.2rem rgba(212, 112, 95, 0.15);
    background-color: white;
    color: #3d2817;
}

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

.form-select {
    cursor: pointer;
}

/* Form Text Help */
.form-text {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: block;
}

/* Invalid Feedback */
.invalid-feedback {
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: block;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #d4705f 0%, #b8564a 100%);
    border: none;
    border-radius: 8px;
    padding: 0.9rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 112, 95, 0.4);
    background: linear-gradient(135deg, #b8564a 0%, #d4705f 100%);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* Response Message */
#responseMessage {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#responseMessage.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

#responseMessage.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Form Footer */
.form-footer {
    padding: 1.5rem 2rem;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-header {
        padding: 2rem 1.5rem;
    }

    .form-header h1 {
        font-size: 2rem;
    }

    form {
        padding: 1.5rem;
    }

    .form-card {
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .form-card {
        border-radius: 12px;
    }

    .form-header {
        padding: 1.5rem 1rem;
    }

    .form-header h1 {
        font-size: 1.75rem;
    }

    .form-header p {
        font-size: 0.95rem;
    }

    form {
        padding: 1.25rem;
    }

    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Focus visible for accessibility */
.form-control:focus-visible,
.form-select:focus-visible,
.btn-primary:focus-visible {
    outline: 2px solid #d4705f;
    outline-offset: 2px;
}
/* Landing Page Styles */
.hero-section {
    animation: slideUp 0.8s ease-out;
}

.feature-card {
    background: white;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 112, 95, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 112, 95, 0.12);
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(212, 112, 95, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 112, 95, 0.1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(212, 112, 95, 0.15);
}

.product-image {
    border-radius: 12px 12px 0 0;
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 112, 95, 0.08);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(212, 112, 95, 0.1);
}

/* Navigation Enhancements */
.navbar {
    background-color: white !important;
    border-bottom: 1px solid rgba(212, 112, 95, 0.1);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 112, 95, 0.3);
}

.btn-light {
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}