/*
    Copyright (c) 2025 Derouiche Mehdi. All rights reserved.
    Website: https://derouiche.net
    Contact: contact@derouiche.net
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #E5D9F2, #D0AFFF);
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #D0AFFF 0%, #E5D9F2 100%);
    z-index: -1;
    opacity: 0.8;
    animation: pulse 8s ease-in-out infinite;
}

.container {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
    max-width: 800px;
    width: 100%;
}

.logo-container {
    margin-bottom: 2rem;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.logo {
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 20px rgba(208, 175, 255, 0.3);
}

.logo:hover .logo-img {
    transform: scale(1.1);
}

.logo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.title {
    font-size: 2.8em;
    margin: 20px 0 10px;
    color: #333;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(208, 175, 255, 0.3);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.subtitle {
    font-size: 1.4em;
    color: #555;
    margin: 10px 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    min-height: 1.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typewriter-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
}

/* Cursor blink animation removed - no longer needed */

.divider {
    width: 50px;
    height: 2px;
    background: #D0AFFF;
    margin: 20px auto;
    box-shadow: 0 2px 4px rgba(208, 175, 255, 0.3);
}

.almost-there {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease 0.9s forwards;
}

.almost-there h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(208, 175, 255, 0.2);
}

.coming-soon {
    font-size: 1.3em;
    color: #555;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.contact-form {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 1s forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4a9eff, #a855f7);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.form-group:focus-within::after {
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a9eff;
    background: rgba(74, 158, 255, 0.05);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4a9eff, #a855f7);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 158, 255, 0.2);
}

.form-message {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    display: block;
}

.form-message.error {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    display: block;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 1.1s forwards;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(208, 175, 255, 0.15);
    box-shadow: 0 8px 32px rgba(208, 175, 255, 0.1);
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(208, 175, 255, 0.1), rgba(180, 160, 255, 0.05));
    border-radius: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0.8);
}

.social-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.social-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(208, 175, 255, 0.3), rgba(180, 160, 255, 0.2));
    border-radius: 18px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.8);
}

.social-link:hover .social-icon::after {
    opacity: 1;
    transform: scale(1);
}

.social-icon i {
    font-size: 1.5rem;
    color: #4a3a7a;
    transition: all 0.4s ease;
    z-index: 2;
    position: relative;
    font-weight: 500;
}

.social-link:hover .social-icon i {
    color: #fff;
    transform: scale(1.15) rotate(5deg);
}

.social-link span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a3a7a;
    transition: all 0.4s ease;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.05);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(208, 175, 255, 0.4);
    border-color: rgba(208, 175, 255, 0.3);
}

.social-link:hover span {
    color: #D0AFFF;
    opacity: 1;
    transform: scale(1.05);
}

/* Creative Call-to-Action Styles */
.creative-cta {
    margin-top: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 1.4s forwards;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(208, 175, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

.creative-cta:hover::before {
    left: 100%;
}

.cta-text {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.cta-main {
    color: #2a1a5a;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-accent {
    color: #B366FF;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(179, 102, 255, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px rgba(208, 175, 255, 0.5));
    }
    to {
        filter: drop-shadow(0 0 15px rgba(208, 175, 255, 0.8));
    }
}

.cta-description {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.highlight {
    color: #B366FF;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-shadow: 0 1px 3px rgba(179, 102, 255, 0.3);
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D0AFFF, #E5D9F2);
    transition: width 0.3s ease;
}

.highlight:hover::after {
    width: 100%;
}

.creative-cta:hover .cta-main {
    color: #B366FF;
}

.creative-cta:hover .highlight {
    color: #2a1a5a;
    transform: scale(1.05);
}

.cursor {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: all 0.08s ease;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    mix-blend-mode: difference;
}

.cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 2px;
    background: #000000;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.cursor.hovering {
    transform: scale(1.6);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border: 1.5px solid rgba(0, 0, 0, 0.4);
}

.cursor.fast-move {
    transform: scale(2.2);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 0, 0, 0.5);
    transition: all 0.15s ease;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }
    100% {
        transform: rotate(45deg) translateY(100%);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.notification {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-icon {
    margin-right: 12px;
    font-size: 20px;
}

.notification.success .notification-icon {
    color: #2ed573;
}

.notification.error .notification-icon {
    color: #ff4757;
}

.notification-content {
    color: #333;
    font-size: 0.9rem;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4a9eff, #a855f7);
    transition: width 5s linear;
}

.copyright {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    text-align: center;
    color: #555;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
    z-index: 100;
    text-shadow: 1px 1px 2px rgba(208, 175, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(208, 175, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
    white-space: nowrap;
    min-width: 300px;
}

.copyright.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copyright span {
    background: linear-gradient(135deg, #4a9eff, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 600;
}

@media (max-width: 768px) {
    .copyright {
        bottom: 20px;
        min-width: 280px;
        max-width: 90vw;
        font-size: 0.8rem;
        padding: 10px 20px;
        white-space: normal;
        line-height: 1.4;
    }

    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .social-links {
        gap: 1.5rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon i {
        font-size: 1.2rem;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    * {
        cursor: auto;
    }

    .cursor {
        display: none;
    }
}

/* Contact Modal Styles - Modern Glassmorphism */
.contact-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(40,40,60,0.35);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}
.contact-modal-content {
    background: rgba(255,255,255,0.18);
    border-radius: 18px;
    padding: 2.2rem 1.7rem 1.5rem 1.7rem;
    min-width: 320px;
    max-width: 500px;
    width: 90vw;
    box-shadow: 0 8px 32px rgba(80,40,120,0.18), 0 1.5px 8px rgba(80,40,120,0.10);
    position: relative;
    border: 1.5px solid rgba(180,160,255,0.18);
    animation: popInModal 0.4s cubic-bezier(.4,1.4,.6,1) 1;
}
@keyframes popInModal {
    from { transform: scale(0.95) translateY(30px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.contact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}
.contact-modal-header h3 {
    margin: 0;
    font-size: 1.35rem;
    color: #4a3a7a;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.contact-close {
    font-size: 1.7rem;
    color: #a89ee6;
    transition: color 0.2s;
    border-radius: 50%;
    padding: 0 8px;
    line-height: 1;
}
.contact-close:hover {
    color: #fff;
    background: #a89ee6;
}
#contact-form .form-group {
    margin-bottom: 1.1rem;
    position: relative;
}
#contact-form .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a89ee6;
    font-size: 1.1rem;
    pointer-events: none;
}
#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.3rem;
    border: 1.5px solid #e0d7fa;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255,255,255,0.7);
    color: #3a2a5a;
    transition: border 0.2s, box-shadow 0.2s;
    margin-top: 0.1rem;
    margin-bottom: 0.1rem;
    outline: none;
}
#contact-form input:focus, #contact-form textarea:focus {
    border: 1.5px solid #a89ee6;
    box-shadow: 0 0 0 2px #d0afff44;
    background: #fff;
}
#contact-form textarea {
    min-height: 80px;
    resize: vertical;
}
.contact-submit {
    background: linear-gradient(90deg, #a89ee6 0%, #d0afff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.7rem;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(168,158,230,0.08);
    margin-top: 0.2rem;
}
.contact-submit:hover {
    background: linear-gradient(90deg, #d0afff 0%, #a89ee6 100%);
    transform: translateY(-2px) scale(1.03);
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-submit:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(168,158,230,0.08);
}

.submit-loading {
    color: white;
    font-size: 0.9rem;
}

.submit-loading i {
    margin-right: 8px;
}

/* Form validation styles */
#contact-form input.error,
#contact-form textarea.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

#contact-form input.error:focus,
#contact-form textarea.error:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3);
}

#contact-form .form-group input.error + .input-icon,
#contact-form .form-group textarea.error + .input-icon {
    color: #ff6b6b;
}
#contact-message {
    margin-top: 1.1rem;
    text-align: center;
    font-size: 1.05rem;
    color: #4a3a7a;
    font-weight: 500;
    background: rgba(168,158,230,0.08);
    border-radius: 12px;
    padding: 0;
    display: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#contact-message h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
}

#contact-message p {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.5;
}

#contact-message .reference-box {
    background: rgba(46, 139, 87, 0.1);
    border: 1px solid rgba(46, 139, 87, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
    display: inline-block;
    min-width: 200px;
}

#contact-message .reference-label {
    color: #2e8b57;
    font-weight: 600;
    font-size: 12px;
    display: block;
    margin-bottom: 5px;
}

#contact-message .reference-id {
    color: #333;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 500;
}

#contact-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a89ee6, #d0afff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#contact-message.success {
    color: #1a5f3a;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1) 0%, rgba(60, 179, 113, 0.05) 100%);
    border: 2px solid rgba(46, 139, 87, 0.4);
    display: block;
    box-shadow: 0 4px 20px rgba(46, 139, 87, 0.15), 0 2px 8px rgba(46, 139, 87, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

#contact-message.success::before {
    background: linear-gradient(90deg, #2e8b57, #3cb371, #2e8b57);
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

#contact-message.success::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

#contact-message.error {
    color: #d32f2f;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(244, 67, 54, 0.05) 100%);
    border: 2px solid rgba(211, 47, 47, 0.4);
    display: block;
    box-shadow: 0 4px 20px rgba(211, 47, 47, 0.15), 0 2px 8px rgba(211, 47, 47, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

#contact-message.error::before {
    background: linear-gradient(90deg, #d32f2f, #f44336, #d32f2f);
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}
@media (max-width: 600px) {
    .contact-modal-content {
        min-width: 0;
        width: 95vw;
        max-width: 95vw;
        padding: 1.5rem 1rem;
        margin: 10px;
    }
    
    .contact-modal-header h3 {
        font-size: 1.2rem;
    }
    
    #contact-form input, 
    #contact-form textarea {
        font-size: 16px; /* Évite le zoom sur iOS */
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    }
    
    #contact-form .input-icon {
        font-size: 1.2rem;
        left: 15px;
    }
    
    .contact-submit {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .contact-close {
        font-size: 1.5rem;
        padding: 5px 10px;
    }
}

/* Styles pour très petits écrans */
@media (max-width: 480px) {
    .contact-modal-content {
        width: 98vw;
        max-width: 98vw;
        padding: 1.2rem 0.8rem;
        margin: 5px;
        border-radius: 12px;
    }
    
    .contact-modal-header {
        margin-bottom: 1rem;
    }
    
    .contact-modal-header h3 {
        font-size: 1.1rem;
    }
    
    #contact-form .form-group {
        margin-bottom: 1rem;
    }
    
    #contact-form input, 
    #contact-form textarea {
        padding: 0.7rem 0.7rem 0.7rem 2.3rem;
        font-size: 16px;
    }
    
    #contact-form textarea {
        min-height: 100px;
    }
    
    .contact-submit {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    #contact-message {
        font-size: 0.95rem;
        padding: 0.6rem 0.4rem;
    }
}

/* Styles pour les écrans en mode paysage sur mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .contact-modal-content {
        max-height: 90vh;
        overflow-y: auto;
        padding: 1.5rem 1.2rem;
    }
    
    #contact-form textarea {
        min-height: 60px;
    }
}
