:root {
            --primary-teal: #2cb7b9;
            --dark-teal: #1a5162;
            --accent-orange: #ff8c42;
            --light-bg: #f0f9f9;
            --white: #ffffff;
            --text-dark: #2d3436;
            --error-red: #ff7675;
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cairo', sans-serif; }
        body { background-color: var(--light-bg); color: var(--text-dark); }
        html, body { overflow-x: hidden; width: 100%; max-width: 100vw; }

        /* Header & Nav */
        nav {
            padding: 15px 8%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(15px);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
        }

        .logo-img { height: 50px; cursor: pointer; }

        .lang-switch {
            background: linear-gradient(45deg, var(--primary-teal), var(--dark-teal));
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 50px;
            cursor: pointer;
            font-weight: bold;
            transition: var(--transition);
        }

        /* Application Section */
        .apply-section {
            min-height: 100vh;
            padding: 120px 8% 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle at bottom left, #e0f7f8 0%, #ffffff 70%);
            position: relative;
        }

        .apply-container {
            background: var(--white);
            width: 100%;
            max-width: 900px;
            border-radius: 30px;
            box-shadow: 0 30px 60px rgba(0,0,0,0.1);
            display: flex;
            overflow: hidden;
            position: relative;
            z-index: 1;
        }

        .apply-info {
            flex: 1;
            background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
            padding: 60px 40px;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .apply-info h2 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
        .apply-info p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; }
        
        .info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
        .info-item i { font-size: 1.5rem; color: var(--accent-orange); }

        .apply-form-container {
            flex: 1.5;
            padding: 60px 50px;
        }

        .form-group { margin-bottom: 20px; position: relative; }
        .form-group label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--dark-teal); font-size: 0.9rem; }
        
        .form-input {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #eee;
            border-radius: 12px;
            outline: none;
            transition: var(--transition);
            font-size: 1rem;
        }

        .form-input:focus { border-color: var(--primary-teal); box-shadow: 0 0 10px rgba(44, 183, 185, 0.1); }

        .form-row { display: flex; gap: 20px; }
        .form-row .form-group { flex: 1; }

        .submit-btn {
            width: 100%;
            padding: 15px;
            background: var(--primary-teal);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
            margin-top: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .submit-btn:hover { background: var(--dark-teal); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

        /* Floating Shapes */
        .floating-shape {
            position: absolute;
            z-index: 0;
            opacity: 0.2;
            filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
            pointer-events: none;
        }
        .float-1 { animation: float-anim 8s ease-in-out infinite; }
        @keyframes float-anim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }

        /* RTL Support */
        /* [dir="rtl"] .apply-container { flex-direction: row-reverse; } */
        [dir="rtl"] .apply-info { text-align: right; }
        [dir="rtl"] .apply-form-container { text-align: right; }

        @media (max-width: 968px) {
            .apply-container { flex-direction: column; }
            .apply-info { padding: 40px; }
            .apply-form-container { padding: 40px 30px; }
            .form-row { flex-direction: column; gap: 0; }
        }
        
        /* Footer */
        footer { background: var(--dark-teal); color: #eee; padding: 80px 8% 30px; position: relative; }
        .footer-content { 
            display: grid; grid-template-columns: 2fr 1fr 1fr; 
            gap: 50px; margin-bottom: 50px; text-align: left;
        }
        .footer-logo img { height: 60px; margin-bottom: 20px; filter: brightness(0) invert(1); }
        .footer-links h4 { color: white; margin-bottom: 25px; font-size: 1.2rem; }
        .footer-links ul { list-style: none; }
        .footer-links ul li { margin-bottom: 12px; }
        .footer-links a { color: #bdc3c7; text-decoration: none; transition: var(--transition); }
        .footer-links a:hover { color: var(--primary-teal); padding-left: 5px; }

        .social-icons { display: flex; gap: 15px; margin-top: 20px; }
        .social-icons a { 
            width: 40px; height: 40px; background: rgba(255,255,255,0.1); 
            display: flex; align-items: center; justify-content: center; 
            border-radius: 50%; color: white; transition: var(--transition);
        }
        .social-icons a:hover { background: var(--primary-teal); transform: rotate(360deg); }

        .copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; color: #888; font-size: 0.9rem; }

        [dir="rtl"] .footer-content { text-align: right; }
        [dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 5px; }

        @media (max-width: 768px) {
            .footer-content { grid-template-columns: 1fr; gap: 30px; }
        }