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

:root {
    --primary-color: #004aac;
    --primary-light: #0066ff;
    --primary-dark: #003580;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0, 74, 172, 0.1);
    --shadow-hover: 0 15px 50px rgba(0, 74, 172, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    padding: 1.5rem 0 1rem;
    animation: fadeInDown 0.8s ease;
}

/* Language Selector */
.language-selector {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.lang-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 74, 172, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 74, 172, 0.08);
}

.lang-btn:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 74, 172, 0.2);
    background: rgba(255, 255, 255, 1);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 74, 172, 0.3);
}

.lang-btn.active .lang-name {
    color: white;
    font-weight: 700;
}

.lang-btn.active .lang-flag {
    transform: scale(1.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.lang-flag {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    line-height: 1;
}

.lang-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.lang-btn:hover .lang-flag {
    transform: scale(1.15) rotate(5deg);
}

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

.logo-container {
    display: flex;
    justify-content: center;
}

.logo {
    height: 220px;
    width: auto;
    max-width: 90%;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 8px 20px rgba(0, 74, 172, 0.2));
    animation: logoFloat 3s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.1) rotate(-3deg);
    filter: drop-shadow(0 12px 30px rgba(0, 74, 172, 0.35));
    animation-play-state: paused;
}

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


/* Form Section */
.form-section {
    max-width: 650px;
    margin: 0.5rem auto 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 255, 0.95));
    border: 1px solid rgba(0, 74, 172, 0.15);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 74, 172, 0.12);
}

.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 74, 172, 0.15);
    border-color: rgba(0, 74, 172, 0.25);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 74, 172, 0.1);
}

.info-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

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

.info-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.info-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.info-note {
    background: linear-gradient(135deg, rgba(0, 74, 172, 0.08), rgba(0, 102, 255, 0.05));
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 74, 172, 0.05);
    transition: all 0.3s ease;
}

.info-note:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 16px rgba(0, 74, 172, 0.1);
}

.info-note strong {
    color: var(--primary-color);
}

.info-section {
    margin-top: 1rem;
}

.info-section h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.info-section ul {
    margin: 0;
    padding-left: 1.25rem;
    list-style-type: none;
}

.info-section ul li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.info-section ul li::before {
    content: '▸';
    position: absolute;
    left: -0.75rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
}

.info-section ul li strong {
    color: var(--text-dark);
}

/* Arrow Indicator */
.arrow-indicator {
    text-align: center;
    margin: 1.25rem 0;
    position: relative;
}

.arrow-bounce {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.arrow-icon {
    color: var(--primary-color);
    filter: drop-shadow(0 4px 8px rgba(0, 74, 172, 0.3));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

.form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 74, 172, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

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

.form:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: rgba(0, 74, 172, 0.2);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

/* Input Icons - Left Side */
.input-icon-left {
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.input-with-icon {
    padding-left: 3rem !important;
}

.input-with-icon ~ .form-label {
    left: 3rem;
}

.form-input:focus ~ .input-icon-left,
.form-input:not(:placeholder-shown) ~ .input-icon-left {
    color: var(--primary-color);
}

.form-input:focus ~ .input-icon-left {
    transform: scale(1.05);
}

/* Phone Input with Country Code */
.phone-group {
    position: relative;
}

.phone-label {
    position: static !important;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
    transform: none !important;
}

.phone-input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.phone-input-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.country-code-select {
    padding: 1rem 2rem 1rem 0.75rem;
    border: 2px solid rgba(0, 74, 172, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 95px;
    max-width: 95px;
    flex-shrink: 0;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23004aac' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.country-code-select option {
    font-size: 0.9rem;
    padding: 0.5rem;
}

.country-code-select:hover {
    border-color: var(--primary-color);
}

.country-code-select:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 74, 172, 0.1);
}

.phone-input {
    width: 100%;
    padding-left: 3rem;
    padding-right: 0.75rem;
}

.phone-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
}

.phone-input:focus ~ .phone-icon {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 74, 172, 0.3);
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    from {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.form-input {
    width: 100%;
    padding: 1rem 0.75rem;
    font-size: 1rem;
    border: 2px solid rgba(0, 74, 172, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    padding: 1rem 0.75rem;
}

.form-input:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 74, 172, 0.1);
}

.form-input.error {
    border-color: #ff5252;
    animation: shake 0.3s ease;
}

.error-message {
    display: none;
    color: #ff5252;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 82, 82, 0.1);
    border-left: 3px solid #ff5252;
    border-radius: 4px;
    animation: fadeIn 0.3s ease;
}

.error-message.show {
    display: block;
}

.country-code-select.error {
    border-color: #ff5252;
}

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

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    transform: translateY(-2.5rem);
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-label {
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 0.25rem;
}

/* RTL Support for Arabic */
[dir="rtl"] .form-label {
    left: auto;
    right: 0;
}

[dir="rtl"] .form-input {
    text-align: right;
}

[dir="rtl"] .info-section ul {
    padding-left: 0;
    padding-right: 1.25rem;
}

[dir="rtl"] .info-section ul li {
    padding-left: 0;
    padding-right: 0.5rem;
}

[dir="rtl"] .info-section ul li::before {
    left: auto;
    right: -0.75rem;
}

[dir="rtl"] .info-note {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

[dir="rtl"] .info-section h4::before {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="rtl"] .file-upload-content {
    direction: rtl;
}

[dir="rtl"] .btn-arrow {
    transform: rotate(180deg);
}

[dir="rtl"] .error-message {
    text-align: right;
}

[dir="rtl"] .input-icon-left {
    left: auto;
    right: 0.75rem;
}

[dir="rtl"] .input-with-icon {
    padding-left: 0.75rem !important;
    padding-right: 3rem !important;
}

[dir="rtl"] .input-with-icon ~ .form-label {
    left: 0.75rem;
    right: 3rem;
}

[dir="rtl"] .phone-icon {
    left: auto;
    right: 0.75rem;
}

[dir="rtl"] .phone-input {
    padding-right: 3rem;
    padding-left: 0.75rem;
}

[dir="rtl"] .country-code-select {
    background-position: left 0.5rem center;
    padding-left: 2rem;
    padding-right: 0.5rem;
}

[dir="rtl"] .phone-input-wrapper {
    flex-direction: row;
}

/* File Upload Styles */
.file-upload-group {
    margin-bottom: 2rem;
}

.file-input {
    display: none;
}

.file-upload-label {
    display: block;
    padding: 1.5rem;
    border: 2px dashed #e0e0e0;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--bg-light), #ffffff);
    position: relative;
    overflow: hidden;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 74, 172, 0.05), rgba(0, 102, 255, 0.05));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 74, 172, 0.1);
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.file-upload-label:hover .upload-icon {
    transform: translateY(-3px);
}

.file-upload-text {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.file-name {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.file-hint {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.8rem;
    text-align: center;
}

.submit-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light), #0066ff);
    background-size: 200% 200%;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 74, 172, 0.3);
    animation: gradient-shift 3s ease infinite;
}

.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: left 0.5s ease;
}

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

.submit-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 74, 172, 0.4);
}

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

.btn-arrow {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #00c853, #00e676);
    color: var(--white);
    border-radius: 16px;
    animation: scaleIn 0.5s ease;
}

.success-message.show {
    display: block;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounceIn 0.6s ease;
}

.success-message p {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 0 2rem;
    color: var(--text-light);
    font-size: 0.875rem;
    animation: fadeIn 0.8s ease 0.6s both;
}

.footer p {
    margin: 0.25rem 0;
}

.since {
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.95rem;
    margin-top: 0.5rem !important;
}

/* Background Shapes */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 20s infinite ease-in-out;
    filter: blur(60px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-color), #9c27b0);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.15;
    animation: particle-float 15s infinite ease-in-out;
    box-shadow: 0 0 4px rgba(0, 74, 172, 0.2);
}

.particle:nth-child(1) {
    left: 5%;
    top: 15%;
    width: 3px;
    height: 3px;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    left: 85%;
    top: 25%;
    width: 5px;
    height: 5px;
    animation-delay: -3s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 25%;
    top: 65%;
    width: 3px;
    height: 3px;
    animation-delay: -6s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 65%;
    top: 8%;
    width: 6px;
    height: 6px;
    animation-delay: -9s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 92%;
    top: 75%;
    width: 4px;
    height: 4px;
    animation-delay: -12s;
    animation-duration: 19s;
}

.particle:nth-child(6) {
    left: 15%;
    top: 85%;
    width: 4px;
    height: 4px;
    animation-delay: -2s;
    animation-duration: 17s;
}

.particle:nth-child(7) {
    left: 75%;
    top: 45%;
    width: 3px;
    height: 3px;
    animation-delay: -5s;
    animation-duration: 21s;
}

.particle:nth-child(8) {
    left: 45%;
    top: 35%;
    width: 5px;
    height: 5px;
    animation-delay: -8s;
    animation-duration: 15s;
}

.particle:nth-child(9) {
    left: 10%;
    top: 45%;
    width: 3px;
    height: 3px;
    animation-delay: -4s;
    animation-duration: 23s;
}

.particle:nth-child(10) {
    left: 55%;
    top: 70%;
    width: 5px;
    height: 5px;
    animation-delay: -7s;
    animation-duration: 18s;
}

.particle:nth-child(11) {
    left: 35%;
    top: 10%;
    width: 4px;
    height: 4px;
    animation-delay: -10s;
    animation-duration: 20s;
}

.particle:nth-child(12) {
    left: 88%;
    top: 55%;
    width: 3px;
    height: 3px;
    animation-delay: -1s;
    animation-duration: 19s;
}

.particle:nth-child(13) {
    left: 50%;
    top: 90%;
    width: 5px;
    height: 5px;
    animation-delay: -11s;
    animation-duration: 17s;
}

.particle:nth-child(14) {
    left: 8%;
    top: 30%;
    width: 4px;
    height: 4px;
    animation-delay: -13s;
    animation-duration: 21s;
}

.particle:nth-child(15) {
    left: 70%;
    top: 18%;
    width: 4px;
    height: 4px;
    animation-delay: -15s;
    animation-duration: 16s;
}

.particle:nth-child(16) {
    left: 18%;
    top: 55%;
    width: 3px;
    height: 3px;
    animation-delay: -14s;
    animation-duration: 22s;
}

.particle:nth-child(17) {
    left: 78%;
    top: 62%;
    width: 5px;
    height: 5px;
    animation-delay: -16s;
    animation-duration: 19s;
}

.particle:nth-child(18) {
    left: 42%;
    top: 78%;
    width: 4px;
    height: 4px;
    animation-delay: -18s;
    animation-duration: 20s;
}

.particle:nth-child(19) {
    left: 95%;
    top: 40%;
    width: 3px;
    height: 3px;
    animation-delay: -20s;
    animation-duration: 18s;
}

.particle:nth-child(20) {
    left: 28%;
    top: 25%;
    width: 6px;
    height: 6px;
    animation-delay: -17s;
    animation-duration: 21s;
}

.particle:nth-child(21) {
    left: 62%;
    top: 52%;
    width: 4px;
    height: 4px;
    animation-delay: -19s;
    animation-duration: 17s;
}

.particle:nth-child(22) {
    left: 3%;
    top: 68%;
    width: 3px;
    height: 3px;
    animation-delay: -21s;
    animation-duration: 23s;
}

.particle:nth-child(23) {
    left: 82%;
    top: 12%;
    width: 6px;
    height: 6px;
    animation-delay: -22s;
    animation-duration: 16s;
}

.particle:nth-child(24) {
    left: 48%;
    top: 5%;
    width: 4px;
    height: 4px;
    animation-delay: -24s;
    animation-duration: 19s;
}

.particle:nth-child(25) {
    left: 12%;
    top: 92%;
    width: 4px;
    height: 4px;
    animation-delay: -23s;
    animation-duration: 20s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.15;
    }
    25% {
        transform: translate(60px, -60px) rotate(90deg) scale(1.3);
        opacity: 0.2;
    }
    50% {
        transform: translate(-40px, 40px) rotate(180deg) scale(0.9);
        opacity: 0.1;
    }
    75% {
        transform: translate(50px, 30px) rotate(270deg) scale(1.1);
        opacity: 0.15;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .logo {
        height: 150px;
    }

    .header {
        padding: 1rem 0 0.5rem;
    }

    .form-section {
        margin: 0.5rem auto 1.5rem;
    }

    .info-box {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .arrow-indicator {
        margin: 1rem 0;
    }

    .particle {
        opacity: 0.12;
    }

    .language-selector {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .lang-btn {
        padding: 0.6rem 0.8rem;
    }

    .lang-flag {
        font-size: 1.25rem;
    }

    .lang-name {
        font-size: 0.7rem;
    }

    .phone-input-wrapper {
        gap: 0.5rem;
    }

    .country-code-select {
        min-width: 85px;
        max-width: 85px;
        font-size: 0.85rem;
        padding: 1rem 1.5rem 1rem 0.5rem;
        background-position: right 0.35rem center;
        height: 56px;
    }

    .phone-input-container {
        flex: 1;
    }

    .phone-input {
        font-size: 0.95rem;
        padding-left: 2.75rem;
        height: 56px;
    }

    .phone-icon {
        left: 0.6rem;
        width: 18px;
        height: 18px;
        top: 50%;
        transform: translateY(-50%);
    }

    .form {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .form-section {
        margin: 1rem auto;
    }

    .shape-1 {
        width: 250px;
        height: 250px;
    }

    .shape-2 {
        width: 200px;
        height: 200px;
    }

    .shape-3 {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
    }

    .header {
        padding: 1rem 0;
    }

    .logo {
        height: 120px;
    }

    .header {
        padding: 0.75rem 0 0.5rem;
    }

    .form-section {
        margin: 0.25rem auto 1rem;
    }

    .info-box {
        padding: 1.25rem;
        margin-bottom: 1rem;
        border-radius: 16px;
    }

    .info-header {
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .info-header h3 {
        font-size: 1.05rem;
    }

    .info-icon {
        width: 18px;
        height: 18px;
    }

    .info-content {
        font-size: 0.875rem;
    }

    .info-note {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }

    .info-section {
        margin-top: 1rem;
    }

    .info-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .info-section h4::before {
        width: 3px;
        height: 14px;
    }

    .info-section ul {
        padding-left: 1rem;
    }

    .info-section ul li {
        font-size: 0.875rem;
        margin-bottom: 0.45rem;
        line-height: 1.5;
    }

    .arrow-indicator {
        margin: 0.75rem 0;
    }

    .arrow-icon {
        width: 28px;
        height: 28px;
    }

    .particle {
        opacity: 0.1;
    }

    .language-selector {
        gap: 0.4rem;
        margin-top: 0.75rem;
    }

    .lang-btn {
        padding: 0.5rem 0.65rem;
    }

    .lang-flag {
        font-size: 1.1rem;
    }

    .lang-name {
        font-size: 0.65rem;
    }

    .phone-input-wrapper {
        gap: 0.3rem;
        flex-wrap: nowrap;
    }

    .country-code-select {
        min-width: 85px;
        max-width: 95px;
        font-size: 0.8rem;
        padding: 0.65rem 1.5rem 0.65rem 0.3rem;
    }

    .phone-label {
        font-size: 0.8rem;
    }

    .form {
        padding: 1.5rem 1rem;
    }

    .form-section {
        margin: 0.75rem auto;
    }

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

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

    .file-upload-label {
        padding: 1.25rem 1rem;
    }

    .upload-icon {
        width: 20px;
        height: 20px;
    }

    .file-upload-text {
        font-size: 0.875rem;
    }

    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .footer {
        padding: 2rem 0 1.5rem;
        font-size: 0.8rem;
    }
}
