/* CSS Variables for consistent theming */
:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --light-gray: #f5f7fa;
    --border-color: #e1e8ed;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Base Styles */
.sfu-contact-form-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sfu-contact-form-wrapper {
    font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
}

.sfu-contact-form-wrapper .container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Logo Styles */
.sfu-contact-form-wrapper .logo {
    text-align: center;
    margin-bottom: 30px;
}

.sfu-contact-form-wrapper .logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.sfu-contact-form-wrapper .logo span {
    color: var(--accent-color);
}

/* Header Section */
.sfu-contact-form-wrapper .header {
    text-align: center;
    margin-bottom: 40px;
}

.sfu-contact-form-wrapper .header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.sfu-contact-form-wrapper .header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

/* Form Container */
.sfu-contact-form-wrapper .form-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 40px;
    transition: var(--transition);
}

/* Form Styles */
.sfu-contact-form-wrapper .contact-form {
    width: 100%;
}

.sfu-contact-form-wrapper .form-group {
    margin-bottom: 25px;
}

.sfu-contact-form-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.sfu-contact-form-wrapper .form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fff;
}

.sfu-contact-form-wrapper .form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.sfu-contact-form-wrapper textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Button Styles */
.sfu-contact-form-wrapper .button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.sfu-contact-form-wrapper .btn {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    text-align: center;
}

.sfu-contact-form-wrapper .btn-primary {
    background-color: #000;
    color: white;
}

.sfu-contact-form-wrapper .btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.sfu-contact-form-wrapper .btn-secondary {
    background-color: var(--light-gray);
    color: var(--text-color);
}

.sfu-contact-form-wrapper .btn-secondary:hover {
    background-color: #e4e9f2;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* Messages */
.sfu-contact-form-wrapper .message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.sfu-contact-form-wrapper .message.show {
    opacity: 1;
    transform: translateY(0);
}

.sfu-contact-form-wrapper .message.success {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.sfu-contact-form-wrapper .message.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sfu-contact-form-wrapper .form-container {
        padding: 30px 25px;
    }
    
    .sfu-contact-form-wrapper .header h2 {
        font-size: 1.75rem;
    }
    
    .sfu-contact-form-wrapper .header p {
        font-size: 1rem;
    }
    
    .sfu-contact-form-wrapper .button-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .sfu-contact-form-wrapper {
        padding: 15px;
    }
    
    .sfu-contact-form-wrapper .form-container {
        padding: 25px 20px;
    }
    
    .sfu-contact-form-wrapper .logo h1 {
        font-size: 2rem;
    }
    
    .sfu-contact-form-wrapper .header h2 {
        font-size: 1.5rem;
    }
}