/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 120, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 200, 255, 0.2) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundShift {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1); 
    }
    33% { 
        transform: translateX(-20px) translateY(-20px) scale(1.05); 
    }
    66% { 
        transform: translateX(20px) translateY(20px) scale(0.95); 
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.main-header {
    text-align: center;
    margin-bottom: 50px;
    color: white;
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    animation: logoFloat 3s ease-in-out infinite;
}

.profile-image {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    object-fit: cover;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #00f5ff 0%, #ff00ff 50%, #ffff00 100%);
    background-clip: padding-box;
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.3);
    transition: all 0.3s ease-in-out;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.5);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.brand-name {
    font-size: 2.2rem;
    margin: 0;
    font-weight: 700;
    background: linear-gradient(135deg, #00f5ff 0%, #ff00ff 50%, #ffff00 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

.brand-tagline {
    font-size: 0.9rem;
    margin: 5px 0 0 0;
    color: #94a3b8;
    font-weight: 400;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}



.header-description h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: #e2e8f0;
    text-shadow: 0 0 20px rgba(226, 232, 240, 0.5);
}

.header-description p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
    color: #cbd5e1;
    animation: fadeInUp 1s ease-out 0.5s both;
    line-height: 1.6;
}

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

/* Main Content */
main {
    flex: 1;
}

/* Form Styles */
.contact-form {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideUp 0.8s ease-out, glow 3s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(120, 119, 198, 0.1),
        transparent,
        rgba(255, 120, 198, 0.1),
        transparent
    );
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glow {
    0% { 
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% { 
        box-shadow: 
            0 35px 70px rgba(0, 0, 0, 0.6),
            0 0 30px rgba(120, 119, 198, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

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

.form-group {
    margin-bottom: 35px;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

.form-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #e2e8f0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.form-label i {
    color: #00f5ff;
    width: 18px;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(0, 245, 255, 0.5));
}

.form-input, .form-textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(51, 65, 85, 0.8);
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    position: relative;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #94a3b8;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #00f5ff;
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 
        0 0 0 4px rgba(0, 245, 255, 0.2),
        0 8px 25px rgba(0, 245, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.02);
}

.form-input:focus::placeholder, .form-textarea:focus::placeholder {
    color: #cbd5e1;
    transform: translateY(-2px);
}

.form-input.error, .form-textarea.error {
    border-color: #ef4444;
    background: rgba(127, 29, 29, 0.3);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    animation: shake 0.5s ease-in-out;
}

.form-input.success, .form-textarea.success {
    border-color: #10b981;
    background: rgba(5, 46, 22, 0.3);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Error Messages */
.error-message {
    color: #fca5a5;
    font-size: 0.9rem;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(127, 29, 29, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #ef4444;
    backdrop-filter: blur(10px);
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
    animation: errorPulse 0.5s ease-out;
}

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

/* Voice Recorder Styles */
.voice-recorder {
    border: 2px dashed rgba(148, 163, 184, 0.4);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(51, 65, 85, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.voice-recorder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.voice-recorder:hover {
    border-color: #00f5ff;
    background: rgba(30, 41, 59, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

.voice-recorder:hover::before {
    left: 100%;
}

.record-btn {
    background: linear-gradient(135deg, #00f5ff 0%, #ff00ff 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.record-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff00ff 0%, #00f5ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.record-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 245, 255, 0.4);
}

.record-btn:hover::before {
    opacity: 1;
}

.record-btn span {
    position: relative;
    z-index: 2;
}

.record-btn i {
    position: relative;
    z-index: 2;
}

.record-btn.recording {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation: recordingPulse 1.5s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(239, 68, 68, 0.6),
        0 8px 25px rgba(239, 68, 68, 0.3);
}

@keyframes recordingPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 20px rgba(239, 68, 68, 0.6),
            0 8px 25px rgba(239, 68, 68, 0.3);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 
            0 0 40px rgba(239, 68, 68, 0.8),
            0 15px 40px rgba(239, 68, 68, 0.5);
    }
}

.recording-status {
    margin-top: 15px;
    font-weight: 600;
    color: #fca5a5;
    font-size: 1rem;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 5px rgba(239, 68, 68, 0.5); }
    100% { text-shadow: 0 0 20px rgba(239, 68, 68, 0.8), 0 0 30px rgba(239, 68, 68, 0.6); }
}

.voice-limit-info {
    display: block;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
    opacity: 0.8;
}

.audio-playback {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.delete-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.delete-btn:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

/* File Upload Styles */
.file-upload-area {
    border: 2px dashed rgba(148, 163, 184, 0.4);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: rgba(51, 65, 85, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.file-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: #00f5ff;
    background: rgba(30, 41, 59, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 245, 255, 0.3),
        0 0 30px rgba(0, 245, 255, 0.2);
}

.file-upload-area:hover::before,
.file-upload-area.dragover::before {
    left: 100%;
}

.upload-content i {
    font-size: 4rem;
    color: #00f5ff;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5));
    animation: float 3s ease-in-out infinite;
}

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

.upload-content p {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-weight: 500;
}

.browse-text {
    color: #00f5ff;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.browse-text:hover {
    color: #ff00ff;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.upload-content small {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* File List */
.file-list {
    margin-top: 20px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    margin-bottom: 12px;
    animation: slideInFile 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.file-item:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.1);
}

@keyframes slideInFile {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-info i {
    color: #00f5ff;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(0, 245, 255, 0.5));
}

.file-name {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 1rem;
}

.file-size {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 2px;
}

.file-remove {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.file-remove:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #00f5ff 0%, #ff00ff 50%, #ffff00 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: 22px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 10px 30px rgba(0, 245, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: buttonGradient 3s ease-in-out infinite;
}

@keyframes buttonGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(0, 245, 255, 0.6),
        0 0 40px rgba(255, 0, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    animation: none;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid transparent;
    border-top: 3px solid white;
    border-right: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 12px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Messages */
.form-messages {
    margin-top: 25px;
    padding: 0 50px;
}

.message {
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 15px;
    animation: slideInMessage 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.message:hover::before {
    left: 100%;
}

@keyframes slideInMessage {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message.success {
    background: rgba(5, 46, 22, 0.8);
    color: #86efac;
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.message.success i {
    color: #10b981;
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.5));
}

.message.error {
    background: rgba(127, 29, 29, 0.8);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
}

.message.error i {
    color: #ef4444;
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.5));
}

/* Footer Styles */
.main-footer {
    margin-top: 10px;
    max-height: 200px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 25px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.social-section {
    text-align: center;
}

.footer-section h4 {
    color: #e2e8f0;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(226, 232, 240, 0.3);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(135deg, #00f5ff 0%, #ff00ff 50%, #ffff00 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #00f5ff;
    padding-left: 10px;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 1rem;
}

.contact-item i {
    color: #00f5ff;
    width: 20px;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(0, 245, 255, 0.5));
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(30, 41, 59, 0.8);
    color: #00f5ff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 245, 255, 0.2);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00f5ff 0%, #ff00ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 
        0 10px 25px rgba(0, 245, 255, 0.4),
        0 0 20px rgba(0, 245, 255, 0.6);
    border-color: #00f5ff;
    color: white;
}

.social-icons a:hover::before {
    opacity: 0.2;
}

/* Responsive Design */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 30px;
    }
    
    .header-content {
        padding: 30px 0;
    }
    
    .contact-form {
        padding: 60px;
    }
    
    .footer-content {
        padding: 10px 30px 5px 30px;
    }
}

/* Medium screens (768px to 1199px) */
@media (max-width: 1199px) {
    .container {
        padding: 20px;
    }
    
    .footer-content {
        padding: 50px 20px 30px 20px;
    }
}

/* Tablet screens (768px to 991px) */
@media (max-width: 991px) {
    .header-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .logo-section {
        justify-content: center;
    }
    

    
    .header-description h2 {
        font-size: 2.2rem;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Small tablets and large phones (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .main-header {
        margin-bottom: 30px;
    }
    
    .header-content {
        padding: 15px 0;
    }
    
    .logo-section {
        gap: 15px;
    }
    
    .brand-name {
        font-size: 1.8rem;
    }
    
    .brand-tagline {
        font-size: 0.8rem;
    }
    

    
    .header-description h2 {
        font-size: 2rem;
    }
    
    .header-description p {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .form-input, .form-textarea {
        padding: 15px;
        font-size: 1rem;
    }
    
    .file-upload-area {
        padding: 30px 20px;
    }
    
    .upload-content i {
        font-size: 3rem;
    }
    
    .upload-content p {
        font-size: 1.1rem;
    }
    
    .voice-recorder {
        padding: 25px;
    }
    
    .record-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 18px;
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 40px 15px 25px 15px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .social-icons {
        justify-content: center;
        gap: 12px;
    }
    
    .social-icons a {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    

}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .main-header {
        margin-bottom: 20px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo svg {
        width: 50px;
        height: 50px;
    }
    
    .brand-name {
        font-size: 1.6rem;
    }
    
    .brand-tagline {
        font-size: 0.75rem;
    }
    

    
    .header-description h2 {
        font-size: 1.8rem;
    }
    
    .header-description p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .contact-form {
        padding: 20px 15px;
        border-radius: 20px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-label {
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .form-input, .form-textarea {
        padding: 12px 15px;
        border-radius: 12px;
    }
    
    .form-textarea {
        min-height: 100px;
    }
    
    .file-upload-area {
        padding: 25px 15px;
    }
    
    .upload-content i {
        font-size: 2.5rem;
    }
    
    .upload-content p {
        font-size: 1rem;
    }
    
    .upload-content small {
        font-size: 0.8rem;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .file-info {
        width: 100%;
    }
    
    .file-remove {
        align-self: flex-end;
        padding: 6px 8px;
    }
    
    .voice-recorder {
        padding: 20px 15px;
    }
    
    .record-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .audio-playback {
        flex-direction: column;
        gap: 12px;
    }
    
    .audio-playback audio {
        width: 100%;
    }
    
    .submit-btn {
        padding: 16px;
        font-size: 1rem;
        border-radius: 15px;
    }
    
    .form-messages {
        padding: 0 15px;
    }
    
    .message {
        padding: 15px 18px;
        border-radius: 12px;
        gap: 12px;
    }
    
    .footer-content {
        padding: 30px 10px 20px 10px;
        gap: 20px;
    }
    
    .footer-logo svg {
        width: 40px;
        height: 40px;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .newsletter p {
        font-size: 0.9rem;
    }
    
    .newsletter-input,
    .newsletter-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* Extra small devices (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 8px;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .header-description h2 {
        font-size: 1.6rem;
    }
    
    .header-description p {
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: 15px 12px;
    }
    
    .form-input, .form-textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .file-upload-area {
        padding: 20px 12px;
    }
    
    .upload-content i {
        font-size: 2rem;
    }
    
    .voice-recorder {
        padding: 15px 12px;
    }
    
    .record-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 0.95rem;
    }
    
    .footer-content {
        padding: 25px 8px 15px 8px;
    }
    
    .footer-logo h3 {
        font-size: 1.3rem;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 245, 255, 0.1);
    color: #00f5ff;
}

/* Print Styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .main-header,
    .main-footer,
    .submit-btn {
        display: none !important;
    }
    
    .contact-form {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .form-input, .form-textarea {
        border-width: 3px;
        border-color: #000;
    }
    
    .submit-btn {
        border: 3px solid #000;
        color: #000;
        background: #fff;
    }
    
    .social-icons a {
        border-width: 3px;
        border-color: #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile-specific optimizations */
.mobile-device .contact-form {
    /* Optimize form spacing for mobile */
    padding: 25px 20px;
}

.mobile-device .form-input,
.mobile-device .form-textarea {
    /* Optimize input sizing for mobile */
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 16px 18px;
    border-radius: 12px;
}

.mobile-device .form-textarea {
    /* Optimize textarea for mobile */
    min-height: 120px;
    resize: none; /* Disable resize on mobile */
}

.mobile-device .submit-btn {
    /* Optimize button for mobile touch */
    padding: 20px;
    font-size: 1.1rem;
    min-height: 56px; /* Minimum touch target size */
    border-radius: 16px;
}

.mobile-device .file-upload-area {
    /* Optimize file upload for mobile */
    padding: 30px 20px;
    min-height: 120px;
}

.mobile-device .voice-recorder {
    /* Optimize voice recorder for mobile */
    padding: 25px 20px;
}

.mobile-device .record-btn {
    /* Optimize record button for mobile */
    padding: 18px 25px;
    min-height: 56px;
    border-radius: 16px;
}

/* Touch event handling */
.touch-active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Mobile-specific focus states */
.mobile-device .form-input:focus,
.mobile-device .form-textarea:focus {
    outline: none;
    border-color: #00f5ff;
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.2);
}

/* Mobile keyboard handling */
.mobile-device .form-input:focus,
.mobile-device .form-textarea:focus {
    /* Ensure proper positioning when keyboard appears */
    position: relative;
    z-index: 10;
}

/* Mobile-specific error states */
.mobile-device .form-input.error,
.mobile-device .form-textarea.error {
    border-color: #ff4757;
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2);
}

.mobile-device .form-input.success,
.mobile-device .form-textarea.success {
    border-color: #2ed573;
    box-shadow: 0 0 0 2px rgba(46, 213, 115, 0.2);
}

/* Mobile message display */
.mobile-device .form-messages {
    margin: 20px 0;
}

.mobile-device .message {
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Mobile file handling */
.mobile-device .file-item {
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 10px;
}

.mobile-device .file-remove {
    width: 32px;
    height: 32px;
    min-height: 32px;
    border-radius: 8px;
}

/* Mobile audio playback */
.mobile-device .audio-playback {
    padding: 15px;
    border-radius: 12px;
}

.mobile-device .audio-playback audio {
    width: 100%;
    height: 40px;
}

.mobile-device .delete-btn {
    padding: 10px 15px;
    min-height: 40px;
    border-radius: 10px;
}

/* Mobile social icons */
.mobile-device .social-icons a {
    width: 48px;
    height: 48px;
    min-height: 48px;
    border-radius: 12px;
}

/* Mobile header optimizations */
.mobile-device .main-header {
    margin-bottom: 25px;
}

.mobile-device .header-content {
    padding: 15px 0;
}

.mobile-device .logo-section {
    gap: 15px;
}

.mobile-device .brand-name {
    font-size: 1.8rem;
}

.mobile-device .header-description h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.mobile-device .header-description p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 10px;
}

/* Mobile footer optimizations */
.mobile-device .footer-content {
    padding: 30px 20px 20px 20px;
}

.mobile-device .footer-section {
    margin-bottom: 20px;
}

.mobile-device .footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Mobile form group spacing */
.mobile-device .form-group {
    margin-bottom: 25px;
}

.mobile-device .form-label {
    font-size: 0.95rem;
    margin-bottom: 8px;
    gap: 8px;
}

/* Mobile input placeholder optimization */
.mobile-device .form-input::placeholder,
.mobile-device .form-textarea::placeholder {
    color: #a0a0a0;
    opacity: 0.8;
}

/* Mobile-specific animations */
@media (prefers-reduced-motion: no-preference) {
    .mobile-device .form-input:focus,
    .mobile-device .form-textarea:focus {
        transition: all 0.2s ease;
    }
    
    .mobile-device .submit-btn:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }
}

/* Mobile landscape orientation handling */
@media (max-width: 768px) and (orientation: landscape) {
    .mobile-device .container {
        padding: 15px;
    }
    
    .mobile-device .main-header {
        margin-bottom: 20px;
    }
    
    .mobile-device .contact-form {
        padding: 20px 15px;
    }
    
    .mobile-device .form-group {
        margin-bottom: 20px;
    }
}

/* Mobile-specific error message positioning */
.mobile-device .error-message {
    margin-top: 8px;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Mobile form validation visual feedback */
.mobile-device .form-input:invalid:not(:placeholder-shown),
.mobile-device .form-textarea:invalid:not(:placeholder-shown) {
    border-color: #ff4757;
}

.mobile-device .form-input:valid:not(:placeholder-shown),
.mobile-device .form-textarea:valid:not(:placeholder-shown) {
    border-color: #2ed573;
}

/* Mobile loading state optimization */
.mobile-device .loading-spinner {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

/* Mobile-specific accessibility improvements */
.mobile-device .form-input:focus,
.mobile-device .form-textarea:focus,
.mobile-device .submit-btn:focus {
    outline: 2px solid #00f5ff;
    outline-offset: 2px;
}

/* Mobile touch target size compliance */
.mobile-device button,
.mobile-device .file-upload-area,
.mobile-device .voice-recorder {
    min-height: 44px;
    min-width: 44px;
}

/* Mobile form submission feedback */
.mobile-device .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile network status indicator */
.mobile-device .network-status {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.mobile-device .network-status.online {
    background: rgba(46, 213, 115, 0.9);
}

.mobile-device .network-status.offline {
    background: rgba(255, 71, 87, 0.9);
}

/* Mobile-specific scroll behavior */
.mobile-device .container {
    scroll-behavior: smooth;
}

/* Mobile form auto-save indicator */
.mobile-device .auto-save-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-device .auto-save-indicator.show {
    opacity: 1;
}

/* Mobile-specific media queries for very small screens */
@media (max-width: 360px) {
    .mobile-device .container {
        padding: 10px;
    }
    
    .mobile-device .contact-form {
        padding: 20px 15px;
    }
    
    .mobile-device .form-input,
    .mobile-device .form-textarea {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .mobile-device .submit-btn {
        padding: 18px;
        font-size: 1rem;
    }
    
    .mobile-device .brand-name {
        font-size: 1.6rem;
    }
    
    .mobile-device .header-description h2 {
        font-size: 1.6rem;
    }
}

/* Mobile-specific print styles */
@media print {
    .mobile-device .contact-form {
        display: none;
    }
    
    .mobile-device .main-header {
        text-align: center;
        margin-bottom: 20px;
    }
}

/* Retry button styles */
.retry-btn {
    background: linear-gradient(135deg, #00f5ff 0%, #0099cc 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 245, 255, 0.3);
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 245, 255, 0.4);
}

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

.retry-btn i {
    font-size: 0.8rem;
}

/* Info message type */
.message.info {
    background: linear-gradient(135deg, #00f5ff 0%, #0099cc 100%);
    color: white;
    border-left: 4px solid #00f5ff;
}

.message.info i {
    color: #00f5ff;
}

/* Mobile-specific retry button */
.mobile-device .retry-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
    min-height: 44px;
    border-radius: 22px;
}

.mobile-device .retry-btn i {
    font-size: 0.85rem;
}

/* Mobile message with retry button */
.mobile-device .message.error {
    padding-bottom: 20px;
}

.mobile-device .retry-btn {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
}
